-
Couldn't load subscription status.
- Fork 13.9k
Closed
Labels
A-linkageArea: linking into static, shared libraries and binariesArea: linking into static, shared libraries and binariesC-bugCategory: This is a bug.Category: This is a bug.O-muslTarget: The musl libcTarget: The musl libc
Description
On the current nightly and stable, compiling hello world with --target x86_64-unknown-linux-musl results in a static PIE binary that still has a DYNAMIC segment and .dynamic section. This causes file to report it as:
$ file /tmp/main
/tmp/main: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, stripped
This was previously reported as #79624, which I believe to be incorrectly closed: on a hand-created binary without a DYNAMIC segment, file reports:
$ file out/fa6l
out/fa6l: ELF 64-bit LSB pie executable, ARM aarch64, version 1 (SYSV), statically linked, not stripped
Metadata
Metadata
Assignees
Labels
A-linkageArea: linking into static, shared libraries and binariesArea: linking into static, shared libraries and binariesC-bugCategory: This is a bug.Category: This is a bug.O-muslTarget: The musl libcTarget: The musl libc