arm build failure on gcc head

Joel Sherrill joel.sherrill at OARcorp.com
Tue Nov 1 18:43:16 UTC 2011


Hi,

This looks like an issue with the gcc head (4.7.0)
Compiling the RTEMS head.  It looks like an extra
flag needs to be passed to ld and we are missing
something.

With the gcc head, you get this for the csb336 BSP.

arm-rtems4.11-gcc -mstructure-size-boundary=8 -mcpu=arm920 -mfpu=vfp 
-mfloat-abi=soft -O2 -g   m.c
/users/joel/test-gcc/install-svn/lib/gcc/arm-rtems4.11/4.7.0/../../../../arm-rtems4.11/bin/ld: 
error: /tmp/ccs3cuW7.o uses VFP instructions, whereas a.out does not
/users/joel/test-gcc/install-svn/lib/gcc/arm-rtems4.11/4.7.0/../../../../arm-rtems4.11/bin/ld: 
failed to merge target specific data of file /tmp/ccs3cuW7.o
/users/joel/test-gcc/install-svn/lib/gcc/arm-rtems4.11/4.7.0/../../../../arm-rtems4.11/bin/ld: 
warning: cannot find entry symbol _start; defaulting to 0000000000008000
collect2: error: ld returned 1 exit status

Any ideas?

-- 
Joel Sherrill, Ph.D.             Director of Research&  Development
joel.sherrill at OARcorp.com        On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
    Support Available             (256) 722-9985





More information about the users mailing list