-
Notifications
You must be signed in to change notification settings - Fork 206
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
Upstream llvm change adds new undefined symbol: __multi3 #98
Comments
These can vary between llvm version. For example a recent upstream change recently added __multi3 to the list: https://reviews.llvm.org/D65143 Fixes #98
These can vary between llvm version. For example a recent upstream change recently added __multi3 to the list: https://reviews.llvm.org/D65143 Fixes #98
@sbc100, @sunfishcode, the related pull request #99 only affects the following symbols, but not
Since I do indeed see an undefined |
#99 will cause the wasi-libc checking code to ignore all undefined symbols that start with What problem are you seeing exactly? Are you seeing the build of wasi-libc fail the |
I am seeing a linker failure due to an undefined I am plainly using |
What version of wasi-sdk are you using? The symbol exists at least in wasi-sdk-12 and wasi-sdk-11:
Perhaps somehow |
I am using the latest wasi-sdk,
It indeed finds
Running I compile and link separately. Compiling:
Linking:
Maybe I'm missing to link some additional library? |
Problem solved. I missed the |
I recommend using clang to drive your link step to avoid such problems and future proof your build against toolchain changes. |
I also recommend against using the |
This seems to be the change that caused it https://reviews.llvm.org/D65143.
I guess we should somehow filter out these symbols when doing comparisons?
The text was updated successfully, but these errors were encountered: