Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
StefanSalewski opened this issue May 31, 2022 · 1 comment

Comments

@StefanSalewski
Copy link

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?

@StefanSalewski
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant