-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
wasm-ld: ....o: undefined symbol: ldexp in Release modes, but works in Debug #23358
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Labels
bug
Observed behavior contradicts documented or intended behavior
compiler-rt
contributor friendly
This issue is limited in scope and/or knowledge of Zig internals.
Milestone
Comments
This is happening because of LLVM's We should just add |
th3james
pushed a commit
to th3james/zig
that referenced
this issue
May 23, 2025
Enough to make ziglang#23358 snipped pass
th3james
pushed a commit
to th3james/zig
that referenced
this issue
May 28, 2025
Enough to make ziglang#23358 snipped pass
th3james
pushed a commit
to th3james/zig
that referenced
this issue
May 28, 2025
th3james
pushed a commit
to th3james/zig
that referenced
this issue
May 29, 2025
th3james
pushed a commit
to th3james/zig
that referenced
this issue
Jun 2, 2025
th3james
pushed a commit
to th3james/zig
that referenced
this issue
Jun 3, 2025
th3james
pushed a commit
to th3james/zig
that referenced
this issue
Jun 6, 2025
th3james
pushed a commit
to th3james/zig
that referenced
this issue
Jun 6, 2025
th3james
pushed a commit
to th3james/zig
that referenced
this issue
Jun 8, 2025
th3james
pushed a commit
to th3james/zig
that referenced
this issue
Jun 10, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
bug
Observed behavior contradicts documented or intended behavior
compiler-rt
contributor friendly
This issue is limited in scope and/or knowledge of Zig internals.
Zig Version
0.15.0-dev.99+c1db72cdb
Steps to Reproduce and Observed Behavior
Tried finding existing reports or similar issues, but no luck. Apologies if there's an existing one I couldn't find.
Found while trying to build dvui for
wasm32-freestanding
in ReleaseSafe mode, which fails, but which works in Debug mode. The smallest reproducible snippet I could find isThen
Changing the argument from
i32
toi64
makes it pass:Changing the integer to i32 argument and the floats to f32 makes it fail on
undefined symbol: ldexpf
.Expected Behavior
I expected a build which succeeds in Debug to also succeed in any of the release build modes.
The text was updated successfully, but these errors were encountered: