[Bug 1121591] New: GCC 9: llvm[67] build fails
http://bugzilla.opensuse.org/show_bug.cgi?id=1121591 Bug ID: 1121591 Summary: GCC 9: llvm[67] build fails Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem Assignee: bnc-team-screening@forge.provo.novell.com Reporter: martin.liska@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- https://build.opensuse.org/package/live_build_log/openSUSE:Factory:Staging:G... [ 2885s] /usr/lib64/gcc/x86_64-suse-linux/9/../../../../include/c++/9/ext/new_allocator.h:146:8: error: call to deleted constructor of 'llvm::SDUse' [ 2885s] _Up(std::forward<_Args>(__args)...))) [ 2885s] ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 2885s] /usr/lib64/gcc/x86_64-suse-linux/9/../../../../include/c++/9/bits/alloc_traits.h:483:24: note: in instantiation of exception specification for 'construct<llvm::SDUse, llvm::SDUse>' requested here [ 2885s] noexcept(noexcept(__a.construct(__p, std::forward<_Args>(__args)...))) [ 2885s] ^ [ 2885s] /usr/lib64/gcc/x86_64-suse-linux/9/../../../../include/c++/9/bits/stl_uninitialized.h:886:23: note: in instantiation of exception specification for 'construct<llvm::SDUse, llvm::SDUse>' requested here [ 2885s] noexcept(noexcept(std::allocator_traits<_Allocator>::construct(__alloc, [ 2885s] ^ [ 2885s] /usr/lib64/gcc/x86_64-suse-linux/9/../../../../include/c++/9/bits/stl_uninitialized.h:917:23: note: in instantiation of exception specification for '__relocate_object_a<llvm::SDUse, llvm::SDUse, std::allocator<llvm::SDUse> >' requested here [ 2885s] noexcept(noexcept(std::__relocate_object_a(std::addressof(*__result), [ 2885s] ^ [ 2885s] /usr/lib64/gcc/x86_64-suse-linux/9/../../../../include/c++/9/bits/stl_uninitialized.h:938:23: note: in instantiation of exception specification for '__relocate_a_1<llvm::SDUse *, llvm::SDUse *, std::allocator<llvm::SDUse> >' requested here [ 2885s] noexcept(noexcept(__relocate_a_1(std::__niter_base(__first), [ 2885s] ^ [ 2885s] /usr/lib64/gcc/x86_64-suse-linux/9/../../../../include/c++/9/bits/stl_vector.h:428:11: note: in instantiation of exception specification for '__relocate_a<llvm::SDUse *, llvm::SDUse *, std::allocator<llvm::SDUse> >' requested here [ 2885s] noexcept(std::__relocate_a(std::declval<pointer>(), [ 2885s] ^ [ 2885s] ../include/llvm/CodeGen/SelectionDAGNodes.h:843:40: note: in instantiation of template class 'std::vector<llvm::SDUse, std::allocator<llvm::SDUse> >' requested here [ 2885s] ArrayRef<SDUse> ops() const { return makeArrayRef(op_begin(), op_end()); } [ 2885s] ^ [ 2885s] ../include/llvm/CodeGen/SelectionDAGNodes.h:268:3: note: 'SDUse' has been explicitly marked deleted here [ 2885s] SDUse(const SDUse &U) = delete; -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1121591 Martin Liška <martin.liska@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |1120754 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1121591 Martin Liška <martin.liska@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=88840 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1121591 http://bugzilla.opensuse.org/show_bug.cgi?id=1121591#c2 --- Comment #2 from Martin Liška <martin.liska@suse.com> --- There's another error: https://build.opensuse.org/package/live_build_log/openSUSE:Factory:Staging:G... can you Michal please take a look? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1121591 http://bugzilla.opensuse.org/show_bug.cgi?id=1121591#c3 --- Comment #3 from Michal Srb <msrb@suse.com> --- (In reply to Martin Liška from comment #2)
There's another error: https://build.opensuse.org/package/live_build_log/openSUSE:Factory:Staging: Gcc7/llvm7/standard/x86_64
It is the same thing as I described in my previous comment. It is complaining about compiler not supporting '-fuse-ld=gold', but that is misdetection. It tries to compile a test file and that fails because of: error: cannot open /usr/lib64/gcc/x86_64-suse-linux/9/libstdc++.so: No such file or directory The /usr/lib64/gcc/x86_64-suse-linux/9/libstdc++.so exists and it is a symbolic link to ../../../libstdc++.so.6, but /usr/lib64/libstdc++.so.6 does not exist. It would be in package libstdc++6, which is not installed, even that it is required by libstdc++6-devel-gcc9, which is installed. So build service for some reason does not honor the dependency of libstdc++6-devel-gcc9. I don't know why, maybe some overwrite by project settings? I don't think this can (or should) be fixed from the llvm package. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1121591 http://bugzilla.opensuse.org/show_bug.cgi?id=1121591#c5 Martin Liška <martin.liska@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|GCC 9: llvm[67] build fails |GCC 9: llvm6 build fails --- Comment #5 from Martin Liška <martin.liska@suse.com> --- Ok, so now llvm7 is fine and llvm6 is broken only on x86_64: https://build.opensuse.org/package/show/openSUSE:Factory:Staging:Gcc7/llvm6 Can you please take a look? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1121591 http://bugzilla.opensuse.org/show_bug.cgi?id=1121591#c6 Martin Liška <martin.liska@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|GCC 9: llvm6 build fails |GCC 9: llvm[67] build fails --- Comment #6 from Martin Liška <martin.liska@suse.com> --- Hm, after recent update, there are 2 new failures for both llvm6 and llvm7: https://build.opensuse.org/package/live_build_log/openSUSE:Factory:Staging:G... -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1121591 http://bugzilla.opensuse.org/show_bug.cgi?id=1121591#c7 --- Comment #7 from Martin Liška <martin.liska@suse.com> --- (In reply to Martin Liška from comment #6)
Hm, after recent update, there are 2 new failures for both llvm6 and llvm7: https://build.opensuse.org/package/live_build_log/openSUSE:Factory:Staging: Gcc7/llvm7/standard/x86_64
Sorry for noise, it will be probably: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89416 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1121591 Martin Liška <martin.liska@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|GCC 9: llvm[67] build fails |GCC 9: llvm6 build fails -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1121591 http://bugzilla.opensuse.org/show_bug.cgi?id=1121591#c8 --- Comment #8 from Martin Liška <martin.liska@suse.com> --- Current failure is: [ 5064s] In file included from ../projects/compiler-rt/lib/fuzzer/FuzzerCrossOver.cpp:12: [ 5064s] In file included from ../projects/compiler-rt/lib/fuzzer/FuzzerDefs.h:19: [ 5064s] In file included from /usr/lib64/gcc/x86_64-suse-linux/9/../../../../include/c++/9/string:55: [ 5064s] In file included from /usr/lib64/gcc/x86_64-suse-linux/9/../../../../include/c++/9/bits/basic_string.h:40: [ 5064s] In file included from /usr/lib64/gcc/x86_64-suse-linux/9/../../../../include/c++/9/ext/alloc_traits.h:36: [ 5064s] /usr/lib64/gcc/x86_64-suse-linux/9/../../../../include/c++/9/bits/alloc_traits.h:598:29: error: '_M_select' is a private member of 'std::__is_alloc_insertable_impl' [ 5064s] using move = decltype(_M_select<_Alloc, _Tp>(0)); [ 5064s] ^~~~~~~~~~~~~~~~~~~~~~ [ 5064s] /usr/lib64/gcc/x86_64-suse-linux/9/../../../../include/c++/9/bits/alloc_traits.h:616:44: note: in instantiation of template type alias 'move' requested here [ 5064s] : __is_alloc_insertable_impl::template move<_Alloc> [ 5064s] ^ [ 5064s] /usr/lib64/gcc/x86_64-suse-linux/9/../../../../include/c++/9/bits/stl_vector.h:446:29: note: in instantiation of template class 'std::__is_move_insertable<fuzzer::fuzzer_allocator<std::__cxx11::basic_string<char>
' requested here [ 5064s] return _S_nothrow_relocate(__is_move_insertable<_Tp_alloc_type>{}); [ 5064s] ^ [ 5064s] /usr/lib64/gcc/x86_64-suse-linux/9/../../../../include/c++/9/bits/vector.tcc:459:29: note: in instantiation of member function 'std::vector<std::__cxx11::basic_string<char>, fuzzer::fuzzer_allocator<std::__cxx11::basic_string<char> > >::_S_use_relocate' requested here [ 5064s] if _GLIBCXX17_CONSTEXPR (_S_use_relocate()) [ 5064s] ^ [ 5064s] /usr/lib64/gcc/x86_64-suse-linux/9/../../../../include/c++/9/bits/vector.tcc:161:2: note: in instantiation of function template specialization 'std::vector<std::__cxx11::basic_string<char>, fuzzer::fuzzer_allocator<std::__cxx11::basic_string<char> > ::_M_realloc_insert<const std::__cxx11::basic_string<char> &>' requested here [ 5064s] _M_realloc_insert(begin() + (__position - cbegin()), __x); [ 5064s] ^ [ 5064s] ../projects/compiler-rt/lib/fuzzer/FuzzerCommand.h:68:10: note: in instantiation of member function 'std::vector<std::__cxx11::basic_string<char>, fuzzer::fuzzer_allocator<std::__cxx11::basic_string<char> > >::insert' requested here [ 5064s] Args.insert(endMutableArgs(), Arg); [ 5064s] ^ [ 5064s] /usr/lib64/gcc/x86_64-suse-linux/9/../../../../include/c++/9/bits/alloc_traits.h:587:7: note: implicitly declared private here [ 5064s] _M_select(int); [ 5064s] ^ [ 5064s] 1 error generated.
-- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1121591 http://bugzilla.opensuse.org/show_bug.cgi?id=1121591#c9 Martin Liška <martin.liska@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|IN_PROGRESS |RESOLVED Resolution|--- |FIXED --- Comment #9 from Martin Liška <martin.liska@suse.com> --- All is green now, thus closing. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com