mirror of
https://git.proxmox.com/git/wasi-libc
synced 2025-10-04 11:58:00 +00:00
Exclude setjmp runtime from LTO (#529)
This fixes errors like: ``` wasm-ld: error: /Volumes/PortableSSD/git/wasi-sdk/build/install/bin/../share/wasi-sysroot/lib/wasm32-wasi/llvm-lto/19.1.0-wasi-sdk/libsetjmp.a(rt.o): attempt to add bitcode file after LTO (__wasm_longjmp) ``` Note: Any symbol that the compiler might generate at bitcode compile time either need to be unconditionally included at LTO time, or not built as LTO. This is because LTO object files cannot be added to the link after LTO time.
This commit is contained in:
parent
230d4be6c5
commit
8279f9591a
Loading…
Reference in New Issue
Block a user