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.
_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to