fatal error: LTO_tags out of range

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

Moderators: RoccoMarco, lbednarz, utzig, tfAteba, barthess

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

Postby ep.hobbyiest » Thu Dec 07, 2017 6:09 pm

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: 14457
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1076 times
Been thanked: 922 times
Contact:

Re: fatal error: LTO_tags out of range

Postby Giovanni » Thu Dec 07, 2017 6:30 pm

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

Postby ep.hobbyiest » Fri Dec 08, 2017 4:58 pm

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.


Return to “General Support”

Who is online

Users browsing this forum: No registered users and 49 guests