LTO when enabled on AARCH64 version miscompiles my project

Bug #1903511 reported by rew
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GNU Arm Embedded Toolchain
New
Undecided
Unassigned

Bug Description

I've moved from my PC to a raspberry pi because the USB on my PC is bad and slowing me down.

Turns out that the compiler from gcc-arm-none-eabi-9-2020-q2-update-aarch64-linux.tar.bz2 does not produce a working binary while the ia64 version does. The raspberry pi DOES produce a working binary when I disable LTO.

Giovanni, the author of Chibios that I use suggested I try and compile my own compiler from source. That didn't work out for me. the compilation does not run smooth. (in build prerequisites, after having compiled a bunch and manually doing one step... it suddenly gets "configure: error: C compiler cannot create executables" Well, I'd say that's not true. Anyway, that's when I'm like at 2% of compiling the project. It's not working for me.)

Revision history for this message
rew (r-e-wolff) wrote :

P.S. I know it's too little to go on. I'll add info when/if I find out.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.