Hi, Please find attached a patch to fix the problem. It disables TLS on all architectures but amd64, kfreebsd-i386 and kfreebsd-amd64.
It may possible to build version of libstdc++6 and put the TLS version in /usr/lib/tls, but I think it could be done in a further step. Bye, Aurelien On Thu, Apr 06, 2006 at 12:12:11PM -0400, Nick Lewycky wrote: > severity 361024 critical > thanks dude > > Justification: breaks unrelated software > > This bug is causing total breakage of apt-show-versions. It's also > causing problems with dia and gnucash (unable to load plugins written in > C++) and possibly other software in the archive. > > Nick Lewycky > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > > -- .''`. Aurelien Jarno | GPG: 1024D/F1BCDB73 : :' : Debian developer | Electrical Engineer `. `' [EMAIL PROTECTED] | [EMAIL PROTECTED] `- people.debian.org/~aurel32 | www.aurel32.net
diff -u gcc-4.1-4.1.0/debian/rules.defs gcc-4.1-4.1.0/debian/rules.defs --- gcc-4.1-4.1.0/debian/rules.defs +++ gcc-4.1-4.1.0/debian/rules.defs @@ -585,6 +585,13 @@ #endif endif +# with thread-local storage -------------------- +with_tls := no +tls_arches := amd64 kfreebsd-i386 kfreebsd-amd64 +ifneq (, $(filter $(DEB_TARGET_ARCH),$(tls_arches))) + with_tls := yes +endif + # run testsuite -------------------- with_check := yes # If you don't want to run the gcc testsuite, set `with_check' to `no' diff -u gcc-4.1-4.1.0/debian/rules2 gcc-4.1-4.1.0/debian/rules2 --- gcc-4.1-4.1.0/debian/rules2 +++ gcc-4.1-4.1.0/debian/rules2 @@ -130,6 +130,12 @@ --enable-threads=posix endif +ifeq ($(with_tls),yes) + CONFARGS += --enable-tls +else + CONFARGS += --disable-tls +endif + ifeq ($(with_nls),yes) CONFARGS += --enable-nls else