From: kernel test robot <lkp@intel.com>
To: "周琰杰 (Zhou Yanjie)" <zhouyanjie@wanyeetech.com>
Cc: kbuild-all@lists.01.org, clang-built-linux@googlegroups.com,
linux-kernel@vger.kernel.org, "Vinod Koul" <vkoul@kernel.org>,
"漆鹏振 (Qi Pengzhen)" <aric.pzqi@ingenic.com>,
"Paul Cercueil" <paul@crapouillou.net>
Subject: undefined reference to `__ubsan_handle_alignment_assumption'
Date: Fri, 25 Dec 2020 23:36:04 +0800 [thread overview]
Message-ID: <202012252358.c7LBGG16-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 3437 bytes --]
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@intel.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
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 15135 bytes --]
next reply other threads:[~2020-12-25 15:37 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-25 15:36 kernel test robot [this message]
-- strict thread matches above, loose matches on Subject: below --
2020-12-25 18:43 undefined reference to `__ubsan_handle_alignment_assumption' kernel test robot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202012252358.c7LBGG16-lkp@intel.com \
--to=lkp@intel.com \
--cc=aric.pzqi@ingenic.com \
--cc=clang-built-linux@googlegroups.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=paul@crapouillou.net \
--cc=vkoul@kernel.org \
--cc=zhouyanjie@wanyeetech.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox