This is the mail archive of the gcc-patches@gcc.gnu.org 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)


Rainer Orth <ro@techfak.uni-bielefeld.de> writes:

> As I suggested in the original patch submission, it should be possible to
> move the inclusion of i386/t-crtstuff to libgcc/configure.ac 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.


>> I'll approve this patch for mainline and 4.3 branch.
>
> 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.

Ian


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