checking wctype.h presence... yes checking for wctype.h... yes checking whether the preprocessor supports include_next... yes checking whether system header files limit the line length... no checking for C/C++ restrict keyword... __restrict checking whether <wchar.h> uses 'inline' correctly... no configure: error: <wchar.h> cannot be used with this compiler (clang -O3 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int ). This is a known interoperability problem of glibc <= 2.5 with gcc >= 4.3 in C99 mode. You have four options: ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 23.0_llvm-20240411-061503 ------------------------------------------------------------------- CC=clang CXX=clang++ gcc-config -l: [1] x86_64-pc-linux-gnu-13 * clang/llvm (if any): clang version 18.1.3+libcxx Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/18/bin Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg /usr/lib/llvm/18 18.1.3+libcxx Python 3.11.9 Available Ruby profiles: [1] ruby31 (with Rubygems) [2] ruby33 (with Rubygems) * Available Rust versions: [1] rust-bin-1.77.1 * The Glorious Glasgow Haskell Compilation System, version 9.0.2 php cli (if any): go version go1.22.2 linux/amd64 HEAD of ::gentoo commit 0218134f9a89b2a734b2c5f55f071034a40cfc46 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Fri Apr 12 19:49:09 2024 +0000 2024-04-12 19:49:09 UTC emerge -qpvO net-analyzer/nagios-plugins [ebuild N ] net-analyzer/nagios-plugins-2.4.6 USE="ipv6 nagios-dns postgres ssh ssl -ldap -mysql -nagios-game -nagios-ping -radius -samba (-selinux) -snmp"
Created attachment 890648 [details] emerge-info.txt
Created attachment 890649 [details] emerge-history.txt
Created attachment 890650 [details] environment
Created attachment 890651 [details] etc.clang.tar.xz
Created attachment 890652 [details] etc.portage.tar.xz
Created attachment 890653 [details] logs.tar.xz
Created attachment 890654 [details] net-analyzer:nagios-plugins-2.4.6:20240413-005119.log
Created attachment 890655 [details] qlist-info.txt
Created attachment 890656 [details] temp.tar.xz
I think something got messed up on the tinderbox. The error from config.log is, configure:22080: clang -c -O3 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int conftest.c >&5 configure:22083: $? = 0 ld.lld: error: /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../lib64/Scrt1.o is incompatible with elf32-i386 There are two similar reports in bug 929935 and bug 930010.
(In reply to Michael Orlitzky from comment #10) > I think something got messed up on the tinderbox. The error from config.log Ok, I stopped that image.