-
Notifications
You must be signed in to change notification settings - Fork 591
missing build-id everywhere #11013
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
Comments
I don't think we do much for this not to happen. Do we need to configure GCC with |
I don't see much with Clang either: sandbox:${WORKSPACE} # echo 'int main() { return 0; }' | gcc -x c - -o gcc.out
sandbox:${WORKSPACE} # readelf -n gcc.out
Displaying notes found at file offset 0x0000021c with length 0x00000020:
Owner Data size Description
GNU 0x00000010 NT_GNU_ABI_TAG (ABI version tag)
OS: Linux, ABI: 2.4.0
sandbox:${WORKSPACE} # echo 'int main() { return 0; }' | clang -x c - -o clang.out
sandbox:${WORKSPACE} # readelf -n clang.out
Displaying notes found at file offset 0x00000254 with length 0x00000020:
Owner Data size Description
GNU 0x00000010 NT_GNU_ABI_TAG (ABI version tag)
OS: Linux, ABI: 2.4.0 |
As far as I can tell, to enable build id's by default in the compiler |
Disable target features explicitly for host build, to avoid environment conflicts, while adding Zstd and build-id support to the target. Refs: #11013
Uh oh!
There was an error while loading. Please reload this page.
The linker is supposed to set a build-id section, as many tools may expect that information to exist to function properly. Therefore, most distros provide this info by default in the compiler. Why is that section missing from all libraries produced here?
Tried:
Expected:
Got:
nothing
(might be related to JuliaPackaging/BinaryBuilder.jl#1272)
The text was updated successfully, but these errors were encountered: