From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============8881299326080154468==" MIME-Version: 1.0 From: Philip Li To: kbuild-all@lists.01.org Subject: Re: [linux-next:master 8545/12022] ld.lld: error: arch/powerpc/built-in.a(kernel/exceptions-64e.o):(.text+0x2576): unknown relocation (110) against symbol interrupt_base_book3e Date: Wed, 24 Feb 2021 07:02:46 +0800 Message-ID: <20210223230246.GA132276@pl-dbox> In-Reply-To: List-Id: --===============8881299326080154468== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable On Tue, Feb 23, 2021 at 02:09:53PM -0800, Nick Desaulniers wrote: > On Tue, Feb 23, 2021 at 1:51 PM 'Fangrui Song' via Clang Built Linux > wrote: > > > > On 2021-02-22, kernel test robot wrote: > > >CC: Linux Memory Management List > > >TO: Nicholas Piggin > > >CC: Michael Ellerman > > > > > >Hi Nicholas, > > > > > >First bad commit (maybe !=3D root cause): > > > > > >tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-nex= t.git master > > >head: 37dfbfbdca66834bc0f64ec9b35e09ac6c8898da > > >commit: 755d664174463791489dddf34c33308b61de68c3 [8545/12022] powerpc:= DebugException remove args > > >config: powerpc-randconfig-r026-20210222 (attached as .config) > > >compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project c= 9439ca36342fb6013187d0a69aef92736951476) > > >reproduce (this is a W=3D1 build): > > > wget https://raw.githubusercontent.com/intel/lkp-tests/master/= sbin/make.cross -O ~/bin/make.cross > > > chmod +x ~/bin/make.cross > > > # install powerpc cross compiling tool for clang build > > > # apt-get install binutils-powerpc-linux-gnu > > > # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-n= ext.git/commit/?id=3D755d664174463791489dddf34c33308b61de68c3 > > > 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 755d664174463791489dddf34c33308b61de68c3 > > > # save the attached .config to linux build tree > > > COMPILER_INSTALL_PATH=3D$HOME/0day COMPILER=3Dclang make.cross= ARCH=3Dpowerpc > > > > > >If you fix the issue, kindly add following tag as appropriate > > >Reported-by: kernel test robot > > > > > >All errors (new ones prefixed by >>): > > > > > > ld.lld: error: arch/powerpc/built-in.a(kernel/exceptions-64e.o):(.t= ext+0x23EE): unknown relocation (110) against symbol interrupt_base_book3e > > > ld.lld: error: arch/powerpc/built-in.a(kernel/exceptions-64e.o):(.t= ext+0x2406): unknown relocation (110) against symbol __end_interrupts > > >>> ld.lld: error: arch/powerpc/built-in.a(kernel/exceptions-64e.o):(.t= ext+0x2576): unknown relocation (110) against symbol interrupt_base_book3e > > >>> ld.lld: error: arch/powerpc/built-in.a(kernel/exceptions-64e.o):(.t= ext+0x258E): unknown relocation (110) against symbol __end_interrupts > > > ld.lld: error: arch/powerpc/built-in.a(kernel/exceptions-64e.o):(.t= ext+0x37F2): unknown relocation (110) against symbol > > > ld.lld: error: undefined symbol: .early_setup > > > >>> referenced by arch/powerpc/kernel/head_64.o:(.ref.text+0x5A) > > > >>> did you mean: early_setup > > > >>> defined in: arch/powerpc/built-in.a(kernel/setup_64.o) > > > > > >Kconfig warnings: (for reference only) > > > WARNING: unmet direct dependencies detected for HOTPLUG_CPU > > > Depends on SMP && (PPC_PSERIES || PPC_PMAC || PPC_POWERNV || FSL_SO= C_BOOKE > > > Selected by > > > - PM_SLEEP_SMP && SMP && (ARCH_SUSPEND_POSSIBLE || ARCH_HIBERNATION= _POSSIBLE && PM_SLEEP > > > > 110 is R_PPC64_ADDR16_HIGH. > > This is https://github.com/ClangBuiltLinux/linux/issues/1260 > > > > A newer LLD 12.0.0 (llvmorg-12-init-17087-g5fcb412ed083) supports R_PPC= 64_ADDR16_HIGH. > > llvmorg-12-init-17023-gc9439ca36342 used by the bot does not have R_PPC= 64_ADDR16_HIGH support. > = > Thanks Fangrui for verifying. Philip, clang-12 is not yet released > and is still landing fixes. Can the version used by 0day bot be > upgraded? Top of Tree LLVM will be clang-13, so both branches are got it, we will upgrade the clang compiler asap. > actively landing patches. When clang-12 is officially released, there > will be a point release 6 months later, clang-13 will branch, and > clang-14 will eventually ship as what's ToT. > = > > > > >--- > > >0-DAY CI Kernel Test Service, Intel Corporation > > >https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org > > > > > >-- > > >You received this message because you are subscribed to the Google Gro= ups "Clang Built Linux" group. > > >To unsubscribe from this group and stop receiving emails from it, send= an email to clang-built-linux+unsubscribe(a)googlegroups.com. > > >To view this discussion on the web visit https://groups.google.com/d/m= sgid/clang-built-linux/202102222003.q8ZqV9Xy-lkp%40intel.com. > > > > > > -- > > You received this message because you are subscribed to the Google Grou= ps "Clang Built Linux" group. > > To unsubscribe from this group and stop receiving emails from it, send = an email to clang-built-linux+unsubscribe(a)googlegroups.com. > > To view this discussion on the web visit https://groups.google.com/d/ms= gid/clang-built-linux/20210223215104.etyo2intapqy2t4n%40google.com. > = > = > = > -- = > Thanks, > ~Nick Desaulniers --===============8881299326080154468==--