arm build failure on gcc head

Ralf Corsepius ralf.corsepius at rtems.org
Wed Nov 2 03:11:05 UTC 2011


On 11/01/2011 07:43 PM, Joel Sherrill wrote:
> 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?
>

Append -v -Wl,-v to the compiler call and compare the results of 
compiling with gcc-4.6.2 and your compiler.

Ralf



More information about the users mailing list