[Mono-bugs] [Bug 61197][Wis] New - mono-1.0 does not install on Linux Gentoo

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Tue, 6 Jul 2004 10:47:21 -0400 (EDT)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by manuel.serrano@inria.fr.

http://bugzilla.ximian.com/show_bug.cgi?id=61197

--- shadow/61197	2004-07-06 10:47:21.000000000 -0400
+++ shadow/61197.tmp.11661	2004-07-06 10:47:21.000000000 -0400
@@ -0,0 +1,67 @@
+Bug#: 61197
+Product: Mono: Runtime
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: Manuel.Serrano@inria.fr               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: mono-1.0 does not install on Linux Gentoo
+
+I fail to install mono-1.0 on my Linux Gentoo box:
+
+redrock:.../dotnet/jot04> uname -a
+Linux redrock 2.4.25 #2 SMP Thu Jun 17 16:49:37 CEST 2004 i686 Pentium III
+(Coppermine) GenuineIntel GNU/Linux
+redrock:.../dotnet/jot04> gcc -v
+Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/specs
+Configured with: /var/tmp/portage/gcc-3.3.3-r6/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++ --enable-threads=posix --enable-long-long
+--disable-checking --disable-libunwind-exceptions --enable-cstdio=stdio
+--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 --disable-multilib --enable-__cxa_atexit
+--enable-clocale=generic
+Thread model: posix
+gcc version 3.3.3 20040412 (Gentoo Linux 3.3.3-r6, ssp-3.3.2-2, pie-8.7.6)
+
+The compilation fails as follow:
+
+gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../libgc/include
+-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -pthread
+-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include    -DGC_LINUX_THREADS
+-D_GNU_SOURCE -D_REENTRANT -D_FILE_OFFSET_BITS=64  -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 -c `test -f 'main.c' || echo './'`main.c
+/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  -lnsl -lpthread -lm -lrt
+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 -pthread -Wl,--export-dynamic
+-Wl,--export-dynamic  ./.libs/libmono.so /usr/lib/libgthread-2.0.so
+/usr/lib/libgmodule-2.0.so -ldl /usr/lib/libglib-2.0.so -lnsl -lpthread -lm
+-lrt -Wl,--rpath -Wl,/opt/mono/mono-1.0/lib
+./.libs/libmono.so: undefined reference to `___tls_get_addr'
+collect2: ld returned 1 exit status