------- Comment #2 from pva at gentoo dot org 2007-05-02 06:56 ------- libtool bug was discussed earlier: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25460
But this bug is not about libtool. Libtool just expose problem, although it should hide but that is another bug. I may wish to have library not dependent on -pthread not linking with libpthread. Then further linking with this library for gcc succeeds, while for g++ not and this is what this bug is about. May be this should be fixed in gcc, but as gcc works and even it does some specific actions it seems to me that more natural fix will be to add same magic to g++. But proper solution is up to gcc maintainers. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31774