* Re: [PATCH] x86/build: Move _etext to actual end of .text
[not found] <CAM5Ud7NhtKDCMnf+zbsRH1N8V6=kCpEJ5NCmJ4mOQSdVA_noMA@mail.gmail.com>
@ 2019-06-05 18:16 ` Kees Cook
2019-06-05 18:43 ` Greg KH
0 siblings, 1 reply; 2+ messages in thread
From: Kees Cook @ 2019-06-05 18:16 UTC (permalink / raw)
To: Alec Ari; +Cc: linux-kernel, x86, stable
On Wed, Jun 05, 2019 at 11:08:13AM -0500, Alec Ari wrote:
> I'm having this problem too, build is failing:
>
> Invalid absolute R_X86_64_32S relocation: _etext
>
> I stayed on the 4.14 branch to help prevent these kind of breakages,
> so much for that idea. Gentoo GCC 8.3.0.
It seems to be a problem with the Gold linker. Using ld.bfd appears to
work. I haven't narrowed down the problem, unfortunately.
Greg, given that this change was only for special situations (Clang
CFI), can you revert this for the stable trees?
--
Kees Cook
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] x86/build: Move _etext to actual end of .text
2019-06-05 18:16 ` [PATCH] x86/build: Move _etext to actual end of .text Kees Cook
@ 2019-06-05 18:43 ` Greg KH
0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2019-06-05 18:43 UTC (permalink / raw)
To: Kees Cook; +Cc: Alec Ari, linux-kernel, x86, stable
On Wed, Jun 05, 2019 at 11:16:06AM -0700, Kees Cook wrote:
> On Wed, Jun 05, 2019 at 11:08:13AM -0500, Alec Ari wrote:
> > I'm having this problem too, build is failing:
> >
> > Invalid absolute R_X86_64_32S relocation: _etext
> >
> > I stayed on the 4.14 branch to help prevent these kind of breakages,
> > so much for that idea. Gentoo GCC 8.3.0.
>
> It seems to be a problem with the Gold linker. Using ld.bfd appears to
> work. I haven't narrowed down the problem, unfortunately.
>
> Greg, given that this change was only for special situations (Clang
> CFI), can you revert this for the stable trees?
Turns out that Android required it to be reverted too, so no one needs
this :(
I'll go revert this, thanks.
greg k-h
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-06-05 18:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <CAM5Ud7NhtKDCMnf+zbsRH1N8V6=kCpEJ5NCmJ4mOQSdVA_noMA@mail.gmail.com>
2019-06-05 18:16 ` [PATCH] x86/build: Move _etext to actual end of .text Kees Cook
2019-06-05 18:43 ` Greg KH
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox