-
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
Add LinkerFlavor to NativeAOT #83558
Conversation
Tagging subscribers to this area: @agocke, @MichalStrehovsky, @jkotas Issue DetailsOn linux-musl-arm64, for example, the hello world app goes from 2 MB (2049832 B) to 1.8 MB (1918952 B) when
|
I pulled down the coredump from one of the failing ARM64 tests: The stack is:
We segfault at this line:
I hope the size savings we're seeing are not because gold stripped the LSDA part of the unwinding information :( |
Good and bad news. Good news is that dwarf-dump errors are lowered with gold:
Bad news: Stats for hwapp app: release config with stripped symbols
I think for now, we can just provide it as an option |
Just to make sure that I understand what this change does after the latest revision:
|
Yes, this is correct. If some distro uses |
On linux-musl-arm64, for example, the hello world app goes from 2 MB (2049832 B) to 1.8 MB (1918952 B) when
binutils-gold
package is installed.