Diego Elio Pettenò wrote: > Il giorno mar, 23/08/2011 alle 05.21 +1000, Michael ha scritto: >> >> Any thoughts to as how far I should go with filing bugs regarding >> this >> issue? > > Please if you're going to file bugs about this, do so only on a system > built with _forced_ --as-needed, otherwise you're going to hit a long > list of false positives (gpgstats seems to be one of those, since it > does not use symbols from libassuan or gpg-error, even though it links > to those on your system. > > Especially since I'm not sure most fo the developers would know how to > confirm your reports (hint: scanelf -n on the files on a system that is > built with forced --as-needed, I can provide such data myself from the > tinderbox). >
Fair enough, sorry for the bugspam, and thanks for the tip. While I now see that gpgstats does not actually depend on libassuan or gpg- error, the build process still fails without them: x86_64-pc-linux-gnu-g++ -Wl,--hash-style=gnu -Wl,--as-needed -Wall -W error.o utils.o array.o iarray.o s.o -o gpgstats `gpgme-config --libs` /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../x86_64-pc-linux- gnu/bin/ld: cannot find -lassuan collect2: ld returned 1 exit status make: *** [gpgstats] Error 1 emake failed Is /this/ considered to be a bug? Do I just write a patch to stop linking against libs that aren't needed? Best regards, Michael
