lpc40xx BSPs do not build on master

Sebastian Huber sebastian.huber at embedded-brains.de
Wed Jan 17 06:08:27 UTC 2018


On 16/01/18 16:38, Joel Sherrill wrote:
>
>
> On Tue, Jan 16, 2018 at 3:29 AM, Sebastian Huber 
> <sebastian.huber at embedded-brains.de 
> <mailto:sebastian.huber at embedded-brains.de>> wrote:
>
>     On 15/01/18 18:53, Joel Sherrill wrote:
>
>         Hi
>
>         I'm not sure what broke but neither lpc40xx_ea_ram
>         nor lpc40xx_ea_rom build.
>
>
>     I cannot reproduce this problem. Which error do you get?
>
>
> Hmmm... I neglected to mention that I am using gcc master also. Sorry.
>
> One of the configure conftest.c probes is failing with an object 
> architecture
> variant mismatch.
>
> configure:3595: arm-rtems5-gcc -mthumb -march=armv7-m 
> -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mtune=cortex-m4 -O2 -g 
> -ffunction-sections -fdata-sections   conftest.c >&5
> /data/home/joel/test-gcc/install-master/bin/../lib/gcc/arm-rtems5/8.0.0/../../../../arm-rtems5/bin/ld: 
> error: /tmp/cckWAYRI.o uses VFP register arguments, a.out does not
> /data/home/joel/test-gcc/install-master/bin/../lib/gcc/arm-rtems5/8.0.0/../../../../arm-rtems5/bin/ld: 
> failed to merge target specific data of file /tmp/cckWAYRI.o
> /data/home/joel/test-gcc/install-master/bin/../lib/gcc/arm-rtems5/8.0.0/../../../../arm-rtems5/bin/ld: 
> warning: cannot find entry symbol _start; defaulting to 0000000000008018
> collect2: error: ld returned 1 exit status
>
> With gcc 8.0 trying to head to a freeze, I wonder if you could take a 
> look at it Sebastian.

ARM changed the floating point machine options in GCC 8. I guess we have 
to change all machine flags once we start to use GCC 8.

https://gcc.gnu.org/git/?p=gcc.git;a=blob;f=gcc/config/arm/t-rtems;h=026a58956623ca8f74980f1a69b241b88e4988e7;hb=refs/heads/gcc-7-branch

vs.

https://gcc.gnu.org/git/?p=gcc.git;a=blob;f=gcc/config/arm/t-rtems;h=c07378657c8289014fc875a426e48b48b7c1f690;hb=HEAD

-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.




More information about the devel mailing list