Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1501001 > unrolled thread

Add "x86/build: Build compressed x86 kernels as PIE" to the v4.4.y stable tree?

Started byPaul Bolle <pebolle@tiscali.nl>
First post2016-10-14 15:50 +0200
Last post2016-10-14 18:40 +0200
Articles 4 — 3 participants

Back to article view | Back to linux.kernel


Contents

  Add "x86/build: Build compressed x86 kernels as PIE" to the v4.4.y  stable tree? Paul Bolle <pebolle@tiscali.nl> - 2016-10-14 15:50 +0200
    Re: Add "x86/build: Build compressed x86 kernels as PIE" to the  v4.4.y stable tree? Greg KH <gregkh@linuxfoundation.org> - 2016-10-14 16:20 +0200
      Re: Add "x86/build: Build compressed x86 kernels as PIE" to the  v4.4.y stable tree? Paul Bolle <pebolle@tiscali.nl> - 2016-10-14 18:30 +0200
        Re: Add "x86/build: Build compressed x86 kernels as PIE" to the  v4.4.y stable tree? "H.J. Lu" <hjl.tools@gmail.com> - 2016-10-14 18:40 +0200

#1501001 — Add "x86/build: Build compressed x86 kernels as PIE" to the v4.4.y stable tree?

FromPaul Bolle <pebolle@tiscali.nl>
Date2016-10-14 15:50 +0200
SubjectAdd "x86/build: Build compressed x86 kernels as PIE" to the v4.4.y stable tree?
Message-ID<ssb21-1TI-15@gated-at.bofh.it>
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

[toc] | [next] | [standalone]


#1501031 — Re: Add "x86/build: Build compressed x86 kernels as PIE" to the v4.4.y stable tree?

FromGreg KH <gregkh@linuxfoundation.org>
Date2016-10-14 16:20 +0200
SubjectRe: Add "x86/build: Build compressed x86 kernels as PIE" to the v4.4.y stable tree?
Message-ID<ssbv4-2mx-25@gated-at.bofh.it>
In reply to#1501001
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

[toc] | [prev] | [next] | [standalone]


#1501084 — Re: Add "x86/build: Build compressed x86 kernels as PIE" to the v4.4.y stable tree?

FromPaul Bolle <pebolle@tiscali.nl>
Date2016-10-14 18:30 +0200
SubjectRe: Add "x86/build: Build compressed x86 kernels as PIE" to the v4.4.y stable tree?
Message-ID<ssdwS-3Da-9@gated-at.bofh.it>
In reply to#1501031
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

[toc] | [prev] | [next] | [standalone]


#1501088 — Re: Add "x86/build: Build compressed x86 kernels as PIE" to the v4.4.y stable tree?

From"H.J. Lu" <hjl.tools@gmail.com>
Date2016-10-14 18:40 +0200
SubjectRe: Add "x86/build: Build compressed x86 kernels as PIE" to the v4.4.y stable tree?
Message-ID<ssdGx-3GF-11@gated-at.bofh.it>
In reply to#1501084
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.

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web