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 03:22:54PM -0400, DJ Delorie wrote:
> So my concern here is, if we went through all this effort to do a
> toplevel bootstrap, why isn't build-libiberty being bootstrapped along
> with everything else?  Why didn't it "just happen" to be built with
> the same compiler as is building gen* ?  To me, having to link with a
> non-build libiberty indicates that something else went wrong with the
> build.

Because we deliberately only build the "build" directories once, for
the "build" system.  There's no code to bootstrap it.  If build were
treated as host stage 0, this would happen, but it isn't.

The stage 1 compiler was used to build the stage 2 host libiberty,
host gcc, and "build" tools.  If you want to make a separate
stage 2 build library exactly identical to the stage 2 host library,
they could be linked to that, but it seems a waste.

-- 
Daniel Jacobowitz
CodeSourcery


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