* 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 * 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 ] >>> 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 -j5 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 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 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; | ^~~~~ 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 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 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 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 error.o error.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 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: warning: 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: warning: 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: warning: 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: warning: 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: warning: 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; | ^ 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 cpuid.o cpuid.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 vmem.o vmem.c x86_64-pc-linux-gnu-gcc -c -Wall -march=i486 -m32 -O3 -fomit-frame-pointer -fno-builtin -ffreestanding -fno-stack-protector -fno-pie random.c x86_64-pc-linux-gnu-gcc -E -traditional bootsect.S -o bootsect.s x86_64-pc-linux-gnu-gcc -E -traditional setup.S -o setup.s x86_64-pc-linux-gnu-as -32 -o head.o head.s x86_64-pc-linux-gnu-as -32 -o bootsect.o bootsect.s x86_64-pc-linux-gnu-as -32 -o setup.o setup.s x86_64-pc-linux-gnu-ld --warn-constructors --warn-common -static -T memtest_shared.lds -m elf_i386 \ -o memtest_shared head.o reloc.o main.o test.o init.o lib.o patn.o screen_buffer.o config.o memsize.o error.o smp.o cpuid.o vmem.o random.o && \ x86_64-pc-linux-gnu-ld -shared -Bsymbolic -T memtest_shared.lds -o memtest_shared head.o reloc.o main.o test.o init.o lib.o patn.o screen_buffer.o config.o memsize.o error.o smp.o cpuid.o vmem.o random.o x86_64-pc-linux-gnu-ld: reloc.o: warning: relocation in read-only section `.rodata' x86_64-pc-linux-gnu-ld: warning: memtest_shared has a LOAD segment with RWX permissions x86_64-pc-linux-gnu-ld: read-only segment has dynamic relocations make: *** [Makefile:24: memtest_shared] Error 1 * 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:20230824-173543.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'