Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 209735

Summary: app-arch/xar-1.5.2 does not respect LDFLAGS
Product: Gentoo Linux Reporter: Diego Elio Pettenò (RETIRED) <flameeyes>
Component: New packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: normal CC: spatz
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 331933    

Description Diego Elio Pettenò (RETIRED) gentoo-dev 2008-02-11 21:01:30 UTC
These files have a .hash section even when my LDFLAGS tell the linker not to generate it:

app-arch/xar-1.5.2 (/usr/lib64/libxar.so.1)
Comment 1 Christoph Mende (RETIRED) gentoo-dev 2009-01-03 17:50:11 UTC
x86_64-pc-linux-gnu-gcc -march=native -Os -pipe  -o src/xar src/xar.o -Wl,-rpath,/var/tmp/portage/app-arch/xar-1.5.2/work/xar-1.5.2/lib -Llib -Wl,-O1,--hash-style=gnu  lib/libxar.a -lbz2 -lz -lcrypto -lacl  -lxml2 -lz -lm

angelos@odin src % objdump -h xar|grep hash
10:  2 .gnu.hash     00000070  00000000004002b0  00000000004002b0  000002b0  2**3

don't know if this was fixed by some version bump or anything, but it seems to work fine
Comment 2 Dror Levin (RETIRED) gentoo-dev 2010-04-06 22:32:17 UTC
For some files, it really doesn't respect LDFLAGS. With version 1.5.2 portage displays the following message:
 * QA Notice: Files built without respecting LDFLAGS have been detected
 *  Please include the following list of files in your report:
 * /usr/lib64/libxar.so.1

I've now committed -r1 which fixes that. Reopening for proper resolution.