too long lines were shrinked: drawbar.c:2272:33: warning: ignoring return value of read declared with attribute warn_unused_result [-Wunused-result] 2272 | read(fdinotify, eventbuf, sizeof eventbuf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Werror=lto-type-mismatch -Werror=strict-aliasing -Werror=odr -flto -I. -Wall -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wno-stringop-truncation -Wmissing-prototypes -Wmissing-declarations -Wformat-security -c -o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Werror=lto-type-mismatch -Werror=strict-aliasing -Werror=odr -flto -I. -Wall -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wno-stringop-truncation -Wmissing-prototypes -Wmissing-declarations -Wformat-security -c -o showprocs.c: In function showprocline: showprocs.c:500:38: error: too many arguments to function curelem.pf->doactiveconvert 500 | printg("%s", curelem.pf->doactiveconvert(curstat, | ^~~~~~~ ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 23.0_hardened-20241124-123002 UNMASKED: <sys-devel/gcc-15.0.9999:15 Please re-assign to ztrawhcse@ if you cannot reproduced it with regular meson. <dev-build/meson-9999 Issues involving opaque types / incomplete typedefs should block bug 930805 >=sys-libs/ncurses-6.5 The attached etc.portage.tar.xz has all details. ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-10 [2] x86_64-pc-linux-gnu-15 * clang version 19.1.4 llvm-config: 19.1.4 Python 3.12.7 go version go1.23.3 linux/amd64 Available Ruby profiles: [1] ruby32 (with Rubygems) * Available Rust versions: [1] rust-bin-1.81.0 [2] rust-bin-1.82.0 [3] rust-1.82.0 * The following VMs are available for generation-2: 1) Eclipse Temurin JDK 11.0.25_p9 [openjdk-bin-11] 2) Eclipse Temurin JDK 17.0.13_p11 [openjdk-bin-17] *) Eclipse Temurin JDK 21.0.5_p11 [openjdk-bin-21] 4) Eclipse Temurin JDK 8.432_p06 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 [2] openjdk-bin-11 [3] openjdk-bin-17 [4] openjdk-bin-21 system-vm HEAD of ::gentoo commit e61b8ccac261557b581d25135f2634c80815dcbb Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Thu Nov 28 12:50:30 2024 +0000 2024-11-28 12:50:29 UTC emerge -qpvO =sys-process/atop-2.11.0 [ebuild N ] sys-process/atop-2.11.0 USE="strip -dist-kernel -modules -modules-compress -modules-sign"
Created attachment 912418 [details] emerge-info.txt
Created attachment 912419 [details] emerge-history.txt
Created attachment 912420 [details] environment
Created attachment 912421 [details] etc.clang.tar.xz
Created attachment 912422 [details] etc.portage.tar.xz
Created attachment 912423 [details] qlist-info.txt.xz
Created attachment 912424 [details] sys-process:atop-2.11.0:20241128-134427.log
Created attachment 912425 [details] temp.tar.xz
reported upstream https://github.com/Atoptool/atop/issues/322
(In reply to NHO from comment #9) > reported upstream > https://github.com/Atoptool/atop/issues/322 Please include some context for upstreams, e.g. "GCC 15 will default to -std=gnu23. C23 removes unprotoyped functions, so x() now means x(void)."
Investigated what's happening. Unprototyped function is used in hardcore C polymorphism with about four different function signatures stuffed in that poor struct. I do not feel capable of re-engineering that. Will leave as a homework for upstream. -std=c17 it is, for now
It uses GNU extensions, -std=gnu17 it is.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6589db140a41f67f8f1fefe3ef0e96090afbd5dd commit 6589db140a41f67f8f1fefe3ef0e96090afbd5dd Author: NHOrus <jy6x2b32pie9@yahoo.com> AuthorDate: 2025-02-16 11:30:20 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2025-02-16 12:04:17 +0000 sys-process/atop: Restrict C version to gnu17 Heavily uses C polymorphism that GCC-15 disallows. Best if fixed upstream Bug: https://bugs.gentoo.org/945250 Signed-off-by: NHOrus <jy6x2b32pie9@yahoo.com> Signed-off-by: Sam James <sam@gentoo.org> sys-process/atop/atop-2.11.0-r1.ebuild | 118 +++++++++++++++++++++++++++++++++ 1 file changed, 118 insertions(+)