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


Groups > linux.kernel > #1632462

Re: [PATCH v2] kbuild: clang: add -no-integrated-as to KBUILD_[AC]FLAGS

From Masahiro Yamada <yamada.masahiro@socionext.com>
Newsgroups linux.kernel
Subject Re: [PATCH v2] kbuild: clang: add -no-integrated-as to KBUILD_[AC]FLAGS
Date 2017-04-28 02:40 +0200
Message-ID <tB26Z-8k7-3@gated-at.bofh.it> (permalink)
References <tAhrr-2g4-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


2017-04-26 7:47 GMT+09:00 Matthias Kaehlcke <mka@chromium.org>:
> From: Michael Davidson <md@google.com>
>
> The Linux Kernel relies on GCC's acceptance of inline assembly as an
> opaque object which will not have any validation performed on the content.
> The current behaviour in LLVM is to perform validation of the contents by
> means of parsing the input if the MC layer can handle it.
>
> Disable clangs integrated assembler and use the GNU assembler instead.
>
> Wording-mostly-from: Saleem Abdulrasool <compnerd@compnerd.org>
> Signed-off-by: Michael Davidson <md@google.com>
> Signed-off-by: Matthias Kaehlcke <mka@chromium.org>
> ---


Applied to linux-kbuild/kbuild.  Thanks!


-- 
Best Regards
Masahiro Yamada

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH v2] kbuild: clang: add -no-integrated-as to KBUILD_[AC]FLAGS Matthias Kaehlcke <mka@chromium.org> - 2017-04-26 00:50 +0200
  Re: [PATCH v2] kbuild: clang: add -no-integrated-as to KBUILD_[AC]FLAGS Masahiro Yamada <yamada.masahiro@socionext.com> - 2017-04-28 02:40 +0200

csiph-web