All of lore.kernel.org
 help / color / mirror / Atom feed
* [ak:lto-5.12-3 14/54] ld.lld: error: can't create dynamic relocation R_PPC64_ADDR64 against symbol: __kstrtab_strict_msr_control in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output
@ 2021-05-05 22:15 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-05-05 22:15 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 6071 bytes --]

TO: Andi Kleen <ak@linux.intel.com>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/ak/linux-misc.git lto-5.12-3
head:   3fb2a4dd065a905fdd7748ed55cd52eaad3695a3
commit: 85666fc0e1dbacdfde2bb08baf7ef9f52d00b684 [14/54] lto: Export export symbol assembler symbols for LTO
config: powerpc-randconfig-r016-20210505 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 8f5a2a5836cc8e4c1def2bdeb022e7b496623439)
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/ak/linux-misc.git/commit/?id=85666fc0e1dbacdfde2bb08baf7ef9f52d00b684
        git remote add ak https://git.kernel.org/pub/scm/linux/kernel/git/ak/linux-misc.git
        git fetch --no-tags ak lto-5.12-3
        git checkout 85666fc0e1dbacdfde2bb08baf7ef9f52d00b684
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 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: can't create dynamic relocation R_PPC64_ADDR64 against symbol: __kstrtab_strict_msr_control in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output
   >>> defined in arch/powerpc/built-in.a(kernel/process.o)
   >>> referenced by process.c
   >>> kernel/process.o:(__ksymtab_strict_msr_control) in archive arch/powerpc/built-in.a
--
>> ld.lld: error: can't create dynamic relocation R_PPC64_ADDR64 against symbol: __kstrtabns_strict_msr_control in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output
   >>> defined in arch/powerpc/built-in.a(kernel/process.o)
   >>> referenced by process.c
   >>> kernel/process.o:(__ksymtab_strict_msr_control) in archive arch/powerpc/built-in.a
--
>> ld.lld: error: can't create dynamic relocation R_PPC64_ADDR64 against symbol: __kstrtab___msr_check_and_clear in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output
   >>> defined in arch/powerpc/built-in.a(kernel/process.o)
   >>> referenced by process.c
   >>> kernel/process.o:(__ksymtab___msr_check_and_clear) in archive arch/powerpc/built-in.a
--
>> ld.lld: error: can't create dynamic relocation R_PPC64_ADDR64 against symbol: __kstrtabns___msr_check_and_clear in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output
   >>> defined in arch/powerpc/built-in.a(kernel/process.o)
   >>> referenced by process.c
   >>> kernel/process.o:(__ksymtab___msr_check_and_clear) in archive arch/powerpc/built-in.a
--
>> ld.lld: error: can't create dynamic relocation R_PPC64_ADDR64 against symbol: __kstrtab_enable_kernel_fp in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output
   >>> defined in arch/powerpc/built-in.a(kernel/process.o)
   >>> referenced by process.c
   >>> kernel/process.o:(__ksymtab_enable_kernel_fp) in archive arch/powerpc/built-in.a
--
>> ld.lld: error: can't create dynamic relocation R_PPC64_ADDR64 against symbol: __kstrtabns_enable_kernel_fp in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output
   >>> defined in arch/powerpc/built-in.a(kernel/process.o)
   >>> referenced by process.c
   >>> kernel/process.o:(__ksymtab_enable_kernel_fp) in archive arch/powerpc/built-in.a
--
>> ld.lld: error: can't create dynamic relocation R_PPC64_ADDR64 against symbol: __kstrtab_enable_kernel_altivec in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output
   >>> defined in arch/powerpc/built-in.a(kernel/process.o)
   >>> referenced by process.c
   >>> kernel/process.o:(__ksymtab_enable_kernel_altivec) in archive arch/powerpc/built-in.a
--
>> ld.lld: error: can't create dynamic relocation R_PPC64_ADDR64 against symbol: __kstrtabns_enable_kernel_altivec in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output
   >>> defined in arch/powerpc/built-in.a(kernel/process.o)
   >>> referenced by process.c
   >>> kernel/process.o:(__ksymtab_enable_kernel_altivec) in archive arch/powerpc/built-in.a
--
>> ld.lld: error: can't create dynamic relocation R_PPC64_ADDR64 against symbol: __kstrtab_enable_kernel_vsx in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output
   >>> defined in arch/powerpc/built-in.a(kernel/process.o)
   >>> referenced by process.c
   >>> kernel/process.o:(__ksymtab_enable_kernel_vsx) in archive arch/powerpc/built-in.a
--
>> ld.lld: error: can't create dynamic relocation R_PPC64_ADDR64 against symbol: __kstrtabns_enable_kernel_vsx in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output
   >>> defined in arch/powerpc/built-in.a(kernel/process.o)
   >>> referenced by process.c
   >>> kernel/process.o:(__ksymtab_enable_kernel_vsx) in archive arch/powerpc/built-in.a
--
>> ld.lld: error: can't create dynamic relocation R_PPC64_ADDR64 against symbol: __kstrtab_system_state in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output
   >>> defined in init/built-in.a(main.o)
   >>> referenced by main.c
   >>> main.o:(__ksymtab_system_state) in archive init/built-in.a
..

---
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: 21911 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-05-05 22:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-05 22:15 [ak:lto-5.12-3 14/54] ld.lld: error: can't create dynamic relocation R_PPC64_ADDR64 against symbol: __kstrtab_strict_msr_control in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output kernel test robot

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.