[Mono-devel-list] Problems compiling mini in glibc 2.3.3 (TLS)
Bruno Fernandez-Ruiz
brunofr at olympum.com
Sat Feb 21 08:49:39 EST 2004
Hi,
In mono CVS, as well as in all mono daily tarballs since 02/17 I am
getting an error with TLS while compiling mini:
/bin/sh ../../libtool --mode=link 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 -pthread
/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
-Wl,--rpath -Wl,/opt/mono//lib
./.libs/libmono.so: undefined reference to `___tls_get_addr'
My system:
Linux localhost 2.6.3-rc3-gentoo #1 SMP Mon Feb 16 22:16:17 EET 2004
i686 Intel(R) Pentium(R) 4 CPU 2.66GHz GenuineIntel GNU/Linux
Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/specs
Configured with: /var/tmp/portage/gcc-3.3.3/work/gcc-3.3.3/configure
--prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.3
--includedir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/include
--datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3
--mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3/man
--infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3/info --enable-shared
--host=i686-pc-linux-gnu --target=i686-pc-linux-gnu --with-system-zlib
--enable-languages=c,c++,f77,objc,java --enable-threads=posix
--enable-long-long --disable-checking --enable-cstdio=stdio
--enable-clocale=generic --enable-__cxa_atexit
--enable-version-specific-runtime-libs
--with-gxx-include-dir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/include/g++-v3 --with-local-prefix=/usr/local --enable-shared --enable-nls --without-included-gettext --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib --enable-interpreter --enable-java-awt=xlib --with-x --disable-multilib
Thread model: posix
gcc version 3.3.3 20040217 (Gentoo Linux 3.3.3, propolice-3.3-7)
I have tried old daily mono tarballs, and they all build fine until
02/16. 02/17 is the first one to fail. I have been trying to do a diff
under mono/mini but I have not found anything obvious.
Bruno
--
Bruno Fernandez-Ruiz <brunofr at olympum.com>
The Olympum Group, http://www.olympum.com
More information about the Mono-devel-list
mailing list