From: kbuild test robot <lkp@intel.com>
To: Christophe Leroy <christophe.leroy@c-s.fr>
Cc: kbuild-all@01.org,
Benjamin Herrenschmidt <benh@kernel.crashing.org>,
Paul Mackerras <paulus@samba.org>,
Michael Ellerman <mpe@ellerman.id.au>,
Scott Wood <oss@buserror.net>,
linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org
Subject: Re: [PATCH v3] powerpc32: provide VIRT_CPU_ACCOUNTING
Date: Thu, 11 Feb 2016 00:20:06 +0800 [thread overview]
Message-ID: <201602110035.8fpYwPxV%fengguang.wu@intel.com> (raw)
In-Reply-To: <20160210145848.01F031A2446@localhost.localdomain>
[-- Attachment #1: Type: text/plain, Size: 5122 bytes --]
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@perches.com>
:::::: CC: Linus Torvalds <torvalds@linux-foundation.org>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 5723 bytes --]
prev parent reply other threads:[~2016-02-10 16:20 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-10 14:58 [PATCH v3] powerpc32: provide VIRT_CPU_ACCOUNTING Christophe Leroy
2016-02-10 16:13 ` kbuild test robot
2016-02-10 16:20 ` kbuild test robot [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201602110035.8fpYwPxV%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=benh@kernel.crashing.org \
--cc=christophe.leroy@c-s.fr \
--cc=kbuild-all@01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=mpe@ellerman.id.au \
--cc=oss@buserror.net \
--cc=paulus@samba.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox