cannot be negative if (abs(div) > 0xffffffff) { ^~~ clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fno-delete-null-pointer-checks -DX86EMU -fPIC -c -o thunk.o thunk.c thunk.c:160:3: error: incompatible function pointer types initializing 'x86emuu32 (*)(X86EMU_pioAddr)' (aka 'unsigned int (*)(unsigned short)') with an expression of type 'unsigned long (*)(unsigned short)' ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_no_multilib-j4-20221108-023017 ------------------------------------------------------------------- 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 Rust versions: [1] rust-bin-1.64.0 * The following VMs are available for generation-2: *) Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17] Available Java Virtual Machines: [1] openjdk-bin-17 system-vm The Glorious Glasgow Haskell Compilation System, version 8.10.6 php cli (if any): GNU Make 4.4 HEAD of ::gentoo commit 9c04c03548eb33ec7940ae3519122d834e82a55b Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Tue Nov 8 14:16:57 2022 +0000 2022-11-08 14:16:56 UTC emerge -qpvO dev-libs/libx86 [ebuild N ] dev-libs/libx86-1.1-r5
Created attachment 829319 [details] emerge-info.txt
Created attachment 829321 [details] dev-libs:libx86-1.1-r5:20221108-145830.log
Created attachment 829323 [details] emerge-history.txt
Created attachment 829325 [details] environment
Created attachment 829327 [details] etc.portage.tar.bz2
Created attachment 829329 [details] temp.tar.bz2
*** Bug 919886 has been marked as a duplicate of this bug. ***
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1cf69245665c7122c72e7f0402749fd959f653f2 commit 1cf69245665c7122c72e7f0402749fd959f653f2 Author: Sam James <sam@gentoo.org> AuthorDate: 2024-03-13 02:20:55 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-03-13 04:02:09 +0000 dev-libs/libx86: fix modern C issue Closes: https://bugs.gentoo.org/880429 Signed-off-by: Sam James <sam@gentoo.org> dev-libs/libx86/files/libx86-1.1-c99.patch | 17 +++++++++++++ dev-libs/libx86/libx86-1.1-r6.ebuild | 40 ++++++++++++++++++++++++++++++ 2 files changed, 57 insertions(+)