lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Thu, 11 Feb 2016 00:20:06 +0800
From:	kbuild test robot <lkp@...el.com>
To:	Christophe Leroy <christophe.leroy@....fr>
Cc:	kbuild-all@...org,
	Benjamin Herrenschmidt <benh@...nel.crashing.org>,
	Paul Mackerras <paulus@...ba.org>,
	Michael Ellerman <mpe@...erman.id.au>,
	Scott Wood <oss@...error.net>, linux-kernel@...r.kernel.org,
	linuxppc-dev@...ts.ozlabs.org
Subject: Re: [PATCH v3] powerpc32: provide VIRT_CPU_ACCOUNTING

Hi Christophe,

[auto build test ERROR on powerpc/next]
[also build test ERROR on v4.5-rc3 next-20160210]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]

url:    https://github.com/0day-ci/linux/commits/Christophe-Leroy/powerpc32-provide-VIRT_CPU_ACCOUNTING/20160210-230049
base:   https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git next
config: powerpc-allnoconfig (attached as .config)
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=powerpc 

All error/warnings (new ones prefixed by >>):

   In file included from arch/powerpc/kernel/asm-offsets.c:30:0:
   arch/powerpc/kernel/asm-offsets.c: In function 'main':
>> include/linux/compiler-gcc.h:158:2: error: 'struct thread_info' has no member named 'starttime'
     __builtin_offsetof(a, b)
     ^
   include/linux/kbuild.h:5:55: note: in definition of macro 'DEFINE'
            asm volatile("\n->" #sym " %0 " #val : : "i" (val))
                                                          ^
   include/linux/stddef.h:16:32: note: in expansion of macro '__compiler_offsetof'
    #define offsetof(TYPE, MEMBER) __compiler_offsetof(TYPE, MEMBER)
                                   ^
>> arch/powerpc/kernel/asm-offsets.c:260:25: note: in expansion of macro 'offsetof'
     DEFINE(PACA_STARTTIME, offsetof(struct thread_info, starttime));
                            ^
>> include/linux/compiler-gcc.h:158:2: error: 'struct thread_info' has no member named 'starttime_user'
     __builtin_offsetof(a, b)
     ^
   include/linux/kbuild.h:5:55: note: in definition of macro 'DEFINE'
            asm volatile("\n->" #sym " %0 " #val : : "i" (val))
                                                          ^
   include/linux/stddef.h:16:32: note: in expansion of macro '__compiler_offsetof'
    #define offsetof(TYPE, MEMBER) __compiler_offsetof(TYPE, MEMBER)
                                   ^
   arch/powerpc/kernel/asm-offsets.c:261:30: note: in expansion of macro 'offsetof'
     DEFINE(PACA_STARTTIME_USER, offsetof(struct thread_info, starttime_user));
                                 ^
>> include/linux/compiler-gcc.h:158:2: error: 'struct thread_info' has no member named 'user_time'
     __builtin_offsetof(a, b)
     ^
   include/linux/kbuild.h:5:55: note: in definition of macro 'DEFINE'
            asm volatile("\n->" #sym " %0 " #val : : "i" (val))
                                                          ^
   include/linux/stddef.h:16:32: note: in expansion of macro '__compiler_offsetof'
    #define offsetof(TYPE, MEMBER) __compiler_offsetof(TYPE, MEMBER)
                                   ^
   arch/powerpc/kernel/asm-offsets.c:262:25: note: in expansion of macro 'offsetof'
     DEFINE(PACA_USER_TIME, offsetof(struct thread_info, user_time));
                            ^
>> include/linux/compiler-gcc.h:158:2: error: 'struct thread_info' has no member named 'system_time'
     __builtin_offsetof(a, b)
     ^
   include/linux/kbuild.h:5:55: note: in definition of macro 'DEFINE'
            asm volatile("\n->" #sym " %0 " #val : : "i" (val))
                                                          ^
   include/linux/stddef.h:16:32: note: in expansion of macro '__compiler_offsetof'
    #define offsetof(TYPE, MEMBER) __compiler_offsetof(TYPE, MEMBER)
                                   ^
   arch/powerpc/kernel/asm-offsets.c:263:27: note: in expansion of macro 'offsetof'
     DEFINE(PACA_SYSTEM_TIME, offsetof(struct thread_info, system_time));
                              ^
   make[2]: *** [arch/powerpc/kernel/asm-offsets.s] Error 1
   make[2]: Target '__build' not remade because of errors.
   make[1]: *** [prepare0] Error 2
   make[1]: Target 'prepare' not remade because of errors.
   make: *** [sub-make] Error 2

vim +158 include/linux/compiler-gcc.h

cb984d10 Joe Perches 2015-06-25  152  #  error Your version of gcc miscompiles the __weak directive
cb984d10 Joe Perches 2015-06-25  153  # endif
cb984d10 Joe Perches 2015-06-25  154  #endif
cb984d10 Joe Perches 2015-06-25  155  
cb984d10 Joe Perches 2015-06-25  156  #define __used			__attribute__((__used__))
cb984d10 Joe Perches 2015-06-25  157  #define __compiler_offsetof(a, b)					\
cb984d10 Joe Perches 2015-06-25 @158  	__builtin_offsetof(a, b)
cb984d10 Joe Perches 2015-06-25  159  
cb984d10 Joe Perches 2015-06-25  160  #if GCC_VERSION >= 40100 && GCC_VERSION < 40600
cb984d10 Joe Perches 2015-06-25  161  # define __compiletime_object_size(obj) __builtin_object_size(obj, 0)

:::::: The code at line 158 was first introduced by commit
:::::: cb984d101b30eb7478d32df56a0023e4603cba7f compiler-gcc: integrate the various compiler-gcc[345].h files

:::::: TO: Joe Perches <joe@...ches.com>
:::::: CC: Linus Torvalds <torvalds@...ux-foundation.org>

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

Download attachment ".config.gz" of type "application/octet-stream" (5723 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ