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(+)
Is this still happening with recent gdb?
(In reply to Andreas K. Hüttel from comment #10) > Is this still happening with recent gdb? nope
ftr this is still broken upstream but just with USE=sim, and I added a USE which is default-off, so it affects less people now (not rechecked with 13 but i've no reason to believe it's fixed yet)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6da14c98d133e6bf72d8a90b08ad798ca29e4ff3 commit 6da14c98d133e6bf72d8a90b08ad798ca29e4ff3 Author: Gabi Falk <gabifalk@gmx.com> AuthorDate: 2024-05-17 19:30:00 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-05-22 19:19:31 +0000 dev-debug/gdb: fix modern C issues Closes: https://bugs.gentoo.org/871543 Closes: https://bugs.gentoo.org/919121 Signed-off-by: Gabi Falk <gabifalk@gmx.com> Closes: https://github.com/gentoo/gentoo/pull/36726 Signed-off-by: Sam James <sam@gentoo.org> dev-debug/gdb/files/gdb-14.2-sim-modern-c99.patch | 765 ++++++++++++++++++++++ dev-debug/gdb/gdb-14.2-r1.ebuild | 323 +++++++++ 2 files changed, 1088 insertions(+)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=934f183c883f53198769ac427f2d3880c80aa0b5 commit 934f183c883f53198769ac427f2d3880c80aa0b5 Author: Andreas K. Hüttel <dilfridge@gentoo.org> AuthorDate: 2024-10-27 18:18:08 +0000 Commit: Andreas K. Hüttel <dilfridge@gentoo.org> CommitDate: 2024-10-27 18:18:53 +0000 dev-debug/gdb: drop 14.2 Bug: https://bugs.gentoo.org/871543 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org> dev-debug/gdb/gdb-14.2.ebuild | 322 ------------------------------------------ 1 file changed, 322 deletions(-)