Re: [PATCH] x86/build: Move _etext to actual end of .text

From: Ross Zwisler
Date: Wed Jun 19 2019 - 14:42:35 EST


On Sun, Jun 9, 2019 at 1:00 PM Johannes Hirte
<johannes.hirte@xxxxxxxxxxxxx> wrote:
> On 2019 Jun 09, Klaus Kusche wrote:
> > Hello,
> >
> > Same problem for linux 5.1.7:
> > Kernel building fails with the same relocation error.
> >
> > 5.1.5 does not have the problem, builds fine for me.
> >
> > Is there anything I can do to investigate the problem?
> >
>
> Please try linux 5.1.8. The problematic patch was reverted there.

I'm having this same issue with v5.2-rc5 using an older version of gcc
(4.9.2). If I use a more recent version of gcc (7.3.0) it works fine.

Reverting this patch allows gcc v4.9.2 to build kernel v5.2-rc5 successfully.

You said in this chain that you were reverting this patch in stable
kernels. Are you going to revert it in tip-of-tree as well?

- Ross