* Package: dev-libs/libx86-1.1-r5:0 * Repository: gentoo * Maintainer: pinkbyte@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking libx86-1.1.tar.gz to /var/tmp/portage/dev-libs/libx86-1.1-r5/work >>> Source unpacked in /var/tmp/portage/dev-libs/libx86-1.1-r5/work >>> Preparing source in /var/tmp/portage/dev-libs/libx86-1.1-r5/work/libx86-1.1 ... * Applying libx86-0.99-ifmask.patch ... [ ok ] * Applying libx86-1.1-makefile.patch ... [ ok ] * Applying libx86-1.1-x86emu.patch ... [ ok ] >>> Source prepared. * Clang 16 testing: this build is using a /etc/portage/bashrc hook! >>> Configuring source in /var/tmp/portage/dev-libs/libx86-1.1-r5/work/libx86-1.1 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-libs/libx86-1.1-r5/work/libx86-1.1 ... make -j4 BACKEND=x86emu LIBRARY=shared shared clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fno-delete-null-pointer-checks -DX86EMU -fPIC -c -o x86emu/debug.o x86emu/debug.c clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fno-delete-null-pointer-checks -DX86EMU -fPIC -c -o x86emu/ops2.o x86emu/ops2.c clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fno-delete-null-pointer-checks -DX86EMU -fPIC -c -o x86emu/decode.o x86emu/decode.c clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fno-delete-null-pointer-checks -DX86EMU -fPIC -c -o x86emu/ops.o x86emu/ops.c clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fno-delete-null-pointer-checks -DX86EMU -fPIC -c -o x86emu/prim_ops.o x86emu/prim_ops.c clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fno-delete-null-pointer-checks -DX86EMU -fPIC -c -o x86emu/fpu.o x86emu/fpu.c x86emu/prim_ops.c:2284:6: warning: absolute value function 'abs' given an argument of type 'x86emus64' (aka 'long long') but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] if (abs(div) > 0x7fffffff) { ^ x86emu/prim_ops.c:2284:6: note: use function 'llabs' instead if (abs(div) > 0x7fffffff) { ^~~ llabs x86emu/prim_ops.c:2357:6: warning: taking the absolute value of unsigned type 'x86emuu32' (aka 'unsigned int') has no effect [-Wabsolute-value] if (abs(div) > 0xff) { ^ x86emu/prim_ops.c:2357:6: note: remove the call to 'abs' since unsigned values cannot be negative if (abs(div) > 0xff) { ^~~ x86emu/prim_ops.c:2380:6: warning: taking the absolute value of unsigned type 'x86emuu32' (aka 'unsigned int') has no effect [-Wabsolute-value] if (abs(div) > 0xffff) { ^ x86emu/prim_ops.c:2380:6: note: remove the call to 'abs' since unsigned values cannot be negative if (abs(div) > 0xffff) { ^~~ x86emu/prim_ops.c:2409:6: warning: taking the absolute value of unsigned type 'x86emuu64' (aka 'unsigned long long') has no effect [-Wabsolute-value] if (abs(div) > 0xffffffff) { ^ x86emu/prim_ops.c:2409:6: note: remove the call to 'abs' since unsigned values 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)' [-Werror,-Wincompatible-function-pointer-types] (&x_inl), ^~~~~~~~ thunk.c:163:3: error: incompatible function pointer types initializing 'void (*)(X86EMU_pioAddr, x86emuu32)' (aka 'void (*)(unsigned short, unsigned int)') with an expression of type 'void (*)(unsigned short, unsigned long)' [-Werror,-Wincompatible-function-pointer-types] (&x_outl) ^~~~~~~~~ thunk.c:178:11: warning: cast to smaller integer type 'unsigned int' from 'void *' [-Wvoid-pointer-to-int-cast] X86_SS = (unsigned int) stack >> 4; ^~~~~~~~~~~~~~~~~~~~ thunk.c:182:2: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] *((char *)0) = 0x4f; /* Make sure that we end up jumping back to a ^~~~~~~~~~~~ thunk.c:182:2: note: consider using __builtin_trap() or qualifying pointer with 'volatile' thunk.c:210:19: warning: cast to smaller integer type 'unsigned int' from 'void *' [-Wvoid-pointer-to-int-cast] X86_SS = (unsigned int) stack >> 4; ^~~~~~~~~~~~~~~~~~~~ 3 warnings and 2 errors generated. make: *** [: thunk.o] Error 1 shuffle=4191437685 make: *** Waiting for unfinished jobs.... 4 warnings generated. * ERROR: dev-libs/libx86-1.1-r5::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=dev-libs/libx86-1.1-r5::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-libs/libx86-1.1-r5::gentoo'`. * The complete build log is located at '/var/log/portage/dev-libs:libx86-1.1-r5:20221108-145830.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-libs/libx86-1.1-r5/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-libs/libx86-1.1-r5/temp/environment'. * Working directory: '/var/tmp/portage/dev-libs/libx86-1.1-r5/work/libx86-1.1' * S: '/var/tmp/portage/dev-libs/libx86-1.1-r5/work/libx86-1.1'