[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20171129000011.55235-1-samitolvanen@google.com>
Date: Tue, 28 Nov 2017 16:00:08 -0800
From: Sami Tolvanen <samitolvanen@...gle.com>
To: Alex Matveev <alxmtvv@...il.com>, Andi Kleen <ak@...ux.intel.com>,
Ard Biesheuvel <ard.biesheuvel@...aro.org>,
Greg Hackmann <ghackmann@...gle.com>,
Kees Cook <keescook@...omium.org>,
linux-arm-kernel@...ts.infradead.org, linux-kbuild@...r.kernel.org,
linux-kernel@...r.kernel.org, Mark Rutland <mark.rutland@....com>,
Masahiro Yamada <yamada.masahiro@...ionext.com>,
Maxim Kuvyrkov <maxim.kuvyrkov@...aro.org>,
Michal Marek <michal.lkml@...kovi.net>,
Nick Desaulniers <ndesaulniers@...gle.com>,
Yury Norov <ynorov@...iumnetworks.com>,
Matthias Kaehlcke <mka@...omium.org>
Cc: Sami Tolvanen <samitolvanen@...gle.com>
Subject: [PATCH 0/3] Add version macros for clang and fix arm64 for clang <6.0
In order to build an arm64 kernel with clang <6.0, we need to work
around LLVM bug 30792 by using -mno-implicit-float instead of
-mgeneral-regs-only.
This patch set adds macros for checking clang version, and enable the
workaround only for affected compiler versions.
Greg Hackmann (1):
arm64: use -mno-implicit-float instead of -mgeneral-regs-only
Sami Tolvanen (2):
kbuild: add clang-version.sh
kbuild: add cc-if-name-version and compiler-specific variants
arch/arm64/Makefile | 5 ++++-
scripts/Kbuild.include | 31 +++++++++++++++++++++++++++++++
scripts/clang-version.sh | 33 +++++++++++++++++++++++++++++++++
3 files changed, 68 insertions(+), 1 deletion(-)
create mode 100755 scripts/clang-version.sh
--
2.15.0.417.g466bffb3ac-goog
Powered by blists - more mailing lists