LKML Archive on
help / color / mirror / Atom feed
From: Masahiro Yamada <>
To: Michal Kubecek <>
Cc: Michal Marek <>,
	Linux Kbuild mailing list <>,
	Linux Kernel Mailing List <>,
	Peter Zijlstra <>,
	Andreas Faerber <>
Subject: Re: [PATCH] Makefile: disable PIE before testing asm goto
Date: Thu, 17 May 2018 22:34:12 +0900	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>

2018-05-16 14:51 GMT+09:00 Michal Kubecek <>:
> Since commit e501ce957a78 ("x86: Force asm-goto"), aarch64 build on
> distributions which enable PIE by default (e.g. openSUSE Tumbleweed) does
> not detect support for asm goto correctly. The problem is that ARM specific
> part of scripts/ fails with PIE even with recent gcc versions.
> Moving the asm goto detection up in Makefile put it before the place where
> we disable PIE. As a result, kernel is built without jump label support.
> Move the lines disabling PIE before the asm goto test to make it work.
> Fixes: e501ce957a78 ("x86: Force asm-goto")
> Reported-by: Andreas Faerber <>
> Signed-off-by: Michal Kubecek <>
> ---

Applied to linux-kbuild/fixes.  Thanks!

Best Regards
Masahiro Yamada

      parent reply	other threads:[~2018-05-17 13:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-16  5:51 Michal Kubecek
2018-05-16  8:16 ` Peter Zijlstra
2018-05-17 13:34 ` Masahiro Yamada [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='' \ \ \ \ \ \ \ \
    --subject='Re: [PATCH] Makefile: disable PIE before testing asm goto' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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).