llvm-toolchain-17 builds fail to build with gcc-16

Previous logs from resolute rebuild with gcc-16:
armhf  
https://launchpadlibrarian.net/855604998/buildlog_ubuntu-resolute-armhf.llvm-toolchain-17_1%3A17.0.6-23ubuntu7_BUILDING.txt.gz
arm64 
https://launchpadlibrarian.net/856602601/buildlog_ubuntu-resolute-arm64.llvm-toolchain-17_1%3A17.0.6-23ubuntu7_BUILDING.txt.gz
ppc64el 
https://launchpadlibrarian.net/856426326/buildlog_ubuntu-resolute-ppc64el.llvm-toolchain-17_1%3A17.0.6-23ubuntu7_BUILDING.txt.gz
s390x 
https://launchpadlibrarian.net/857070437/buildlog_ubuntu-resolute-s390x.llvm-toolchain-17_1%3A17.0.6-23ubuntu7_BUILDING.txt.gz
i386 
https://launchpadlibrarian.net/855480801/buildlog_ubuntu-resolute-i386.llvm-toolchain-17_1%3A17.0.6-23ubuntu7_BUILDING.txt.gz
amd64 
https://launchpadlibrarian.net/855478484/buildlog_ubuntu-resolute-amd64.llvm-toolchain-17_1%3A17.0.6-23ubuntu7_BUILDING.txt.gz
amd64v3 
https://launchpadlibrarian.net/855478486/buildlog_ubuntu-resolute-amd64v3.llvm-toolchain-17_1%3A17.0.6-23ubuntu7_BUILDING.txt.gz

Two issues with llvm-toolchain-17 (and BTW same FTBFS for llvm-toolchain-18):
  Issue one:
/<<PKGBUILDDIR>>/compiler-rt/lib/fuzzer/FuzzerCrossOver.cpp
In file included from 
/<<PKGBUILDDIR>>/compiler-rt/lib/fuzzer/FuzzerCrossOver.cpp:11:
In file included from /<<PKGBUILDDIR>>/compiler-rt/lib/fuzzer/FuzzerDefs.h:18:
In file included from 
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/memory:71:
In file included from 
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_uninitialized.h:63:
In file included from 
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_algobase.h:66:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_iterator.h:1337:19:
 error: member access into incomplete type 'const __normal_iterator<const 
basic_string<char> *, vector<basic_string<char>>>'
 1337 |         -> decltype(__lhs.base() - __rhs.base())
      |                          ^
/<<PKGBUILDDIR>>/compiler-rt/lib/fuzzer/FuzzerCommand.h:55:14: note: in 
instantiation of template class '__gnu_cxx::__normal_iterator<const 
std::basic_string<char> *, std::vector<std::basic_string<char>>>' requested here
   55 |     auto i = endMutableArgs();
      |              ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_iterator.h:1026:11:
 note: definition of '__gnu_cxx::__normal_iterator<const 
std::basic_string<char> *, std::vector<std::basic_string<char>>>' is not 
complete until the closing '}'
 1026 |     class __normal_iterator
      |           ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_iterator.h:1337:19:
 error: member access into incomplete type 'const 
__normal_iterator<basic_string<char> *, vector<basic_string<char>>>'
 1337 |         -> decltype(__lhs.base() - __rhs.base())
      |                          ^                       ^
(Not sure yet if which clang release fixed this)

Issue Two:

In file included from /<<PKGBUILDDIR>>/compiler-rt/lib/fuzzer/FuzzerRandom.h:14:
In file included from 
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/random:55:
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/random.tcc:3624:36:
 error: use of undeclared identifier '__builtin_clzg'
 3624 |         = sizeof(_UIntR) * __CHAR_BIT__ - __builtin_clzg(__R) - 1;
      |  
 (Looks like the fix/support was added in clang-19 
https://github.com/llvm/llvm-project/pull/83431)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2173693

Title:
  Remove llvm-toolchain-17 from tenacious

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/llvm-toolchain-17/+bug/2173693/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to