[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200527194319.GX2869@paulmck-ThinkPad-P72>
Date: Wed, 27 May 2020 12:43:19 -0700
From: "Paul E. McKenney" <paulmck@...nel.org>
To: kbuild test robot <lkp@...el.com>
Cc: "Joel Fernandes (Google)" <joel@...lfernandes.org>,
kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org
Subject: Re: [rcu:dev.2020.05.26b 51/70] powerpc64-linux-ld:
kernel/rcu/refperf.o:(.discard+0x0): multiple definition of
`__pcpu_unique_srcu_ctl_perf_srcu_data';
kernel/rcu/rcuperf.o:(.discard+0x0): first defined here
On Thu, May 28, 2020 at 12:17:23AM +0800, kbuild test robot wrote:
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git dev.2020.05.26b
> head: 795279db1396bf66621fa3f343fa990fe543b89e
> commit: 786a25497743696d79592b864cafbfe48787e6e1 [51/70] refperf: Add a test to measure performance of read-side synchronization
> config: powerpc-allyesconfig (attached as .config)
> compiler: powerpc64-linux-gcc (GCC) 9.3.0
> 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
> git checkout 786a25497743696d79592b864cafbfe48787e6e1
> # save the attached .config to linux build tree
> COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=powerpc
>
> If you fix the issue, kindly add following tag as appropriate
> Reported-by: kbuild test robot <lkp@...el.com>
>
> All errors (new ones prefixed by >>, old ones prefixed by <<):
>
> >> powerpc64-linux-ld: kernel/rcu/refperf.o:(.discard+0x0): multiple definition of `__pcpu_unique_srcu_ctl_perf_srcu_data'; kernel/rcu/rcuperf.o:(.discard+0x0): first defined here
Ah, yes, despite the "static" keyword, the names must be unique throughout
the kernel. Will fix!
Thanx, Paul
Powered by blists - more mailing lists