lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Thu, 16 Sep 2021 08:20:32 -0700
From:   Nathan Chancellor <nathan@...nel.org>
To:     Naresh Kamboju <naresh.kamboju@...aro.org>,
        open list <linux-kernel@...r.kernel.org>,
        Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
        Sasha Levin <sashal@...nel.org>, lkft-triage@...ts.linaro.org,
        llvm@...ts.linux.dev,
        Linux-Next Mailing List <linux-next@...r.kernel.org>
Cc:     Nick Desaulniers <ndesaulniers@...gle.com>,
        Stephen Rothwell <sfr@...b.auug.org.au>
Subject: Re: clang: error: unsupported argument '-mimplicit-it=always' to
 option 'Wa,'

Hi Naresh,

On 9/16/2021 6:45 AM, Naresh Kamboju wrote:
> Following build warnings/ errors noticed while building linux next-20210916
> with clang-10, clang-11 and clang-12  for arm architecture.
>        - allnoconfig
>        - tinyconfig
> 
> But builds PASS with clang-13.
> 
> clang: error: unsupported argument '-mimplicit-it=always' to option 'Wa,'
> make[2]: *** [/builds/linux/scripts/Makefile.build:288:
> scripts/mod/empty.o] Error 1
> make[2]: Target '__build' not remade because of errors.
> make[1]: *** [/builds/linux/Makefile:1329: prepare0] Error 2
> make[1]: Target '__all' not remade because of errors.
> make: *** [Makefile:226: __sub-make] Error 2
> make: Target '__all' not remade because of errors.

Thank you for the report. This is caused by the implicit switch to the 
integrated assembler in commit f12b034afeb3 ("scripts/Makefile.clang: 
default to LLVM_IAS=1").

Prior to LLVM 13, -Wa,-mimplicit-it=... was not properly handled by the 
integrated assembler but Nick fixed that:

https://github.com/ClangBuiltLinux/linux/issues/1270

As noted in the above Linux commit, please adjust arm clang-10 through 
clang-12 builds with TuxSuite to pass 'LLVM_IAS=0' to make, which you 
can do with the 'make_variables' key:

https://github.com/ClangBuiltLinux/continuous-integration2/blob/a998b85bf1d2ce4150005b225f4cde535fe12af5/tuxsuite/android-mainline.tux.yml#L207

Sorry for not giving you guys more of a heads up about that switch.

Cheers,
Nathan

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ