* Package: sys-apps/memtest86+-5.01-r3 * 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+-5.01.tar.gz to /var/tmp/portage/sys-apps/memtest86+-5.01-r3/work >>> Source unpacked in /var/tmp/portage/sys-apps/memtest86+-5.01-r3/work >>> Preparing source in /var/tmp/portage/sys-apps/memtest86+-5.01-r3/work/memtest86+-5.01 ... * Applying memtest86+-5.01-gcc-473.patch ... [ ok ] * Applying memtest86+-5.01-hardcoded_cc.patch ... [ ok ] * Applying memtest86+-5.01-no-scp.patch ... [ ok ] * Applying memtest86+-5.01-io-extern-inline.patch ... [ ok ] * Applying memtest86+-5.01-reboot-def.patch ... [ ok ] * Applying memtest86+-5.01-no-clean.patch ... [ ok ] * Applying memtest86+-5.01-no-C-headers.patch ... [ ok ] * Applying memtest86+-5.01-test-random-cflags.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/sys-apps/memtest86+-5.01-r3/work/memtest86+-5.01 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/sys-apps/memtest86+-5.01-r3/work/memtest86+-5.01 ... 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 -O0 -fomit-frame-pointer -fno-builtin -ffreestanding -fPIC -fno-stack-protector -fno-strict-aliasing reloc.c x86_64-pc-linux-gnu-gcc -Wall -march=i486 -m32 -O0 -fomit-frame-pointer -fno-builtin -ffreestanding -fPIC -fno-stack-protector -m32 -c -o main.o main.c x86_64-pc-linux-gnu-gcc -Wall -march=i486 -m32 -O0 -fomit-frame-pointer -fno-builtin -ffreestanding -fPIC -fno-stack-protector -O0 -fno-PIC -m32 -c -o test.o test.c x86_64-pc-linux-gnu-gcc -Wall -march=i486 -m32 -O0 -fomit-frame-pointer -fno-builtin -ffreestanding -fPIC -fno-stack-protector -m32 -c -o init.o init.c x86_64-pc-linux-gnu-gcc -Wall -march=i486 -m32 -O0 -fomit-frame-pointer -fno-builtin -ffreestanding -fPIC -fno-stack-protector -m32 -c -o lib.o lib.c lib.c: In function ‘strstr’: lib.c:64:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] if(here==0) ^~ lib.c:66:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’ i++;j++; ^ lib.c: In function ‘serial_echo_init’: lib.c:807:19: warning: variable ‘lo’ set but not used [-Wunused-but-set-variable] int comstat, hi, lo, serial_div; ^~ lib.c:807:15: warning: variable ‘hi’ set but not used [-Wunused-but-set-variable] int comstat, hi, lo, serial_div; ^~ x86_64-pc-linux-gnu-gcc -Wall -march=i486 -m32 -O0 -fomit-frame-pointer -fno-builtin -ffreestanding -fPIC -fno-stack-protector -m32 -c -o patn.o patn.c x86_64-pc-linux-gnu-gcc -Wall -march=i486 -m32 -O0 -fomit-frame-pointer -fno-builtin -ffreestanding -fPIC -fno-stack-protector -m32 -c -o screen_buffer.o screen_buffer.c x86_64-pc-linux-gnu-gcc -Wall -march=i486 -m32 -O0 -fomit-frame-pointer -fno-builtin -ffreestanding -fPIC -fno-stack-protector -m32 -c -o config.o config.c x86_64-pc-linux-gnu-gcc -Wall -march=i486 -m32 -O0 -fomit-frame-pointer -fno-builtin -ffreestanding -fPIC -fno-stack-protector -m32 -c -o cpuid.o cpuid.c x86_64-pc-linux-gnu-gcc -Wall -march=i486 -m32 -O0 -fomit-frame-pointer -fno-builtin -ffreestanding -fPIC -fno-stack-protector -m32 -c -o linuxbios.o linuxbios.c x86_64-pc-linux-gnu-gcc -Wall -march=i486 -m32 -O0 -fomit-frame-pointer -fno-builtin -ffreestanding -fPIC -fno-stack-protector -m32 -c -o pci.o pci.c x86_64-pc-linux-gnu-gcc -Wall -march=i486 -m32 -O0 -fomit-frame-pointer -fno-builtin -ffreestanding -fPIC -fno-stack-protector -m32 -c -o memsize.o memsize.c x86_64-pc-linux-gnu-gcc -Wall -march=i486 -m32 -O0 -fomit-frame-pointer -fno-builtin -ffreestanding -fPIC -fno-stack-protector -m32 -c -o spd.o spd.c x86_64-pc-linux-gnu-gcc -Wall -march=i486 -m32 -O0 -fomit-frame-pointer -fno-builtin -ffreestanding -fPIC -fno-stack-protector -m32 -c -o error.o error.c x86_64-pc-linux-gnu-gcc -Wall -march=i486 -m32 -O0 -fomit-frame-pointer -fno-builtin -ffreestanding -fPIC -fno-stack-protector -m32 -c -o dmi.o dmi.c x86_64-pc-linux-gnu-gcc -Wall -march=i486 -m32 -O0 -fomit-frame-pointer -fno-builtin -ffreestanding -fPIC -fno-stack-protector -m32 -c -o controller.o controller.c controller.c: In function ‘poll_timings_k16’: controller.c:3683:20: warning: variable ‘rc’ set but not used [-Wunused-but-set-variable] int cas, rcd, rp, rc, ras; ^~ x86_64-pc-linux-gnu-gcc -Wall -march=i486 -m32 -O0 -fomit-frame-pointer -fno-builtin -ffreestanding -fPIC -fno-stack-protector -m32 -c -o smp.o smp.c smp.c: In function ‘smp_find_cpus’: smp.c:513:11: warning: passing argument 1 of ‘memset’ discards ‘volatile’ qualifier from pointer target type [-Wdiscarded-array-qualifiers] memset(&AP, 0, sizeof AP); ^ smp.c:170:1: note: expected ‘void *’ but argument is of type ‘volatile ap_info_t (*)[32] {aka volatile struct (*)[32]}’ memset (void *dst, ^~~~~~ x86_64-pc-linux-gnu-gcc -Wall -march=i486 -m32 -O0 -fomit-frame-pointer -fno-builtin -ffreestanding -fPIC -fno-stack-protector -m32 -c -o vmem.o vmem.c x86_64-pc-linux-gnu-gcc -Wall -march=i486 -m32 -O0 -fomit-frame-pointer -fno-builtin -ffreestanding -fPIC -fno-stack-protector -O3 -fno-PIC -m32 -c -o random.o random.c x86_64-pc-linux-gnu-ld --warn-constructors --warn-common -static -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 cpuid.o linuxbios.o pci.o memsize.o spd.o error.o dmi.o controller.o smp.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 cpuid.o linuxbios.o pci.o memsize.o spd.o error.o dmi.o controller.o smp.o vmem.o random.o x86_64-pc-linux-gnu-ld: test.o: warning: relocation in readonly section `.text' 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:48: memtest.bin] Segmentation fault make: *** Deleting file 'memtest.bin' * ERROR: sys-apps/memtest86+-5.01-r3::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=sys-apps/memtest86+-5.01-r3::gentoo'`, * the complete build log and the output of `emerge -pqv '=sys-apps/memtest86+-5.01-r3::gentoo'`. * The complete build log is located at '/var/log/portage/sys-apps:memtest86+-5.01-r3:20170824-010811.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-apps/memtest86+-5.01-r3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-apps/memtest86+-5.01-r3/temp/environment'. * Working directory: '/var/tmp/portage/sys-apps/memtest86+-5.01-r3/work/memtest86+-5.01' * S: '/var/tmp/portage/sys-apps/memtest86+-5.01-r3/work/memtest86+-5.01'