This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/35752] [4.3/4.4 Regression]: Combined gcc + binutils source tree doesn't bootstrap
- From: "hjl dot tools at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 31 Mar 2008 18:16:17 -0000
- Subject: [Bug bootstrap/35752] [4.3/4.4 Regression]: Combined gcc + binutils source tree doesn't bootstrap
- References: <bug-35752-682@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from hjl dot tools at gmail dot com 2008-03-31 18:16 -------
(In reply to comment #4)
> Patch seems fine, but before approving it I would like a description of why
> "tries to [...] relink itself" (important part is *re*link itself), and that
> description should also go in exec-tool.in.
>
I am not a libtool person. My best understanding is when shared library
is enabled, libtool will create a shell script, ld-new, and the real
executable as .libs/ld-new. But .libs/ld-new isn't suitable to be
used in place directly. When the ld-new shell script is run the first
time, it will relink a new real linker, .libs/lt-ld-new, and use
.libs/lt-ld-new instead of .libs/ld-new. I hope libtool person can
provide a real explanation in exec-tool.in.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35752