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-----
Hash: SHA1
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
>> WANT!!"
>
> 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
cattle!
-- 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
iQIVAwUBRSr+qAs1xW0HCTEFAQI1nRAAjA7yBjvPJ702OVQ/7Wn18CEwdXAo9V3z
ws6kQbGJtHN+0Y5CAw8K4IZtd/uVlwwJ3n26YFY4R6Z/5x42eU8YevL8PTs91jRQ
q6sK3S3r0cGnTtM6FtvzEsYGHQpvASS5kUd+KJIvykBim1DTLfsSu8vvxb91gz/A
8W/4abFUxw9Ne/eFMqKd6rhobBFyDPE8Lio8eOrK8tOaZGRjdRfgCxKn7WgLAcJ6
uXfBWPNkviTZ89QbI05IBMuqFJuCOTwul4XDKLnfaBsR2VG7BZnn2MGMXVVZcjDe
/sRyoo0oL6DtG9+UzPm4si9Y2BWiKCwVzXbQPrsC1hBkyC8Bf8+GYEhsbNW31fv8
kxh8Qlmffx2L3ZKoXOsOsOUle/4SMj4kq7Jtd9kGw3ICT+x9+kvROjETGHxkIsgG
eOx7FbpycfWyuwQHPRlpdQ8LR1WfK/FlhvCIympMdjm0WwFTmHqQGXUfEcvU346Z
jH8OndN3H10XFlpqoMfClKBjCHcIC9VCGw1wnWfKmlt54+2l+3C3bR/L9TA3g0US
ONBTgWchit5BnkNLF1VMXC8RsLw4zfxVHI6xiL6v11PnMAaOW1ysQJQff9zyiXKt
MSGzSvApRCNVS66UbbaBFVDANfQuKndycNAE8qXZUxTuOz6SBMAFD+LVL4twtzu5
iL7aNI4f0f8=
=RkJu
-----END PGP SIGNATURE-----
More information about the ubuntu-devel
mailing list