I am cross-compiling NetBSD for xscale on an i386 and I get the following
errors after some time of compiling. Does anyone know how to fix this?
I execute the following command :
./build.sh -a arm -m i386 -D /usr/xscale/bin -O /usr/xscale/obj -T
/usr/xscale/tools
And it goes for quite a while and then I get this output:
/usr/xscale/tools/bin/arm--netbsdelf-gcc -O2 -fPIC -Wall -Wstrict-prototypes
-Wm
issing-prototypes -Wpointer-arith -Wno-uninitialized -Wreturn-type -Wpointer
-ari
th -Wswitch -Wshadow -I- -I/usr/src/lib/csu/arm_elf -DLIBC_SCCS -DPIC -DD
YNAM
IC -DELFSIZE=32 -I/usr/src/lib/csu/arm_elf/../../../libexec/ld.elf_so -I/usr
/src
/lib/csu/arm_elf/../common_elf -I/usr/src/lib/csu/arm_elf/../../libc/dlfcn -
DDWA
RF2_EH -DJCR -DDSO_HANDLE -nostdinc -isystem
/usr/xscale/bin/usr/include -c -DC
RT0 /usr/src/lib/csu/arm_elf/crt0.c -o crt0.o
/var/tmp/ccZQUgOd.s: Assembler messages:
/var/tmp/ccZQUgOd.s:38: Error: Internal_relocation (type 212) not fixed up
(IMME
DIATE)
*** Error code 1
Stop.
nbmake: stopped in /usr/src/lib/csu/arm_elf
*** Error code 1
Stop.
nbmake: stopped in /usr/src/lib/csu/arm_elf
*** Error code 1