libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: discard “Configured with” line from gcc -v output


From: Alexandre Oliva
Subject: Re: discard “Configured with” line from gcc -v output
Date: Tue, 08 Sep 2009 19:27:17 -0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

On Sep  8, 2009, Ralf Wildenhues <address@hidden> wrote:

> * Alexandre Oliva wrote on Tue, Sep 08, 2009 at 05:17:28PM CEST:

>> The symptom was an incomplete link command line, resulting from a
>> trailing «'» character in a -L flag added by libtool.

> FWIW, it is not clear to me why this shouldn't have hurt you earlier.

I was just as surprised.  I couldn't find any particular change that
would have exposed this latent problem.

It *could* be related with the upgrade to a newer autoconf in GCC, which
might in turn have started adding more variables to the config.status
--recofigure command line.

>> Here's what I'm going to installing in the GCC tree momentarily.  I
>> suggest libtool to adopt something along the same lines.

> The patch is not ok for upstream Libtool, which unfortunately also has
> to support other compilers that pretend to be GCC, but produce different
> '-v -shared' output (ICC and PathScale are in this boat IIRC).  ICC
> won't match your changed grep, I think.  Yes, it's ugly and they should
> be punished for being an imperfect impersonation, but that's not
> something you can tell users.

:-)

> Have you checked older GCC versions for the format?

Not really, although I'm pretty sure this leading whitespace oddity has
bugged me for a very long time.  But given the above, it shouldn't
really matter.

> One possibility would be to grep out "Configured with" lines.  I'll look
> into it.

That ought to work.  Thanks!

-- 
Alexandre Oliva, freedom fighter    http://FSFLA.org/~lxoliva/
You must be the change you wish to see in the world. -- Gandhi
Be Free! -- http://FSFLA.org/   FSF Latin America board member
Free Software Evangelist      Red Hat Brazil Compiler Engineer




reply via email to

[Prev in Thread] Current Thread [Next in Thread]