powerpc build failures with gcc master

Joel Sherrill joel at rtems.org
Tue Aug 28 23:45:53 UTC 2018


On Tue, Aug 28, 2018 at 4:19 PM, Joel Sherrill <joel at rtems.org> wrote:

> Hi
>
> The GCC master no longer supports the -mno-spe flag.  This results
> in configure time failures that GCC does not work:
>
> configure:3499: powerpc-rtems5-gcc -mcpu=8540 -meabi -msdata=sysv
> -fno-common -msoft-float -mno-spe -Og -g -ffunction-sections
> -fdata-sections   conftest.c  >&5
> powerpc-rtems5-gcc: error: unrecognized command line option '-mno-spe';
> did you mean '-fno-see'?
>
> This impacts the t32mppc and all mpc55xx variants.
>
> Looks like deleting the option is the correct solution. Any other thoughts
> on how to correct this?
>

Hmmm.. deleting the option worked for the BSPs that didn't really need SPE.
Now that's a separate
toolchain target.

$ grep mpc55xx_spe.inc *
mpc5566evb_spe.cfg:include $(RTEMS_ROOT)/make/custom/mpc55xx_spe.inc
mpc5674f_ecu508_app.cfg:include $(RTEMS_ROOT)/make/custom/mpc55xx_spe.inc
mpc5674f_ecu508_boot.cfg:include $(RTEMS_ROOT)/make/custom/mpc55xx_spe.inc
mpc5674fevb_spe.cfg:include $(RTEMS_ROOT)/make/custom/mpc55xx_spe.inc
mpc5674f_rsm6.cfg:include $(RTEMS_ROOT)/make/custom/mpc55xx_spe.inc
phycore_mpc5554.cfg:include $(RTEMS_ROOT)/make/custom/mpc55xx_spe.inc

Updating to gcc 9 will require adding the powerpcspe target and using it
only with
these powerpc BSPs.

How do we proceed? These are not my BSPs and I don't know enough of
their details to unwind the solution. Only that the toolchain split into two
targets and this BSP is impacted.



>
> --joel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20180828/705145a0/attachment-0002.html>


More information about the devel mailing list