[Mono-list] The Evil of ___tls_get_addr Returns

Samuel Kaufman skaufman@elite.net
Mon, 23 Feb 2004 21:57:26 -0800


--=-XYBN/LPBB5Yw2dcesgAo
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

This is the Mono AnonCVS HEAD on Gentoo Linux with glibc 2.3.2-r9.  The
check for __thread during configure gives me 'yes'.

...lots of nothing, and then...

make[3]: Entering directory `/usr/src/mono/mono/interpreter'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/src/mono/mono/interpreter'
Making all in mini
make[3]: Entering directory `/usr/src/mono/mono/mini'
/bin/sh ../../libtool --mode=3Dlink gcc  -g -O2 -fno-strict-aliasing -g
-Wall -Wunused -Wmissing-prototypes -Wmissing-declarations
-Wstrict-prototypes  -Wmissing-prototypes -Wnested-externs
-Wpointer-arith -Wno-cast-qual -Wcast-align -Wwrite-strings  -o mono
-export-dynamic main.o libmono.la                      -pthread
-lgthread-2.0 -lglib-2.0                       -Wl,--export-dynamic
-lgmodule-2.0 -ldl -lglib-2.0   -lm                -lpthread -lm
-L/usr/lib -licui18n -licuuc -licudata -lpthread -lm -lnsl -lpthread -lm
gcc -g -O2 -fno-strict-aliasing -g -Wall -Wunused -Wmissing-prototypes
-Wmissing-declarations -Wstrict-prototypes -Wmissing-prototypes
-Wnested-externs -Wpointer-arith -Wno-cast-qual -Wcast-align
-Wwrite-strings -o .libs/mono main.o -Wl,--export-dynamic
-Wl,--export-dynamic  ./.libs/libmono.so -L/usr/lib
/usr/lib/libgthread-2.0.so /usr/lib/libgmodule-2.0.so -ldl
/usr/lib/libglib-2.0.so -licui18n -licuuc -licudata -lnsl -lpthread -lm
./.libs/libmono.so: undefined reference to `___tls_get_addr'
collect2: ld returned 1 exit status
make[3]: *** [mono] Error 1
make[3]: Leaving directory `/usr/src/mono/mono/mini'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/mono/mono'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/mono'
make: *** [all-recursive-am] Error 2

--=-XYBN/LPBB5Yw2dcesgAo
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQBAOufGMo/bBSRf7TIRApBNAKCfcHKF95oU/ZfjyecfnSeaFdtQUwCfWAZJ
MgqoFwDlNxYG6YDMIg1M6Ik=
=NsmH
-----END PGP SIGNATURE-----

--=-XYBN/LPBB5Yw2dcesgAo--