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

2012-07-26 Thread Fabian Groffen
Hi, Since commit [1] libtool tries to set a 64-bits target for GNU ld. However, it does so wrongly for x86_64-pc-solaris2.* targets, causing libtool to believe the linker is called ld_sol2. There is no such thing, and it obviously breaks things further down. Some people wrongly assume there is su

[PATCH] disable de-duplication of postdeps on Solaris

2012-07-26 Thread Fabian Groffen
Hi, I tracked down an issue on Solaris/OpenSolaris/OpenIndiana where C++ libraries built by libtool would cause abort/traps when an exception was being thrown. The underlying cause is that the C-library was linked before libgcc, leading to the C-library generating the abort before libgcc could do

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

2012-07-26 Thread Bob Friesenhahn
On Thu, 26 Jul 2012, Fabian Groffen wrote: Hi, I tracked down an issue on Solaris/OpenSolaris/OpenIndiana where C++ libraries built by libtool would cause abort/traps when an exception was being thrown. This issue has been causing problems for my C++ library for many years. There is even a