[Mono-list] build failure on powerpc

christophe barbe christophe@cattlegrid.net
Sun, 1 Feb 2004 17:53:38 -0500


Hi, 

I tried to build mono on debian/powerpc.
Below are the last lines of the build. Is there something missing or too
old on my system that would not be detected by the configure script?

The full build log is available at

   http://cattlegrid.net/~christophe/tmp/build-mono-0.29.99.20040114-2.out
 
The error message is:
/tmp/ccWal5vf.s: Assembler messages:
/tmp/ccWal5vf.s:1692: Error: unsupported relocation against r1
make[4]: *** [exceptions-ppc.lo] Erreur 1

The end of the build:

 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 -Wp,-MD,.deps/mini-ppc.pp -c mini-ppc.c -o mini-ppc.o >/dev/null 2>&1
/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    -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 exceptions-ppc.c
 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 -Wp,-MD,.deps/exceptions-ppc.pp -c
exceptions-ppc.c  -fPIC -DPIC -o .libs/exceptions-ppc.o
exceptions-ppc.c: In function `arch_get_restore_context':
exceptions-ppc.c:421: warning: unused variable `code'
exceptions-ppc.c: In function `throw_exception':
exceptions-ppc.c:538: warning: implicit declaration of function `mono_arch_handle_exception'
exceptions-ppc.c: In function `mono_arch_get_throw_exception_generic':
exceptions-ppc.c:571: warning: cast from pointer to integer of different size
exceptions-ppc.c:574: warning: implicit declaration of function `ppc_patch'
exceptions-ppc.c: In function `mono_arch_find_jit_info':
exceptions-ppc.c:708: warning: unused variable `offset'
exceptions-ppc.c:690: warning: unused variable `ptr'
exceptions-ppc.c:691: warning: unused variable `p'
exceptions-ppc.c: At top level:
exceptions-ppc.c:952: warning: no previous prototype for
`mono_arch_handle_exception'
/tmp/ccWal5vf.s: Assembler messages:
/tmp/ccWal5vf.s:1692: Error: unsupported relocation against r1
make[4]: *** [exceptions-ppc.lo] Erreur 1
make[4]: Leaving directory
`/home/christophe/tmp/mono/mono-0.29.99.20040114/mono/mini'
make[3]: *** [all-recursive] Erreur 1
make[3]: Leaving directory
`/home/christophe/tmp/mono/mono-0.29.99.20040114/mono'
make[2]: *** [all-recursive] Erreur 1
make[2]: Leaving directory
`/home/christophe/tmp/mono/mono-0.29.99.20040114'
make[1]: *** [all-recursive-am] Erreur 2
make[1]: Leaving directory
`/home/christophe/tmp/mono/mono-0.29.99.20040114'
make: *** [build-stamp] Erreur 2

Thanks,
Christophe

-- 
Christophe Barbé <christophe.barbe@ufies.org>
GnuPG FingerPrint: E0F6 FADF 2A5C F072 6AF8  F67A 8F45 2F1E D72C B41E

There is no snooze button on a cat who wants breakfast.