* [Buildroot] [Bug 11101] New: host-patchelf Endian Issue with relative RPATH
@ 2018-06-19 14:14 bugzilla at busybox.net
2018-06-26 20:04 ` [Buildroot] [Bug 11101] " bugzilla at busybox.net
0 siblings, 1 reply; 2+ messages in thread
From: bugzilla at busybox.net @ 2018-06-19 14:14 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=11101
Bug ID: 11101
Summary: host-patchelf Endian Issue with relative RPATH
Product: buildroot
Version: 2018.02.2
Hardware: All
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Other
Assignee: unassigned at buildroot.uclibc.org
Reporter: bryce.ferguson at rockwellcollins.com
CC: buildroot at uclibc.org
Target Milestone: ---
Hello,
This problem was discovered with the package: sudo. In builds for PowerPC
architecture, the sudo ELF file contains an invalid symbol after fix-rpath
script is run. The following entry below:
0x1d000000 (<unknown>: 1d000000) 0xb77
When it should be:
0x0000001d (RUNPATH) Library runpath
Should be the RUNPATH entry (0x1d). Because of this, sudo cannot find the
proper libraries at runtime and fails to execute. It appears, when looking at
the readelf output, that there is an endian problem here when the host differs
from the target.
I have traced this to the host-patchelf utility. (Patchelf is executed by the
fix-rpath script.) When the --make-rpath-relative option is specified, there
is a possibility that this can occur. Wondering why this does not occur on
other packages, I added the --debug option to the patchelf command in the
fix-rpath script and ran the build again. This time, I see that most of the
packages in my build report "No RPATH to make relative", except for sudo.
I've tried to build for mutliple architectures (ARM, x86/_64, PPC). So far
this only occurs for PowerPC builds. Perhaps a possible workaround having to
do with the install location of the sudo libraries is needed?
Thanks!
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Buildroot] [Bug 11101] host-patchelf Endian Issue with relative RPATH
2018-06-19 14:14 [Buildroot] [Bug 11101] New: host-patchelf Endian Issue with relative RPATH bugzilla at busybox.net
@ 2018-06-26 20:04 ` bugzilla at busybox.net
0 siblings, 0 replies; 2+ messages in thread
From: bugzilla at busybox.net @ 2018-06-26 20:04 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=11101
Thomas Petazzoni <thomas.petazzoni@free-electrons.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|NEW |RESOLVED
--- Comment #1 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> ---
Fixed by
https://git.buildroot.org/buildroot/commit/?id=17c9810fe76377fb928579e2b99f03f8ae31addb.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-06-26 20:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-19 14:14 [Buildroot] [Bug 11101] New: host-patchelf Endian Issue with relative RPATH bugzilla at busybox.net
2018-06-26 20:04 ` [Buildroot] [Bug 11101] " bugzilla at busybox.net
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.