too long lines were shrinked: CC smatch_untracked_param.o clang -fno-strict-aliasing -Wall -Wwrite-strings -Wno-switch -Wno-psabi -DGCC_BASE=\"/usr/lib/llvm/15/bin/../../../../lib/clang/15.0.4/\" -DMULTIARCH_TRIPLET=\"x86_64-linux-gnu\" -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=impl CC check_scheduling_in_atomic.o clang -fno-strict-aliasing -Wall -Wwrite-strings -Wno-switch -Wno-psabi -DGCC_BASE=\"/usr/lib/llvm/15/bin/../../../../lib/clang/15.0.4/\" -DMULTIARCH_TRIPLET=\"x86_64-linux-gnu\" -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=impl smatch_untracked_param.c:266:45: error: incompatible function pointer types passing 'void (*)(struct expression *, int, const char *, const char *)' to parameter of type 'return_implies_hook *' (aka 'void (*)(struct ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_hardened-j4-20221111-181859 ------------------------------------------------------------------- GNUMAKEFLAGS="$GNUMAKEFLAGS --jobserver-style=pipe" GNUMAKEFLAGS="$GNUMAKEFLAGS --shuffle" CC=clang CXX=clang++ gcc-config -l: [1] x86_64-pc-linux-gnu-12 * clang/llvm (if any): clang version 15.0.4 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/15/bin Configuration file: /etc/clang/clang.cfg /usr/lib/llvm/15 15.0.4 Python 3.10.8 Available Ruby profiles: (none found) Available Rust versions: [1] rust-bin-1.65.0 * The following VMs are available for generation-2: *) Eclipse Temurin JDK 17.0.5_p8 [openjdk-bin-17] Available Java Virtual Machines: [1] openjdk-bin-17 system-vm The Glorious Glasgow Haskell Compilation System, version 9.0.2 php cli (if any): HEAD of ::gentoo commit 8bc3a9c31bcaf1e95c8d04231704a37e48c6d1d6 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Sat Nov 12 05:31:50 2022 +0000 2022-11-12 05:31:49 UTC emerge -qpvO sys-devel/smatch [ebuild N ] sys-devel/smatch-1.72
Created attachment 831851 [details] emerge-info.txt
Created attachment 831853 [details] emerge-history.txt
Created attachment 831855 [details] environment
Created attachment 831857 [details] etc.clang.tar.bz2
Created attachment 831859 [details] etc.portage.tar.bz2
Created attachment 831861 [details] sys-devel:smatch-1.72:20221112-062628.log
Created attachment 831863 [details] temp.tar.bz2
fixed upstream in https://repo.or.cz/smatch.git/commit/223d2a8d0391a655e853f5deba1f06c75196bdf2
But needs modifications for backporting.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=183d0c261597f9bb247f19174f224bd307edc71c commit 183d0c261597f9bb247f19174f224bd307edc71c Author: NHOrus <jy6x2b32pie9@yahoo.com> AuthorDate: 2025-01-30 14:47:08 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2025-02-10 08:51:46 +0000 sys-devel/smatch: update EAPI 7 -> 8, fix build failures with C23 Non-deterministic build, usage of unreachable() with completely different meaning than C23 intends, incompatible function pointer types. Add cgcc wrapper for "build and check project" process documented in sparse.rst, replace sparse readme with smatch.rst readme Closes: https://bugs.gentoo.org/944322 Closes: https://bugs.gentoo.org/881087 Closes: https://bugs.gentoo.org/882047 Signed-off-by: NHOrus <jy6x2b32pie9@yahoo.com> Signed-off-by: Sam James <sam@gentoo.org> sys-devel/smatch/files/smatch-1.72-C23.patch | 20 ++++++++ .../files/smatch-1.72-function-prototype.patch | 54 ++++++++++++++++++++++ sys-devel/smatch/files/smatch-1.72-make-deps.patch | 14 ++++++ .../{smatch-1.72.ebuild => smatch-1.72-r1.ebuild} | 19 +++++--- 4 files changed, 100 insertions(+), 7 deletions(-)