lkml.org 
[lkml]   [2021]   [Dec]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
Subject[next] arm: current.h:53:6: error: out of range pc-relative fixup value
[ Please ignore this email if it is already reported ]

On Linux next 20211220 (and 20211222) tag following arm config builds failed
with clang-11, clang-12, clang-13 and clang-nightly.

Build errors:
-------------
In file included from /builds/linux/kernel/sched/core.c:10:
In file included from /builds/linux/include/trace/events/sched.h:8:
In file included from /builds/linux/include/linux/kthread.h:6:
In file included from /builds/linux/include/linux/sched.h:12:
/builds/linux/arch/arm/include/asm/current.h:53:6: error: out of range
pc-relative fixup value
asm(LOAD_SYM_ARMV6(%0, __current) : "=r"(cur));
^
/builds/linux/arch/arm/include/asm/insn.h:25:2: note: expanded from
macro 'LOAD_SYM_ARMV6'
" ldr " #reg ", =" #sym " \n\t" \
^
<inline asm>:1:3: note: instantiated into assembly here
ldr r2, =__current
^

Reported-by: Linux Kernel Functional Testing <lkft@linaro.org>


meta data:
-----------
git describe: next-20211220 to next-20211222
git_repo: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
git_sha: 2bd48302750c652889a2604b3df8b591c1d3af08
git_short_log: 2bd48302750c (\"Add linux-next specific files for 20211222\")
target_arch: arm
toolchain: clang-11, clang-12, clang-13 and clang-nightly

Build log:
https://builds.tuxbuild.com/22doqqkr5uM1RUG67iJevPNL9nQ/

Regressions found on arm:

- clang-11-vexpress_defconfig
- clang-11-shmobile_defconfig
- clang-13-at91_dt_defconfig
- clang-13-lpc32xx_defconfig
- clang-11-omap2plus_defconfig
- clang-12-allnoconfig
- clang-13-imx_v6_v7_defconfig
- clang-11-mini2440_defconfig
- clang-13-imx_v4_v5_defconfig
- clang-12-multi_v5_defconfig
- clang-13-mxs_defconfig
- clang-13-ixp4xx_defconfig
- clang-11-lpc32xx_defconfig
- clang-nightly-s3c6400_defconfig
- clang-13-nhk8815_defconfig
- clang-12-imx_v6_v7_defconfig
- clang-11-nhk8815_defconfig
- clang-12-ixp4xx_defconfig
- clang-13-footbridge_defconfig
- clang-11-tinyconfig
- clang-11-axm55xx_defconfig
- clang-12-bcm2835_defconfig
- clang-12-davinci_all_defconfig
- clang-12-omap2plus_defconfig
- clang-11-at91_dt_defconfig
- clang-11-multi_v5_defconfig
- clang-11-s3c2410_defconfig
- clang-11-footbridge_defconfig
- clang-12-s3c2410_defconfig
- clang-12-mxs_defconfig
- clang-12-omap1_defconfig
- clang-11-defconfig
- clang-11-omap1_defconfig
- clang-13-orion5x_defconfig
- clang-12-orion5x_defconfig
- clang-11-davinci_all_defconfig
- clang-12-lpc32xx_defconfig
- clang-11-ixp4xx_defconfig
- clang-12-mini2440_defconfig
- clang-11-u8500_defconfig
- clang-11-integrator_defconfig
- clang-13-davinci_all_defconfig
- clang-11-mxs_defconfig
- clang-11-orion5x_defconfig
- clang-12-tinyconfig
- clang-12-footbridge_defconfig
- clang-11-imx_v4_v5_defconfig
- clang-13-s3c2410_defconfig
- clang-nightly-bcm2835_defconfig
- clang-11-allnoconfig
- clang-11-exynos_defconfig
- clang-11-keystone_defconfig
- clang-13-mini2440_defconfig
- clang-13-integrator_defconfig
- clang-12-imx_v4_v5_defconfig
- clang-13-multi_v5_defconfig
- clang-13-omap1_defconfig
- clang-11-bcm2835_defconfig
- clang-11-imx_v6_v7_defconfig
- clang-12-at91_dt_defconfig
- clang-12-integrator_defconfig
- clang-12-nhk8815_defconfig

steps to reproduce:
-------------------
# To install tuxmake on your system globally:
# sudo pip3 install -U tuxmake
#
# See https://docs.tuxmake.org/ for complete documentation.
# Original tuxmake command with fragments listed below.
# tuxmake --runtime podman --target-arch arm --toolchain clang-11
--kconfig at91_dt_defconfig LLVM=1 LLVM_IAS=1


tuxmake --runtime podman --target-arch arm --toolchain clang-11
--kconfig https://builds.tuxbuild.com/22doqqkr5uM1RUG67iJevPNL9nQ/config
LLVM=1 LLVM_IAS=1

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

\
 
 \ /
  Last update: 2021-12-22 19:28    [W:0.027 / U:0.196 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site