[Mono-bugs] [Bug 52434][Wis] New - Libgc ./configure and make problem on Windows

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Mon, 22 Dec 2003 07:26:12 -0500 (EST)


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 derek.mcumber@datamtnsol.com.

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

--- shadow/52434	2003-12-22 07:26:12.000000000 -0500
+++ shadow/52434.tmp.5076	2003-12-22 07:26:12.000000000 -0500
@@ -0,0 +1,77 @@
+Bug#: 52434
+Product: Mono/Runtime
+Version: unspecified
+OS: 
+OS Details: Win2000
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: derek.mcumber@datamtnsol.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Libgc ./configure and make problem on Windows
+
+Please fill in this template when reporting a bug, unless you know what 
+you are doing.
+Description of Problem:
+
+./mono-build-w32.sh build on Win2000 of CVS Mono Runtime fails on libgc.  
+
+After changing libgc/configure to allow build to continue (initial try 
+with out of box configure file says 'not allowed to build libgc, included 
+in 'mono')
+
+Steps to reproduce the problem:
+1.  Deleted 3 if statement lines that halt confgiure above this line and 
+hardcode THREADS to:
+
+THREADS="pthreads"
+
+This allows ./configure to complete, but now a make of libmonogc.al will 
+not fail with:
+
+gcc -mno-cygwin -DPACKAGE_NAME=\"libgc-mono\" -DPACKAGE_TARNAME=\"libgc-
+mono\" -
+DPACKAGE_VERSION=\"6.2\" "-DPACKAGE_STRING=\"libgc-mono 6.2\"" -
+DPACKAGE_BUGREPO
+RT=\"Hans_Boehm@hp.com\" -DGC_WIN32_THREADS=1 -DSTDC_HEADERS=1 -
+DHAVE_SYS_TYPES_
+H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -
+DHAVE_MEMORY_H=1 -D
+HAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -
+DSILEN
+T=1 -DNO_SIGNALS=1 -DNO_EXECUTE_PERMISSION=1 -DJAVA_FINALIZATION=1 -
+DGC_GCJ_SUPP
+ORT=1 -DATOMIC_UNCOLLECTABLE=1 -D_IN_LIBGC=1 -I. -I. -I./include -
+I./include -fe
+xceptions -g -O2 -fexceptions -Wp,-MD,.deps/win32_threads.pp -c 
+win32_threads.c
+            -DDLL_EXPORT -DPIC -o .libs/win32_threads.lo
+win32_threads.c:406: error: conflicting types for `GC_CreateThread'
+include/gc.h:898: error: previous declaration of `GC_CreateThread'
+win32_threads.c:477: warning: static declaration for `thread_start' 
+follows non-
+static
+make[1]: *** [win32_threads.lo] Error 1
+make[1]: Leaving directory `/home/Administrator/mono/libgc'
+make: *** [all-recursive] Error 1
+
+
+Actual Results:
+
+
+Expected Results:
+
+
+How often does this happen? 
+Every time.
+
+Additional Information:
+
+Are there instructions out there to get a successful build on Cygwin since 
+the libgc change to libmonogc?