Bug 233803

Summary: prelink fails tests when using -Wl,--enable-new-dtags
Product: [Fedora] Fedora Reporter: Mike Frysinger <vapier>
Component: prelinkAssignee: Jakub Jelinek <jakub>
Status: CLOSED NOTABUG QA Contact:
Severity: low Docs Contact:
Priority: medium    
Version: 6   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-03-26 12:36:27 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
difference between deps1.log none

Description Mike Frysinger 2007-03-25 06:32:59 UTC
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
-Wl,--enable-new-dtags:
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 06:32:59 UTC
Created attachment 150842 [details]
difference between deps1.log

Comment 2 Jakub Jelinek 2007-03-26 12:36:27 UTC
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 21:59:59 UTC
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 :)