public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "bonzini at gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/35752] [4.3/4.4 Regression]: Combined gcc + binutils source tree doesn't bootstrap
Date: Tue, 01 Apr 2008 12:09:00 -0000	[thread overview]
Message-ID: <20080401120852.9773.qmail@sourceware.org> (raw)
In-Reply-To: <bug-35752-682@http.gcc.gnu.org/bugzilla/>



------- Comment #16 from bonzini at gnu dot org  2008-04-01 12:08 -------
> The stage 1 ld works as far as linking the stage 1 gcc which is directly after
> it.  It's only when we get to stage 2 that things break. 

This is a red herring.  stage 1 ld goes through the same relink process, but it
uses the host ld to do that (no problem).  stage 2 ld adds a further
indirection through stage 1's gcc/collect-ld, which is a small script to
discern between when to use prev-ld/ld-new and when to use ld/ld-new; the
presence of a shell script as ld/ld-new, and the fact that the script *uses ld
itself*, is what confuses the gcc/collect-ld script.

So H.J.'s patch in some sense is right, because it fixes the "buggy" script. 
The reason I'd prefer ld to be patched is that H.J.'s fix is a tad brittle and
susceptible to changes in libtool; avoiding the one-time relinking is simpler. 
But OTOH, until the patched ld/Makefile.am goes into a released version there
is no way to bootstrap a gcc+binutils tree. :-(  I'll make up my mind soon.

Anyway, any other problem you have regarding search paths, as I said, a second
bug, and one that should not cause any kind of infinite loop.  We have to fix
that one too, of course, but let's sort out this one first, please.


-- 

bonzini at gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |bonzini at gnu dot org
                   |dot org                     |
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2008-04-01 12:08:52
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35752


  parent reply	other threads:[~2008-04-01 12:09 UTC|newest]

Thread overview: 65+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-28 22:23 [Bug bootstrap/35752] New: " hjl dot tools at gmail dot com
2008-03-29  1:48 ` [Bug bootstrap/35752] " hjl dot tools at gmail dot com
2008-03-31 17:44 ` hjl dot tools at gmail dot com
2008-03-31 17:48 ` [Bug bootstrap/35752] [4.3/4.4 Regression]: " hjl dot tools at gmail dot com
2008-03-31 17:54 ` bonzini at gnu dot org
2008-03-31 18:17 ` hjl dot tools at gmail dot com
2008-03-31 20:30 ` oblivian at users dot sourceforge dot net
2008-03-31 22:27 ` rwild at gcc dot gnu dot org
2008-03-31 23:10 ` oblivian at users dot sourceforge dot net
2008-03-31 23:26 ` oblivian at users dot sourceforge dot net
2008-04-01  7:09 ` bonzini at gnu dot org
2008-04-01 10:25 ` oblivian at users dot sourceforge dot net
2008-04-01 11:22 ` bonzini at gnu dot org
2008-04-01 11:52 ` oblivian at users dot sourceforge dot net
2008-04-01 11:54 ` bonzini at gnu dot org
2008-04-01 11:57 ` oblivian at users dot sourceforge dot net
2008-04-01 12:09 ` bonzini at gnu dot org [this message]
2008-04-01 12:15 ` oblivian at users dot sourceforge dot net
2008-04-01 12:34 ` bonzini at gnu dot org
2008-04-01 12:41 ` oblivian at users dot sourceforge dot net
2008-04-01 13:49 ` bonzini at gnu dot org
2008-04-01 13:54 ` oblivian at users dot sourceforge dot net
2008-04-01 15:31 ` oblivian at users dot sourceforge dot net
2008-04-01 15:37 ` bonzini at gnu dot org
2008-04-01 15:40 ` oblivian at users dot sourceforge dot net
2008-04-01 15:42 ` Ralf dot Wildenhues at gmx dot de
2008-04-01 15:42 ` bonzini at gnu dot org
2008-04-01 15:42 ` oblivian at users dot sourceforge dot net
2008-04-01 15:50 ` hjl dot tools at gmail dot com
2008-04-01 15:51 ` hjl dot tools at gmail dot com
2008-04-01 16:12 ` bonzini at gnu dot org
2008-04-01 16:45 ` oblivian at users dot sourceforge dot net
2008-04-01 18:56 ` oblivian at users dot sourceforge dot net
2008-04-01 19:04 ` oblivian at users dot sourceforge dot net
2008-04-01 19:05 ` oblivian at users dot sourceforge dot net
2008-04-02 10:08 ` [Bug bootstrap/35752] [4.3/4.4 Regression]: Combined gcc + binutils source tree doesn't bootstrap with --enable-shared bonzini at gnu dot org
2008-04-02 10:09 ` bonzini at gcc dot gnu dot org
2008-04-02 13:48 ` oblivian at users dot sourceforge dot net
2008-04-02 14:00 ` bonzini at gnu dot org
2008-04-02 14:20 ` oblivian at users dot sourceforge dot net
2008-04-21 13:37 ` hjl dot tools at gmail dot com
2008-04-21 13:54 ` bonzini at gnu dot org
2008-04-21 14:02 ` hjl dot tools at gmail dot com
2008-04-21 14:08 ` bonzini at gnu dot org
2008-04-21 14:13 ` Ralf dot Wildenhues at gmx dot de
2008-04-21 14:27 ` hjl dot tools at gmail dot com
2008-04-21 14:39 ` bonzini at gnu dot org
2008-04-21 14:40 ` bonzini at gnu dot org
2008-04-21 15:53 ` hjl dot tools at gmail dot com
2008-04-21 16:06 ` bonzini at gnu dot org
2008-04-21 16:19 ` hjl dot tools at gmail dot com
2008-04-21 16:26 ` bonzini at gnu dot org
2008-04-21 16:40 ` hjl dot tools at gmail dot com
2008-04-21 17:03 ` bonzini at gnu dot org
2008-04-22  5:28 ` Ralf dot Wildenhues at gmx dot de
2008-04-22  6:27 ` bonzini at gnu dot org
2008-04-22 17:52 ` Ralf dot Wildenhues at gmx dot de
2008-04-25 15:01 ` oblivian at users dot sourceforge dot net
2008-04-25 15:21 ` bonzini at gnu dot org
2008-06-11 11:11 ` jsm28 at gcc dot gnu dot org
2008-06-13 21:55 ` mmitchel at gcc dot gnu dot org
2008-07-31 12:46 ` bonzini at gnu dot org
2008-08-01  8:28 ` [Bug bootstrap/35752] [4.3 " bonzini at gnu dot org
2008-08-01  9:53 ` bonzini at gcc dot gnu dot org
2008-08-04 12:25 ` bonzini at gnu dot org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080401120852.9773.qmail@sourceware.org \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).