Page 1 of 1

fatal error: LTO_tags out of range

Posted: Thu Dec 07, 2017 6:09 pm
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

Re: fatal error: LTO_tags out of range

Posted: Thu Dec 07, 2017 6:30 pm
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

Re: fatal error: LTO_tags out of range

Posted: Fri Dec 08, 2017 4:58 pm
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.