fatal after a new source-builder update

Ярослав Лещинский midniwalker at gmail.com
Wed May 15 13:45:17 UTC 2019


yes, I know, I just checked that behavior is the same as before.

With these flags -mthumb -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard

I got error from linker:

/home/midnight/rtems/toolchain/5/lib/gcc/arm-rtems5/7.4.1/../../../../arm-rtems5/bin/ld:
error: o-optimize/test.exe uses VFP register arguments, /
home/midnight/workspace/rtems/build/arm-rtems5/stm32l4/lib/librtemsbsp.a(bspfatal-default.o)
does not
/home/midnight/rtems/toolchain/5/lib/gcc/arm-rtems5/7.4.1/../../../../arm-rtems5/bin/ld:
failed to merge target specific data of file /home/midnig
ht/workspace/rtems/build/arm-rtems5/stm32l4/lib/librtemsbsp.a(bspfatal-default.o)

Currently I'm trying to figure out what is a problem.

On Wed, 15 May 2019 at 16:33, Sebastian Huber <
sebastian.huber at embedded-brains.de> wrote:

> On 15/05/2019 15:31, Ярослав Лещинский wrote:
> > problem solved after edition of CPU_FLAGS as mentioned in stm32f4.cfg:
> >
> > CPU_FLAGS = -mthumb -mcpu=cortex-m4
>
> If you use these flags, then you don't use the floating point instructions.
>
> --
> 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.
>
>

-- 
--
Kind regards,
*Yaroslav Leshchinsky*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20190515/5bd2fe81/attachment-0002.html>


More information about the devel mailing list