bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/12548] anonymous version scripts no longer working with binutils


From: lionel at mamane dot lu
Subject: [Bug ld/12548] anonymous version scripts no longer working with binutils 2.21
Date: Sat, 12 Nov 2011 23:49:50 +0000

http://sourceware.org/bugzilla/show_bug.cgi?id=12548

Lionel Elie Mamane <lionel at mamane dot lu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |lionel at mamane dot lu

--- Comment #1 from Lionel Elie Mamane <lionel at mamane dot lu> 2011-11-12 
23:49:50 UTC ---
(In reply to comment #0)
> I upgraded our build system from binutils 2.20 and gcc 4.4.3 to binutils 2.21
> and gcc 4.5.2. This unfortunately broke support for anonymous version scripts.
> /usr/lib/gcc/sparc-sun-solaris2.10/4.5.2/../../../../sparc-sun-solaris2.10/bin/ld:
> anonymous version tag cannot be combined with other version tags

> The problem is specific to the Solaris/sparc backend.

> After some digging, I found that the problem is in ld/emultempl/solaris2.em,
> which is part of the new Solaris 2 ABI stuff. It tries to add a new version
> section for a bunch of symbols, which of course won't work when there is
> already an anonymous section from the command line.

> I'm not sure how to proceed here. I have to assume this version section is
> being added for a reason, so I can't just remove it. Perhaps the entries need
> to be merged with the existing section?

Or more prosaically, allow an anonymous version tag to cohabit with a named
version tag. I just requested that for different reasons in bug 13406.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



reply via email to

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