Skip to content

wasm-eh: wasm-ld error in relocation R_WASM_MEMORY_ADDR_SLEB cannot be used against symbol GCC_except_table0 #15171

@sps-gold

Description

@sps-gold

wasm-ld throws relocation error building with wasm-exceptions, for c++ catch without ellipse and using mainmodule flag

here is a small reproducer #15170 for the error we are seeing during building some of our tests

wasm-ld: error: lto.tmp: relocation R_WASM_MEMORY_ADDR_SLEB cannot be used against symbol GCC_except_table0; recompile with -fPIC

following is the link to ci error

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions