[Mono-bugs] [Bug 65458][Wis] New - build (configure) in libgc is broken on Windows

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Tue, 7 Sep 2004 11:14:15 -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 atsushi@ximian.com.

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

--- shadow/65458	2004-09-07 11:14:15.000000000 -0400
+++ shadow/65458.tmp.31003	2004-09-07 11:14:15.000000000 -0400
@@ -0,0 +1,65 @@
+Bug#: 65458
+Product: Mono: Runtime
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: atsushi@ximian.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: build (configure) in libgc is broken on Windows
+
+Am copying what I've posted to devel-list (as Paolo's suggestion).
+
+/bin/bash ../../libtool --mode=link gcc -mno-cygwin -g -O -I
+/opt/gnome2.4.1/include -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  -L/opt/gnome2.4.1/bin -L/usr/local/bin
+ -o mono.exe  -export-dynamic -Wl,-version-script=./ldscript main.o
+libmono-static.la -L/opt/gnome2.4.1/lib -lgthread-2.0 -lglib-2.0 -lintl
+-liconv   -L/opt/gnome2.4.1/lib -lgmodule-2.0 -lglib-2.0 -lintl -liconv
+  -lm -L/opt/gnome2.4.1/lib -licuuc -licuin -lws2_32 -lpsapi
+./.libs/libmint.a(appdomain.o)(.text+0x2005): In function
+`mono_domain_unload':
+/home/_/cvs/mono/mono/metadata/appdomain.c:1288: undefined reference to
+`_GC_CreateThread'
+./.libs/libmint.a(threads.o)(.text+0x2f4): In function `mono_thread_create':
+/home/_/cvs/mono/mono/metadata/threads.c:339: undefined reference to
+`_GC_CreateThread'
+Info: resolving _GC_enable by linking to __imp__GC_enable (auto-import)
+collect2: ld returned 1 exit status
+
+Actually, there were many traps to reach here.
+
+First, I had to specify "--with-gc=boehm" which had not been
+required until a few days ago. Now it rejects conf_flags written in
+autogen.sh[*1], and when I removed them, it started to complain
+variable names[*2]. With the option above, I could build and run
+mono for a few recent days.
+
+Second, today's "make" failed to stop when gmake faced against the
+error above. So I found this compilation error at "make install"
+stage. This had not happened until today.
+
+I haven't updated cygwin stuff since the last successful build (and
+for a while). At least I made clean build yesterday.
+
+[*1]
+configure: error: invalid feature name: maintainer-mode
+configure: error: /bin/bash './configure' failed for libgc
+
+[*2]
+configure: error: invalid variable name: CFLAGS
+
+----
+
+Additoinally, I haven't updated autoconf. It had been 2.59/2.13 since the
+last June.