GCC versions?

ChibiOS public support forum for topics related to the STMicroelectronics STM32 family of micro-controllers.

Moderator: RoccoMarco

Post Reply
mobyfab
Posts: 484
Joined: Sat Nov 19, 2011 6:47 pm
Has thanked: 21 times
Been thanked: 31 times

GCC versions?

Post by mobyfab »

Hi,

So I'm trying a bunch of GCC versions, with and without LTO, with and without FPU. Latest ChibiOS/RT.

So far the only version that fully works is 4.8, 4.7 used to work without LTO.
I have tried 4.9, 5.2, 5.4, all from ARM.

This is for an STM32F303.

Did anyone have some luck with some of these versions?
User avatar
Giovanni
Site Admin
Posts: 14893
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 997 times

Re: GCC versions?

Post by Giovanni »

Hi,

4.9 is included in ChibiStudio and works, I am working with 5.2 also. All taken from here: https://launchpad.net/gcc-arm-embedded

You need to provide example of things that do not work as expected and specify if it is a self-built compiler.

Giovanni
mobyfab
Posts: 484
Joined: Sat Nov 19, 2011 6:47 pm
Has thanked: 21 times
Been thanked: 31 times

Re: GCC versions?

Post by mobyfab »

These are all from ARM as I said, same link as you.

I will make some tests with my F3 discovery board, right now I only tried to compile my project which uses a custom board.

Edit: it seems to work fine on the discovery board with 5.4, FPU and LTO (USB CDC Example)
User avatar
Giovanni
Site Admin
Posts: 14893
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 997 times

Re: GCC versions?

Post by Giovanni »

It would be important to have something reliably not working with specific versions.

Giovanni
mobyfab
Posts: 484
Joined: Sat Nov 19, 2011 6:47 pm
Has thanked: 21 times
Been thanked: 31 times

Re: GCC versions?

Post by mobyfab »

Yes,

I was actually caused by the ARM DSP library. I updated it to CMSIS 5 and it works fine now. (https://github.com/ARM-software/CMSIS_5)

I'm using GCC 5.4.
Post Reply