[Mono-bugs] [Bug 50925][Cri] New - Mono runtime does not compile on YellowDog 3 for 601 PPC

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Thu, 13 Nov 2003 03:54:20 -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 fgenolini@hotmail.com.

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

--- shadow/50925	2003-11-13 03:54:20.000000000 -0500
+++ shadow/50925.tmp.31048	2003-11-13 03:54:20.000000000 -0500
@@ -0,0 +1,112 @@
+Bug#: 50925
+Product: Mono/Runtime
+Version: unspecified
+OS: Yellow Dog 2.2
+OS Details: Yellow Dog 3.0
+Status: NEW   
+Resolution: 
+Severity: 120 Three weeks
+Priority: Critical
+Component: misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: fgenolini@hotmail.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Mono runtime does not compile on YellowDog 3 for 601 PPC
+
+Description of Problem:
+Mono runtime does not compile on YellowDog 3 for 601 PPC (Power Macintosh 
+8100/100, 120MB RAM)
+
+Steps to reproduce the problem:
+1. Install YellowDog Linux 3.0
+2. Download the script http://www.go-mono.org/mono-build.sh
+3. create a folder called /home/mono and run the script from there
+
+Actual Results:
+
+make[4]: Entering directory `/home/mono/mono/mono/mini'
+source='exceptions-ppc.c' object='exceptions-ppc.lo' libtool=yes \
+depfile='.deps/exceptions-ppc.Plo' tmpdepfile='.deps/exceptions-ppc.TPlo' \
+depmode=gcc3 /bin/sh ../../depcomp \
+/bin/sh ../../libtool --mode=compile 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    -I/home/mono/install/include -DGC_LINUX_THREADS -
+DMONO_USE_EXC_TABLES -D_GNU_SOURCE -D_REENTRANT -fexceptions -
+D_FILE_OFFSET_BITS=64  -g -O2 -g -Wall -Wunused -Wmissing-prototypes -
+Wmissing-declarations -Wstrict-prototypes  -Wmissing-prototypes -Wnested-
+externs -Wpointer-arith -Wno-cast-qual -Wcast-align -Wwrite-strings -c -o 
+exceptions-ppc.lo `test -f 'exceptions-ppc.c' || echo './'`exceptions-ppc.c
+rm -f .libs/exceptions-ppc.lo
+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 -
+I/home/mono/install/include -DGC_LINUX_THREADS -DMONO_USE_EXC_TABLES -
+D_GNU_SOURCE -D_REENTRANT -fexceptions -D_FILE_OFFSET_BITS=64 -g -O2 -g -
+Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Wstrict-
+prototypes -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-cast-
+qual -Wcast-align -Wwrite-strings -c exceptions-ppc.c -MT exceptions-
+ppc.lo -MD -MP -MF .deps/exceptions-ppc.TPlo  -fPIC -DPIC -
+o .libs/exceptions-ppc.lo
+exceptions-ppc.c: In function `arch_get_restore_context':
+exceptions-ppc.c:398: warning: unused variable `code'
+exceptions-ppc.c: In function `throw_exception':
+exceptions-ppc.c:518: warning: implicit declaration of function 
+`mono_arch_handle_exception'
+exceptions-ppc.c: In function `mono_arch_find_jit_info':
+exceptions-ppc.c:642: structure has no member named `sc_ir'
+exceptions-ppc.c:662: structure has no member named `sc_sp'
+exceptions-ppc.c:658: warning: unused variable `offset'
+exceptions-ppc.c: In function `mono_jit_walk_stack':
+exceptions-ppc.c:812: structure has no member named `sc_ir'
+exceptions-ppc.c:813: structure has no member named `sc_sp'
+exceptions-ppc.c:815: structure has no member named `sc_sp'
+exceptions-ppc.c: In function `ves_icall_get_frame_info':
+exceptions-ppc.c:844: structure has no member named `sc_ir'
+exceptions-ppc.c:845: structure has no member named `sc_sp'
+exceptions-ppc.c:854: structure has no member named `sc_sp'
+exceptions-ppc.c: At top level:
+exceptions-ppc.c:894: warning: no previous prototype for 
+`mono_arch_handle_exception'
+exceptions-ppc.c: In function `mono_arch_handle_exception':
+exceptions-ppc.c:945: structure has no member named `sc_ir'
+exceptions-ppc.c:968: structure has no member named `sc_ir'
+exceptions-ppc.c:969: structure has no member named `sc_ir'
+exceptions-ppc.c:983: structure has no member named `sc_ir'
+exceptions-ppc.c:984: structure has no member named `sc_sp'
+exceptions-ppc.c:989: structure has no member named `sc_ir'
+exceptions-ppc.c:990: structure has no member named `sc_ir'
+exceptions-ppc.c:1006: structure has no member named `sc_sp'
+/usr/include/bits/socket.h: At top level:
+exceptions-ppc.c:497: warning: `throw_exception' defined but not used
+make[4]: *** [exceptions-ppc.lo] Error 1
+make[4]: Leaving directory `/home/mono/mono/mono/mini'
+
+
+Expected Results:
+The mono runtime should build on Linux PPC
+
+How often does this happen? 
+Always
+
+Additional Information:
+gcc --version
+gcc (GCC) 3.2.2 20030217 (Yellow Dog Linux 3.0 3.2.2-2a)
+
+uname -a
+Linux powermac.prism.survey.stoltoffshore.com 2.4.23-pre5 #66 Fri Oct 17 
+16:55:11 JST 2003 ppc ppc ppc GNU/Linux
+
+cat /proc/cpuinfo
+cpu		: 601
+revision	: 0.2 (pvr 0001 0002)
+bogomips	: 99.73
+machine		: PowerMac,NuBus
+motherboard	: PDM MacRISC
+detected as	: 0 (<NULL>)
+pmac flags	: 00000000
+memory		: 120MB
+pmac-generation	: NuBus