-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Add some new musl math files to libc-rt library #15497
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
Conversation
We have had reports of missing symbols in LTO builds after the musl upgrade (#13006): https://groups.google.com/g/emscripten-discuss/c/g_vkRRSCPUI/m/aT6fnUAtCQAJ?utm_medium=email&utm_source=footer Also `lto2.test_float_builtinsTest` started failing on the emscripten-releases FYI waterfall. This change moves some of the new math-related source files into the libc-mt library which is excluded from LTO (see comments in in system_libs.py for background on this). Fixes: #15506
Enabling auto-merge. I"m going to be OOO for a few hours but hopefully this can get landed ASAP so folks who are testing |
Would be nice to get the following files into the PR before it's merged: __math_invalid.c, __math_invalidf.c', __math_invalidl.c See: |
Looks like the last 3 files didn't make it? I'll raise the issue again when the tot SDK has been updated :) |
Oops, sorry, will open another PR |
Everything working now on my side. Thanks! |
We have had reports of missing symbols in LTO builds after the musl upgrade (emscripten-core#13006): https://groups.google.com/g/emscripten-discuss/c/g_vkRRSCPUI/m/aT6fnUAtCQAJ?utm_medium=email&utm_source=footer Also `lto2.test_float_builtinsTest` started failing on the emscripten-releases FYI waterfall. This change moves some of the new math-related source files into the libc-mt library which is excluded from LTO (see comments in in system_libs.py for background on this). Fixes: emscripten-core#15506
We had some reports of missing symbols in LTO builds after
the musl upgrade (#13006):
https://groups.google.com/g/emscripten-discuss/c/g_vkRRSCPUI/m/aT6fnUAtCQAJ?utm_medium=email&utm_source=footer
This change moves some of the new math-related source files
into the libc-mt library which is excluded from LTO (see comments
in in system_libs.py for background on this).
Verified that
lto2.test_float_builtinsTest
now passes with thischange but fails without (after musl upgrade).
This change fixes
asan.test_float_builtins
that is currentlyfailing. See #15498.