gentooLTO icon indicating copy to clipboard operation
gentooLTO copied to clipboard

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

Open SigHunter opened this issue 1 year ago • 2 comments

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

SigHunter avatar May 24 '23 22:05 SigHunter

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.

elsandosgrande avatar Jun 16 '23 11:06 elsandosgrande

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

paralin avatar Oct 12 '23 18:10 paralin