In-Reply-To: <20210411164146.20232-2-alex(a)ghiti.fr>
References: <20210411164146.20232-2-alex(a)ghiti.fr>
TO: Alexandre Ghiti <alex(a)ghiti.fr>
TO: Jonathan Corbet <corbet(a)lwn.net>
TO: Paul Walmsley <paul.walmsley(a)sifive.com>
TO: Palmer Dabbelt <palmer(a)dabbelt.com>
TO: Albert Ou <aou(a)eecs.berkeley.edu>
TO: Arnd Bergmann <arnd(a)arndb.de>
TO: Andrey Ryabinin <aryabinin(a)virtuozzo.com>
TO: Alexander Potapenko <glider(a)google.com>
TO: Dmitry Vyukov <dvyukov(a)google.com>
TO: linux-doc(a)vger.kernel.org
TO: linux-riscv(a)lists.infradead.org
Hi Alexandre,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on lwn/docs-next]
[also build test ERROR on soc/for-next linus/master v5.12-rc7]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url:
https://github.com/0day-ci/linux/commits/Alexandre-Ghiti/Move-kernel-mapp...
base:
git://git.lwn.net/linux-2.6 docs-next
config: riscv-randconfig-r012-20210413 (attached as .config)
compiler: clang version 13.0.0 (
https://github.com/llvm/llvm-project
9829f5e6b1bca9b61efc629770d28bb9014dec45)
reproduce (this is a W=1 build):
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
~/bin/make.cross
chmod +x ~/bin/make.cross
# install riscv cross compiling tool for clang build
# apt-get install binutils-riscv64-linux-gnu
#
https://github.com/0day-ci/linux/commit/e63d2d35b5270033fc2942172f2cda857...
git remote add linux-review
https://github.com/0day-ci/linux
git fetch --no-tags linux-review
Alexandre-Ghiti/Move-kernel-mapping-outside-the-linear-mapping/20210412-004552
git checkout e63d2d35b5270033fc2942172f2cda85776c9081
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=riscv
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
ld.lld: error: arch/riscv/kernel/head.o:(.head.text+0x0): relocation R_RISCV_ALIGN
requires unimplemented linker relaxation; recompile with -mno-relax
ld.lld: error: arch/riscv/kernel/head.o:(.head.text+0x8): relocation R_RISCV_ALIGN
requires unimplemented linker relaxation; recompile with -mno-relax
ld.lld: error: arch/riscv/kernel/head.o:(.head.text+0x3E): relocation R_RISCV_ALIGN
requires unimplemented linker relaxation; recompile with -mno-relax
ld.lld: error: arch/riscv/kernel/head.o:(.head.text+0x154): relocation R_RISCV_ALIGN
requires unimplemented linker relaxation; recompile with -mno-relax
ld.lld: error: arch/riscv/kernel/head.o:(.head.text+0x1152): relocation R_RISCV_ALIGN
requires unimplemented linker relaxation; recompile with -mno-relax
ld.lld: error: arch/riscv/kernel/head.o:(.head.text+0x1196): relocation R_RISCV_ALIGN
requires unimplemented linker relaxation; recompile with -mno-relax
ld.lld: error: arch/riscv/kernel/head.o:(.head.text+0x11B6): relocation R_RISCV_ALIGN
requires unimplemented linker relaxation; recompile with -mno-relax
> ld.lld: error: arch/riscv/kernel/head.o:(.head.text+0x11D0):
relocation R_RISCV_ALIGN requires unimplemented linker relaxation; recompile with
-mno-relax
ld.lld: error: arch/riscv/built-in.a(kernel/entry.o):(.text+0x0):
relocation R_RISCV_ALIGN requires unimplemented linker relaxation; recompile with
-mno-relax
ld.lld: error: arch/riscv/built-in.a(kernel/entry.o):(.text+0x24C): relocation
R_RISCV_ALIGN requires unimplemented linker relaxation; recompile with -mno-relax
ld.lld: error: arch/riscv/built-in.a(kernel/entry.o):(.text+0x25E): relocation
R_RISCV_ALIGN requires unimplemented linker relaxation; recompile with -mno-relax
ld.lld: error: arch/riscv/built-in.a(kernel/entry.o):(.text+0x274): relocation
R_RISCV_ALIGN requires unimplemented linker relaxation; recompile with -mno-relax
ld.lld: error: signal.c:(.fixup+0x0): relocation R_RISCV_ALIGN requires unimplemented
linker relaxation; recompile with -mno-relax
ld.lld: error: signal.c:(.fixup+0xE): relocation R_RISCV_ALIGN requires unimplemented
linker relaxation; recompile with -mno-relax
ld.lld: error: signal.c:(.fixup+0x1C): relocation R_RISCV_ALIGN requires unimplemented
linker relaxation; recompile with -mno-relax
ld.lld: error: signal.c:(.fixup+0x2A): relocation R_RISCV_ALIGN requires unimplemented
linker relaxation; recompile with -mno-relax
ld.lld: error: signal.c:(.fixup+0x36): relocation R_RISCV_ALIGN requires unimplemented
linker relaxation; recompile with -mno-relax
ld.lld: error: signal.c:(.fixup+0x42): relocation R_RISCV_ALIGN requires unimplemented
linker relaxation; recompile with -mno-relax
ld.lld: error: signal.c:(.fixup+0x4E): relocation R_RISCV_ALIGN requires unimplemented
linker relaxation; recompile with -mno-relax
ld.lld: error: signal.c:(.fixup+0x5A): relocation R_RISCV_ALIGN requires unimplemented
linker relaxation; recompile with -mno-relax
ld.lld: error: too many errors emitted, stopping now (use -error-limit=0 to see all
errors)
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org