--- Additional Comments From mike at navi dot cx 2005-05-08 12:38 ---
http://gcc.gnu.org/onlinedocs/libstdc++/abi.html
See the "testing multi-abi binaries" section at the bottom:
A "C" application, dynamically linked to two shared libraries, liba, libb. The
dependent library liba is C
--- Additional Comments From chris at bubblescope dot net 2005-05-08 12:18
---
Out of interest, where do the docs say that? (I'm not being sarcastic, just
interested)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21405
--- Additional Comments From mike at navi dot cx 2005-05-06 00:17 ---
No, there is very definitely a bug here even if it's just in the documentation.
The GCC docs say in very clear and unambiguous terms that this will work, by
design. Not by accident, by design. That's the whole point of
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-05-05
22:40 ---
So here is the story really global templates have aways global visibility in
C++ so this is not a bug in
GCC or binutils. This is a bug in how you think that you can use two different
versions.
--
--- Additional Comments From mike at navi dot cx 2005-05-05 22:39 ---
I don't understand what you mean. There's definitely a bug here because a
configuration that the docs say should work, causes mysterious crashes due to
mis-binds of symbols. I suspect building with -fvisibility-inlines-
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-05-05
22:27 ---
I don't know if this is really a vaild bug, as the standard requires the inline
function as the same so it
would be undefined if they are different.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21405