1 |
On Tue, Aug 10, 2010 at 2:40 PM, Francesco R wrote: |
2 |
> I don't know how --hash-style=gnu is used to check for LDFLAGS, so this may |
3 |
> be OT. |
4 |
|
5 |
it looks to see what ELFs still have a .hash section |
6 |
|
7 |
> On my personal and _breakable_ desktop I do use |
8 |
> LDFLAGS="${LDFLAGS} -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed |
9 |
> -Wl,--sort-common -Wl,--build-id" |
10 |
> in make.conf. |
11 |
> Would this two liners tell me which package who install binaries in /usr/bin |
12 |
> does not respect ldflags? |
13 |
> # for i in /usr/bin/* ; do eu-unstrip -n -e $i ; done &> build-id.txt |
14 |
> # qfile $(grep '0x[0-9]*+0x[0-9]* - ' build-id.txt | awk '{ print $3 }') |
15 |
|
16 |
way more complicated than necessary. simply do: |
17 |
scanelf -qyRk.hash -F'%F#k' /usr/bin/ |
18 |
|
19 |
this is after all what portage is using now |
20 |
-mike |