uClibc 0.9.32 failed to build for THUMB target
Sergei Poselenov
sposelenov at emcraft.com
Mon Jun 13 13:36:53 UTC 2011
Hello,
I tried to build the latest version for the Cortex-M3 target and got the
following:
...
AS libc/sysdeps/linux/arm/bsd-setjmp.o
AS libc/sysdeps/linux/arm/bsd-_setjmp.o
AS libc/sysdeps/linux/arm/sigrestorer.o
AS libc/sysdeps/linux/arm/mmap64.o
AS libc/sysdeps/linux/arm/vfork.o
libc/sysdeps/linux/arm/mmap64.S: Assembler messages:
libc/sysdeps/linux/arm/mmap64.S:87: Warning: conditional infixes are
deprecated in unified syntax
AS libc/sysdeps/linux/arm/clone.o
AS libc/sysdeps/linux/arm/syscall-eabi.o
libc/sysdeps/linux/arm/clone.S: Assembler messages:
libc/sysdeps/linux/arm/clone.S:115: Warning: conditional infixes are
deprecated in unified syntax
libc/sysdeps/linux/arm/clone.S:115: Error: thumb conditional instruction
should be in IT block -- `ldmnefd sp!,{r4}'
make: *** [libc/sysdeps/linux/arm/clone.o] Error 1
make: *** Waiting for unfinished jobs....
0.9.31. built fine.
uClibc war configured as CONFIG_ARM7TDMI=y and built as follows:
make ARCH_CFLAGS= 'CPU_CFLAGS=-mthumb -march=armv7
-mfix-cortex-m3-ldrd'
Apparently, the 'ldmnefd sp!, {r4}' instruction should be moved a line
down, under the IT block?
Regards,
Sergei
More information about the uClibc
mailing list