[Bug 914259] New: LLVM fails to compile with GCC 5

http://bugzilla.novell.com/show_bug.cgi?id=914259 Bug ID: 914259 Summary: LLVM fails to compile with GCC 5 Classification: openSUSE Product: openSUSE Factory Version: 201501* Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem Assignee: bnc-team-screening@forge.provo.novell.com Reporter: rguenther@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- [ 2392s] -- Check for working C compiler: /home/abuild/rpmbuild/BUILD/llvm/stage1/bin/clang -- broken [ 2392s] CMake Error at /usr/share/cmake/Modules/CMakeTestCCompiler.cmake:61 (message): [ 2392s] The C compiler "/home/abuild/rpmbuild/BUILD/llvm/stage1/bin/clang" is not [ 2392s] able to compile a simple test program. this is because LLVM doesn't seem to consider the GCC in /usr/lib64/gcc/x86_64-suse-linux/5/ as valid: abuild@murzim:/home/abuild/rpmbuild/BUILD/llvm/stage2> /home/abuild/rpmbuild/BUILD/llvm/stage1/bin/clang -v clang version 3.4 (branches/release_34 198681) Target: x86_64-suse-linux Thread model: posix Selected GCC installation: not sure what weird way of detecting GCC installs it uses. -- You are receiving this mail because: You are on the CC list for the bug.

http://bugzilla.novell.com/show_bug.cgi?id=914259 Richard Biener <rguenther@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|bnc-team-screening@forge.pr |idonmez@suse.com |ovo.novell.com | -- You are receiving this mail because: You are on the CC list for the bug.

http://bugzilla.novell.com/show_bug.cgi?id=914259 --- Comment #1 from Ismail Donmez <idonmez@suse.com> --- Is there a reason the version number is 5 but not 5.0? That seems to confuse clang. -- You are receiving this mail because: You are on the CC list for the bug.

http://bugzilla.novell.com/show_bug.cgi?id=914259 --- Comment #2 from Richard Biener <rguenther@suse.com> --- https://gcc.gnu.org/develop.html#num_scheme -- You are receiving this mail because: You are on the CC list for the bug.

http://bugzilla.novell.com/show_bug.cgi?id=914259 --- Comment #3 from Ismail Donmez <idonmez@suse.com> --- (In reply to Richard Biener from comment #2)
That really doesn't explain why its not 5.0.0 instead of just 5. However this is a valid clang bug and reported to upstream: http://llvm.org/bugs/show_bug.cgi?id=22295 Hopefully will be fixed rather soon. -- You are receiving this mail because: You are on the CC list for the bug.

http://bugzilla.novell.com/show_bug.cgi?id=914259 Ismail Donmez <idonmez@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |IN_PROGRESS -- You are receiving this mail because: You are on the CC list for the bug.

http://bugzilla.novell.com/show_bug.cgi?id=914259 --- Comment #4 from Richard Biener <rguenther@suse.com> --- (In reply to Ismail Donmez from comment #3)
(In reply to Richard Biener from comment #2)
That really doesn't explain why its not 5.0.0 instead of just 5.
That's a choice of openSUSE to keep the directory name the same for patch-level releases of a GCC version (previously it was for exmaple 4.8 and not 4.8.3). So we repeat this for GCC 5 and use '5' instead of '5.n' or '5.n.m'.
However this is a valid clang bug and reported to upstream: http://llvm.org/bugs/show_bug.cgi?id=22295
Hopefully will be fixed rather soon.
Thanks. -- You are receiving this mail because: You are on the CC list for the bug.

http://bugzilla.novell.com/show_bug.cgi?id=914259 http://bugzilla.novell.com/show_bug.cgi?id=914259#c5 Richard Biener <rguenther@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|IN_PROGRESS |RESOLVED Resolution|--- |FIXED --- Comment #5 from Richard Biener <rguenther@suse.com> --- Fixed I guess. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com