[Bug 231882] multiple toolchain issues with statically linked binaries
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Oct 2 18:09:11 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231882
Bug ID: 231882
Summary: multiple toolchain issues with statically linked
binaries
Product: Base System
Version: CURRENT
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: bin
Assignee: bugs at FreeBSD.org
Reporter: emaste at freebsd.org
Blocks: 231027
Attempting to make use of some WIP with statically linked binaries (i386 /
amd64) has uncovered a number of tool chain issues which will be tracked in
this PR.
* elfcopy/strip removes ifunc, probably other relocations
Found by kib@, with userland ifunc stripped statically linked binaries
segfault. strip removed the .rela.plt section header; file content at the
expected relocation site has been zeroed.
See LLVM PR 37538 for an initial part of this issue - lld is writing 0 in
sh_info and sh_link on the .rela.plt section.
https://bugs.llvm.org/show_bug.cgi?id=37538
This likely also affects static PIE.
Referenced Bugs:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231027
[Bug 231027] [META] FreeBSD-Foundation sponsored issues for FreeBSD 13-CURRENT
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list