[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <77e77c4f-0cde-090d-5918-c1a5f85ea5fb@infradead.org>
Date: Thu, 22 Dec 2022 16:40:53 -0800
From: Randy Dunlap <rdunlap@...radead.org>
To: kernel test robot <lkp@...el.com>,
Philipp Zabel <p.zabel@...gutronix.de>
Cc: llvm@...ts.linux.dev, oe-kbuild-all@...ts.linux.dev,
linux-kernel@...r.kernel.org, Arnd Bergmann <arnd@...db.de>
Subject: Re: ld.lld: error: undefined symbol: devm_ti_sci_get_handle
On 12/22/22 06:45, kernel test robot wrote:
> Hi Philipp,
>
> FYI, the error/warning was bisected to this commit, please ignore it if it's irrelevant.
>
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> head: 9d2f6060fe4c3b49d0cdc1dce1c99296f33379c8
> commit: a6af504184c981efd253f986e6fc54db57b1d39f reset: ti-sci: Allow building under COMPILE_TEST
> date: 8 months ago
> config: arm-randconfig-r046-20221222
> compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project 98b13979fb05f3ed288a900deb843e7b27589e58)
> 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 arm cross compiling tool for clang build
> # apt-get install binutils-arm-linux-gnueabi
> # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=a6af504184c981efd253f986e6fc54db57b1d39f
> git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
> git fetch --no-tags linus master
> git checkout a6af504184c981efd253f986e6fc54db57b1d39f
> # save the config file
> mkdir build_dir && cp config build_dir/.config
> COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm olddefconfig
> COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm SHELL=/bin/bash
>
> If you fix the issue, kindly add following tag where applicable
> | Reported-by: kernel test robot <lkp@...el.com>
>
> All errors (new ones prefixed by >>):
>
>>> ld.lld: error: undefined symbol: devm_ti_sci_get_handle
> >>> referenced by reset-ti-sci.c:229 (drivers/reset/reset-ti-sci.c:229)
> >>> reset/reset-ti-sci.o:(ti_sci_reset_probe) in archive drivers/built-in.a
Two (2) patches have been posted for this build error (in chronological order):
2022-10-29:
https://lore.kernel.org/lkml/20221030055636.3139-1-rdunlap@infradead.org/
2022-12-15:
https://lore.kernel.org/all/20221215170036.2308972-1-arnd@kernel.org/
Can someone apply one of them or at least comment on them?
Philipp?
thanks.
--
~Randy
Powered by blists - more mailing lists