linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Add "x86/build: Build compressed x86 kernels as PIE" to the v4.4.y stable tree?
@ 2016-10-14 13:40 Paul Bolle
  2016-10-14 14:08 ` Greg KH
  0 siblings, 1 reply; 4+ messages in thread
From: Paul Bolle @ 2016-10-14 13:40 UTC (permalink / raw)
  To: H.J. Lu; +Cc: Greg KH, linux-kernel

Hi,

It took me quite some time to get v4.4.24 to successfully boot (this
was a 32 bits build on Fedora 24). Especially annoying was that it
failed silently on real hardware. Only after messing around with Qemu
it became clear what might be going on. 

It turned out Fedora 24 ships binutils-2.26, and using that version of
binutils apparently requires commit 6d92bc9d483a ("x86/build: Build
compressed x86 kernels as PIE"). Does is makes sense to add that commit
to the v4.4.y stable tree?

Thanks,


Paul Bolle

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Add "x86/build: Build compressed x86 kernels as PIE" to the v4.4.y stable tree?
  2016-10-14 13:40 Add "x86/build: Build compressed x86 kernels as PIE" to the v4.4.y stable tree? Paul Bolle
@ 2016-10-14 14:08 ` Greg KH
  2016-10-14 16:21   ` Paul Bolle
  0 siblings, 1 reply; 4+ messages in thread
From: Greg KH @ 2016-10-14 14:08 UTC (permalink / raw)
  To: Paul Bolle; +Cc: H.J. Lu, linux-kernel, stable

On Fri, Oct 14, 2016 at 03:40:22PM +0200, Paul Bolle wrote:
> Hi,
> 
> It took me quite some time to get v4.4.24 to successfully boot (this
> was a 32 bits build on Fedora 24). Especially annoying was that it
> failed silently on real hardware. Only after messing around with Qemu
> it became clear what might be going on. 
> 
> It turned out Fedora 24 ships binutils-2.26, and using that version of
> binutils apparently requires commit 6d92bc9d483a ("x86/build: Build
> compressed x86 kernels as PIE"). Does is makes sense to add that commit
> to the v4.4.y stable tree?

Did you apply that patch and it worked properly for you?  If so, yes,
I'll be glad to queue it up.

Also, stable questions/issues should be cc:ed to stable@vger.kernel.org.

thanks,

greg k-h

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Add "x86/build: Build compressed x86 kernels as PIE" to the v4.4.y stable tree?
  2016-10-14 14:08 ` Greg KH
@ 2016-10-14 16:21   ` Paul Bolle
  2016-10-14 16:38     ` H.J. Lu
  0 siblings, 1 reply; 4+ messages in thread
From: Paul Bolle @ 2016-10-14 16:21 UTC (permalink / raw)
  To: Greg KH; +Cc: H.J. Lu, linux-kernel, stable

On Fri, 2016-10-14 at 16:08 +0200, Greg KH wrote:
> Did you apply that patch and it worked properly for you?  If so, yes,
> I'll be glad to queue it up.

Yes I did and it did.

But I do find this commit as magical as they can get so I'd hoped that
hjl would speak up. But if my word is enough for you, then feel free to
queue it up.

> Also, stable questions/issues should be cc:ed to stable@vger.kernel.org.

Sorry about that. I've received one too many of your formletters, so
now I try to avoid stable@vger.kernel.org as much as I can.

Thanks,


Paul Bolle

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Add "x86/build: Build compressed x86 kernels as PIE" to the v4.4.y stable tree?
  2016-10-14 16:21   ` Paul Bolle
@ 2016-10-14 16:38     ` H.J. Lu
  0 siblings, 0 replies; 4+ messages in thread
From: H.J. Lu @ 2016-10-14 16:38 UTC (permalink / raw)
  To: Paul Bolle; +Cc: Greg KH, LKML, stable

On Fri, Oct 14, 2016 at 9:21 AM, Paul Bolle <pebolle@tiscali.nl> wrote:
> On Fri, 2016-10-14 at 16:08 +0200, Greg KH wrote:
>> Did you apply that patch and it worked properly for you?  If so, yes,
>> I'll be glad to queue it up.
>
> Yes I did and it did.
>
> But I do find this commit as magical as they can get so I'd hoped that
> hjl would speak up. But if my word is enough for you, then feel free to
> queue it up.
>

Yes, commit 6d92bc9d483a is needed to support x86 relocatable
compressed kernel with binutils 2.26.

-- 
H.J.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-10-14 16:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-14 13:40 Add "x86/build: Build compressed x86 kernels as PIE" to the v4.4.y stable tree? Paul Bolle
2016-10-14 14:08 ` Greg KH
2016-10-14 16:21   ` Paul Bolle
2016-10-14 16:38     ` H.J. Lu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).