Re: [PATCH] disable de-duplication of postdeps on Solaris

2012-07-30 Thread Fabian Groffen
On 30-07-2012 11:02:59 -0500, Bob Friesenhahn wrote: > On Mon, 30 Jul 2012, Fabian Groffen wrote: > > > > I think libtool only injects -lc if it was actually explicitly given, or > > do you suspect it to do otherwise? > > I think you are correct. However, onc

Re: [PATCH] disable de-duplication of postdeps on Solaris

2012-07-30 Thread Fabian Groffen
-pthread is in use: -lstdc++ -lm -lgcc_s -lgcc -lpthread -lc -lgcc_s -lgcc I think libtool only injects -lc if it was actually explicitly given, or do you suspect it to do otherwise? Fabian -- Fabian Groffen Gentoo on a different level signature.asc Description: Digital signature

Re: [PATCH] disable de-duplication of postdeps on Solaris

2012-07-30 Thread Fabian Groffen
/lib/gcc/i386-pc-solaris2.10/4.7.1/amd64/crtend.o > /usr/lib/amd64/crtn.o -lc was specified, so not much the compiler can do here, IMO. If I take tiff 4.0.2, pkg-config only gives me -ltiff for "pkg-config --cflags --libs libtiff-4" Fabian -- Fabian Groffen Gentoo on a different level signature.asc Description: Digital signature

Re: [PATCH] disable de-duplication of postdeps on Solaris

2012-07-30 Thread Fabian Groffen
On 29-07-2012 16:14:12 -0500, Bob Friesenhahn wrote: > On Thu, 26 Jul 2012, Fabian Groffen wrote: > > > > Libtool apparently figures out what libs to link to by watching what the > > compiler does. It applies duplicate elimination on the result of that > > (don'

[PATCH] disable de-duplication of postdeps on Solaris

2012-07-26 Thread Fabian Groffen
isable the duplicate elimination for Solaris. [1] http://gcc.gnu.org/ml/gcc-patches/2002-04/msg00176.html -- Fabian Groffen Gentoo on a different level On Solaris, catch code for C++ exceptions is in libgcc_s. The libc has default catch code as well, that does an abort. GCC by default emits on purpo

[PATCH] x86_64-pc-solaris2.* GNU ld breakage due to _sol2 emulation detection

2012-07-26 Thread Fabian Groffen
linker called ld_sol2 is wrong. Regards, Fabian [1] http://lists.gnu.org/archive/html/libtool-commit/2011-02/msg0.html [2] http://osdyson.org/issues/8 -- Fabian Groffen Gentoo on a different level Unbreak x86_64-pc-solaris2.1[01], it IS 64-bits too. Without this, libtool thinks the linker