Date: Tue, 02 Oct 2018 18:09:09 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 231882] multiple toolchain issues with statically linked binaries Message-ID: <bug-231882-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D231882 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@FreeBSD.org Reporter: emaste@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=3D37538 This likely also affects static PIE. Referenced Bugs: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D231027 [Bug 231027] [META] FreeBSD-Foundation sponsored issues for FreeBSD 13-CURR= ENT --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-231882-227>