[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CA+G9fYvoyDqbCnmcVMHCO3Zxn9=FGTjyTH9u=7FT7rCz-dh6JA@mail.gmail.com>
Date: Mon, 20 Sep 2021 08:55:46 +0530
From: Naresh Kamboju <naresh.kamboju@...aro.org>
To: clang-built-linux <clang-built-linux@...glegroups.com>,
llvm@...ts.linux.dev, open list <linux-kernel@...r.kernel.org>,
X86 ML <x86@...nel.org>
Cc: Nathan Chancellor <natechancellor@...il.com>,
Nick Desaulniers <ndesaulniers@...gle.com>,
Linus Torvalds <torvalds@...ux-foundation.org>,
Andy Lutomirski <luto@...nel.org>,
Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...hat.com>
Subject: x86_64: clang-10: <instantiation>:2:2: error: unknown use of
instruction mnemonic without a size suffix
[Please ignore this email if it is already reported ]
Following build warnings/ errors noticed while building linux mainline
master branch
with clang-10 for x86_64 architecture.
But clang-11, clang-12 and clang-13 build pass.
<instantiation>:2:2: error: unknown use of instruction mnemonic
without a size suffix
lsl %rax, %rax
^
<instantiation>:1:1: note: while in macro instantiation
LOAD_CPU_AND_NODE_SEG_LIMIT %rax
^
<instantiation>:2:2: note: while in macro instantiation
GET_PERCPU_BASE %rax
^
/builds/linux/arch/x86/entry/entry_64.S:887:2: note: while in macro
instantiation
SAVE_AND_SET_GSBASE scratch_reg=%rax save_reg=%rbx
^
make[3]: *** [/builds/linux/scripts/Makefile.build:379:
arch/x86/entry/entry_64.o] Error 1
arch/x86/entry/entry_64_compat.o: warning: objtool: .entry.text+0x215:
can't find jump dest instruction at .entry.text+0x21a
make[3]: Target '__build' not remade because of errors.
make[2]: *** [/builds/linux/scripts/Makefile.build:540: arch/x86/entry] Error 2
make[2]: Target '__build' not remade because of errors.
make[1]: *** [/builds/linux/Makefile:1868: arch/x86] Error 2
Build config:
https://builds.tuxbuild.com/1yNlOcqNwVJJje4WbGjSV4ZeBh6/config
Reported-by: Linux Kernel Functional Testing <lkft@...aro.org>
meta data:
-----------
git_describe: v5.15-rc2
git_ref:
git_repo: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git_sha: e4e737bb5c170df6135a127739a9e6148ee3da82
git_short_log: e4e737bb5c17 (\"Linux 5.15-rc2\")
kconfig: [
defconfig
],
target_arch: x86_64
toolchain: clang-10
steps to reproduce:
tuxmake --runtime podman --target-arch x86_64 --toolchain clang-10
--kconfig defconfig
https://builds.tuxbuild.com/1yNlOcqNwVJJje4WbGjSV4ZeBh6/tuxmake_reproducer.sh
--
Linaro LKFT
https://lkft.linaro.org
Powered by blists - more mailing lists