-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
[wasm] fix invariant linking error #49492
Conversation
cc @CoffeeFlux |
To confirm, this is the fix for:
? |
yes |
Adding these files to the link line is actually not increasing the size of the final executable if its not used, so it looks harmless. |
|
The errors is because the symbols are still reachable somehow, this will fix that problem. When the symbols are unreachable they get properly removed without this so it does no good. #49499 |
@@ -259,8 +259,12 @@ | |||
<_WasmRuntimePackNativeLibs Include="libSystem.Native.a"/> | |||
<_WasmRuntimePackNativeLibs Include="libSystem.IO.Compression.Native.a"/> | |||
<_WasmRuntimePackNativeLibs Include="libmono-profiler-aot.a"/> | |||
<!-- these can't conditional until we've solved the linking issue |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would be nice to put a link to what "the linking issue" is here, so if someone reads this they know what it is talking about.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I verified the code is linked out when the build is correct so forcing them to be conditional here is only an optimization. #49499 is the issue tracking what might be breaking the build in CI.
Android device legs are backed up. Rest of the runs look good. |
Disable the conditional inclusion to fix #48847 until we have a solution.