* [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
@ 2021-02-22 12:45 kernel test robot
2021-02-23 21:51 ` Fangrui Song
0 siblings, 1 reply; 4+ messages in thread
From: kernel test robot @ 2021-02-22 12:45 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 2871 bytes --]
CC: Linux Memory Management List <linux-mm@kvack.org>
TO: Nicholas Piggin <npiggin@gmail.com>
CC: Michael Ellerman <mpe@ellerman.id.au>
Hi Nicholas,
First bad commit (maybe != root cause):
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.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 c9439ca36342fb6013187d0a69aef92736951476)
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 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-next.git/commit/?id=755d664174463791489dddf34c33308b61de68c3
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=$HOME/0day COMPILER=clang make.cross ARCH=powerpc
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
ld.lld: error: arch/powerpc/built-in.a(kernel/exceptions-64e.o):(.text+0x23EE): unknown relocation (110) against symbol interrupt_base_book3e
ld.lld: error: arch/powerpc/built-in.a(kernel/exceptions-64e.o):(.text+0x2406): unknown relocation (110) against symbol __end_interrupts
>> ld.lld: error: arch/powerpc/built-in.a(kernel/exceptions-64e.o):(.text+0x2576): unknown relocation (110) against symbol interrupt_base_book3e
>> ld.lld: error: arch/powerpc/built-in.a(kernel/exceptions-64e.o):(.text+0x258E): unknown relocation (110) against symbol __end_interrupts
ld.lld: error: arch/powerpc/built-in.a(kernel/exceptions-64e.o):(.text+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_SOC_BOOKE
Selected by
- PM_SLEEP_SMP && SMP && (ARCH_SUSPEND_POSSIBLE || ARCH_HIBERNATION_POSSIBLE && PM_SLEEP
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 32286 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* 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
2021-02-22 12:45 [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 kernel test robot
@ 2021-02-23 21:51 ` Fangrui Song
2021-02-23 22:09 ` Nick Desaulniers
0 siblings, 1 reply; 4+ messages in thread
From: Fangrui Song @ 2021-02-23 21:51 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 3620 bytes --]
On 2021-02-22, kernel test robot wrote:
>CC: Linux Memory Management List <linux-mm@kvack.org>
>TO: Nicholas Piggin <npiggin@gmail.com>
>CC: Michael Ellerman <mpe@ellerman.id.au>
>
>Hi Nicholas,
>
>First bad commit (maybe != root cause):
>
>tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.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 c9439ca36342fb6013187d0a69aef92736951476)
>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 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-next.git/commit/?id=755d664174463791489dddf34c33308b61de68c3
> 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=$HOME/0day COMPILER=clang make.cross ARCH=powerpc
>
>If you fix the issue, kindly add following tag as appropriate
>Reported-by: kernel test robot <lkp@intel.com>
>
>All errors (new ones prefixed by >>):
>
> ld.lld: error: arch/powerpc/built-in.a(kernel/exceptions-64e.o):(.text+0x23EE): unknown relocation (110) against symbol interrupt_base_book3e
> ld.lld: error: arch/powerpc/built-in.a(kernel/exceptions-64e.o):(.text+0x2406): unknown relocation (110) against symbol __end_interrupts
>>> ld.lld: error: arch/powerpc/built-in.a(kernel/exceptions-64e.o):(.text+0x2576): unknown relocation (110) against symbol interrupt_base_book3e
>>> ld.lld: error: arch/powerpc/built-in.a(kernel/exceptions-64e.o):(.text+0x258E): unknown relocation (110) against symbol __end_interrupts
> ld.lld: error: arch/powerpc/built-in.a(kernel/exceptions-64e.o):(.text+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_SOC_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_PPC64_ADDR16_HIGH.
llvmorg-12-init-17023-gc9439ca36342 used by the bot does not have R_PPC64_ADDR16_HIGH support.
>---
>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 Groups "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/msgid/clang-built-linux/202102222003.q8ZqV9Xy-lkp%40intel.com.
^ permalink raw reply [flat|nested] 4+ messages in thread
* 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
2021-02-23 21:51 ` Fangrui Song
@ 2021-02-23 22:09 ` Nick Desaulniers
2021-02-23 23:02 ` Philip Li
0 siblings, 1 reply; 4+ messages in thread
From: Nick Desaulniers @ 2021-02-23 22:09 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 4676 bytes --]
On Tue, Feb 23, 2021 at 1:51 PM 'Fangrui Song' via Clang Built Linux
<clang-built-linux@googlegroups.com> wrote:
>
> On 2021-02-22, kernel test robot wrote:
> >CC: Linux Memory Management List <linux-mm@kvack.org>
> >TO: Nicholas Piggin <npiggin@gmail.com>
> >CC: Michael Ellerman <mpe@ellerman.id.au>
> >
> >Hi Nicholas,
> >
> >First bad commit (maybe != root cause):
> >
> >tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.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 c9439ca36342fb6013187d0a69aef92736951476)
> >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 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-next.git/commit/?id=755d664174463791489dddf34c33308b61de68c3
> > 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=$HOME/0day COMPILER=clang make.cross ARCH=powerpc
> >
> >If you fix the issue, kindly add following tag as appropriate
> >Reported-by: kernel test robot <lkp@intel.com>
> >
> >All errors (new ones prefixed by >>):
> >
> > ld.lld: error: arch/powerpc/built-in.a(kernel/exceptions-64e.o):(.text+0x23EE): unknown relocation (110) against symbol interrupt_base_book3e
> > ld.lld: error: arch/powerpc/built-in.a(kernel/exceptions-64e.o):(.text+0x2406): unknown relocation (110) against symbol __end_interrupts
> >>> ld.lld: error: arch/powerpc/built-in.a(kernel/exceptions-64e.o):(.text+0x2576): unknown relocation (110) against symbol interrupt_base_book3e
> >>> ld.lld: error: arch/powerpc/built-in.a(kernel/exceptions-64e.o):(.text+0x258E): unknown relocation (110) against symbol __end_interrupts
> > ld.lld: error: arch/powerpc/built-in.a(kernel/exceptions-64e.o):(.text+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_SOC_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_PPC64_ADDR16_HIGH.
> llvmorg-12-init-17023-gc9439ca36342 used by the bot does not have R_PPC64_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
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 Groups "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/msgid/clang-built-linux/202102222003.q8ZqV9Xy-lkp%40intel.com.
>
>
> --
> You received this message because you are subscribed to the Google Groups "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/msgid/clang-built-linux/20210223215104.etyo2intapqy2t4n%40google.com.
--
Thanks,
~Nick Desaulniers
^ permalink raw reply [flat|nested] 4+ messages in thread
* 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
2021-02-23 22:09 ` Nick Desaulniers
@ 2021-02-23 23:02 ` Philip Li
0 siblings, 0 replies; 4+ messages in thread
From: Philip Li @ 2021-02-23 23:02 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 4963 bytes --]
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
> <clang-built-linux@googlegroups.com> wrote:
> >
> > On 2021-02-22, kernel test robot wrote:
> > >CC: Linux Memory Management List <linux-mm@kvack.org>
> > >TO: Nicholas Piggin <npiggin@gmail.com>
> > >CC: Michael Ellerman <mpe@ellerman.id.au>
> > >
> > >Hi Nicholas,
> > >
> > >First bad commit (maybe != root cause):
> > >
> > >tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.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 c9439ca36342fb6013187d0a69aef92736951476)
> > >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 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-next.git/commit/?id=755d664174463791489dddf34c33308b61de68c3
> > > 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=$HOME/0day COMPILER=clang make.cross ARCH=powerpc
> > >
> > >If you fix the issue, kindly add following tag as appropriate
> > >Reported-by: kernel test robot <lkp@intel.com>
> > >
> > >All errors (new ones prefixed by >>):
> > >
> > > ld.lld: error: arch/powerpc/built-in.a(kernel/exceptions-64e.o):(.text+0x23EE): unknown relocation (110) against symbol interrupt_base_book3e
> > > ld.lld: error: arch/powerpc/built-in.a(kernel/exceptions-64e.o):(.text+0x2406): unknown relocation (110) against symbol __end_interrupts
> > >>> ld.lld: error: arch/powerpc/built-in.a(kernel/exceptions-64e.o):(.text+0x2576): unknown relocation (110) against symbol interrupt_base_book3e
> > >>> ld.lld: error: arch/powerpc/built-in.a(kernel/exceptions-64e.o):(.text+0x258E): unknown relocation (110) against symbol __end_interrupts
> > > ld.lld: error: arch/powerpc/built-in.a(kernel/exceptions-64e.o):(.text+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_SOC_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_PPC64_ADDR16_HIGH.
> > llvmorg-12-init-17023-gc9439ca36342 used by the bot does not have R_PPC64_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 Groups "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/msgid/clang-built-linux/202102222003.q8ZqV9Xy-lkp%40intel.com.
> >
> >
> > --
> > You received this message because you are subscribed to the Google Groups "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/msgid/clang-built-linux/20210223215104.etyo2intapqy2t4n%40google.com.
>
>
>
> --
> Thanks,
> ~Nick Desaulniers
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-02-23 23:02 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-02-22 12:45 [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 kernel test robot
2021-02-23 21:51 ` Fangrui Song
2021-02-23 22:09 ` Nick Desaulniers
2021-02-23 23:02 ` Philip Li
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.