[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.21.1907081548160.4709@nanos.tec.linutronix.de>
Date: Mon, 8 Jul 2019 15:49:12 +0200 (CEST)
From: Thomas Gleixner <tglx@...utronix.de>
To: Liam Shepherd <liam@...cer.es>
cc: mingo@...hat.com, bp@...en8.de, hpa@...or.com,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
keescook@...omium.org, x86@...nel.org, linux-kernel@...r.kernel.org
Subject: Re: Cannot build 5.2.0 with gold linker
On Mon, 8 Jul 2019, Liam Shepherd wrote:
> Hi,
>
> It results in this error:
>
> Invalid absolute R_X86_64_32S relocation: _etext
> 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[2]: *** Waiting for unfinished jobs....
> CC arch/x86/boot/compressed/cpuflags.o
> make[1]: *** [arch/x86/boot/Makefile:112:
> arch/x86/boot/compressed/vmlinux] Error 2
> make: *** [arch/x86/Makefile:283: bzImage] Error 2
>
> This was introduced under this commit:
>
> 392bef709659abea614abfe53cf228e7a59876a4: x86/build: Move _etext to
> actual end of .text
>
> The commit was reverted on 5.18 by Greg...
Know issue and the fix is queued for mainline, but did not make it to 5.2
for an unrelated reason. Will show up soon and be backported.
Thanks,
tglx
Powered by blists - more mailing lists