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)
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
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.