[Mono-dev] problem compiling mono-1.1.9 for arm

Paolo Molaro lupus at ximian.com
Wed Oct 12 10:20:55 EDT 2005

On 10/12/05 FALE(Leopold Faschalek) wrote:
> 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 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?

I haven't used scratchbox, but this is clearly a binutils issue, so you'd
have to report it to the binutils folks.
Note that it dies building a profiler module, so you can easily skip
this step since it is not essential to be able to compile mono
(either run make -k or create dummy files for the profiler).
Note that mono 1.1.9 has a couple of issues that show up when built with
optimizations, so I suggest you build that version with:
	make CFLAGS=-g
or use mono or mono from svn (this is specific to the ARM port).


lupus at debian.org                                     debian/rules
lupus at ximian.com                             Monkeys do it better

More information about the Mono-devel-list mailing list