ld.lld: error: insufficient padding bytes for R_RISCV_ALIGN: 4 bytes available for requested alignment of 8 bytes

From: kernel test robot
Date: Sun Feb 02 2025 - 14:03:33 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: a86bf2283d2c9769205407e2b54777c03d012939
commit: aba3f18aba6b1c8dd0095d73194b53be2cdd5f14 Merge commit '3aff0c459e77' into for-next
date: 11 months ago
config: riscv-randconfig-r132-20250202 (https://download.01.org/0day-ci/archive/20250203/202502030359.Q6RS3KPh-lkp@xxxxxxxxx/config)
compiler: clang version 21.0.0git (https://github.com/llvm/llvm-project 355d0b186f178668b103068537e517f3d52ad639)
reproduce: (https://download.01.org/0day-ci/archive/20250203/202502030359.Q6RS3KPh-lkp@xxxxxxxxx/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202502030359.Q6RS3KPh-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.103126) is being placed in '.bss..L_MergedGlobals.103126'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.103127) is being placed in '.bss..L_MergedGlobals.103127'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.103128) is being placed in '.bss..L_MergedGlobals.103128'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.103129) is being placed in '.bss..L_MergedGlobals.103129'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.103130) is being placed in '.bss..L_MergedGlobals.103130'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.103131) is being placed in '.bss..L_MergedGlobals.103131'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.103132) is being placed in '.bss..L_MergedGlobals.103132'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.103133) is being placed in '.bss..L_MergedGlobals.103133'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.103134) is being placed in '.bss..L_MergedGlobals.103134'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.103135) is being placed in '.bss..L_MergedGlobals.103135'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.103136) is being placed in '.bss..L_MergedGlobals.103136'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.103137) is being placed in '.bss..L_MergedGlobals.103137'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.103138) is being placed in '.bss..L_MergedGlobals.103138'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.103139) is being placed in '.bss..L_MergedGlobals.103139'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.103140) is being placed in '.bss..L_MergedGlobals.103140'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.103141) is being placed in '.bss..L_MergedGlobals.103141'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.103142) is being placed in '.bss..L_MergedGlobals.103142'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.103143) is being placed in '.bss..L_MergedGlobals.103143'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.103144) is being placed in '.bss..L_MergedGlobals.103144'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.103145) is being placed in '.bss..L_MergedGlobals.103145'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.103146) is being placed in '.bss..L_MergedGlobals.103146'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.103147) is being placed in '.bss..L_MergedGlobals.103147'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.103148) is being placed in '.bss..L_MergedGlobals.103148'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.103149) is being placed in '.bss..L_MergedGlobals.103149'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.103150) is being placed in '.bss..L_MergedGlobals.103150'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.103151) is being placed in '.bss..L_MergedGlobals.103151'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.103152) is being placed in '.bss..L_MergedGlobals.103152'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.103153) is being placed in '.bss..L_MergedGlobals.103153'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.103154) is being placed in '.bss..L_MergedGlobals.103154'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.103155) is being placed in '.bss..L_MergedGlobals.103155'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.103156) is being placed in '.bss..L_MergedGlobals.103156'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.103157) is being placed in '.bss..L_MergedGlobals.103157'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.103158) is being placed in '.bss..L_MergedGlobals.103158'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.103159) is being placed in '.bss..L_MergedGlobals.103159'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.103160) is being placed in '.bss..L_MergedGlobals.103160'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.103161) is being placed in '.bss..L_MergedGlobals.103161'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.103162) is being placed in '.bss..L_MergedGlobals.103162'
ld.lld: warning: vmlinux.o:(.bss..L_MergedGlobals.103163) is being placed in '.bss..L_MergedGlobals.103163'
>> ld.lld: error: insufficient padding bytes for R_RISCV_ALIGN: 4 bytes available for requested alignment of 8 bytes
>> ld.lld: error: insufficient padding bytes for R_RISCV_ALIGN: 4 bytes available for requested alignment of 8 bytes
>> ld.lld: error: insufficient padding bytes for R_RISCV_ALIGN: 4 bytes available for requested alignment of 8 bytes
>> ld.lld: error: insufficient padding bytes for R_RISCV_ALIGN: 4 bytes available for requested alignment of 8 bytes

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki