Hello!

I am building a cross-toolchain targeting mipsel-unknown-linux-uclibc,
using GCC 4.3.2, binutils 2.19, linux kernel 2.6.27.6, uclibc 0.9.30.

I had to patch libpthread/linuxthreads.old/sysdeps/mips/pt-machine.h
to get it to build (basically, removing the static definition of
_test_and_set from that file and using the one from sys/tas.h), but
that was relatively straightforward.

now when I make install, I get this:

make V=99 PREFIX=$SYSROOT install
gcc -c ldso/ldso/ldso.c -o ldso/ldso/ldso.oS -include
./include/libc-symbols.h -Wall -Wstrict-prototypes
-fno-strict-aliasing -mips32 -mtune=mips32 -mabi=32 -fno-builtin
-nostdinc -I./include -I. -I./libc/sysdeps/linux/mips -fno-asm
-isystem /cross-tools/lib/gcc/mipsel-unknown-linux-uclibc/4.3.2/include-fixed
-DUCLIBC_INTERNAL -std=gnu99 -Os -funit-at-a-time
-fno-tree-loop-optimize -fno-tree-dominator-opts -fno-strength-reduce
-mno-split-addresses
-I./libpthread/linuxthreads.old/sysdeps/unix/sysv/linux/mips
-I./libpthread/linuxthreads.old/sysdeps/mips
-I./libpthread/linuxthreads.old/sysdeps/unix/sysv/linux
-I./libpthread/linuxthreads.old/sysdeps/pthread
-I./libpthread/linuxthreads.old -I./libpthread
-I/cross-tools/sysroot/usr/include/
-I/usr/lib/gcc/i686-pc-linux-gnu/4.0.2//include-fixed
-I/usr/lib/gcc/i686-pc-linux-gnu/4.0.2/include -DNDEBUG
-mno-split-addresses -fPIC -DSHARED -DNOT_IN_libc -DIS_IN_rtld
-fno-omit-frame-pointer -I./ldso/ldso/mips -I./ldso/include
-I./ldso/ldso -DUCLIBC_RUNTIME_PREFIX="/"
-DUCLIBC_LDSO="ld-uClibc.so.0" -DLDSO_ELFINTERP="mips/elfinterp.c"
-DNOT_IN_libc -DIS_IN_rtld -fno-omit-frame-pointer -I./ldso/ldso/mips
-I./ldso/include -I./ldso/ldso -DUCLIBC_RUNTIME_PREFIX="/"
-DUCLIBC_LDSO="ld-uClibc.so.0" -MT ldso/ldso/ldso.oS -MD -MP -MF
ldso/ldso/.ldso.oS.dep
cc1: error: invalid option 'ips32'
cc1: error: invalid option 'abi=32'
cc1: error: invalid option 'no-split-addresses'
cc1: error: invalid option 'no-split-addresses'
ldso/ldso/ldso.c:1: error: bad value (mips32) for -mtune= switch
make: *** [ldso/ldso/ldso.oS] Error 1

Any ideas?

Many thanks,

bn

-- 
Brett Neumeier ([EMAIL PROTECTED])
_______________________________________________
uClibc mailing list
[email protected]
http://busybox.net/cgi-bin/mailman/listinfo/uclibc

Reply via email to