bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/13406] version script: please allow anonymous tag to be combined


From: lionel at mamane dot lu
Subject: [Bug ld/13406] version script: please allow anonymous tag to be combined with other tags
Date: Thu, 03 Mar 2016 12:39:36 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=13406

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |NEW

--- Comment #7 from Lionel Elie Mamane <lionel at mamane dot lu> ---
I cannot anymore reproduce the abort as originally encountered with C++'s
std::string; it looks like std::string's destructor does not anymore rely on
unicity of the _S_empty_rep_storage symbol. This works around this problem.

>From my test-case, "make foo-ok" still fails, because mixing anonymous tags and
versioned tags is still forbidden. Comment 4 says it should be so, but then
immediately starts talking about "solaris platform", so:

1) I'm not sure if mixing anonymous tags and versioned tags should be forbidden
on other platforms, too.

2) I don't see how to solve the original problem, which was to use global
symbols THAT LD MUST MERGE with the same symbol in other libraries, in a
library that uses versioned symbols and hides its symbols by default, but
"unhides" specifically this global symbol. In other words: how to hide all
symbols, except one, and leave that "not hidden" symbol as if there was
absolutely no version script?

Maybe on most platforms we should allow mixing of anonymous and non-anonymous
tags, and on solaris only, automatically replace "anonymous" by "base version"?

-- 
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]