PATCH: Fix Solaris/SPARC bootstrap without gas
Mikael Pettersson
mikpe@it.uu.se
Wed Feb 3 10:10:00 GMT 2010
Rainer Orth writes:
> This patch
>
> [PATCH]: Fix comdat et al. on sparc
> http://gcc.gnu.org/ml/gcc-patches/2010-01/msg01237.html
>
> broke bootstrap on Solaris/SPARC since HAVE_GNU_AS is always defined
> even without gas (as 0 in this case).
>
> The following patch at least allowed the stage 1 libgcc to configure.
>
> Ok for mainline?
>
> I don't have current baselines of the 4.3 and 4.4 branches, so testing
> there will take some time.
When this patch went into 4.4 branch it caused the following
regression on my sparc64-linux machine:
=== g++ tests ===
FAIL: g++.dg/abi/guard2.C scan-assembler _ZGVZN1A1fEvE1i,comdat
This test was one that David's comdat patch fixed.
Reverting Rainier's patch makes this test pass instead.
/Mikael
More information about the Gcc-patches
mailing list