Summary: | sys-devel/clang-2.6-r3 fails to build with gcc 4.5 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Zeev Tarantov <zeev.tarantov> |
Component: | [OLD] Unspecified | Assignee: | Bernard Cafarelli <voyageur> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 296658 | ||
Attachments: | my patch to the source |
Description
Zeev Tarantov
2010-04-27 12:47:35 UTC
Created attachment 229383 [details, diff]
my patch to the source
The code is obviously in clang, not in llvm: the dir structure is weird because clang is compiled as a subdir of llvm. This is fixed in version 2.7 that just entered the tree, so another solution is to just upgrade, I guess. Hi, thanks for the report! Indeed, clang is built in a subtree of llvm (this was supposed to be fixed in 2.7 but...). Nice to see 2.7 compiles fine with gcc 4.5, as clang in 2.6 was even more "experimental", I'd consider this bug fixed with 2.7 arrival in tree, unless you had a project requiring 2.6? From my POV you can close this, but other people might encounter it if for example gcc 4.5 gets stabled before clang 2.7. I think my patch is harmless so I would apply it, but I'm not running this in a production environment. First stable version will probably be 2.7, but patch applied just in case for 2.6 :) Thanks for the report and patch, fixed with patched 2.6 and 2.7 working fine as-is |