Page 1 of 1

GCC versions?

Posted: Sat Nov 19, 2016 2:45 pm
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?

Re: GCC versions?

Posted: Sat Nov 19, 2016 5:27 pm
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

Re: GCC versions?

Posted: Sat Nov 19, 2016 10:30 pm
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)

Re: GCC versions?

Posted: Sat Nov 19, 2016 10:50 pm
by Giovanni
It would be important to have something reliably not working with specific versions.

Giovanni

Re: GCC versions?

Posted: Sun Nov 20, 2016 2:44 am
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.