Bug 313134 (MONO50925) - Mono runtime does not compile on YellowDog 3 for 601 PPC
Summary: Mono runtime does not compile on YellowDog 3 for 601 PPC
Status: RESOLVED MOVED
Alias: MONO50925
Product: Mono: Runtime
Classification: Mono
Component: misc (show other bugs)
Version: unspecified
Hardware: Other Yellow Dog 2.2
: P3 - Medium : Critical
Target Milestone: ---
Assignee: Mono Bugs
QA Contact: Mono Bugs
URL:
Whiteboard:
Keywords: build, documentation, qa
Depends on:
Blocks:
 
Reported: 2003-11-13 10:54 UTC by Francois Genolini
Modified: 2007-09-15 21:24 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Wiest 2007-09-15 18:19:18 UTC


---- Reported by fgenolini@hotmail.com 2003-11-13 03:54:19 MST ----

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



---- Additional Comments From fgenolini@hotmail.com 2003-11-13 04:49:16 MST ----

oops, this bug was already reported in https://bugzilla.novell.com/show_bug.cgi?id=MONO50542 (although this 
actual bug description was not in the bug report, but there is an 
attachment that fixes this bug).



---- Additional Comments From vargaz@freemail.hu 2003-11-13 07:32:25 MST ----



*** This bug has been marked as a duplicate of https://bugzilla.novell.com/show_bug.cgi?id=MONO50542 ***


Unknown bug field "cf_op_sys_details" encountered while moving bug
   <cf_op_sys_details>Yellow Dog 3.0</cf_op_sys_details>
This bug was marked DUPLICATE in the database it was moved from.
    Changing resolution to "MOVED"