too long lines were shrinked: 2 warnings generated. make[4]: Leaving directory '/var/tmp/portage/sys-devel/gdb-12.1-r2/work/gdb-12.1/sim/lm32' make[4]: Entering directory '/var/tmp/portage/sys-devel/gdb-12.1-r2/work/gdb-12.1/sim/lm32' source='dv-lm32cpu.c' object='dv-lm32cpu.o' libtool=no DEPDIR=.deps depmode=none /bin/sh /var/tmp/portage/sys-devel/gdb-12.1-r2/work/gdb-12.1/sim/lm32/../../depcomp clang -DHAVE_CONFIG_H -DWITH_HW=1 -DHAVE_DV_SOCKSER -DDEFAULT_INLINE=0 -Wall -Wdeclaration-after-statement -Wpointer-arith -Wno-unuse dv-lm32cpu.c:154:8: error: call to undeclared function 'lm32bf_h_csr_get'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] im = lm32bf_h_csr_get (cpu, LM32_CSR_IM); ^ ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop_plasma_systemd-j4-20220917-010004 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-12.2.0 * clang/llvm (if any): clang version 15.0.0 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/15/bin /usr/lib/llvm/15 15.0.0 Python 3.10.7 Available Ruby profiles: (none found) Available Rust versions: [1] rust-bin-1.63.0 * The Glorious Glasgow Haskell Compilation System, version 9.0.2 php cli (if any): [1] php7.4 [2] php8.0 [3] php8.1 * GNU Make 4.3.90 HEAD of ::gentoo commit 9867c155d4e764b21e32ae4f4ef4ec473d18dddf Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Sun Sep 18 17:16:48 2022 +0000 2022-09-18 17:16:47 UTC emerge -qpvO sys-devel/gdb [ebuild N ] sys-devel/gdb-12.1-r2 USE="multitarget nls python xml (-cet) -guile -lzma -server -source-highlight -test -vanilla -xxhash" PYTHON_SINGLE_TARGET="python3_10 -python3_8 -python3_9 -python3_11"
Created attachment 812266 [details] emerge-info.txt
Created attachment 812269 [details] clang.tar.bz2
Created attachment 812272 [details] emerge-history.txt
Created attachment 812275 [details] environment
Created attachment 812278 [details] etc.portage.tar.bz2
Created attachment 812281 [details] logs.tar.bz2
Created attachment 812284 [details] sys-devel:gdb-12.1-r2:20220918-181815.log.bz2
Created attachment 812287 [details] temp.tar.bz2
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6744186d10bceadab7c2a4f5bc5c616d655877f7 commit 6744186d10bceadab7c2a4f5bc5c616d655877f7 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-12-03 05:01:15 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-12-03 06:06:06 +0000 sys-devel/gdb: fix configure w/ clang 16 Doesn't fix the other build problems yet, but given that implicit. func. decls can affect all compilers... Bug: https://bugs.gentoo.org/871543 Signed-off-by: Sam James <sam@gentoo.org> .../gdb/files/gdb-12.1-configure-clang16.patch | 112 ++++++++ sys-devel/gdb/gdb-12.1-r3.ebuild | 295 +++++++++++++++++++++ 2 files changed, 407 insertions(+)