All of lore.kernel.org
 help / color / mirror / Atom feed
* [jirislaby:devel 31/31] arch/nds32/include/asm/current.h:10:13: error: '$r25' undeclared
@ 2019-10-29 17:18 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2019-10-29 17:18 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/jirislaby/linux.git devel
head:   692d615834a5950b61707f688abddb56841ea5ba
commit: 692d615834a5950b61707f688abddb56841ea5ba [31/31] stacktrace: don't skip first entry on noncurrent tasks
config: nds32-defconfig (attached as .config)
compiler: nds32le-linux-gcc (GCC) 8.1.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 692d615834a5950b61707f688abddb56841ea5ba
        # save the attached .config to linux build tree
        GCC_VERSION=8.1.0 make.cross ARCH=nds32 

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   In file included from include/linux/sched.h:12,
                    from include/linux/sched/task_stack.h:9,
                    from kernel/stacktrace.c:9:
   kernel/stacktrace.c: In function 'stack_trace_save_tsk':
>> arch/nds32/include/asm/current.h:10:13: error: '$r25' undeclared (first use in this function)
    #define tsk $r25
                ^~~~
   kernel/stacktrace.c:303:34: note: in expansion of macro 'tsk'
      .skip = skipnr + !!(current == tsk),
                                     ^~~
   arch/nds32/include/asm/current.h:10:13: note: each undeclared identifier is reported only once for each function it appears in
    #define tsk $r25
                ^~~~
   kernel/stacktrace.c:303:34: note: in expansion of macro 'tsk'
      .skip = skipnr + !!(current == tsk),
                                     ^~~

vim +10 arch/nds32/include/asm/current.h

a15e9ffa877852 Greentime Hu 2017-10-24   6  
a15e9ffa877852 Greentime Hu 2017-10-24   7  #ifndef __ASSEMBLY__
a15e9ffa877852 Greentime Hu 2017-10-24   8  register struct task_struct *current asm("$r25");
a15e9ffa877852 Greentime Hu 2017-10-24   9  #endif /* __ASSEMBLY__ */
a15e9ffa877852 Greentime Hu 2017-10-24 @10  #define tsk $r25
a15e9ffa877852 Greentime Hu 2017-10-24  11  

:::::: The code at line 10 was first introduced by commit
:::::: a15e9ffa877852e529db33cc615c132bad2fc60a nds32: Process management

:::::: TO: Greentime Hu <greentime@andestech.com>
:::::: CC: Greentime Hu <greentime@andestech.com>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 10685 bytes --]

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

only message in thread, other threads:[~2019-10-29 17:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-29 17:18 [jirislaby:devel 31/31] arch/nds32/include/asm/current.h:10:13: error: '$r25' undeclared kbuild 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.