Buildroot :: Error while building mono using uclibc toolchain

Peter S. Mazinger ps.m at gmx.net
Thu Mar 30 09:10:35 UTC 2006


On Thu, 30 Mar 2006, conn itnel wrote:

> Hello friends,
> 
> I am trying to build Mono-1.1.13.4 using the toolchain i386-linux-uclibc-gcc
> created by buildroot.
> 
> I am using ./configure CC=i386-linux-uclibc-gcc CFLAGS=-Os
> --enable-minimal=aot,profiler --with-preview=no
> --prefix=/usr/local/mono/boardmono --host=i386-pc-linux --with-tls=pthread
> to configure the mono package.

TLS is not supported in uClibc

> 
> Then doing make command and trap into error shown at the end of mail.
> 
> I have asked Mono forum for the same and got reply that this might due to
> the some differences in regard to threading and child processes in uclibc.
> 
> One more thing that while building the toolchain using buildroot. I have
> enable the option "linuxthreads (old/stable)", i.e
> make menuconfig -> Toolchain Options -->linuxthreads (old/stable), so is it
> any problem with that option.

that is the only working linuxthreads (but w/o TLS)

Peter
> 
> /********************************  MAKE ERROR
> **************************************/
> 
>  i386-linux-uclibc-gcc -DPACKAGE_NAME=\"libgc-mono\"
> -DPACKAGE_TARNAME=\"libgc-mono\" -DPACKAGE_VERSION=\"6.3alpha6\"
> "-DPACKAGE_STRING=\"libgc-mono 6.3alpha6\"" -DPACKAGE_BUGREPORT=\"
> Hans_Boehm at hp.com\" -DGC_LINUX_THREADS=1 -D_REENTRANT=1
> -DTHREAD_LOCAL_ALLOC=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
> -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1
> -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
> -DHAVE_DLFCN_H=1 -DSILENT=1 -DNO_SIGNALS=1 -DNO_EXECUTE_PERMISSION=1
> -DJAVA_FINALIZATION=1 -DGC_GCJ_SUPPORT=1 -DATOMIC_UNCOLLECTABLE=1
> -D_IN_LIBGC=1 -I./.. -I./.. -I./include -Os -MT os_dep.lo -MD -MP -MF
> .deps/os_dep.Tpo -c os_dep.c  -fPIC -DPIC -o .libs/os_dep.o
> os_dep.c: In function `GC_disable_signals':
> os_dep.c:576: warning: `sigsetmask' is deprecated (declared at
> /home/source/buildroot/build_i386/staging_dir/bin-ccache/../lib/gcc/i386-linux-uclibc/3.4.2/../../../../i386-linux-uclibc/sys-include/signal.h:181)
> os_dep.c: In function `GC_enable_signals':
> os_dep.c:585: warning: `sigsetmask' is deprecated (declared at
> /home/source/buildroot/build_i386/staging_dir/bin-ccache/../lib/gcc/i386-linux-uclibc/3.4.2/../../../../i386-linux-uclibc/sys-include/signal.h:181)
> os_dep.c:3990:23: execinfo.h: No such file or directory

execinfo.h not provided by uClibc, disable debugging/backtrace, then it 
shouldn't be needed/used.

Peter
> 
> ***************
> 
> Thank you in Advance..
> 
> Have a Nice time and good day ahead..
> 
> Regards,
> Ankur Patel.
> 

-- 
Peter S. Mazinger <ps dot m at gmx dot net>           ID: 0xA5F059F2
Key fingerprint = 92A4 31E1 56BC 3D5A 2D08  BB6E C389 975E A5F0 59F2




More information about the uClibc mailing list