Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 929935 - net-analyzer/monitoring-plugins-2.3.5 - [clang] configure: error: <wchar.h> cannot be used with this compiler (clang -O3 -pipe -march=native -fno-diagnostics-
Summary: net-analyzer/monitoring-plugins-2.3.5 - [clang] configure: error: <wchar.h> c...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Tomáš Mózes
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-13 17:45 UTC by Toralf Förster
Modified: 2024-06-30 23:09 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,18.92 KB, text/plain)
2024-04-13 17:45 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,165.26 KB, text/plain)
2024-04-13 17:45 UTC, Toralf Förster
Details
environment (environment,88.97 KB, text/plain)
2024-04-13 17:45 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.19 KB, application/x-xz)
2024-04-13 17:45 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,34.77 KB, application/x-xz)
2024-04-13 17:45 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,21.98 KB, application/x-xz)
2024-04-13 17:45 UTC, Toralf Förster
Details
net-analyzer:monitoring-plugins-2.3.5:20240413-171541.log (net-analyzer:monitoring-plugins-2.3.5:20240413-171541.log,17.42 KB, text/plain)
2024-04-13 17:45 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,43.03 KB, application/x-xz)
2024-04-13 17:45 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,279.09 KB, application/x-xz)
2024-04-13 17:45 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2024-04-13 17:45:32 UTC
checking for alloca... no
checking stack direction for C alloca... -1
checking whether the preprocessor supports include_next... yes
checking whether source code line length is unlimited... yes
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 -fno-strict-aliasing ).
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 following VMs are available for generation-2:
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 8bd92422bc397f667079d904b343696a541e0d24
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Apr 13 16:19:09 2024 +0000

    2024-04-13 16:19:08 UTC

emerge -qpvO net-analyzer/monitoring-plugins
[ebuild  N    ] net-analyzer/monitoring-plugins-2.3.5  USE="ipv6 postgres ssl -curl -dns -fping -game -gnutls -ldap -mysql -radius -samba -snmp -ssh"
Comment 1 Toralf Förster gentoo-dev 2024-04-13 17:45:33 UTC
Created attachment 890732 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-04-13 17:45:35 UTC
Created attachment 890733 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2024-04-13 17:45:37 UTC
Created attachment 890734 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-04-13 17:45:37 UTC
Created attachment 890735 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-04-13 17:45:40 UTC
Created attachment 890736 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-04-13 17:45:41 UTC
Created attachment 890737 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-04-13 17:45:42 UTC
Created attachment 890738 [details]
net-analyzer:monitoring-plugins-2.3.5:20240413-171541.log
Comment 8 Toralf Förster gentoo-dev 2024-04-13 17:45:43 UTC
Created attachment 890739 [details]
qlist-info.txt.xz
Comment 9 Toralf Förster gentoo-dev 2024-04-13 17:45:45 UTC
Created attachment 890740 [details]
temp.tar.xz
Comment 10 Michael Orlitzky gentoo-dev 2024-06-30 23:09:58 UTC
The real errors here are e.g.

ld.lld: error: /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../lib64/Scrt1.o is incompatible with elf32-i386
ld.lld: error: /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../lib64/crti.o is incompatible with elf32-i386
ld.lld: error: /usr/lib/llvm/18/bin/../../../../lib/clang/18/lib/linux/clang_rt.crtbegin-x86_64.o is incompatible with elf32-i386
ld.lld: error: conftest1.o is incompatible with elf32-i386
ld.lld: error: conftest2.o is incompatible with elf32-i386

There were many similar reports filed around this time for other packages -- something was messed up on the tinderbox.