libstdc++5 and gcc 3.3
John Richard Moser
nigelenki at comcast.net
Tue Oct 10 03:00:10 BST 2006
-----BEGIN PGP SIGNED MESSAGE-----
Matthew Garrett wrote:
> On Mon, Oct 09, 2006 at 03:43:24PM -0400, John Richard Moser wrote:
>> Can the ABI on this be rolled together into one library? I recall doing
>> things like finding apps demanding libstdc++5 and symlinking 6 to the
>> .so they were looking for, which worked fine; to what extent it works
>> fine I don't know, eventually some app will go "I CAN'T FIND A SYMBOL I
> Not in any realistic way, no. The symbol mangling depends on the
> compiler used to build the library.
>> - Keep libstdc++5. Safest, easiest option; but the library is 730K
> I'm sure people will live.
>> - Symlink or hardlink libstdc++6 to libstdc++5. May work, may not,
>> some apps will work with it but it is unknown (but likely) if any
>> will outright fail.
> Will entirely fail to work, since they're from different C++ ABIs.
Ah, yes, that. I probably flubbed this up somehow on Gentoo and wound
up with a really weird system :)
>> - Roll any libstdc++5 compatibility necessary and proper into
>> libstdc++6. Any action breaking v6 programs will be impossible; but
>> ELF versioning allows this to be done feasibly. Then
>> symlink/hardlink. Probably safe, probably a lot of work.
> Approximately impossible.
>> - Produce a thin wrapper library that adds proper compatibility
>> layers, and links to libstdc++6. This is probably the safest and
>> easiest option that avoids installing libstdc++5.
> Unbelievable pain.
> The only sensible option is keeping libstdc++. 730K isn't worth weeks of
> developer time.
Lazy way is the easiest and fastest. Was worth a shot.
All content of all messages exchanged herein are left in the
Public Domain, unless otherwise explicitly stated.
Creative brains are a valuable, limited resource. They shouldn't be
wasted on re-inventing the wheel when there are so many fascinating
new problems waiting out there.
-- Eric Steven Raymond
We will enslave their women, eat their children and rape their
-- Bosc, Evil alien overlord from the fifth dimension
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the ubuntu-devel