[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CA+G9fYseDSQ2Vgg5Cb=8HHdpm56aeVQH0Vdx7JK1SktGpRRkgw@mail.gmail.com>
Date: Fri, 19 Mar 2021 13:06:02 +0530
From: Naresh Kamboju <naresh.kamboju@...aro.org>
To: clang-built-linux <clang-built-linux@...glegroups.com>,
open list <linux-kernel@...r.kernel.org>,
lkft-triage@...ts.linaro.org, sparclinux@...r.kernel.org
Cc: "David S. Miller" <davem@...emloft.net>,
Nick Desaulniers <ndesaulniers@...gle.com>,
Nathan Chancellor <natechancellor@...il.com>,
Arnd Bergmann <arnd@...db.de>,
Anders Roxell <anders.roxell@...aro.org>,
Daniel Díaz <daniel.diaz@...aro.org>
Subject: sparc: clang: error: unknown argument: '-mno-fpu'
Linux mainline master build breaks for sparc defconfig.
There are multiple errors / warnings with clang-12 and clang-11 and 10.
- sparc (defconfig) with clang-12, clang-11 and clang-10
- sparc (tinyconfig) with clang-12, clang-11 and clang-10
- sparc (allnoconfig) with clang-12, clang-11 and clang-10
make --silent --keep-going --jobs=8
O=/home/tuxbuild/.cache/tuxmake/builds/1/tmp ARCH=sparc
CROSS_COMPILE=sparc64-linux-gnu- 'HOSTCC=sccache clang' 'CC=sccache
clang'
clang: error: unknown argument: '-mno-fpu'
clang: error: unknown argument: '-fcall-used-g5'
clang: error: unknown argument: '-fcall-used-g7'
make[2]: *** [/builds/linux/scripts/Makefile.build:116:
scripts/mod/devicetable-offsets.s] Error 1
clang: error: unknown argument: '-mno-fpu'
clang: error: unknown argument: '-fcall-used-g5'
clang: error: unknown argument: '-fcall-used-g7'
make[2]: *** [/builds/linux/scripts/Makefile.build:271:
scripts/mod/empty.o] Error 1
Reported-by: Naresh Kamboju <naresh.kamboju@...aro.org>
build link,
https://gitlab.com/Linaro/lkft/mirrors/torvalds/linux-mainline/-/jobs/1110841374#L81
steps to reproduce:
--------------------------
# TuxMake is a command line tool and Python library that provides
# portable and repeatable Linux kernel builds across a variety of
# architectures, toolchains, kernel configurations, and make targets.
#
# TuxMake supports the concept of runtimes.
# See https://docs.tuxmake.org/runtimes/, for that to work it requires
# that you install podman or docker on your system.
#
# To install tuxmake on your system globally:
# sudo pip3 install -U tuxmake
#
# See https://docs.tuxmake.org/ for complete documentation.
tuxmake --runtime podman --target-arch sparc --toolchain clang-12
--kconfig defconfig
--
Linaro LKFT
https://lkft.linaro.org
Powered by blists - more mailing lists