Bug 233803 - prelink fails tests when using -Wl,--enable-new-dtags
prelink fails tests when using -Wl,--enable-new-dtags
Product: Fedora
Classification: Fedora
Component: prelink (Show other bugs)
All Linux
medium Severity low
: ---
: ---
Assigned To: Jakub Jelinek
Depends On:
  Show dependency treegraph
Reported: 2007-03-25 02:32 EDT by Mike Frysinger
Modified: 2007-11-30 17:12 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-03-26 08:36:27 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
difference between deps1.log (5.94 KB, text/plain)
2007-03-25 02:32 EDT, Mike Frysinger
no flags Details

  None (edit)
Description Mike Frysinger 2007-03-25 02:32:59 EDT
i'm not terribly familiar with prelink so i havent had much luck tracing back
the exact issue to see if it's benign, but these tests fail when linking with
FAIL: deps1.sh
FAIL: deps2.sh
FAIL: undosyslibs.sh

tested with prelink-0.3.10-1.src.rpm
Comment 1 Mike Frysinger 2007-03-25 02:32:59 EDT
Created attachment 150842 [details]
difference between deps1.log
Comment 2 Jakub Jelinek 2007-03-26 08:36:27 EDT
That's not really surprising, given that the tests use LD_LIBRARY_PATH and
expect it doesn't override DT_RPATH (while if you build with
-Wl,--enable-new-dtags DT_RUNPATH is overridden by LD_LIBRARY_PATH).
Don't do it then?  Or at least don't do it for make check in prelink?
Comment 3 Mike Frysinger 2007-03-26 17:59:59 EDT
the reason for the bug was i wanted verification from someone who knew the
source code that this is merely a test issue and not an actual defect in the
code that would show up at runtime when using DT_RUNPATH

i'll patch prelink so that the common test sh file does:
CC="$CC -Wl,--disable-new-dtags"

thanks for your indulgence :)

Note You need to log in before you can comment on or make changes to this bug.