On L, 2008-07-26 at 03:39 +0300, Nikos Chantziaras wrote: > Fortunately, the majority of ebuilds/packages are honoring LDFLAGS. Of > course it's kinda difficult to always check if a package honors it or > not. But it's a good idea to file a bug for every package that does not > honor it (without a reason).
I guess as many are using it to pass --hash-style=gnu in addition to other things[1], an easy way to find out which don't honor it out of your installed packages is to scan for ELF files that contain the .hash ELF section in addition to .gnu.hash ELF section. Something through scanelf -q -k .hash <path> outputting anything or not could be used to determine if the section exists or not. I'm sure there are better ways. This doesn't work for packages that don't ship ELF files, but ld works on ELF files, so those that don't use ELF files shouldn't really care if LDFLAGS is honored or not... Maybe this gives some ideas to someone to write a proper QA script, or point us all to an already existing almighty script or tool that does just that. -- Mart Raudsepp Gentoo Developer Mail: [EMAIL PROTECTED] Weblog: http://planet.gentoo.org/developers/leio
signature.asc
Description: This is a digitally signed message part