[linux-next:master 7171/7172] m68k-linux-ld: usercopy.c:undefined reference to `_stext'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   f117c01187301a087412bd6697fcf5463cb427d8
commit: 0a7c05c2008ed9cffca620ce25f3da71aaa5c658 [7171/7172] Merge branch 'mm-everything' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
config: m68k-randconfig-c032-20220914 (https://download.01.org/0day-ci/archive/20220915/202209151126.sOan9KEo-lkp@xxxxxxxxx/config)
compiler: m68k-linux-gcc (GCC) 12.1.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
        # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=0a7c05c2008ed9cffca620ce25f3da71aaa5c658
        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 0a7c05c2008ed9cffca620ce25f3da71aaa5c658
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=m68k SHELL=/bin/bash

If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>):

   m68k-linux-ld: warning: cannot find entry symbol _start; defaulting to 0000000000001000
   m68k-linux-ld: m68k-linux-ld: DWARF error: could not find abbrev number 8407
   arch/m68k/kernel/setup.o: in function `setup_arch':
   setup.c:(.init.text+0x254): undefined reference to `availmem'
   m68k-linux-ld: m68k-linux-ld: DWARF error: could not find abbrev number 158861378
   arch/m68k/kernel/early_printk.o: in function `debug_cons_write':
   early_printk.c:(.ref.text+0x10): undefined reference to `debug_cons_nputs'
   m68k-linux-ld: m68k-linux-ld: DWARF error: could not find abbrev number 16095
   arch/m68k/mm/init.o: in function `mem_init':
   init.c:(.init.text+0x6e): undefined reference to `kernel_pg_dir'
   m68k-linux-ld: init.c:(.init.text+0x10): undefined reference to `kernel_pg_dir'
   m68k-linux-ld: init.c:(.init.text+0x1e): undefined reference to `kernel_pg_dir'
   m68k-linux-ld: m68k-linux-ld: DWARF error: could not find abbrev number 11869
   arch/m68k/mm/motorola.o: in function `mmu_page_ctor':
   motorola.c:(.text+0x1aa): undefined reference to `m68k_pgtable_cachemode'
   m68k-linux-ld: motorola.c:(.text+0x1e2): undefined reference to `m68k_pgtable_cachemode'
   m68k-linux-ld: arch/m68k/mm/motorola.o: in function `mmu_page_dtor':
   motorola.c:(.text+0x2d4): undefined reference to `m68k_supervisor_cachemode'
   m68k-linux-ld: motorola.c:(.text+0x2ec): undefined reference to `m68k_supervisor_cachemode'
   m68k-linux-ld: arch/m68k/mm/motorola.o: in function `free_pointer_table':
   motorola.c:(.text+0x5f6): undefined reference to `m68k_supervisor_cachemode'
   m68k-linux-ld: motorola.c:(.text+0x678): undefined reference to `m68k_supervisor_cachemode'
   m68k-linux-ld: arch/m68k/mm/motorola.o: in function `map_node':
   motorola.c:(.init.text+0x9a): undefined reference to `m68k_supervisor_cachemode'
   m68k-linux-ld: motorola.c:(.init.text+0x118): undefined reference to `kernel_pg_dir'
   m68k-linux-ld: motorola.c:(.init.text+0x11e): undefined reference to `kernel_pg_dir'
   m68k-linux-ld: arch/m68k/mm/motorola.o: in function `paging_init':
   motorola.c:(.init.text+0x45e): undefined reference to `availmem'
   m68k-linux-ld: m68k-linux-ld: DWARF error: could not find abbrev number 97
   kernel/extable.o: in function `core_kernel_text':
   extable.c:(.text+0x56): undefined reference to `_stext'
   m68k-linux-ld: kernel/extable.o: in function `__kernel_text_address':
   extable.c:(.text+0x98): undefined reference to `_stext'
   m68k-linux-ld: kernel/extable.o: in function `kernel_text_address':
   extable.c:(.text+0xee): undefined reference to `_stext'
   m68k-linux-ld: kernel/extable.o: in function `func_ptr_is_kernel_text':
   extable.c:(.text+0x130): undefined reference to `_stext'
   m68k-linux-ld: m68k-linux-ld: DWARF error: could not find abbrev number 3280
   kernel/profile.o: in function `profile_hits':
   profile.c:(.text+0x188): undefined reference to `_stext'
   m68k-linux-ld: kernel/profile.o:profile.c:(.text+0x1fc): more undefined references to `_stext' follow
   m68k-linux-ld: m68k-linux-ld: DWARF error: could not find abbrev number 11919
   kernel/crash_core.o: in function `crash_save_vmcoreinfo_init':
   crash_core.c:(.init.text+0x424): undefined reference to `kernel_pg_dir'
   m68k-linux-ld: m68k-linux-ld: DWARF error: could not find abbrev number 19
   mm/init-mm.o:(.data+0x28): undefined reference to `kernel_pg_dir'
   m68k-linux-ld: m68k-linux-ld: DWARF error: could not find abbrev number 1780286
   mm/usercopy.o: in function `__check_object_size':
   usercopy.c:(.text+0x124): undefined reference to `_stext'
>> m68k-linux-ld: usercopy.c:(.text+0x152): undefined reference to `_stext'

Kconfig warnings: (for reference only)
   WARNING: unmet direct dependencies detected for PROC_CHILDREN
   Depends on [n]: PROC_FS [=n]
   Selected by [y]:
   - CHECKPOINT_RESTORE [=y]

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux