clang: error: unsupported argument '-mimplicit-it=always' to option 'Wa,'

From: Naresh Kamboju
Date: Thu Sep 16 2021 - 09:45:22 EST


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.

Build config:
https://builds.tuxbuild.com/1yDgHTBClkDVAW6MLcYwAdsXznO/config

Reported-by: Linux Kernel Functional Testing <lkft@xxxxxxxxxx>

meta data:
--------------
git_describe: next-20210916
git_ref: master
git_repo: https://gitlab.com/Linaro/lkft/mirrors/next/linux-next
git_sha: 368847b165bbfbdcf0bd4c96b167893dcdb13aba
git_short_log: 368847b165bb (\"Add linux-next specific files for 20210916\")
kconfig: [
allnoconfig
],
kernel_version: 5.14.0
target_arch: arm
toolchain: clang-12

Steps to reproduce:
tuxmake --runtime podman --target-arch arm --toolchain clang-12
--kconfig allnoconfig

--
Linaro LKFT
https://lkft.linaro.org