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 02:45:12PM +0100, Andreas Schwab wrote:
> Daniel Jacobowitz <drow@false.org> writes:
> 
> > 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.
> 
> It is required to get a unique version.  Otherwise building binutils with
> not-the-quite same version will fail.

Fedora Core/RHEL uses rpm's %{version}-%{release} there instead, so
something like:
ld --version
GNU ld version 2.17.50.0.6-2.fc6 20061020
Copyright 2005 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License.  This program has absolutely no warranty.

-%{release} was added there for similar reason why you are adding date
- otherwise if the same version, but not really identical libbfd
is installed, building a new binutils can die horribly because
the newly built ld is run against installed libbfd.

	Jakub


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