2016-11-18 20:50:58

by Michal Marek

[permalink] [raw]
Subject: [GIT PULL] kbuild post v4.9-rc1 fixes

Hi Linus,

Here are some regression fixes for kbuild:
- modversion support for exported asm symbols (Nick Piggin). The
affected architectures need separate patches adding asm-prototypes.h.
- fix rebuilds of lib-ksyms.o (Nick Piggin)
- -fno-PIE builds (Sebastian Siewior and Borislav Petkov). This is not a
kernel regression, but one of the Debian gcc package. Nevertheless,
it's quite annoying, so I think it should go into mainline and stable
now.

Thanks,
Michal


The following changes since commit 1001354ca34179f3db924eb66672442a173147dc:

Linux 4.9-rc1 (2016-10-15 12:17:50 -0700)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild.git rc-fixes

for you to fetch changes up to c6a385539175ebc603da53aafb7753d39089f32e:

kbuild: Steal gcc's pie from the very beginning (2016-11-15 17:08:14 +0100)

----------------------------------------------------------------
Borislav Petkov (1):
kbuild: Steal gcc's pie from the very beginning

Nicholas Piggin (3):
kbuild: prevent lib-ksyms.o rebuilds
kbuild: modversions for EXPORT_SYMBOL() for asm
kbuild: be more careful about matching preprocessed asm ___EXPORT_SYMBOL

Sebastian Andrzej Siewior (3):
kbuild: add -fno-PIE
scripts/has-stack-protector: add -fno-PIE
x86/kexec: add -fno-PIE

Makefile | 5 +-
arch/x86/purgatory/Makefile | 1 +
scripts/Makefile.build | 81 ++++++++++++++++++++++++++++---
scripts/gcc-x86_64-has-stack-protector.sh | 2 +-
4 files changed, 80 insertions(+), 9 deletions(-)


2016-11-20 19:11:56

by Adam Borowski

[permalink] [raw]
Subject: Re: [GIT PULL] kbuild post v4.9-rc1 fixes

On Fri, Nov 18, 2016 at 09:50:51PM +0100, Michal Marek wrote:
> Hi Linus,
>
> Here are some regression fixes for kbuild:
> - modversion support for exported asm symbols (Nick Piggin). The
> affected architectures need separate patches adding asm-prototypes.h.

As the pull request's comment says, we do need the per-arch asm-prototypes.h
patches. I've just checked on x86: still broken with current mainline,
works with my patch from [email protected];
I suspect the arm counterpart (patch by Arnd Bergmann) is also needed
(you just commented on that thread).

--
A true bird-watcher waves his tail while doing so.