[arc:topic-zol-remove 11/23] arch/arc/kernel/head.S:99: Error: opcode 'std' not supported for target arc700

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

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/vgupta/arc.git topic-zol-remove
head:   bc44856c00c323436192ecb07490d6dec95f9cc3
commit: 8edf09c34e4cc21a34c2add480fa86d7dc498ed6 [11/23] ARC: head: elide ZOL, use double load/store
config: arc-randconfig-a001-20200429 (attached as .config)
compiler: arc-elf-gcc (GCC) 9.3.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 8edf09c34e4cc21a34c2add480fa86d7dc498ed6
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day GCC_VERSION=9.3.0 make.cross ARCH=arc 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>):

   arch/arc/kernel/head.S: Assembler messages:
>> arch/arc/kernel/head.S:99: Error: opcode 'std' not supported for target arc700

vim +/std +99 arch/arc/kernel/head.S

    95	
    96		; Clear BSS before updating any globals
    97		mov	r5, __bss_start
    98		mov	r6, __bss_stop
  > 99	1:	std.ab  0, [r5, 8]
   100		brne    r5, r6, 1b
   101	
   102		; Uboot - kernel ABI
   103		;    r0 = [0] No uboot interaction, [1] cmdline in r2, [2] DTB in r2
   104		;    r1 = magic number (always zero as of now)
   105		;    r2 = pointer to uboot provided cmdline or external DTB in mem
   106		; These are handled later in handle_uboot_args()
   107		st	r0, [@uboot_tag]
   108		st      r1, [@uboot_magic]
   109		st	r2, [@uboot_arg]
   110	
   111		; setup "current" tsk and optionally cache it in dedicated r25
   112		mov	r9, @init_task
   113		SET_CURR_TASK_ON_CPU  r9, r0	; r9 = tsk, r0 = scratch
   114	
   115		; setup stack (fp, sp)
   116		mov	fp, 0
   117	
   118		; tsk->thread_info is really a PAGE, whose bottom hoists stack
   119		GET_TSK_STACK_BASE r9, sp	; r9 = tsk, sp = stack base(output)
   120	
   121		j	start_kernel	; "C" entry point
   122	END(stext)
   123	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip

_______________________________________________
linux-snps-arc mailing list
linux-snps-arc@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/linux-snps-arc

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux