Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 889286 Details for
Bug 502464
sys-apps/memtest86-4.3.7-r4: fails to build with clang: main.c:115:2: error: indirect goto in function with no address-of-label
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
build.log
build.log (text/plain), 15.44 KB, created by
Amit Ugol
on 2024-04-02 19:51:15 UTC
(
hide
)
Description:
build.log
Filename:
MIME Type:
Creator:
Amit Ugol
Created:
2024-04-02 19:51:15 UTC
Size:
15.44 KB
patch
obsolete
>[32m * [39;49;00mPackage: sys-apps/memtest86-4.3.7-r4:0 >[32m * [39;49;00mRepository: gentoo >[32m * [39;49;00mMaintainer: base-system@gentoo.org >[32m * [39;49;00mUSE: abi_x86_64 amd64 elibc_glibc kernel_linux >[32m * [39;49;00mFEATURES: 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 ... > [32m*[0m Applying memtest86-4.3.3-build-nopie.patch ... >[A[188C [34;01m[ [32;01mok[34;01m ][0m > [32m*[0m 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. >[A[188C [34;01m[ [32;01mok[34;01m ][0m > [32m*[0m Applying memtest86-4.3.7-reboot-def.patch ... >patching file lib.c >Hunk #1 succeeded at 32 with fuzz 2 (offset -1 lines). >[A[188C [34;01m[ [32;01mok[34;01m ][0m > [32m*[0m Applying memtest86-4.3.7-no-clean.patch ... >[A[188C [34;01m[ [32;01mok[34;01m ][0m > [32m*[0m Applying memtest86-4.3.7-binutils-2.41-textrels.patch ... >[A[188C [34;01m[ [32;01mok[34;01m ][0m >>>> 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 >[1mreloc.c:55:10: [0m[0;1;35mwarning: [0m[1mvariable 'got' is uninitialized when used here [-Wuninitialized][0m > 55 | return *got;[0m > | [0;1;32m ^~~ >[0m[1merror.c:46:12: [0m[0;1;35mwarning: [0m[1mpassing arguments to 'common_err' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype][0m > 46 | common_err(adr, go[1mreloc.c:54:26:o d[0m,[0;1;36m note: b[0mainitialized ,the xvariableo r'got', to0 )silence; [0mthis > warning| [0m[0;1;32m > ^ >[0m 54 | register Elf32_Addr *got asm ("%ebx");[0m > | [0;1;32m ^ >[0m | [0;32m = NULL >[0m[1merror.c:58:12: [0m[0;1;35mwarning: [0m[1mpassing arguments to 'common_err' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype][0m > 58 | common_err(adr1, good, bad, (ulong)mask, 1);[0m > | [0;1;32m ^ >[0m[1merror.c:70:12: [0m[0;1;35mwarning: [0m[1mpassing arguments to 'common_err' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype][0m > 70 | common_err(adr, (ulong)adr, bad, ((ulong)adr) ^ bad, 0);[0m > | [0;1;32m ^ >[0m[1merror.c:22:13: [0m[0;1;35mwarning: [0m[1ma 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][0m > 22 | static void common_err();[0m > | [0;1;32m ^ >[0m[1merror.c:118:6: [0m[0;1;36mnote: [0mconflicting prototype is here[0m > 118 | void common_err( ulong *adr, ulong good, ulong bad, ulong xor, int type) [0m > | [0;1;32m ^ >[0m[0;1;31merror: [0m[1moption 'cf-protection=return' cannot be specified on this target[0m >[0;1;31merror: [0m[1moption 'cf-protection=branch' cannot be specified on this target[0m >[1mtest.c:307:16: [0m[0;1;35mwarning: [0m[1munused variable 'chunk' [-Wunused-variable][0m > 307 | ulong xorVal, chunk;[0m > | [0;1;32m ^~~~~ >[0m1 warning and 2 errors generated. >[1mmemsize.c:94:13: [0m[0;1;35mwarning: [0m[1munused function 'memsize_linuxbios' [-Wunused-function][0m > 94 | static void memsize_linuxbios(void)[0m > | [0;1;32m ^~~~~~~~~~~~~~~~~ >[0m[1mtest.c:498:22: [0m[0;1;35mwarning: [0m[1munused variable 'chunk' [-Wunused-variable][0m > 498 | ulong *p, *pe, len, chunk, *start, *end, bad;[0m > | [0;1;32m ^~~~~ >[0m[1mtest.c:498:43: [0m[0;1;35mwarning: [0m[1munused variable 'bad' [-Wunused-variable][0m > 498 | ulong *p, *pe, len, chunk, *start, *end, bad;[0m > | [0;1;32m ^~~ >[0mx86_64-pc-linux-gnu-as -32 -o head.o head.s >[0;1;31merror: [0m[1moption 'cf-protection=return' cannot be specified on this target[0m >[0;1;31merror: [0m[1moption 'cf-protection=branch' cannot be specified on this target[0m >1 warning and 2 errors generated. >[1mtest.c:696:31: [0m[0;1;35mwarning: [0m[1munused variable 'chunk' [-Wunused-variable][0m > 696 | ulong *p, *pe, *start, *end, chunk, pat = 0, p3;[0m > | [0;1;32m ^~~~~ >[0m[1mtest.c:990:22: [0m[0;1;35mwarning: [0m[1munused variable 'chunk' [-Wunused-variable][0m > 990 | ulong *start, *end, chunk;[0m > | [0;1;32m ^~~~~ >[0m[1mmain.c:229:2: [0m[0;1;31merror: [0m[1mindirect goto in function with no address-of-label expressions[0m > 229 | goto *ja;[0m > | [0;1;32m ^ >[0m[0;1;31merror: [0m[1moption 'cf-protection=return' cannot be specified on this target[0m >[0;1;31merror: [0m[1moption 'cf-protection=branch' cannot be specified on this target[0m >[0;1;31merror: [0m[1moption 'cf-protection=return' cannot be specified on this target[0m >[0;1;31merror: [0m[1moption 'cf-protection=branch' cannot be specified on this target[0m >[0;1;31merror: [0m[1moption 'cf-protection=return' cannot be specified on this target[0m >[0;1;31merror: [0m[1moption 'cf-protection=branch' cannot be specified on this target[0m >[1mpatn.c:126:23: [0m[0;1;35mwarning: [0m[1mshifting a negative signed value is undefined [-Wshift-negative-value][0m >2 error126s | generated . >if (cheapindex (adr, DEFAULT_MASK, 1L) 2! error=s generated-. >1)[0m > | [0;1;32m ^~~~~~~~~~~~ >[0m[1m2patn.c error:s22 generated:. >29: [0m[0;1;36mnote: [0mexpanded from macro 'DEFAULT_MASK'[0m > 22 | #define DEFAULT_MASK ((~0L) << 2)[0m > | [0;1;32m ~~~~~ ^ >[0m[1mpatn.c:131:28: [0m[0;1;35mwarning: [0m[1mshifting a negative signed value is undefined [-Wshift-negative-value][0m > 131 | v->patn[v->numpatn].mask=DEFAULT_MASK;[0m > | [0;1;32m ^~~~~~~~~~~~ >[0m[1mpatn.c:22:29: [0m[0;1;36mnote: [0mexpanded from macro 'DEFAULT_MASK'[0m > 22 | #define DEFAULT_MASK ((~0L) << 2)[0m > | [0;1;32m ~~~~~ ^ >[0m[1mpatn.c:135:28: [0m[0;1;35mwarning: [0m[1mshifting a negative signed value is undefined [-Wshift-negative-value][0m > 135 | int idx=cheapindex (adr, DEFAULT_MASK, ~0L);[0m > | [0;1;32m ^~~~~~~~~~~~ >[0m[1mpatn.c:22:29: [0m[0;1;36mnote: [0mexpanded from macro 'DEFAULT_MASK'[0m > 22 | #define DEFAULT_MASK ((~0L) << 2)[0m > | [0;1;32m ~~~~~ ^ >[0m[1mpatn.c:138:17: [0m[0;1;35mwarning: [0m[1mshifting a negative signed value is undefined [-Wshift-negative-value][0m > 138 | adr, DEFAULT_MASK, &cadr, &cmask);[0m > | [0;1;32m ^~~~~~~~~~~~ >[0m[1mpatn.c:22:29: [0m[0;1;36mnote: [0mexpanded from macro 'DEFAULT_MASK'[0m > 22 | #define DEFAULT_MASK ((~0L) << 2)[0m > | [0;1;32m ~~~~~ ^ >[0m[1mtest.c:1180:22: [0m[0;1;35mwarning: [0m[1munused variable 'chunk' [-Wunused-variable][0m > 1180 | ulong *start, *end, chunk;[0m > | [0;1;32m ^~~~~ >[0m[0;1;31merror: [0m[1moption 'cf-protection=return' cannot be specified on this target[0m >[0;1;31merror: [0m[1moption 'cf-protection=branch' cannot be specified on this target[0m >4 warnings and 2 errors generated. >x86_64-pc-linux-gnu-as -32 -o setup.o setup.s >[0;1;31merror: [0m[1moption 'cf-protection=return' cannot be specified on this target[0m >[0;1;31merror: [0m[1moption 'cf-protection=branch' cannot be specified on this target[0m >2 errors generated. >[0;1;31merror: [0m[1moption 'cf-protection=return' cannot be specified on this target[0m >[0;1;31merror: [0m[1moption 'cf-protection=branch' cannot be specified on this target[0m >make: *** [<builtin>: memsize.o] Error 1 >make: *** Waiting for unfinished jobs.... >[0;1;31merror: [0m[1moption 'cf-protection=return' cannot be specified on this target[0m >[0;1;31merror: [0m[1moption 'cf-protection=branch' cannot be specified on this target[0m >make: *** [Makefile:48: reloc.o] Error 1 >6 warnings and 2 errors generated. >4 warnings and 2 errors generated. >make: *** [<builtin>: patn.o] Error 1 >make: *** [Makefile:54: random.o] Error 1 >make: *** [<builtin>: screen_buffer.o] Error 1 >make: *** [Makefile:51: test.o] Error 1 >make: *** [<builtin>: cpuid.o] Error 1 >make: *** [<builtin>: vmem.o] Error 1 >make: *** [<builtin>: error.o] Error 1 >1 error generated. >[0;1;31merror: [0m[1moption 'cf-protection=return' cannot be specified on this target[0m >[0;1;31merror: [0m[1moption 'cf-protection=branch' cannot be specified on this target[0m >2 errors generated. >[1msmp.c:661:11: [0m[0;1;35mwarning: [0m[1mpassing 'volatile ap_info_t (*)[32]' to parameter of type 'void *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers][0m > 661 | memset(&AP, 0, sizeof AP);[0m > | [0;1;32m ^~~ >[0m[1msmp.c:164:15: [0m[0;1;36mnote: [0mpassing argument to parameter 'dst' here[0m > 164 | memset (void *dst,[0m > | [0;1;32m ^ >[0m[1msmp.c:728:7: [0m[0;1;31merror: [0m[1mincompatible integer to pointer conversion assigning to 'unsigned int *' from 'unsigned int'; remove * [-Wint-conversion][0m > 728 | ptr = *(unsigned int *)tab_ptr;[0m > | [0;1;32m ^ ~~~~~~~~~~~~~~~~~~~~~~~~ >[0m[1msmp.c:745:41: [0m[0;1;31merror: [0m[1mincompatible integer to pointer conversion passing 'int' to parameter of type 'unsigned int *' [-Wint-conversion][0m > 745 | fp = scan_for_floating_ptr_struct(639*0x400, 0x400);[0m > | [0;1;32m ^~~~~~~~~ >[0m[1msmp.c:376:44: [0m[0;1;36mnote: [0mpassing argument to parameter 'addr' here[0m > 376 | scan_for_floating_ptr_struct(unsigned int *addr, uint32_t length)[0m > | [0;1;32m ^ >[0m[1msmp.c:748:44: [0m[0;1;31merror: [0m[1mincompatible integer to pointer conversion passing 'int' to parameter of type 'unsigned int *' [-Wint-conversion][0m > 748 | fp = scan_for_floating_ptr_struct(0xf0000, 0x10000);[0m > | [0;1;32m ^~~~~~~ >[0m[1msmp.c:376:44: [0m[0;1;36mnote: [0mpassing argument to parameter 'addr' here[0m > 376 | scan_for_floating_ptr_struct(unsigned int *addr, uint32_t length)[0m > | [0;1;32m ^ >[0m[1msmp.c:755:44: [0m[0;1;31merror: [0m[1mincompatible integer to pointer conversion passing 'unsigned int' to parameter of type 'unsigned int *'; take the address with & [-Wint-conversion][0m > 755 | fp = scan_for_floating_ptr_struct(address, 0x400);[0m > | [0;1;32m ^~~~~~~ >[0m | [0;32m & >[0m[1msmp.c:376:44: [0m[0;1;36mnote: [0mpassing argument to parameter 'addr' here[0m > 376 | scan_for_floating_ptr_struct(unsigned int *addr, uint32_t length)[0m > | [0;1;32m ^ >[0m[1msmp.c:767:9: [0m[0;1;31merror: [0m[1mincompatible integer to pointer conversion assigning to 'volatile apic_register_t *' (aka 'volatile unsigned int (*)[4]') from 'unsigned int' > [-Wint-conversion][0m > 767 | APIC = 0xfee00000;[0m > | [0;1;32m ^ ~~~~~~~~~~ >[0m[0;1;31merror: [0m[1moption 'cf-protection=return' cannot be specified on this target[0m >[0;1;31merror: [0m[1moption 'cf-protection=branch' cannot be specified on this target[0m >2 errors generated. >1 warning and 5 errors generated. >make: *** [<builtin>: main.o] Error 1 >make: *** [<builtin>: config.o] Error 1 >make: *** [<builtin>: smp.o] Error 1 >make: *** [<builtin>: init.o] Error 1 >[0;1;31merror: [0m[1moption 'cf-protection=return' cannot be specified on this target[0m >[0;1;31merror: [0m[1moption 'cf-protection=branch' cannot be specified on this target[0m >2 errors generated. >make: *** [<builtin>: lib.o] Error 1 > [31;01m*[0m ERROR: sys-apps/memtest86-4.3.7-r4::gentoo failed (compile phase): > [31;01m*[0m emake failed > [31;01m*[0m > [31;01m*[0m If you need support, post the output of `emerge --info '=sys-apps/memtest86-4.3.7-r4::gentoo'`, > [31;01m*[0m the complete build log and the output of `emerge -pqv '=sys-apps/memtest86-4.3.7-r4::gentoo'`. > [31;01m*[0m The complete build log is located at '/var/tmp/portage/sys-apps/memtest86-4.3.7-r4/temp/build.log'. > [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/sys-apps/memtest86-4.3.7-r4/temp/environment'. > [31;01m*[0m Working directory: '/var/tmp/portage/sys-apps/memtest86-4.3.7-r4/work/src' > [31;01m*[0m S: '/var/tmp/portage/sys-apps/memtest86-4.3.7-r4/work/src'
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 502464
:
371288
| 889286