Page 1 of 1

gcc-arm-none-eabi-9-2020-q2-update-aarch64-linux.tar.bz2

Posted: Sun Nov 08, 2020 9:00 pm
by rew
Hi,
I've been told here that I should use the compiler from ARM, and on ia64 the 2020-Q2 update seems to work well for me.

With my USB on my PC seeming to be a bit flaky, I decided to try developing on the raspberry pi. Well.... My code won't boot when compiled with the recommended compiler on the raspberry. Turns out that this is due to something with LTO: When I turned LTO off, it suddenly started working. Costs me 3k of flash, but for "working code" I'd say that's worth it. Is this a known bug, or should I report it somewhere else than here?

Re: gcc-arm-none-eabi-9-2020-q2-update-aarch64-linux.tar.bz2

Posted: Sun Nov 08, 2020 9:31 pm
by Giovanni
You may try compile GCC yourself or the raspberry, get the source from the ARM GCC web site (with all their patches).

Giovanni

Re: gcc-arm-none-eabi-9-2020-q2-update-aarch64-linux.tar.bz2

Posted: Sun Nov 08, 2020 9:57 pm
by rew
Last time I tried that it took hours to compile on a PC much faster than the PI. That's going to take a while.