[rtems commit] leon: do not use -mfix-{device} with Clang

Sebastian Huber sebastian.huber at embedded-brains.de
Tue Oct 9 11:20:54 UTC 2018


On 09/10/2018 12:37, Daniel Hellstrom wrote:
> Module:    rtems
> Branch:    master
> Commit:    dc32b6aa0807fb70f9b26bc0bc6e164ddb49bd3a
> Changeset:http://git.rtems.org/rtems/commit/?id=dc32b6aa0807fb70f9b26bc0bc6e164ddb49bd3a
>
> Author:    Daniel Hellstrom<daniel at gaisler.com>
> Date:      Fri Aug 31 08:21:05 2018 +0200
>
> leon: do not use -mfix-{device} with Clang
>
> Clang do not support -mfix-gr712rc, -mfix-ut700 and -mfix-ut699.
> Therefore we adjust the CPU_CFLAGS to remove these when compiling with
> Clang. Instead use
>    GR712RC:      -mcpu=gr712rc
>    GR740:        -mcpu=gr740
>    UT699/UT700:  Not currently supported by clang, use LEON3 BSP.

I don't have a problem with this patch, but what is the long term 
strategy for Gaisler-specific machine options in GCC and clang? I am 
pretty sure this divergence will trouble users at some point.

-- 
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