This is the mail archive of the
mailing list for the GCC project.
Re: [libstdc++] Use LD_RUN_PATH when linking abi_check
Phil Edwards writes:
> Solaris? It's not currently doing versioning, but it could with some
> legwork. More, I'm sure that someday not too far away it /will/ do
> versioning, and then we'll have to support multilibs in check-abi anyhow.
Indeed: the current config/linker-map.gnu is GNU ld specific in two ways:
* It uses extern "C++", which of course depends on g++ name mangling and
thus cannot be reasonably be expected to be supported by Sun ld. So
we'll have to replace the mangled forms here.
* It uses wildcards for symbol names instead of the full names. For use
with Sun ld, these will have to be expanded manually.
Both shouldn't be too hard to do, and voila there's versioning on a
multilibbed platform (btw., x86_64 is a multilibbed Linux platform, so will
be affected as well).