lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <62ab9a71.1c69fb81.4a827.2a61@mx.google.com>
Date:   Thu, 16 Jun 2022 23:02:39 +0200
From:   Christian Marangi <ansuelsmth@...il.com>
To:     kernel test robot <lkp@...el.com>
Cc:     llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
        linux-kernel@...r.kernel.org, Paolo Abeni <pabeni@...hat.com>
Subject: Re: [jkirsher-next-queue:master 1/5] ld.lld: error: undefined
 symbol: qcom_smem_get

On Fri, Jun 17, 2022 at 04:55:55AM +0800, kernel test robot wrote:
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/next-queue.git master
> head:   5dcb50c009c9f8ec1cfca6a81a05c0060a5bbf68
> commit: 9ec092d2feb69045dd289845024301fb91c064ee [1/5] net: ethernet: stmmac: add missing sgmii configure for ipq806x
> config: riscv-randconfig-r042-20220616 (https://download.01.org/0day-ci/archive/20220617/202206170405.fqVbBgOE-lkp@intel.com/config)
> compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project f0e608de27b3d568000046eebf3712ab542979d6)
> 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 riscv cross compiling tool for clang build
>         # apt-get install binutils-riscv64-linux-gnu
>         # https://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/next-queue.git/commit/?id=9ec092d2feb69045dd289845024301fb91c064ee
>         git remote add jkirsher-next-queue https://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/next-queue.git
>         git fetch --no-tags jkirsher-next-queue master
>         git checkout 9ec092d2feb69045dd289845024301fb91c064ee
>         # 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=riscv 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: qcom_smem_get
>    >>> referenced by socinfo.c
>    >>>               soc/qcom/socinfo.o:(qcom_socinfo_probe) in archive drivers/built-in.a
>    >>> referenced by socinfo.c
>    >>>               soc/qcom/socinfo.o:(qcom_socinfo_probe) in archive drivers/built-in.a
> 
> Kconfig warnings: (for reference only)
>    WARNING: unmet direct dependencies detected for QCOM_SOCINFO
>    Depends on QCOM_SMEM
>    Selected by
>    - DWMAC_IPQ806X && NETDEVICES && ETHERNET && NET_VENDOR_STMICRO && STMMAC_ETH && STMMAC_PLATFORM && OF && (ARCH_QCOM || COMPILE_TEST
> 
> -- 
> 0-DAY CI Kernel Test Service
> https://01.org/lkp

Mhhh is patch QCOM_SOCINFO to select QCOM_SMEM instead of depends on it
the correct fix for this?

(btw smem should always be selected for ipq806x as it's used for other
critical stuff like cpufreq speedbin and thermal)

-- 
	Ansuel

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ