Hi. If I try to compile llvm-9999, it fails because of llvm-3.5-gcc-4.9.patch with a compile error. I removed the patch and tried it in a local overlay, and LLVM compiles and works fine. I am on GCC 4.9.3. Thanks, sarnex Reproducible: Always
Created attachment 406960 [details] compile error with patch
Created attachment 407102 [details, diff] New version of llvm-3.7-gcc-4.9.patch Here is a new version of the problematic patch. This or maybe it could be dropped entirely (as sarnex said before). Like the name of this patch implies, it is a newer version of the previous patch for llvm 3.7 and above. Also, for llvm-9999.ebuild to work, the CLANG_VERSION variable should be changed from 3.7 to 3.8 in the ebuild file, since llvm trunk is now 3.8.
(In reply to Bigos from comment #2) > Created attachment 407102 [details, diff] [details, diff] > New version of llvm-3.7-gcc-4.9.patch > > Here is a new version of the problematic patch. This or maybe it could be > dropped entirely (as sarnex said before). Like the name of this patch > implies, it is a newer version of the previous patch for llvm 3.7 and above. > > Also, for llvm-9999.ebuild to work, the CLANG_VERSION variable should be > changed from 3.7 to 3.8 in the ebuild file, since llvm trunk is now 3.8. Hi, Thanks for your patch. LLVM compiles and works fine for me with this patch. I cannot reproduce the problem the original patch was trying to fix, so I can't comment if it still fixes that issue. Hopefully this gets sorted soon, sarnex
Thanks for your work, Bigos but since we can't reproduce the issue with gcc-4.9, I'm going to assume it was fixed upstream and the patch is no longer necessary. + 19 Jul 2015; Michał Górny <mgorny@gentoo.org> llvm-9999.ebuild: + Remove no longer needed gcc-4.9 patch. Update clang vesion number.