From: Nicholas Piggin Date: Sat, 13 Apr 2019 06:01:51 +0000 Subject: Re: [PATCH v9 2/2] powerpc/64s: KVM update for reimplement book3s idle code in C Message-Id: <1555135200.ppqz3puh5j.astroid@bobo.none> List-Id: References: <20190412143053.18567-2-npiggin@gmail.com> <201904131032.tgFf8rgW%lkp@intel.com> In-Reply-To: <201904131032.tgFf8rgW%lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: kbuild test robot Cc: "Gautham R . Shenoy" , linuxppc-dev@lists.ozlabs.org, kbuild-all@01.org, kvm-ppc@vger.kernel.org kbuild test robot's on April 13, 2019 12:51 pm: > Hi Nicholas, > > I love your patch! Yet something to improve: > > [auto build test ERROR on powerpc/next] > [also build test ERROR on v5.1-rc4 next-20190412] > [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] > > url: https://github.com/0day-ci/linux/commits/Nicholas-Piggin/powerpc-64s-reimplement-book3s-idle-code-in-C/20190413-002437 > base: https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git next > config: powerpc-defconfig (attached as .config) > compiler: powerpc64-linux-gnu-gcc (Debian 7.2.0-11) 7.2.0 > reproduce: > wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross > chmod +x ~/bin/make.cross > # save the attached .config to linux build tree > GCC_VERSION=7.2.0 make.cross ARCH=powerpc > > All errors (new ones prefixed by >>): > > powerpc64-linux-gnu-ld: warning: orphan section `.gnu.hash' from `linker stubs' being placed in section `.gnu.hash'. > arch/powerpc/platforms/powernv/idle.o: In function `.pnv_cpu_offline': >>> (.text+0x1900): undefined reference to `.idle_kvm_start_guest' Argh, it took me longer than I'd like to admit to work this out. I'm ELFv1-illiterate. Replacing .globl with _GLOBAL seems to fix it. I'll roll that into the next patch. Thanks, Nick