This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: ld --verbose output
- To: Andrew Haley <aph at cambridge dot redhat dot com>
- Subject: Re: ld --verbose output
- From: Michael Eager <eager at mvista dot com>
- Date: Fri, 10 Aug 2001 18:16:20 -0700
- CC: binutils at sources dot redhat dot com
- Organization: MontaVista Software, Inc.
- References: <15220.6875.556107.324991@cuddles.cambridge.redhat.com>
Andrew Haley wrote:
>
> ld is rather inconsistent when one uses --verbose. If its linker
> script happens to be builtin, ld --verbose outputs it. If its script
> is not builtin, ld instead prints out the name of the file in which
> the script may be found.
>
> While this may be all well and good to users, some build scripts
> process the output of --verbose to get a linker script. glibc does
> this, and if the script happens not to be builtin the build fails.
>
> I think that ld --verbose should behave consistently and always output
> the linker script whether it is builtin or not. That's what this
> patch does.
It was very annoying to figure out why glibc did not build when the
script was not built-in. On the other hand, the root cause of the
problem was that binutils was not correctly configured.
--
Michael Eager eager@mvista.com 408-328-8426
MontaVista Software, Inc. 1237 E. Arques Ave., Sunnyvale, CA 94085