fatal error: LTO_tags out of range

ChibiOS public support forum for all topics not covered by a specific support forum.

Moderators: RoccoMarco, lbednarz, tfAteba

Post Reply
ep.hobbyiest
Posts: 94
Joined: Sun Jun 26, 2016 5:22 pm
Has thanked: 4 times
Been thanked: 1 time

fatal error: LTO_tags out of range

Post by ep.hobbyiest »

Hi,
I was using chibistudio yesterday and it was working fine. But today after compiling code i got following error. I tried new version as well and new chibistudio then also it is exist.
Here is error i have attached.

Code: Select all

lto1.exe: fatal error: LTO_tags out of range: Range is 0 to 361, value is 20480
compilation terminated.
lto-wrapper: arm-none-eabi-gcc returned 1 exit status
c:/chibistudio/tools/gnu tools arm embedded/4.7 2014q2/bin/../lib/gcc/arm-none-eabi/4.7.4/../../../../arm-none-eabi/bin/ld.exe: lto-wrapper failed
collect2.exe: error: ld returned 1 exit status
make: *** [build/mainBoard.elf] Error 1
User avatar
Giovanni
Site Admin
Posts: 14895
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 997 times

Re: fatal error: LTO_tags out of range

Post by Giovanni »

Hi,

This is a GCC error not something we can address.

What you can do is to try to understand what triggers this error, I never saw it before so there must be something in your project triggering it.

A good way to find the problem is to exclude parts of the code from the project until the problem is found. Then we can look for a solution and, eventually, submit a bug upstream.

Giovanni
ep.hobbyiest
Posts: 94
Joined: Sun Jun 26, 2016 5:22 pm
Has thanked: 4 times
Been thanked: 1 time

Re: fatal error: LTO_tags out of range

Post by ep.hobbyiest »

yeah. Error was something related to workspace.
I took new chibi studio again and made new project. then after that started working..

Something got corrupted i guess.
Post Reply