* Package: sys-apps/memtest86-4.3.7-r1 * Repository: gentoo * Maintainer: base-system@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox >>> Unpacking source... >>> Unpacking memtest86-4.3.7-src.tar.gz to /var/tmp/portage/sys-apps/memtest86-4.3.7-r1/work >>> Source unpacked in /var/tmp/portage/sys-apps/memtest86-4.3.7-r1/work >>> Preparing source in /var/tmp/portage/sys-apps/memtest86-4.3.7-r1/work/src ... * Applying memtest86-4.3.3-build-nopie.patch ... [ ok ] * Applying memtest86-4.3.7-io-extern-inline.patch ... [ ok ] * Applying memtest86-4.3.7-reboot-def.patch ... [ ok ] * Applying memtest86-4.3.7-no-clean.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/sys-apps/memtest86-4.3.7-r1/work/src ... >>> Source configured. >>> Compiling source in /var/tmp/portage/sys-apps/memtest86-4.3.7-r1/work/src ... make -j1 x86_64-pc-linux-gnu-gcc -E -traditional head.S -o head.s x86_64-pc-linux-gnu-as -32 -o head.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:16: warning: unused variable ‘chunk’ [-Wunused-variable] ulong xorVal, chunk; ^~~~~ test.c: In function ‘movinv1’: test.c:498:43: warning: unused variable ‘bad’ [-Wunused-variable] ulong *p, *pe, len, chunk, *start, *end, bad; ^~~ test.c:498:22: warning: unused variable ‘chunk’ [-Wunused-variable] ulong *p, *pe, len, chunk, *start, *end, bad; ^~~~~ test.c: In function ‘movinv32’: test.c:696:31: warning: unused variable ‘chunk’ [-Wunused-variable] ulong *p, *pe, *start, *end, chunk, pat = 0, p3; ^~~~~ test.c: In function ‘modtst’: test.c:990:22: warning: unused variable ‘chunk’ [-Wunused-variable] ulong *start, *end, chunk; ^~~~~ test.c: In function ‘block_move’: test.c:1180:22: warning: unused variable ‘chunk’ [-Wunused-variable] 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 memsize.c:94:13: warning: ‘memsize_linuxbios’ defined but not used [-Wunused-function] 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] memset(&AP, 0, sizeof AP); ^ smp.c:164:1: note: expected ‘void *’ but argument is of type ‘volatile ap_info_t (*)[32] {aka volatile struct (*)[32]}’ memset (void *dst, ^~~~~~ smp.c:728:7: warning: assignment makes pointer from integer without a cast [-Wint-conversion] 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] fp = scan_for_floating_ptr_struct(639*0x400, 0x400); ^~~ smp.c:376:1: note: expected ‘unsigned int *’ but argument is of type ‘int’ 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] fp = scan_for_floating_ptr_struct(0xf0000, 0x10000); ^~~~~~~ smp.c:376:1: note: expected ‘unsigned int *’ but argument is of type ‘int’ scan_for_floating_ptr_struct(unsigned int *addr, uint32_t length) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ smp.c:755:44: warning: passing argument 1 of ‘scan_for_floating_ptr_struct’ makes pointer from integer without a cast [-Wint-conversion] fp = scan_for_floating_ptr_struct(address, 0x400); ^~~~~~~ smp.c:376:1: note: expected ‘unsigned int *’ but argument is of type ‘unsigned int’ scan_for_floating_ptr_struct(unsigned int *addr, uint32_t length) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ smp.c:767:9: warning: assignment makes pointer from integer without a cast [-Wint-conversion] 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-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 readonly section `.rodata' x86_64-pc-linux-gnu-ld: warning: creating a DT_TEXTREL in a shared object. objcopy -O binary memtest_shared memtest_shared.bin x86_64-pc-linux-gnu-gcc -E -traditional bootsect.S -o bootsect.s x86_64-pc-linux-gnu-as -32 -o bootsect.o bootsect.s x86_64-pc-linux-gnu-gcc -E -traditional setup.S -o setup.s x86_64-pc-linux-gnu-as -32 -o setup.o setup.s x86_64-pc-linux-gnu-ld -T memtest.bin.lds bootsect.o setup.o -b binary \ memtest_shared.bin -o memtest.bin make: *** [Makefile:44: memtest.bin] Segmentation fault make: *** Deleting file 'memtest.bin' * ERROR: sys-apps/memtest86-4.3.7-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=sys-apps/memtest86-4.3.7-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=sys-apps/memtest86-4.3.7-r1::gentoo'`. * The complete build log is located at '/var/log/portage/sys-apps:memtest86-4.3.7-r1:20170821-135544.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-apps/memtest86-4.3.7-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-apps/memtest86-4.3.7-r1/temp/environment'. * Working directory: '/var/tmp/portage/sys-apps/memtest86-4.3.7-r1/work/src' * S: '/var/tmp/portage/sys-apps/memtest86-4.3.7-r1/work/src'