Latest toolchain doesn't compile GBAMP_EXT2 build

Pierre Riteau kineox at gmail.com
Tue Jan 22 19:10:56 CET 2008


Hi everyone.
I updated recently my toolchain from dslinux-toolchain-2007-07-23-i686
to dslinux-toolchain-2007-11-03-i686, and I can't compile the
GBAMP_EXT2 build anymore with it.
Platform details: VMware Fusion virtual machine (x86), Debian Etch
i386, Linux debian 2.6.18-5-686 #1 SMP Mon Dec 24 16:41:07 UTC 2007
i686 GNU/Linux

Here is the error, always the same, in the middle of the compilation.

make[3]: Entering directory `/home/kineox/dslinux/lib/libncurses/progs'
ucfront-gcc arm-linux-elf-gcc  ../objects/infocmp.o
../objects/dump_entry.o -L../lib -nostartfiles -nostdinc -lncurses -s
-Wl,-elf2flt -L/home/kineox/dslinux/uClibc/lib
/home/kineox/dslinux/uClibc/lib/crt0.o -I../progs -I. -DHAVE_CONFIG_H
-I. -I../include -I/home/kineox/dslinux/uClibc/include -U_XOPEN_SOURCE
-D_XOPEN_SOURCE=500 -U_POSIX_C_SOURCE -D_POSIX_C_SOURCE=199506L
-DNDEBUG -Os -g -fomit-frame-pointer -fno-common -fno-builtin -Wall
-mcpu=arm946e-s -mfpu=fpe3 -mcpu=arm946e-s -mfpu=fpe3 -DEMBED -Dlinux
-D__linux__ -Dunix -D__uClinux__ -Wall -pipe -W -mtune=arm9tdmi
-mcpu=arm9tdmi -ansi -Wstrict-prototypes -Wno-trigraphs -Os
-fno-strict-aliasing -DNO_MM -I/home/kineox/dslinux/uClibc/include -o
infocmp
ERROR: reloc type R_ARM_PC24 unsupported in this context
...
ERROR: reloc type R_ARM_PC24 unsupported in this context
ERROR: reloc type R_ARM_PLT32 unsupported in this context
ERROR: reloc type R_ARM_PC24 unsupported in this context
...
ERROR: reloc type R_ARM_PC24 unsupported in this context
1132 bad relocs
collect2: ld returned 1 exit status
make[3]: *** [infocmp] Error 1
make[3]: Leaving directory `/home/kineox/dslinux/lib/libncurses/progs'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/kineox/dslinux/lib/libncurses'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/kineox/dslinux/lib'
make: *** [subdirs] Error 1

The thing is, I'm not sure from which sources the toolchain was built.
stsp commited stuff to elf2flt on the 24th, I don't know if I am
running these new sources or not. I will build my own toolchain to
check.

Pierre Riteau


More information about the dslinux-devel mailing list