This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: 4.3/4.4 PATCH: Fix Solaris/x86 bootstrap with Sun ld (PR bootstrap/33100)

Ian Lance Taylor writes:

> > As I suggested in the original patch submission, it should be possible to
> > move the inclusion of i386/t-crtstuff to libgcc/ and make it
> > conditional on a linker test there.  This way, only systems with broken Sun
> > linkers would be penalized.  I could well try that approach, since it's
> > certainly cleaner and doesn't break unwind information on recent Solaris 11
> > where we don't have to.  What do you think?
> I think it's up to you.  You can also just split the config.gcc test
> on the solaris version number.

Ok, I'll give it a try.  If all else fails, I could fall back to the
current patch everywhere.  Unfortunately, splitting on version number
doesn't really help, because older versions of OpenSolaris
(i.e. *-*-solaris2.11) have the bug, while newer ones are fixed.  That's
why it seems more appropriate to perform a feature test.

> > What about the 4.2 branch?  As I mentioned, the patch is needed there, too,
> > and I've successfully bootstrapped on i386-pc-solaris2.10.  Unfortunately,
> > the cleaner approach outlined above isn't available here since there's no
> > separate libgcc with it's own configure, so I fear it's either this hack or
> > leave that branch broken.
> OK for 4.2 branch also.

Thanks, I'll check it in there ASAP.


Rainer Orth, Faculty of Technology, Bielefeld University

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]