Re: [linux-next:master 9269/14079] ld.lld: error: undefined symbol: rockchip_pmu_block

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Brian,

How can fix this build issue? 
Should I add the ARCH_ROCKCHIP dependency to rk3399_dmc.c?


On 5/24/22 8:49 PM, kernel test robot wrote:
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
> head:   09ce5091ff971cdbfd67ad84dc561ea27f10d67a
> commit: 2e691421a2c9e0462175fe98171afa632861b199 [9269/14079] PM / devfreq: rk3399_dmc: Block PMU during transitions
> config: arm64-randconfig-r006-20220524 (https://protect2.fireeye.com/v1/url?k=d0aebf16-b1d51581-d0af3459-74fe4860001d-afa265d9beca802e&q=1&e=5a47bbdc-1a5f-45df-a343-9f76a9f3e3c8&u=https%3A%2F%2Fdownload.01.org%2F0day-ci%2Farchive%2F20220524%2F202205241931.GbIyyVs2-lkp%40intel.com%2Fconfig)
> compiler: clang version 15.0.0 (https://protect2.fireeye.com/v1/url?k=207af339-410159ae-207b7876-74fe4860001d-c3c991f126566568&q=1&e=5a47bbdc-1a5f-45df-a343-9f76a9f3e3c8&u=https%3A%2F%2Fgithub.com%2Fllvm%2Fllvm-project 10c9ecce9f6096e18222a331c5e7d085bd813f75)
> reproduce (this is a W=1 build):
>         wget https://protect2.fireeye.com/v1/url?k=e74a1a4c-8631b0db-e74b9103-74fe4860001d-3ba2876fc53e7fc8&q=1&e=5a47bbdc-1a5f-45df-a343-9f76a9f3e3c8&u=https%3A%2F%2Fraw.githubusercontent.com%2Fintel%2Flkp-tests%2Fmaster%2Fsbin%2Fmake.cross -O ~/bin/make.cross
>         chmod +x ~/bin/make.cross
>         # install arm64 cross compiling tool for clang build
>         # apt-get install binutils-aarch64-linux-gnu
>         # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=2e691421a2c9e0462175fe98171afa632861b199
>         git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
>         git fetch --no-tags linux-next master
>         git checkout 2e691421a2c9e0462175fe98171afa632861b199
>         # 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=arm64 SHELL=/bin/bash
> 
> If you fix the issue, kindly add following tag where applicable
> Reported-by: kernel test robot <lkp@xxxxxxxxx>
> 
> Note: the linux-next/master HEAD 09ce5091ff971cdbfd67ad84dc561ea27f10d67a builds fine.
>       It may have been fixed somewhere.
> 
> All errors (new ones prefixed by >>):
> 
>>> ld.lld: error: undefined symbol: rockchip_pmu_block
>    >>> referenced by rk3399_dmc.c:101 (drivers/devfreq/rk3399_dmc.c:101)
>    >>> devfreq/rk3399_dmc.o:(rk3399_dmcfreq_target) in archive drivers/built-in.a
> --
>>> ld.lld: error: undefined symbol: rockchip_pmu_unblock
>    >>> referenced by rk3399_dmc.c:212 (drivers/devfreq/rk3399_dmc.c:212)
>    >>> devfreq/rk3399_dmc.o:(rk3399_dmcfreq_target) in archive drivers/built-in.a
> 


-- 
Best Regards,
Chanwoo Choi
Samsung Electronics




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux