RTEMS 5 gcc-fb371a33fa6 vs gcc-9.2.0

Sebastian Huber sebastian.huber at embedded-brains.de
Wed Aug 14 05:02:26 UTC 2019



On 14/08/2019 01:52, Chris Johns wrote:
> On 13/8/19 3:02 pm, Sebastian Huber wrote:
> 
>> the patch just changed GCC 9.1 to 9.2 on all targets which use GCC 9, these are
>> or1k, riscv, and x86_64.
> 
> The change as broken MacOS due to this bug ...
> 
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81797
> 
> I posted build results showing the error is still present. I had a patch in the
> previous version and it should apply.

Now I am a bit confused. This patch

https://git.rtems.org/rtems-source-builder/commit/?id=5a0dba77b13eec49f86ce3812fb74f65dfa1e98d

changes the GCC version from 9.1.0 to 9.2.0 on or1k, riscv, and x86_64. 
I didn't change the patches:

https://git.rtems.org/rtems-source-builder/tree/rtems/config/tools/rtems-gcc-9.1.0-newlib-6661a67.cfg?id=5a0dba77b13eec49f86ce3812fb74f65dfa1e98d

The GCC bug doesn't seem to be a GCC 9.1.0 to 9.2.0 regression. In your 
build log only riscv failed, or1k and x86_64 passed. Is this a sporadic 
problem?

> 
>> Since there will be probably no RTEMS 5 in the near future, maybe we should move
>> to GCC 9.2 in general.
> 
> This is a catch-22, I hope to start on the release process soon but things like
> this add to the complexity and add to the time it takes.
> 
>> If we do this on PowerPC, then the SPE is no longer supported.
> 
> Joel has stated many times in talks I have seen that we follow the architectures
> GCC supports and if one is removed we remove support.
> 
> Does this mean 5.1 is the last version of RTEMS to support SPE?

This was my plan.

> Should the specific BSPs be moved to tier 4 and marked for removal?

The SPE support should bit rot for a while. The chips are still in 
production and used with RTEMS, e.g. by EPICS users.

> 
>> On ARM a breaking change in compiler options is necessary.
> 
> What options are these?

ARM changed the FPU options in GCC 8 and later.

> 
> Also this seems back to front to me. Should all hosts be on 9.2.0 and those that
> cannot have specific versions?

Only PowerPC should stay at GCC 7 until the next RTEMS release from my 
point of view. Everything else can move on.

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