[Mono-dev] problem compiling mono-1.1.9 for arm
FALE(Leopold Faschalek)
FALE at skidata.com
Wed Oct 12 02:53:55 EDT 2005
Hi,
while compiling mono-1.1.9 I get following error:
Making all in profiler
make[3]: Entering directory `/home/fale/mono-1.1.9/mono/profiler'
/bin/sh ../../libtool --tag=CC --mode=link gcc -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 -o libmono-profiler-cov.la -rpath /usr/local/lib mono-cov.lo ../../mono/mini/libmono.la -lnsl -lpthread -lm -lrt
gcc -shared .libs/mono-cov.o -Wl,--rpath -Wl,/home/fale/mono-1.1.9/mono/mini/.libs -L/usr/local/lib ../../mono/mini/.libs/libmono.so -lnsl -lpthread -lm -lrt -Wl,-soname -Wl,libmono-profiler-cov.so.0 -o .libs/libmono-profiler-cov.so.0.0.0
collect2: ld terminated with signal 11 [Segmentation fault], core dumped
/scratchbox/compilers/arm-gcc-3.3.4-glibc-2.3.2/lib/gcc-lib/arm-linux/3.3.4/../../../../arm-linux/bin/ld: BFD 2.14.90.0.7 20031029 Debian GNU/Linux assertion fail elf32-arm.h:3782
make[3]: *** [libmono-profiler-cov.la] Error 1
make[3]: Leaving directory `/home/fale/mono-1.1.9/mono/profiler'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/fale/mono-1.1.9/mono'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/fale/mono-1.1.9'
make: *** [all] Error 2
[sbox-SD675: ~/mono-1.1.9] >
is this a known issue or has somebody succesfully compiled mono with scratchbox?
maybe I have to update the qemu or the toolchain?
my scratchbox setup is as follows:
# build environment:
# suse 9.0 linux 2.4.21-99-default
# scratchbox-core-1.0.1-i386.tar.gz
# scratchbox-libs-1.0.1-i386.tar.gz
# scratchbox-toolchain-arm-gcc3.3-glibc2.3-1.0.1-i386.tar.gz
# install and setup the scratchbox
# from the scratchbox prompt sbox-TARGET:
tar xzf /scratchbox/packages/pkg-config-0.19.tar.gz
cd pkg-config-0.19
./configure
make
make install
cd ..
tar xzf /scratchbox/packages/glib-2.2.3.tar.gz
cd glib-2.2.3
./configure
make
make install
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/
cd ..
tar xzf /scratchbox/packages/mono-1.1.9.tar.gz
cd mono-1.1.9
# the overides for host,build and target (at least host) is required to select the arm jit # because the default arm-unknown-linux doesn't select the arm-jit ./configure --prefix=/usr/local --host=arm-linux-linux --build=arm-linux-linux --target=arm-linux-linux make <snip> ...
...
<snip>
Making all in profiler
make[3]: Entering directory `/home/fale/mono-1.1.9/mono/profiler'
/bin/sh ../../libtool --tag=CC --mode=link gcc -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 -o libmono-profiler-cov.la -rpath /usr/local/lib mono-cov.lo ../../mono/mini/libmono.la -lnsl -lpthread -lm -lrt
gcc -shared .libs/mono-cov.o -Wl,--rpath -Wl,/home/fale/mono-1.1.9/mono/mini/.libs -L/usr/local/lib ../../mono/mini/.libs/libmono.so -lnsl -lpthread -lm -lrt -Wl,-soname -Wl,libmono-profiler-cov.so.0 -o .libs/libmono-profiler-cov.so.0.0.0
collect2: ld terminated with signal 11 [Segmentation fault], core dumped
/scratchbox/compilers/arm-gcc-3.3.4-glibc-2.3.2/lib/gcc-lib/arm-linux/3.3.4/../../../../arm-linux/bin/ld: BFD 2.14.90.0.7 20031029 Debian GNU/Linux assertion fail elf32-arm.h:3782
make[3]: *** [libmono-profiler-cov.la] Error 1
make[3]: Leaving directory `/home/fale/mono-1.1.9/mono/profiler'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/fale/mono-1.1.9/mono'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/fale/mono-1.1.9'
make: *** [all] Error 2
[sbox-SD675: ~/mono-1.1.9] >
thanks for every bit of information
Leopold Faschalek
-------------------------
Research & Development / Senior Software Developer
SKIDATA AG
Untersbergstraße 40
A-5083 Gartenau
[P] +43(0)6246/888-0
[F] +43(0)6246/888-7
[e] fale at skidata.com
[w] www.skidata.com
More information about the Mono-devel-list
mailing list