* Package: sys-apps/memtest86-4.3.7-r3:0 * Repository: gentoo * Maintainer: base-system@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux serial * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking memtest86-4.3.7-src.tar.gz to /var/tmp/portage/sys-apps/memtest86-4.3.7-r3/work >>> Source unpacked in /var/tmp/portage/sys-apps/memtest86-4.3.7-r3/work >>> Preparing source in /var/tmp/portage/sys-apps/memtest86-4.3.7-r3/work/src ... * Applying memtest86-4.3.3-build-nopie.patch ... [ ok ] * Applying memtest86-4.3.7-io-extern-inline.patch ... patching file io.h Hunk #1 succeeded at 31 with fuzz 1. Hunk #2 succeeded at 43 with fuzz 1. Hunk #3 succeeded at 55 with fuzz 1. [ ok ] * Applying memtest86-4.3.7-reboot-def.patch ... patching file lib.c Hunk #1 succeeded at 32 with fuzz 2 (offset -1 lines). [ ok ] * Applying memtest86-4.3.7-no-clean.patch ... [ ok ] * Applying memtest86-4.3.7-binutils-2.41-textrels.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/sys-apps/memtest86-4.3.7-r3/work/src ... >>> Source configured. >>> Compiling source in /var/tmp/portage/sys-apps/memtest86-4.3.7-r3/work/src ... make -j4 x86_64-pc-linux-gnu-gcc -E -traditional head.S -o head.s x86_64-pc-linux-gnu-gcc -c -Wall -march=i486 -m32 -O1 -fomit-frame-pointer -fno-builtin -ffreestanding -fPIC -fno-stack-protector -fno-pie -fno-strict-aliasing reloc.c x86_64-pc-linux-gnu-gcc -Wall -march=i486 -m32 -O1 -fomit-frame-pointer -fno-builtin -ffreestanding -fPIC -fno-stack-protector -fno-pie -c -o main.o main.c x86_64-pc-linux-gnu-gcc -c -Wall -march=i486 -m32 -O1 -fomit-frame-pointer -fno-builtin -ffreestanding -fno-stack-protector -fno-pie -o test.o test.c test.c: In function ‘movinvr’: test.c:307:23: warning: unused variable ‘chunk’ [-Wunused-variable] 307 | ulong xorVal, chunk; | ^~~~~ test.c: In function ‘movinv1’: test.c:498:50: warning: unused variable ‘bad’ [-Wunused-variable] 498 | ulong *p, *pe, len, chunk, *start, *end, bad; | ^~~ test.c:498:29: warning: unused variable ‘chunk’ [-Wunused-variable] 498 | ulong *p, *pe, len, chunk, *start, *end, bad; | ^~~~~ test.c: In function ‘movinv32’: test.c:696:38: warning: unused variable ‘chunk’ [-Wunused-variable] 696 | ulong *p, *pe, *start, *end, chunk, pat = 0, p3; | ^~~~~ test.c: In function ‘modtst’: test.c:990:29: warning: unused variable ‘chunk’ [-Wunused-variable] 990 | ulong *start, *end, chunk; | ^~~~~ test.c: In function ‘block_move’: test.c:1180:29: warning: unused variable ‘chunk’ [-Wunused-variable] 1180 | ulong *start, *end, chunk; | ^~~~~ x86_64-pc-linux-gnu-gcc -Wall -march=i486 -m32 -O1 -fomit-frame-pointer -fno-builtin -ffreestanding -fPIC -fno-stack-protector -fno-pie -c -o init.o init.c x86_64-pc-linux-gnu-gcc -Wall -march=i486 -m32 -O1 -fomit-frame-pointer -fno-builtin -ffreestanding -fPIC -fno-stack-protector -fno-pie -c -o lib.o lib.c x86_64-pc-linux-gnu-gcc -Wall -march=i486 -m32 -O1 -fomit-frame-pointer -fno-builtin -ffreestanding -fPIC -fno-stack-protector -fno-pie -c -o patn.o patn.c x86_64-pc-linux-gnu-gcc -Wall -march=i486 -m32 -O1 -fomit-frame-pointer -fno-builtin -ffreestanding -fPIC -fno-stack-protector -fno-pie -c -o screen_buffer.o screen_buffer.c x86_64-pc-linux-gnu-gcc -Wall -march=i486 -m32 -O1 -fomit-frame-pointer -fno-builtin -ffreestanding -fPIC -fno-stack-protector -fno-pie -c -o config.o config.c x86_64-pc-linux-gnu-gcc -Wall -march=i486 -m32 -O1 -fomit-frame-pointer -fno-builtin -ffreestanding -fPIC -fno-stack-protector -fno-pie -c -o memsize.o memsize.c x86_64-pc-linux-gnu-gcc -Wall -march=i486 -m32 -O1 -fomit-frame-pointer -fno-builtin -ffreestanding -fPIC -fno-stack-protector -fno-pie -c -o error.o error.c memsize.c:94:13: warning: ‘memsize_linuxbios’ defined but not used [-Wunused-function] 94 | static void memsize_linuxbios(void) | ^~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -Wall -march=i486 -m32 -O1 -fomit-frame-pointer -fno-builtin -ffreestanding -fPIC -fno-stack-protector -fno-pie -c -o smp.o smp.c smp.c: In function ‘smp_find_cpus’: smp.c:661:11: warning: passing argument 1 of ‘memset’ discards ‘volatile’ qualifier from pointer target type [-Wdiscarded-array-qualifiers] 661 | memset(&AP, 0, sizeof AP); | ^~~ smp.c:164:15: note: expected ‘void *’ but argument is of type ‘volatile ap_info_t (*)[32]’ 164 | memset (void *dst, | ~~~~~~^~~ smp.c:728:21: error: assignment to ‘unsigned int *’ from ‘unsigned int’ makes pointer from integer without a cast [-Wint-conversion] 728 | ptr = *(unsigned int *)tab_ptr; | ^ smp.c:745:41: error: passing argument 1 of ‘scan_for_floating_ptr_struct’ makes pointer from integer without a cast [-Wint-conversion] 745 | fp = scan_for_floating_ptr_struct(639*0x400, 0x400); | ^~~~~~~~~ | | | int smp.c:376:44: note: expected ‘unsigned int *’ but argument is of type ‘int’ 376 | scan_for_floating_ptr_struct(unsigned int *addr, uint32_t length) | ~~~~~~~~~~~~~~^~~~ smp.c:748:44: error: passing argument 1 of ‘scan_for_floating_ptr_struct’ makes pointer from integer without a cast [-Wint-conversion] 748 | fp = scan_for_floating_ptr_struct(0xf0000, 0x10000); | ^~~~~~~ | | | int smp.c:376:44: note: expected ‘unsigned int *’ but argument is of type ‘int’ 376 | scan_for_floating_ptr_struct(unsigned int *addr, uint32_t length) | ~~~~~~~~~~~~~~^~~~ smp.c:755:51: error: passing argument 1 of ‘scan_for_floating_ptr_struct’ makes pointer from integer without a cast [-Wint-conversion] 755 | fp = scan_for_floating_ptr_struct(address, 0x400); | ^~~~~~~ | | | unsigned int smp.c:376:44: note: expected ‘unsigned int *’ but argument is of type ‘unsigned int’ 376 | scan_for_floating_ptr_struct(unsigned int *addr, uint32_t length) | ~~~~~~~~~~~~~~^~~~ smp.c:767:30: error: assignment to ‘volatile uint32_t (*)[4]’ {aka ‘unsigned int (*)[4]’} from ‘unsigned int’ makes pointer from integer without a cast [-Wint-conversion] 767 | APIC = 0xfee00000; | ^ make: *** [: smp.o] Error 1 make: *** Waiting for unfinished jobs.... * ERROR: sys-apps/memtest86-4.3.7-r3::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=sys-apps/memtest86-4.3.7-r3::gentoo'`, * the complete build log and the output of `emerge -pqv '=sys-apps/memtest86-4.3.7-r3::gentoo'`. * The complete build log is located at '/var/log/portage/sys-apps:memtest86-4.3.7-r3:20231216-010909.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-apps/memtest86-4.3.7-r3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-apps/memtest86-4.3.7-r3/temp/environment'. * Working directory: '/var/tmp/portage/sys-apps/memtest86-4.3.7-r3/work/src' * S: '/var/tmp/portage/sys-apps/memtest86-4.3.7-r3/work/src'