* Package: sys-apps/memtest86-4.3.7-r4: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-r4/work >>> Source unpacked in /var/tmp/portage/sys-apps/memtest86-4.3.7-r4/work >>> Preparing source in /var/tmp/portage/sys-apps/memtest86-4.3.7-r4/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-r4/work/src ... >>> Source configured. >>> Compiling source in /var/tmp/portage/sys-apps/memtest86-4.3.7-r4/work/src ... make -j22 clang -E -traditional head.S -o head.s clang -c -Wall -march=i486 -m32 -O1 -fomit-frame-pointer -fno-builtin -ffreestanding -fPIC -fno-stack-protector -fno-pie -fno-strict-aliasing reloc.c clang -Wall -march=i486 -m32 -O1 -fomit-frame-pointer -fno-builtin -ffreestanding -fPIC -fno-stack-protector -fno-pie -c -o main.o main.c clang -c -Wall -march=i486 -m32 -O1 -fomit-frame-pointer -fno-builtin -ffreestanding -fno-stack-protector -fno-pie -o test.o test.c clang -Wall -march=i486 -m32 -O1 -fomit-frame-pointer -fno-builtin -ffreestanding -fPIC -fno-stack-protector -fno-pie -c -o init.o init.c clang -Wall -march=i486 -m32 -O1 -fomit-frame-pointer -fno-builtin -ffreestanding -fPIC -fno-stack-protector -fno-pie -c -o lib.o lib.c clang -Wall -march=i486 -m32 -O1 -fomit-frame-pointer -fno-builtin -ffreestanding -fPIC -fno-stack-protector -fno-pie -c -o patn.o patn.c clang -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 clang -Wall -march=i486 -m32 -O1 -fomit-frame-pointer -fno-builtin -ffreestanding -fPIC -fno-stack-protector -fno-pie -c -o config.o config.c clang -Wall -march=i486 -m32 -O1 -fomit-frame-pointer -fno-builtin -ffreestanding -fPIC -fno-stack-protector -fno-pie -c -o memsize.o memsize.c clang -Wall -march=i486 -m32 -O1 -fomit-frame-pointer -fno-builtin -ffreestanding -fPIC -fno-stack-protector -fno-pie -c -o error.o error.c clang -Wall -march=i486 -m32 -O1 -fomit-frame-pointer -fno-builtin -ffreestanding -fPIC -fno-stack-protector -fno-pie -c -o smp.o smp.c clang -Wall -march=i486 -m32 -O1 -fomit-frame-pointer -fno-builtin -ffreestanding -fPIC -fno-stack-protector -fno-pie -c -o cpuid.o cpuid.c clang -Wall -march=i486 -m32 -O1 -fomit-frame-pointer -fno-builtin -ffreestanding -fPIC -fno-stack-protector -fno-pie -c -o vmem.o vmem.c clang -c -Wall -march=i486 -m32 -O3 -fomit-frame-pointer -fno-builtin -ffreestanding -fno-stack-protector -fno-pie random.c clang -E -traditional bootsect.S -o bootsect.s clang -E -traditional setup.S -o setup.s reloc.c:55:10: warning: variable 'got' is uninitialized when used here [-Wuninitialized] 55 | return *got; |  ^~~ error.c:46:12: warning: passing arguments to 'common_err' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 46 | common_err(adr, goreloc.c:54:26:o d, note: bainitialized ,the xvariableo r'got', to0 )silence; this warning|  ^  54 | register Elf32_Addr *got asm ("%ebx"); |  ^  |  = NULL error.c:58:12: warning: passing arguments to 'common_err' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 58 | common_err(adr1, good, bad, (ulong)mask, 1); |  ^ error.c:70:12: warning: passing arguments to 'common_err' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 70 | common_err(adr, (ulong)adr, bad, ((ulong)adr) ^ bad, 0); |  ^ error.c:22:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 22 | static void common_err(); |  ^ error.c:118:6: note: conflicting prototype is here 118 | void common_err( ulong *adr, ulong good, ulong bad, ulong xor, int type)  |  ^ error: option 'cf-protection=return' cannot be specified on this target error: option 'cf-protection=branch' cannot be specified on this target test.c:307:16: warning: unused variable 'chunk' [-Wunused-variable] 307 | ulong xorVal, chunk; |  ^~~~~ 1 warning and 2 errors generated. memsize.c:94:13: warning: unused function 'memsize_linuxbios' [-Wunused-function] 94 | static void memsize_linuxbios(void) |  ^~~~~~~~~~~~~~~~~ test.c:498:22: warning: unused variable 'chunk' [-Wunused-variable] 498 | ulong *p, *pe, len, chunk, *start, *end, bad; |  ^~~~~ test.c:498:43: warning: unused variable 'bad' [-Wunused-variable] 498 | ulong *p, *pe, len, chunk, *start, *end, bad; |  ^~~ x86_64-pc-linux-gnu-as -32 -o head.o head.s error: option 'cf-protection=return' cannot be specified on this target error: option 'cf-protection=branch' cannot be specified on this target 1 warning and 2 errors generated. test.c:696:31: warning: unused variable 'chunk' [-Wunused-variable] 696 | ulong *p, *pe, *start, *end, chunk, pat = 0, p3; |  ^~~~~ test.c:990:22: warning: unused variable 'chunk' [-Wunused-variable] 990 | ulong *start, *end, chunk; |  ^~~~~ main.c:229:2: error: indirect goto in function with no address-of-label expressions 229 | goto *ja; |  ^ error: option 'cf-protection=return' cannot be specified on this target error: option 'cf-protection=branch' cannot be specified on this target error: option 'cf-protection=return' cannot be specified on this target error: option 'cf-protection=branch' cannot be specified on this target error: option 'cf-protection=return' cannot be specified on this target error: option 'cf-protection=branch' cannot be specified on this target patn.c:126:23: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 2 error126s | generated . if (cheapindex (adr, DEFAULT_MASK, 1L) 2! error=s generated-. 1) |  ^~~~~~~~~~~~ 2patn.c error:s22 generated:. 29: note: expanded from macro 'DEFAULT_MASK' 22 | #define DEFAULT_MASK ((~0L) << 2) |  ~~~~~ ^ patn.c:131:28: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 131 | v->patn[v->numpatn].mask=DEFAULT_MASK; |  ^~~~~~~~~~~~ patn.c:22:29: note: expanded from macro 'DEFAULT_MASK' 22 | #define DEFAULT_MASK ((~0L) << 2) |  ~~~~~ ^ patn.c:135:28: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 135 | int idx=cheapindex (adr, DEFAULT_MASK, ~0L); |  ^~~~~~~~~~~~ patn.c:22:29: note: expanded from macro 'DEFAULT_MASK' 22 | #define DEFAULT_MASK ((~0L) << 2) |  ~~~~~ ^ patn.c:138:17: warning: shifting a negative signed value is undefined [-Wshift-negative-value] 138 | adr, DEFAULT_MASK, &cadr, &cmask); |  ^~~~~~~~~~~~ patn.c:22:29: note: expanded from macro 'DEFAULT_MASK' 22 | #define DEFAULT_MASK ((~0L) << 2) |  ~~~~~ ^ test.c:1180:22: warning: unused variable 'chunk' [-Wunused-variable] 1180 | ulong *start, *end, chunk; |  ^~~~~ error: option 'cf-protection=return' cannot be specified on this target error: option 'cf-protection=branch' cannot be specified on this target 4 warnings and 2 errors generated. x86_64-pc-linux-gnu-as -32 -o setup.o setup.s error: option 'cf-protection=return' cannot be specified on this target error: option 'cf-protection=branch' cannot be specified on this target 2 errors generated. error: option 'cf-protection=return' cannot be specified on this target error: option 'cf-protection=branch' cannot be specified on this target make: *** [: memsize.o] Error 1 make: *** Waiting for unfinished jobs.... error: option 'cf-protection=return' cannot be specified on this target error: option 'cf-protection=branch' cannot be specified on this target make: *** [Makefile:48: reloc.o] Error 1 6 warnings and 2 errors generated. 4 warnings and 2 errors generated. make: *** [: patn.o] Error 1 make: *** [Makefile:54: random.o] Error 1 make: *** [: screen_buffer.o] Error 1 make: *** [Makefile:51: test.o] Error 1 make: *** [: cpuid.o] Error 1 make: *** [: vmem.o] Error 1 make: *** [: error.o] Error 1 1 error generated. error: option 'cf-protection=return' cannot be specified on this target error: option 'cf-protection=branch' cannot be specified on this target 2 errors generated. smp.c:661:11: warning: passing 'volatile ap_info_t (*)[32]' to parameter of type 'void *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 661 | memset(&AP, 0, sizeof AP); |  ^~~ smp.c:164:15: note: passing argument to parameter 'dst' here 164 | memset (void *dst, |  ^ smp.c:728:7: error: incompatible integer to pointer conversion assigning to 'unsigned int *' from 'unsigned int'; remove * [-Wint-conversion] 728 | ptr = *(unsigned int *)tab_ptr; |  ^ ~~~~~~~~~~~~~~~~~~~~~~~~ smp.c:745:41: error: incompatible integer to pointer conversion passing 'int' to parameter of type 'unsigned int *' [-Wint-conversion] 745 | fp = scan_for_floating_ptr_struct(639*0x400, 0x400); |  ^~~~~~~~~ smp.c:376:44: note: passing argument to parameter 'addr' here 376 | scan_for_floating_ptr_struct(unsigned int *addr, uint32_t length) |  ^ smp.c:748:44: error: incompatible integer to pointer conversion passing 'int' to parameter of type 'unsigned int *' [-Wint-conversion] 748 | fp = scan_for_floating_ptr_struct(0xf0000, 0x10000); |  ^~~~~~~ smp.c:376:44: note: passing argument to parameter 'addr' here 376 | scan_for_floating_ptr_struct(unsigned int *addr, uint32_t length) |  ^ smp.c:755:44: error: incompatible integer to pointer conversion passing 'unsigned int' to parameter of type 'unsigned int *'; take the address with & [-Wint-conversion] 755 | fp = scan_for_floating_ptr_struct(address, 0x400); |  ^~~~~~~  |  & smp.c:376:44: note: passing argument to parameter 'addr' here 376 | scan_for_floating_ptr_struct(unsigned int *addr, uint32_t length) |  ^ smp.c:767:9: error: incompatible integer to pointer conversion assigning to 'volatile apic_register_t *' (aka 'volatile unsigned int (*)[4]') from 'unsigned int' [-Wint-conversion] 767 | APIC = 0xfee00000; |  ^ ~~~~~~~~~~ error: option 'cf-protection=return' cannot be specified on this target error: option 'cf-protection=branch' cannot be specified on this target 2 errors generated. 1 warning and 5 errors generated. make: *** [: main.o] Error 1 make: *** [: config.o] Error 1 make: *** [: smp.o] Error 1 make: *** [: init.o] Error 1 error: option 'cf-protection=return' cannot be specified on this target error: option 'cf-protection=branch' cannot be specified on this target 2 errors generated. make: *** [: lib.o] Error 1 * ERROR: sys-apps/memtest86-4.3.7-r4::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=sys-apps/memtest86-4.3.7-r4::gentoo'`, * the complete build log and the output of `emerge -pqv '=sys-apps/memtest86-4.3.7-r4::gentoo'`. * The complete build log is located at '/var/tmp/portage/sys-apps/memtest86-4.3.7-r4/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-apps/memtest86-4.3.7-r4/temp/environment'. * Working directory: '/var/tmp/portage/sys-apps/memtest86-4.3.7-r4/work/src' * S: '/var/tmp/portage/sys-apps/memtest86-4.3.7-r4/work/src'