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: [PING]^N Fix ppc64 bootstrap with a -m32 host compiler


On Thu, Jun 22, 2006 at 09:02:17PM +0200, Richard Guenther wrote:
> On Thu, 22 Jun 2006, Daniel Jacobowitz wrote:
> 
> > On Thu, Jun 22, 2006 at 02:46:18PM -0400, DJ Delorie wrote:
> > > 
> > > /me wonders why there isn't a stage2-specific build-libiberty then.
> > 
> > It sounds to me like during stage 2 of a bootstrap, we should be using
> > host libiberty rather than build libiberty.  There's already one of
> > those, I think.  Or I may be off by one stage.
> 
> But this is exactly what happens and is bogus?  We should be using the
> libiberty build by the stage1 compiler to link the stage2 binaries,
> the libiberty build with the host compiler is a 32bit object, while
> the stage1 compiler builds 64bit objects.

Yes, but at that point you want host libiberty from stage 1 for "build"
tools for stage 2.  The one that matches your compiler.

-- 
Daniel Jacobowitz
CodeSourcery


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