InBetweenNames / gentooLTO

A Gentoo Portage configuration for building with -O3, Graphite, and LTO optimizations

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

lto-rebuild issue with: LTO version 11.2 instead of the expected 11.3

StefanSalewski opened this issue · comments

I did a fresh Gentoo-Linux install, and when trying to switch to Gentoo-LTO I now get for

lto-rebuild -r

lto1: fatal error: bytecode stream in file '/usr/lib64/binutils/x86_64-pc-linux-gnu/2.37_p1/libiberty.a' generated with LTO version 11.2 instead of the expected 11.
3

A week ago, I did a fresh Gentoo install on a different notebook, and enabling GentooLTO gave no issues. maybe the problem is, that gcc 11.3 just became stable?

I found no better solution then just deleting the file /usr/lib64/binutils/x86_64-pc-linux-gnu/2.37_p1/libiberty.a as suggested in #739.

Well it is recreated when we then emerge binutils again. Seems to work, I am just running emerge -e --keep-going @world.