Re: [PATCH v2] kbuild: clang: add -no-integrated-as to KBUILD_[AC]FLAGS
From: Masahiro Yamada
Date: Thu Apr 27 2017 - 20:37:20 EST
2017-04-26 7:47 GMT+09:00 Matthias Kaehlcke <mka@xxxxxxxxxxxx>:
> From: Michael Davidson <md@xxxxxxxxxx>
>
> 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@xxxxxxxxxxxx>
> Signed-off-by: Michael Davidson <md@xxxxxxxxxx>
> Signed-off-by: Matthias Kaehlcke <mka@xxxxxxxxxxxx>
> ---
Applied to linux-kbuild/kbuild. Thanks!
--
Best Regards
Masahiro Yamada