This is the mail archive of the gcc-bugs@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]

[Bug bootstrap/35752] [4.3/4.4 Regression]: Combined gcc + binutils source tree doesn't bootstrap



------- 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


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