[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202012260202.nZnqbmzS-lkp@intel.com>
Date: Sat, 26 Dec 2020 02:43:08 +0800
From: kernel test robot <lkp@...el.com>
To: 周琰杰 (Zhou Yanjie)
<zhouyanjie@...yeetech.com>
Cc: kbuild-all@...ts.01.org, clang-built-linux@...glegroups.com,
linux-kernel@...r.kernel.org, Vinod Koul <vkoul@...nel.org>,
漆鹏振 (Qi Pengzhen)
<aric.pzqi@...enic.com>, Paul Cercueil <paul@...pouillou.net>
Subject: undefined reference to `__ubsan_handle_alignment_assumption'
Hi 周琰杰,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 71c5f03154ac1cb27423b984743ccc2f5d11d14d
commit: 31de313dfdcf6971b0a1c30f86eabaa1eede74b3 PHY: Ingenic: Add USB PHY driver using generic PHY framework.
date: 3 weeks ago
config: s390-randconfig-r031-20201224 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project cee1e7d14f4628d6174b33640d502bff3b54ae45)
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 s390 cross compiling tool for clang build
# apt-get install binutils-s390x-linux-gnu
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=31de313dfdcf6971b0a1c30f86eabaa1eede74b3
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 31de313dfdcf6971b0a1c30f86eabaa1eede74b3
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=s390
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>
All errors (new ones prefixed by >>):
s390x-linux-gnu-ld: init/main.o: in function `do_initcalls':
main.c:(.init.text+0x1a34): undefined reference to `__ubsan_handle_alignment_assumption'
s390x-linux-gnu-ld: init/initramfs.o: in function `unpack_to_rootfs':
initramfs.c:(.init.text+0x3c4): undefined reference to `__ubsan_handle_alignment_assumption'
s390x-linux-gnu-ld: initramfs.c:(.init.text+0x3e0): undefined reference to `__ubsan_handle_alignment_assumption'
s390x-linux-gnu-ld: initramfs.c:(.init.text+0x3fc): undefined reference to `__ubsan_handle_alignment_assumption'
s390x-linux-gnu-ld: init/initramfs.o: in function `dir_add':
initramfs.c:(.init.text+0x1748): undefined reference to `__ubsan_handle_alignment_assumption'
s390x-linux-gnu-ld: init/initramfs.o:initramfs.c:(.init.text+0x1b62): more undefined references to `__ubsan_handle_alignment_assumption' follow
s390x-linux-gnu-ld: drivers/phy/ingenic/phy-ingenic-usb.o: in function `ingenic_usb_phy_probe':
phy-ingenic-usb.c:(.text+0x88): undefined reference to `devm_platform_ioremap_resource'
s390x-linux-gnu-ld: drivers/gpio/gpiolib.o: in function `gpiochip_add_data_with_key':
>> (.text+0x34f2): undefined reference to `__ubsan_handle_alignment_assumption'
s390x-linux-gnu-ld: drivers/gpio/gpiolib.o: in function `kzalloc':
gpiolib.c:(.text+0x5106): undefined reference to `__ubsan_handle_alignment_assumption'
s390x-linux-gnu-ld: drivers/gpio/gpiolib.o: in function `kmalloc_array':
gpiolib.c:(.text+0xc458): undefined reference to `__ubsan_handle_alignment_assumption'
s390x-linux-gnu-ld: drivers/gpio/gpiolib-cdev.o: in function `gpio_ioctl':
gpiolib-cdev.c:(.text+0x2a30): undefined reference to `__ubsan_handle_alignment_assumption'
s390x-linux-gnu-ld: gpiolib-cdev.c:(.text+0x2b50): undefined reference to `__ubsan_handle_alignment_assumption'
s390x-linux-gnu-ld: drivers/gpio/gpiolib-cdev.o:gpiolib-cdev.c:(.text+0x30da): more undefined references to `__ubsan_handle_alignment_assumption' follow
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
Download attachment ".config.gz" of type "application/gzip" (15135 bytes)
Powered by blists - more mailing lists