Neither linux-5.4.28-gentoo nor linux-5.4.38-gentoo would compile, with the following error:
> CFLAGS="-Wno-error=undef" make && make modules_install > HOSTCC scripts/basic/fixdep > HOSTCC arch/x86/tools/relocs_32.o > HOSTCC arch/x86/tools/relocs_64.o > In file included from arch/x86/tools/relocs_64.c:18: > arch/x86/tools/relocs.c: In function 'rel_type': > arch/x86/tools/relocs.c:201:12: error: 'R_X86_64_PC64' undeclared (first use > in this function); did you mean 'R_X86_64_64'? > 201 | REL_TYPE(R_X86_64_PC64), > | ^~~~~~~~~~~~~ > arch/x86/tools/relocs.c:197:22: note: in definition of macro 'REL_TYPE' > 197 | #define REL_TYPE(X) [X] = #X > | ^ > arch/x86/tools/relocs.c:201:12: note: each undeclared identifier is reported > only once for each function it appears in > 201 | REL_TYPE(R_X86_64_PC64), > | ^~~~~~~~~~~~~ > arch/x86/tools/relocs.c:197:22: note: in definition of macro 'REL_TYPE' > 197 | #define REL_TYPE(X) [X] = #X > | ^ > arch/x86/tools/relocs.c:201:12: error: array index in initializer not of > integer type > 201 | REL_TYPE(R_X86_64_PC64), > | ^~~~~~~~~~~~~ > arch/x86/tools/relocs.c:197:22: note: in definition of macro 'REL_TYPE' > 197 | #define REL_TYPE(X) [X] = #X > | ^ > arch/x86/tools/relocs.c:201:12: note: (near initialization for 'type_name') > 201 | REL_TYPE(R_X86_64_PC64), > | ^~~~~~~~~~~~~ > arch/x86/tools/relocs.c:197:22: note: in definition of macro 'REL_TYPE' > 197 | #define REL_TYPE(X) [X] = #X > | ^ > arch/x86/tools/relocs.c: In function 'do_reloc64': > arch/x86/tools/relocs.c:802:7: error: 'R_X86_64_PC64' undeclared (first use > in this function); did you mean 'R_X86_64_64'? > 802 | case R_X86_64_PC64: > | ^~~~~~~~~~~~~ > | R_X86_64_64 > make[1]: *** [scripts/Makefile.host:124: arch/x86/tools/relocs_64.o] Error 1 > make: *** [arch/x86/Makefile:232: archscripts] Error 2 I did not find anything relevant on Gentoo forums or on this mailing list. Configuration is a little non-standard. The first lines of emerge --info: > Portage 2.3.99 (python 3.7.7-final-0, > default/linux/amd64/17.0/uclibc/hardened, gcc-9.3.0, uclibc-ng-1.0.33, > 4.19.97-gentoo-poseidon x86_64) > ================================================================= > System uname: > Linux-4.19.97-gentoo-poseidon-x86_64-Intel-R-_Core-TM-2_Duo_CPU_L9400_@_1.86GHz-with-gentoo-2.6 > KiB Mem: 1929164 total, 152428 free > KiB Swap: 0 total, 0 free > Timestamp of repository gentoo: Fri, 08 May 2020 05:00:01 +0000 > Head commit of repository gentoo: 92957d0a4e66217194d92beb864ef7b9f2c04cbb > sh bash 5.0_p17 > ld GNU ld (Gentoo 2.33.1 p2) 2.33.1 > ccache version 3.7.7 [enabled] > app-shells/bash: 5.0_p17::gentoo > dev-lang/perl: 5.30.1::gentoo > dev-lang/python: 2.7.18::gentoo, 3.7.7-r2::gentoo, 3.8.2-r2::gentoo > dev-util/ccache: 3.7.7-r1::gentoo > dev-util/cmake: 3.16.5::akater > sys-apps/baselayout: 2.6-r1::gentoo > sys-apps/openrc: 0.42.1::gentoo > sys-apps/sandbox: 2.13::gentoo > sys-devel/autoconf: 2.69-r4::gentoo > sys-devel/automake: 1.16.1-r1::gentoo > sys-devel/binutils: 2.33.1-r1::gentoo > sys-devel/gcc: 9.3.0::gentoo > sys-devel/gcc-config: 2.2.1::gentoo > sys-devel/libtool: 2.4.6-r6::gentoo > sys-devel/make: 4.2.1-r4::gentoo > sys-kernel/linux-headers: 5.4::gentoo (virtual/os-headers) > sys-libs/uclibc-ng: 1.0.33::akater Please help.
signature.asc
Description: PGP signature