This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ 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]

Re: gnu ld version check in libstdc++-v3/acinclude.m4


On Tue, Feb 20, 2007 at 01:33:09PM +0100, Richard Guenther wrote:
> 
> It looks like binutils recently changed the formatting of it's version
> string with introducing --with-pkgversion.  This causes the configure
> check for symbol versioning to fail for libstdc++.
> 
> In particular we now have
> 
> > ld --version 
> GNU ld version (SUSE Linux) 2.17.50.20070219 20070219

That looks wrong... I think Andreas Schwab observed something similar
on binutils@ today.  How did the date get doubled?  Or is that a SuSE
local change?  It doesn't seem to happen for me.

GNU assembler 2.17.50 20070220


> !            sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`

> !            sed -e 's/GNU ld version \(([^(]*)\)\? \?\([0-9.][0-9.]*\).*/\2/'`

I guess you meant [^)], not [^(].  I think it's clearer if you move
the space inside the parentheses, too, so you only need one \?.

-- 
Daniel Jacobowitz
CodeSourcery


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