[Mono-bugs] [Bug 58010][Nor] New - Mono fails to compile with GCC 3.4
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Tue, 4 May 2004 01:44:57 -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 mathpup@mylinuxisp.com.
http://bugzilla.ximian.com/show_bug.cgi?id=58010
--- shadow/58010 2004-05-04 01:44:57.000000000 -0400
+++ shadow/58010.tmp.3462 2004-05-04 01:44:57.000000000 -0400
@@ -0,0 +1,88 @@
+Bug#: 58010
+Product: Mono: Runtime
+Version: unspecified
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: misc
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: mathpup@mylinuxisp.com
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: Mono fails to compile with GCC 3.4
+
+Description of Problem:
+
+Compilation of Mono using GCC 3.4 fails:
+
+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
+-DMONO_USE_EXC_TABLES -D_GNU_SOURCE -D_REENTRANT -fexceptions
+-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 interp.c -MT interp.lo -MD -MP
+-MF .deps/interp.TPlo -fPIC -DPIC -o .libs/interp.lo
+interp.c: In function `ves_exec_method_with_context':
+interp.c:3817: warning: label `mint_default' defined but not used
+interp.c:1317: warning: 'o' might be used uninitialized in this function
+interp.c:3997: error: unable to find a register to spill in class `SIREG'
+interp.c:3997: error: this is the insn:
+(insn:HI 2157 19024 2158 229 interp.c:781 (parallel [
+ (set (reg:CC 17 flags)
+ (compare:CC (mem:BLK (reg/v/f:SI 790 [ name ]) [0 A8])
+ (mem/s/u:BLK (reg/f:SI 5 di [828]) [0 S6 A8])))
+ (use (reg:SI 2 cx [829]))
+ (use (const_int 1 [0x1]))
+ (use (reg:SI 19 dirflag))
+ (clobber (reg/f:SI 1 dx [orig:826 name ] [826]))
+ (clobber (reg/f:SI 0 ax [827]))
+ (clobber (reg:SI 2 cx [829]))
+ ]) 451 {*cmpstrqi_nz_1} (insn_list 2153 (insn_list 2155 (insn_list
+2156 (nil))))
+ (expr_list:REG_DEAD (reg:SI 19 dirflag)
+ (expr_list:REG_DEAD (reg:SI 2 cx [829])
+ (expr_list:REG_DEAD (reg/f:SI 5 di [828])
+ (expr_list:REG_UNUSED (reg:SI 2 cx [829])
+ (expr_list:REG_UNUSED (reg/f:SI 0 ax [827])
+ (expr_list:REG_UNUSED (reg/f:SI 1 dx [orig:826
+name ] [826])
+ (nil))))))))
+interp.c:3997: confused by earlier errors, bailing out
+
+If the "interpreter" directory is disabled in mono/mono/Makefile, the rest
+of the build succeeds.
+
+
+Steps to reproduce the problem:
+1. ./configure
+2. make
+
+
+Actual Results:
+
+See above
+
+
+
+Expected Results:
+
+(Successful compilation)
+
+
+How often does this happen?
+
+Always
+
+
+Additional Information:
+
+I originally compiled with -O2 -march=athlon-tbird -mtune=athlon-tbird
+when I first found the problem. I still get the error even with CFLAGS
+empty (i.e. default compilation settings).