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

sys-devel/llvm-16.0.4 fails to build with -fipa-pta #881

Open
SigHunter opened this issue May 24, 2023 · 2 comments · Fixed by paralin/gentooLTO#1 · May be fixed by jhatler/gentooLTO#2
Open

sys-devel/llvm-16.0.4 fails to build with -fipa-pta #881

SigHunter opened this issue May 24, 2023 · 2 comments · Fixed by paralin/gentooLTO#1 · May be fixed by jhatler/gentooLTO#2

Comments

@SigHunter
Copy link

SigHunter commented May 24, 2023

just a heads up, sys-devel/llvm-16.0.4, which came to ::gentoo ~amd64 about a week ago fails to build with -fipa-pta
had to make an exception for it via sys-devel/llvm *FLAGS-="${IPAPTA}" and then it built fine

also related on gentoo bug tracker, not by me https://bugs.gentoo.org/906751

the last few pages of the build log

@elsandosgrande
Copy link
Contributor

Funnily enough, for me, this didn't cause LLVM to fail to build, but instead caused Clang to, depending on which flags I built it with, either fail to build or, if it did build, to fail to compile anything because LLVM crashed. I've been fighting with Clang for most of May and only saw this once I gave up last week and went to watch things on my laptop after only being able to use my phone for several weeks 🥲

Surprisingly enough, Mesa drivers have no issues with running on top of LLVM 16.0.5 that's been built with -fipa-pta on my laptop.

@paralin
Copy link

paralin commented Oct 12, 2023

I had llvm failing to build and after merging #886 it builds correctly.

@jhatler jhatler linked a pull request Dec 26, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants