[bug-notifications] [gts 0004926]: Mangled RUNPATH and RPATH in gts
Mantis Bug Tracker
noreply at opencsw.org
Sun Jul 28 10:25:47 CEST 2013
The following issue has been ASSIGNED.
======================================================================
https://www.opencsw.org/mantis/view.php?id=4926
======================================================================
Reported By: macareus
Assigned To: laurent
======================================================================
Project: gts
Issue ID: 4926
Category: packaging
Reproducibility: always
Severity: minor
Priority: normal
Status: assigned
======================================================================
Date Submitted: 2012-03-26 04:00 CEST
Last Modified: 2013-07-28 10:25 CEST
======================================================================
Summary: Mangled RUNPATH and RPATH in gts
Description:
For reasons completely unrelated to CSWgts,
I wrote a script to sweep through all ELF executable
files and show the union of all their RUNPATHs and/or RPATHs.
Several files related to CSWgts have some "interesting"
RPATH, RUNPATH components.
Below is some diagnostic output.
There is repetition, because the same problem
is reported once for RPATH and again for RUNPATH.
It looks like what were indented to be '$ORIGIN' and
'$ISALIST' got mangled.
Severity is actually unknown, because I have not
tried out any of these programs.
======================================================================
----------------------------------------------------------------------
(0009771) maciej (developer) - 2012-03-26 08:59
https://www.opencsw.org/mantis/view.php?id=4926#c9771
----------------------------------------------------------------------
It happens when the build system performs an extra interpolation of
variables passed through the environment. If it happens inside shell, the
result is that "/opt/csw/lib/$ISALIST" becomes "/opt/csw/lib/". If it
happens inside Make, the result is "/opt/csw/lib/SALIST". If there is a
problem with these, the problem is that the binaries are unable to find
optimized libraries, because the SALIST entry in RPATH simply doesn't work.
But it doesn't stop the binaries from working at all.
More information about the bug-notifications
mailing list