[arnd-asm-generic:master 19/26] arch/sparc/include/uapi/asm/posix_types.h:14: Error: Unknown opcode: `typedef'

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

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic.git master
head:   3f2b41135db9099b8d216fffeede5c2cb38ed277
commit: 72113d0a7d90d950c7c9a87ab905bffb6bc5752d [19/26] signal.h: add linux/signal.h and asm/signal.h to UAPI compile-test coverage
config: sparc64-randconfig-r036-20220217 (https://download.01.org/0day-ci/archive/20220217/202202172154.lJ3Z0yXe-lkp@xxxxxxxxx/config)
compiler: sparc64-linux-gcc (GCC) 11.2.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/arnd/asm-generic.git/commit/?id=72113d0a7d90d950c7c9a87ab905bffb6bc5752d
        git remote add arnd-asm-generic https://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic.git
        git fetch --no-tags arnd-asm-generic master
        git checkout 72113d0a7d90d950c7c9a87ab905bffb6bc5752d
        # save the config file to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=sparc64 SHELL=/bin/bash

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

All errors (new ones prefixed by >>):

   arch/sparc/include/uapi/asm/posix_types.h: Assembler messages:
>> arch/sparc/include/uapi/asm/posix_types.h:14: Error: Unknown opcode: `typedef'
   arch/sparc/include/uapi/asm/posix_types.h:15: Error: Unknown opcode: `typedef'
   arch/sparc/include/uapi/asm/posix_types.h:19: Error: Unknown opcode: `typedef'
   arch/sparc/include/uapi/asm/posix_types.h:22: Error: Unknown opcode: `typedef'
   arch/sparc/include/uapi/asm/posix_types.h:23: Error: Unknown opcode: `typedef'
>> arch/sparc/include/uapi/asm/posix_types.h:26: Error: Unknown opcode: `struct'
>> arch/sparc/include/uapi/asm/posix_types.h:27: Error: Unknown opcode: `__kernel_long_t tv_sec'
>> arch/sparc/include/uapi/asm/posix_types.h:28: Error: Unknown opcode: `__kernel_suseconds_t tv_usec'
>> arch/sparc/include/uapi/asm/posix_types.h:29: Error: junk at end of line, first unrecognized character is `}'
>> include/uapi/asm-generic/posix_types.h:20: Error: Unknown opcode: `typedef'
   include/uapi/asm-generic/posix_types.h:24: Error: Unknown opcode: `typedef'
   include/uapi/asm-generic/posix_types.h:28: Error: Unknown opcode: `typedef'
   include/uapi/asm-generic/posix_types.h:32: Error: Unknown opcode: `typedef'
   include/uapi/asm-generic/posix_types.h:36: Error: Unknown opcode: `typedef'
   include/uapi/asm-generic/posix_types.h:37: Error: Unknown opcode: `typedef'
   include/uapi/asm-generic/posix_types.h:45: Error: Unknown opcode: `typedef'
   include/uapi/asm-generic/posix_types.h:49: Error: Unknown opcode: `typedef'
   include/uapi/asm-generic/posix_types.h:50: Error: Unknown opcode: `typedef'
   include/uapi/asm-generic/posix_types.h:59: Error: Unknown opcode: `typedef'
   include/uapi/asm-generic/posix_types.h:72: Error: Unknown opcode: `typedef'
   include/uapi/asm-generic/posix_types.h:73: Error: Unknown opcode: `typedef'
   include/uapi/asm-generic/posix_types.h:74: Error: Unknown opcode: `typedef'
   include/uapi/asm-generic/posix_types.h:79: Error: Unknown opcode: `typedef'
>> include/uapi/asm-generic/posix_types.h:80: Error: Unknown opcode: `int'
>> include/uapi/asm-generic/posix_types.h:81: Error: junk at end of line, first unrecognized character is `}'
   include/uapi/asm-generic/posix_types.h:87: Error: Unknown opcode: `typedef'
   include/uapi/asm-generic/posix_types.h:88: Error: Unknown opcode: `typedef'
   include/uapi/asm-generic/posix_types.h:89: Error: Unknown opcode: `typedef'
   include/uapi/asm-generic/posix_types.h:93: Error: Unknown opcode: `typedef'
   include/uapi/asm-generic/posix_types.h:94: Error: Unknown opcode: `typedef'
   include/uapi/asm-generic/posix_types.h:95: Error: Unknown opcode: `typedef'
   include/uapi/asm-generic/posix_types.h:96: Error: Unknown opcode: `typedef'
   include/uapi/asm-generic/posix_types.h:97: Error: Unknown opcode: `typedef'
   include/uapi/asm-generic/posix_types.h:98: Error: Unknown opcode: `typedef'
   include/uapi/asm-generic/posix_types.h:99: Error: Unknown opcode: `typedef'


vim +14 arch/sparc/include/uapi/asm/posix_types.h

a508228a9ed2c2 arch/sparc/include/asm/posix_types.h      Sam Ravnborg   2009-01-02  13  
a508228a9ed2c2 arch/sparc/include/asm/posix_types.h      Sam Ravnborg   2009-01-02 @14  typedef unsigned short 	       __kernel_old_uid_t;
a508228a9ed2c2 arch/sparc/include/asm/posix_types.h      Sam Ravnborg   2009-01-02  15  typedef unsigned short         __kernel_old_gid_t;
8c4c7a9a0fd421 arch/sparc/include/asm/posix_types.h      H. Peter Anvin 2012-02-07  16  #define __kernel_old_uid_t __kernel_old_uid_t
a508228a9ed2c2 arch/sparc/include/asm/posix_types.h      Sam Ravnborg   2009-01-02  17  
a508228a9ed2c2 arch/sparc/include/asm/posix_types.h      Sam Ravnborg   2009-01-02  18  /* Note this piece of asymmetry from the v9 ABI.  */
a508228a9ed2c2 arch/sparc/include/asm/posix_types.h      Sam Ravnborg   2009-01-02  19  typedef int		       __kernel_suseconds_t;
8c4c7a9a0fd421 arch/sparc/include/asm/posix_types.h      H. Peter Anvin 2012-02-07  20  #define __kernel_suseconds_t __kernel_suseconds_t
a508228a9ed2c2 arch/sparc/include/asm/posix_types.h      Sam Ravnborg   2009-01-02  21  
bcb3fc3247e5a7 arch/sparc/include/uapi/asm/posix_types.h Deepa Dinamani 2019-02-02  22  typedef long		__kernel_long_t;
bcb3fc3247e5a7 arch/sparc/include/uapi/asm/posix_types.h Deepa Dinamani 2019-02-02  23  typedef unsigned long	__kernel_ulong_t;
bcb3fc3247e5a7 arch/sparc/include/uapi/asm/posix_types.h Deepa Dinamani 2019-02-02  24  #define __kernel_long_t __kernel_long_t
bcb3fc3247e5a7 arch/sparc/include/uapi/asm/posix_types.h Deepa Dinamani 2019-02-02  25  
bcb3fc3247e5a7 arch/sparc/include/uapi/asm/posix_types.h Deepa Dinamani 2019-02-02 @26  struct __kernel_old_timeval {
bcb3fc3247e5a7 arch/sparc/include/uapi/asm/posix_types.h Deepa Dinamani 2019-02-02 @27  	__kernel_long_t tv_sec;
bcb3fc3247e5a7 arch/sparc/include/uapi/asm/posix_types.h Deepa Dinamani 2019-02-02 @28  	__kernel_suseconds_t tv_usec;
bcb3fc3247e5a7 arch/sparc/include/uapi/asm/posix_types.h Deepa Dinamani 2019-02-02 @29  };
bcb3fc3247e5a7 arch/sparc/include/uapi/asm/posix_types.h Deepa Dinamani 2019-02-02  30  #define __kernel_old_timeval __kernel_old_timeval
bcb3fc3247e5a7 arch/sparc/include/uapi/asm/posix_types.h Deepa Dinamani 2019-02-02  31  

:::::: The code at line 14 was first introduced by commit
:::::: a508228a9ed2c2b582cec7833b60f55d12789219 sparc: unify posix_types.h

:::::: TO: Sam Ravnborg <sam@xxxxxxxxxxxx>
:::::: CC: David S. Miller <davem@xxxxxxxxxxxxx>

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



[Index of Archives]     [Linux Kernel]     [Kernel Newbies]     [x86 Platform Driver]     [Netdev]     [Linux Wireless]     [Netfilter]     [Bugtraq]     [Linux Filesystems]     [Yosemite Discussion]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]

  Powered by Linux