From: Michael Hennebry <hennebry@web.cs.ndsu.nodak.edu>
To: Ian Lance Taylor <iant@google.com>
Cc: binutils@sourceware.org
Subject: Re: gold patch committed: Skip incompatible objects
Date: Tue, 17 Mar 2009 02:08:00 -0000 [thread overview]
Message-ID: <alpine.DEB.1.00.0903162022290.5098@mail.cs.ndsu.nodak.edu> (raw)
In-Reply-To: <m3k56pb2jc.fsf@google.com>
On Mon, 16 Mar 2009, Ian Lance Taylor wrote:
> Michael Hennebry <hennebry@web.cs.ndsu.nodak.edu> writes:
>
>>> ... The only time that an incorrect -L option
>>> would be a problem in this way would be if you have multiple libraries
>>> with the same name, and you are picking up the wrong one because a -L
>>> option was missed. That does not seem like a common case to me.
>>
>> Or I don't pick up either and it fails to link.
>
> But the linker already gives an error if it can't find any library to
> match a -l option.
Clearly helpful,
but it doesn't say where said library was supposed to be.
If one is drowning in a sea of libraries
and directories one doesn't understand,
the answer isn't necessarily obvious.
Even if it should be, a clear statement that a directory is missing
could reduce the workload of an already over-stressed brain.
Automatic tools are better than grunge work.
>>> I wouldn't object to optionally warning about missing -L directories,
>>> but I don't think it should be the default behaviour, and I doubt I will
>>> bother to write such a patch myself.
>>
>> Perhaps it could be implied by --verbose.
>
> Sure, or --trace, I suppose.
Preferably and --trace.
Someone floundering is more likely to think of --verbose.
--
Michael hennebry@web.cs.ndsu.NoDak.edu
"Pessimist: The glass is half empty.
Optimist: The glass is half full.
Engineer: The glass is twice as big as it needs to be."
prev parent reply other threads:[~2009-03-17 2:08 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-14 6:03 Ian Lance Taylor
2009-03-16 15:17 ` Michael Hennebry
2009-03-16 17:44 ` Ian Lance Taylor
2009-03-16 20:02 ` Michael Hennebry
2009-03-16 21:07 ` Ian Lance Taylor
2009-03-17 2:08 ` Michael Hennebry [this message]
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=alpine.DEB.1.00.0903162022290.5098@mail.cs.ndsu.nodak.edu \
--to=hennebry@web.cs.ndsu.nodak.edu \
--cc=binutils@sourceware.org \
--cc=iant@google.com \
/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).