Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 209735 - app-arch/xar-1.5.2 does not respect LDFLAGS
Summary: app-arch/xar-1.5.2 does not respect LDFLAGS
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: ldflags
  Show dependency tree
 
Reported: 2008-02-11 21:01 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2010-08-09 21:00 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.