[PATCH v3 1/2] x86/mm: Identify the end of the kernel area to be reserved

From: Mike Lothian
Date: Sat Jul 13 2019 - 10:59:59 EST


Hi

This appears to be causing issues with gold again:

axion /usr/src/linux # make
CALL scripts/checksyscalls.sh
CALL scripts/atomic/check-atomics.sh
DESCEND objtool
CHK include/generated/compile.h
VDSOCHK arch/x86/entry/vdso/vdso64.so.dbg
VDSOCHK arch/x86/entry/vdso/vdso32.so.dbg
CHK kernel/kheaders_data.tar.xz
CC arch/x86/boot/compressed/misc.o
RELOCS arch/x86/boot/compressed/vmlinux.relocs
Invalid absolute R_X86_64_32S relocation: __end_of_kernel_reserve
make[2]: *** [arch/x86/boot/compressed/Makefile:130: arch/x86/boot/compressed/vmlinux.relocs] Error 1
make[2]: *** Deleting file 'arch/x86/boot/compressed/vmlinux.relocs'
make[1]: *** [arch/x86/boot/Makefile:112: arch/x86/boot/compressed/vmlinux] Error 2
make: *** [arch/x86/Makefile:316: bzImage] Error 2

Here's the version I'm running:

sys-devel/gcc-9.1.0-r1
sys-libs/glibc-2.29-r2
sys-devel/binutils-2.32-r1

Cheers

Mike