This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Crosstool 0.27 error for ARM9TDMI


Here's my demo.sh:
eval `cat arm9tdmi.dat gcc-3.3.2-glibc-2.3.2.dat` sh all.sh --notest

Here is the content of my dat file:
KERNELCONFIG=$PWD/arm.config
TARGET=arm-9dtmi-linux-gnu
GCC_EXTRA_CONFIG="--with-cpu=arm9tdmi --enable-cxx-flags=-mcpu=arm9tdmi"
TARGET_CFLAGS="-O"


With this configuration I got the following error while compiling what seemed to be a floating point library.
Error: selected processor does not support `rfs r3'


So I chose to remove the floating point support:
KERNELCONFIG=$PWD/arm.config
TARGET=arm-9dtmi-linux-gnu
GCC_EXTRA_CONFIG="--with-float=soft --with-cpu=arm9tdmi --enable-cxx-flags=-mcpu=arm9tdmi"
TARGET_CFLAGS="-O"
GLIBC_EXTRA_CONFIG="--without-fp"


With this configuration, I now have undefined reference error, see below. Was anyone successful compiling a crosstool for the ARM9TDMI?



arm-9dtmi-linux-gnu-gcc -nostdlib -nostartfiles -r -o /cygdrive/c/bin/linux/cr
osstool-0.27/build/arm-9dtmi-linux-gnu/gcc-3.3.2-glibc-2.3.2/build-glibc/elf/lib
rtld.os '-Wl,-(' /cygdrive/c/bin/linux/crosstool-0.27/build/arm-9dtmi-linux-gnu/
gcc-3.3.2-glibc-2.3.2/build-glibc/elf/dl-allobjs.os /cygdrive/c/bin/linux/crosst
ool-0.27/build/arm-9dtmi-linux-gnu/gcc-3.3.2-glibc-2.3.2/build-glibc/elf/rtld-li
bc.a -lgcc '-Wl,-)'
arm-9dtmi-linux-gnu-gcc -nostdlib -nostartfiles -shared \
-Wl,-z,combreloc -Wl,-z,defs -Wl,--verbose 2>&1 | \
sed -e '/^=========/,/^=========/!d;/^=========/d' \
-e 's/\. = 0 + SIZEOF_HEADERS;/& _begin = . - SIZEOF_HEADERS;/' \
> /cygdrive/c/bin/linux/crosstool-0.27/build/arm-9dtmi-linux-gnu/gcc-3
.3.2-glibc-2.3.2/build-glibc/elf/ld.so.lds
arm-9dtmi-linux-gnu-gcc -nostdlib -nostartfiles -shared -o /cygdrive/c/bin/lin
ux/crosstool-0.27/build/arm-9dtmi-linux-gnu/gcc-3.3.2-glibc-2.3.2/build-glibc/el
f/ld.so \
-Wl,-z,combreloc -Wl,-z,defs \
/cygdrive/c/bin/linux/crosstool-0.27/build/arm-9dtmi-linux-gnu/gcc-3.3
.2-glibc-2.3.2/build-glibc/elf/librtld.os -Wl,--version-script=/cygdrive/c/bin/l
inux/crosstool-0.27/build/arm-9dtmi-linux-gnu/gcc-3.3.2-glibc-2.3.2/build-glibc/
ld.map \
-Wl,-soname=ld-linux.so.2 -T /cygdrive/c/bin/linux/crosstool-0.27/buil
d/arm-9dtmi-linux-gnu/gcc-3.3.2-glibc-2.3.2/build-glibc/elf/ld.so.lds
/cygdrive/c/bin/linux/crosstool-0.27/build/arm-9dtmi-linux-gnu/gcc-3.3.2-glibc-2
.3.2/build-glibc/elf/librtld.os(.text+0x295c): In function `process_envvars':
: undefined reference to `__access'
/cygdrive/c/bin/linux/crosstool-0.27/build/arm-9dtmi-linux-gnu/gcc-3.3.2-glibc-2
.3.2/build-glibc/elf/librtld.os(.text+0x29fc): In function `process_envvars':
: undefined reference to `__open'
/cygdrive/c/bin/linux/crosstool-0.27/build/arm-9dtmi-linux-gnu/gcc-3.3.2-glibc-2
.3.2/build-glibc/elf/librtld.os(.text+0x3750): In function `lose':


Thanks much.


------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]