On 10/31/2011 06:14 AM, Rainer Orth wrote:
In version 4.7, GCC will gain a 64-bit default Solaris/x86
configuration, similar to the existing sparcv9-sun-solaris2
configurations. In order for that to work with GNU ld (Sun ld works out
of the box), I had to make the following minor patch to libtool.m4.
This patch has been tested with a slightly earlier version already
included in the gcc repository for Go support. There's an effort
underway to upgrade the libtool in gcc to 2.4.2. A gcc bootstrap with
64-bit gld and this patch included completed without regressions.
Looks like this is essentially equivalent to the patch from Fabian Groffen
that I recently committed:
http://git.savannah.gnu.org/gitweb/?p=libtool.git;a=commitdiff;h=eee4f853019cc246b1d65054771f85ef500098ff
The distinction is that you match only "x86_64-*-solaris2.1[[0-9]]*", while
Fabian's patch matches "x86_64-*-solaris*". Is there a need for the
more-complex pattern? If so, I can make an amended commit.