-
-
Notifications
You must be signed in to change notification settings - Fork 14.9k
Linker error undefined symbol for some float transcendental functions on wasm32-unknown-unknown #154919
Copy link
Copy link
Closed
Labels
A-linkersArea: linkers... you gotta love linkersArea: linkers... you gotta love linkersC-bugCategory: This is a bug.Category: This is a bug.O-wasmTarget: WASM (WebAssembly), http://webassembly.org/Target: WASM (WebAssembly), http://webassembly.org/T-libsRelevant to the library team, which will review and decide on the PR/issue.Relevant to the library team, which will review and decide on the PR/issue.regression-from-stable-to-nightlyPerformance or correctness regression from stable to nightly.Performance or correctness regression from stable to nightly.
Metadata
Metadata
Assignees
Labels
A-linkersArea: linkers... you gotta love linkersArea: linkers... you gotta love linkersC-bugCategory: This is a bug.Category: This is a bug.O-wasmTarget: WASM (WebAssembly), http://webassembly.org/Target: WASM (WebAssembly), http://webassembly.org/T-libsRelevant to the library team, which will review and decide on the PR/issue.Relevant to the library team, which will review and decide on the PR/issue.regression-from-stable-to-nightlyPerformance or correctness regression from stable to nightly.Performance or correctness regression from stable to nightly.
Type
Fields
Give feedbackNo fields configured for issues without a type.
The same error can be provoked for
acosh,asinh,acoshf, andasinhf. (This is not an exhaustive list.)This is presumably related to #149868 but code like this did compile and run on stable, so it’s not that the symbols are actually missing, unless that’s a coincidental nightly regression.If linked with--allow-undefined, the code fails to find the symbols inenv, so this seems to be a regression causing these symbols to be missing (or used when something else should be used instead).Meta
rustc --version --verbose:@rustbot label regression-from-stable-to-nightly T-compiler O-wasm A-linkers