Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Wasm global declared in inline assembly fail to link at LTO time. #25555

Copy link
Copy link
@sbc100

Description

@sbc100
Issue body actions

It seems like the bitcode object that contains the declaration doesn't know the correct type and is calling it a function:

test_wasm_global_dylink (test_core.lto0.test_wasm_global_dylink) ... wasm-ld: error: symbol type mismatch: my_global
>>> defined as WASM_SYMBOL_TYPE_FUNCTION in /tmp/emscripten_temp_40r12q15/test_wasm_global.o
>>> defined as WASM_SYMBOL_TYPE_GLOBAL in test_wasm_global.wasm.lto.o

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

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.