Hi. According to discussion on gentoo-dev http://archives.gentoo.org/gentoo-dev/msg_50182554f851bedb82f8a349fbc90352.xml it seems the only reasons for -Wl,--hash-style=gnu not being default (yet) are these headaches for the developers: 1) Apparently it does not work on mips 2) Apparently it needs >=glibc-2.5 and >=binutils-2.17.50.0.2
My PC is x86 and my toolchain is obviously more recent than these old verions, so apparently the flag is completely safe. I've enabled it in /etc/make.conf and I like the slight reduction in binary size. My main question is: Can I just compile new packages with this flag, or do I need to recompile the whole world? In other words, is there any incompatibility between binaries linked with this flag and binaries linked with the default hash-style (which in Gentoo is --hash-style=both, AFAIK)? Regards, Jorge Morais