This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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).

	Rainer


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]