* arch/x86/um/user-offsets.c:8:24: fatal error: asm/ptrace.h: No such file or directory
@ 2016-02-27 23:17 kbuild test robot
0 siblings, 0 replies; 11+ messages in thread
From: kbuild test robot @ 2016-02-27 23:17 UTC (permalink / raw)
To: Al Viro; +Cc: kbuild-all, linux-kernel, Richard Weinberger
[-- Attachment #1: Type: text/plain, Size: 2860 bytes --]
Hi Al,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 691429e13dfaf5b0994b07cc166db41bd608ee3d
commit: 5c48b108ecbf6505d929e64d50dace13ac2bdf34 um: take arch/um/sys-x86 to arch/x86/um
date: 4 years, 4 months ago
config: um-i386_defconfig (attached as .config)
reproduce:
git checkout 5c48b108ecbf6505d929e64d50dace13ac2bdf34
# save the attached .config to linux build tree
make ARCH=um SUBARCH=i386
All errors (new ones prefixed by >>):
>> arch/x86/um/user-offsets.c:8:24: fatal error: asm/ptrace.h: No such file or directory
compilation terminated.
make[2]: *** [arch/x86/um/user-offsets.s] Error 1
make[1]: *** [arch/x86/um/user-offsets.s] Error 2
make[1]: Target 'prepare' not remade because of errors.
make: *** [sub-make] Error 2
vim +8 arch/x86/um/user-offsets.c
8d0b9dc9be arch/um/sys-x86_64/user-offsets.c Al Viro 2005-05-05 1 #include <stdio.h>
8d0b9dc9be arch/um/sys-x86_64/user-offsets.c Al Viro 2005-05-05 2 #include <stddef.h>
8d0b9dc9be arch/um/sys-x86_64/user-offsets.c Al Viro 2005-05-05 3 #include <signal.h>
63ae2a94d9 arch/um/sys-x86_64/user-offsets.c Jeff Dike 2006-03-27 4 #include <sys/poll.h>
16dd07bc64 arch/um/sys-x86_64/user-offsets.c Jeff Dike 2007-05-06 5 #include <sys/mman.h>
189872f968 arch/um/sys-x86_64/user-offsets.c Jeff Dike 2007-10-16 6 #include <sys/user.h>
8d0b9dc9be arch/um/sys-x86_64/user-offsets.c Al Viro 2005-05-05 7 #define __FRAME_OFFSETS
8d0b9dc9be arch/um/sys-x86_64/user-offsets.c Al Viro 2005-05-05 @8 #include <asm/ptrace.h>
ba9950c820 arch/um/sys-x86_64/user-offsets.c Jeff Dike 2005-05-20 9 #include <asm/types.h>
8d0b9dc9be arch/um/sys-x86_64/user-offsets.c Al Viro 2005-05-05 10
8d0b9dc9be arch/um/sys-x86_64/user-offsets.c Al Viro 2005-05-05 11 #define DEFINE(sym, val) \
8d0b9dc9be arch/um/sys-x86_64/user-offsets.c Al Viro 2005-05-05 12 asm volatile("\n->" #sym " %0 " #val : : "i" (val))
8d0b9dc9be arch/um/sys-x86_64/user-offsets.c Al Viro 2005-05-05 13
ecba97d4aa arch/um/sys-x86_64/user-offsets.c Al Viro 2005-09-28 14 #define DEFINE_LONGS(sym, val) \
ecba97d4aa arch/um/sys-x86_64/user-offsets.c Al Viro 2005-09-28 15 asm volatile("\n->" #sym " %0 " #val : : "i" (val/sizeof(unsigned long)))
ecba97d4aa arch/um/sys-x86_64/user-offsets.c Al Viro 2005-09-28 16
:::::: The code at line 8 was first introduced by commit
:::::: 8d0b9dc9be3919e9979eac59fd12e8f82b098325 [PATCH] uml: start cross-build support : mk_user_constants
:::::: TO: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
:::::: CC: Linus Torvalds <torvalds@ppc970.osdl.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: 4988 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* arch/x86/um/user-offsets.c:8:24: fatal error: asm/ptrace.h: No such file or directory
@ 2016-03-05 23:33 kbuild test robot
0 siblings, 0 replies; 11+ messages in thread
From: kbuild test robot @ 2016-03-05 23:33 UTC (permalink / raw)
To: Al Viro; +Cc: kbuild-all, linux-kernel, Richard Weinberger
[-- Attachment #1: Type: text/plain, Size: 2860 bytes --]
Hi Al,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: a7c9b603cf2371edacb054abc35597e810c1e5fd
commit: 5c48b108ecbf6505d929e64d50dace13ac2bdf34 um: take arch/um/sys-x86 to arch/x86/um
date: 4 years, 4 months ago
config: um-i386_defconfig (attached as .config)
reproduce:
git checkout 5c48b108ecbf6505d929e64d50dace13ac2bdf34
# save the attached .config to linux build tree
make ARCH=um SUBARCH=i386
All errors (new ones prefixed by >>):
>> arch/x86/um/user-offsets.c:8:24: fatal error: asm/ptrace.h: No such file or directory
compilation terminated.
make[2]: *** [arch/x86/um/user-offsets.s] Error 1
make[1]: *** [arch/x86/um/user-offsets.s] Error 2
make[1]: Target 'prepare' not remade because of errors.
make: *** [sub-make] Error 2
vim +8 arch/x86/um/user-offsets.c
8d0b9dc9be arch/um/sys-x86_64/user-offsets.c Al Viro 2005-05-05 1 #include <stdio.h>
8d0b9dc9be arch/um/sys-x86_64/user-offsets.c Al Viro 2005-05-05 2 #include <stddef.h>
8d0b9dc9be arch/um/sys-x86_64/user-offsets.c Al Viro 2005-05-05 3 #include <signal.h>
63ae2a94d9 arch/um/sys-x86_64/user-offsets.c Jeff Dike 2006-03-27 4 #include <sys/poll.h>
16dd07bc64 arch/um/sys-x86_64/user-offsets.c Jeff Dike 2007-05-06 5 #include <sys/mman.h>
189872f968 arch/um/sys-x86_64/user-offsets.c Jeff Dike 2007-10-16 6 #include <sys/user.h>
8d0b9dc9be arch/um/sys-x86_64/user-offsets.c Al Viro 2005-05-05 7 #define __FRAME_OFFSETS
8d0b9dc9be arch/um/sys-x86_64/user-offsets.c Al Viro 2005-05-05 @8 #include <asm/ptrace.h>
ba9950c820 arch/um/sys-x86_64/user-offsets.c Jeff Dike 2005-05-20 9 #include <asm/types.h>
8d0b9dc9be arch/um/sys-x86_64/user-offsets.c Al Viro 2005-05-05 10
8d0b9dc9be arch/um/sys-x86_64/user-offsets.c Al Viro 2005-05-05 11 #define DEFINE(sym, val) \
8d0b9dc9be arch/um/sys-x86_64/user-offsets.c Al Viro 2005-05-05 12 asm volatile("\n->" #sym " %0 " #val : : "i" (val))
8d0b9dc9be arch/um/sys-x86_64/user-offsets.c Al Viro 2005-05-05 13
ecba97d4aa arch/um/sys-x86_64/user-offsets.c Al Viro 2005-09-28 14 #define DEFINE_LONGS(sym, val) \
ecba97d4aa arch/um/sys-x86_64/user-offsets.c Al Viro 2005-09-28 15 asm volatile("\n->" #sym " %0 " #val : : "i" (val/sizeof(unsigned long)))
ecba97d4aa arch/um/sys-x86_64/user-offsets.c Al Viro 2005-09-28 16
:::::: The code at line 8 was first introduced by commit
:::::: 8d0b9dc9be3919e9979eac59fd12e8f82b098325 [PATCH] uml: start cross-build support : mk_user_constants
:::::: TO: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
:::::: CC: Linus Torvalds <torvalds@ppc970.osdl.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: 4988 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* arch/x86/um/user-offsets.c:8:24: fatal error: asm/ptrace.h: No such file or directory
@ 2016-03-12 22:45 kbuild test robot
2016-03-14 0:53 ` Krzysztof Kozlowski
0 siblings, 1 reply; 11+ messages in thread
From: kbuild test robot @ 2016-03-12 22:45 UTC (permalink / raw)
To: Al Viro; +Cc: kbuild-all, linux-kernel, Richard Weinberger
[-- Attachment #1: Type: text/plain, Size: 2860 bytes --]
Hi Al,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 03c668a93187fe7fba9464f96fbe7c22eebd9897
commit: 5c48b108ecbf6505d929e64d50dace13ac2bdf34 um: take arch/um/sys-x86 to arch/x86/um
date: 4 years, 4 months ago
config: um-i386_defconfig (attached as .config)
reproduce:
git checkout 5c48b108ecbf6505d929e64d50dace13ac2bdf34
# save the attached .config to linux build tree
make ARCH=um SUBARCH=i386
All errors (new ones prefixed by >>):
>> arch/x86/um/user-offsets.c:8:24: fatal error: asm/ptrace.h: No such file or directory
compilation terminated.
make[2]: *** [arch/x86/um/user-offsets.s] Error 1
make[1]: *** [arch/x86/um/user-offsets.s] Error 2
make[1]: Target 'prepare' not remade because of errors.
make: *** [sub-make] Error 2
vim +8 arch/x86/um/user-offsets.c
8d0b9dc9be arch/um/sys-x86_64/user-offsets.c Al Viro 2005-05-05 1 #include <stdio.h>
8d0b9dc9be arch/um/sys-x86_64/user-offsets.c Al Viro 2005-05-05 2 #include <stddef.h>
8d0b9dc9be arch/um/sys-x86_64/user-offsets.c Al Viro 2005-05-05 3 #include <signal.h>
63ae2a94d9 arch/um/sys-x86_64/user-offsets.c Jeff Dike 2006-03-27 4 #include <sys/poll.h>
16dd07bc64 arch/um/sys-x86_64/user-offsets.c Jeff Dike 2007-05-06 5 #include <sys/mman.h>
189872f968 arch/um/sys-x86_64/user-offsets.c Jeff Dike 2007-10-16 6 #include <sys/user.h>
8d0b9dc9be arch/um/sys-x86_64/user-offsets.c Al Viro 2005-05-05 7 #define __FRAME_OFFSETS
8d0b9dc9be arch/um/sys-x86_64/user-offsets.c Al Viro 2005-05-05 @8 #include <asm/ptrace.h>
ba9950c820 arch/um/sys-x86_64/user-offsets.c Jeff Dike 2005-05-20 9 #include <asm/types.h>
8d0b9dc9be arch/um/sys-x86_64/user-offsets.c Al Viro 2005-05-05 10
8d0b9dc9be arch/um/sys-x86_64/user-offsets.c Al Viro 2005-05-05 11 #define DEFINE(sym, val) \
8d0b9dc9be arch/um/sys-x86_64/user-offsets.c Al Viro 2005-05-05 12 asm volatile("\n->" #sym " %0 " #val : : "i" (val))
8d0b9dc9be arch/um/sys-x86_64/user-offsets.c Al Viro 2005-05-05 13
ecba97d4aa arch/um/sys-x86_64/user-offsets.c Al Viro 2005-09-28 14 #define DEFINE_LONGS(sym, val) \
ecba97d4aa arch/um/sys-x86_64/user-offsets.c Al Viro 2005-09-28 15 asm volatile("\n->" #sym " %0 " #val : : "i" (val/sizeof(unsigned long)))
ecba97d4aa arch/um/sys-x86_64/user-offsets.c Al Viro 2005-09-28 16
:::::: The code at line 8 was first introduced by commit
:::::: 8d0b9dc9be3919e9979eac59fd12e8f82b098325 [PATCH] uml: start cross-build support : mk_user_constants
:::::: TO: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
:::::: CC: Linus Torvalds <torvalds@ppc970.osdl.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: 4988 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: arch/x86/um/user-offsets.c:8:24: fatal error: asm/ptrace.h: No such file or directory
2016-03-12 22:45 arch/x86/um/user-offsets.c:8:24: fatal error: asm/ptrace.h: No such file or directory kbuild test robot
@ 2016-03-14 0:53 ` Krzysztof Kozlowski
2016-03-18 3:19 ` Philip Li
0 siblings, 1 reply; 11+ messages in thread
From: Krzysztof Kozlowski @ 2016-03-14 0:53 UTC (permalink / raw)
To: kbuild test robot; +Cc: Al Viro, kbuild-all, linux-kernel, Richard Weinberger
On Sun, Mar 13, 2016 at 7:45 AM, kbuild test robot
<fengguang.wu@intel.com> wrote:
> Hi Al,
>
> FYI, the error/warning still remains.
>
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> head: 03c668a93187fe7fba9464f96fbe7c22eebd9897
> commit: 5c48b108ecbf6505d929e64d50dace13ac2bdf34 um: take arch/um/sys-x86 to arch/x86/um
> date: 4 years, 4 months ago
> config: um-i386_defconfig (attached as .config)
> reproduce:
> git checkout 5c48b108ecbf6505d929e64d50dace13ac2bdf34
> # save the attached .config to linux build tree
> make ARCH=um SUBARCH=i386
>
Hi,
The code is correct. The build machine lacks asm/ptrace.h for i386
(e.g. /usr/include/i386-linux-gnu/asm/ptrace.h). For example on Ubuntu
this is provided by linux-libc-dev:i386.
Best regards,
Krzysztof
> All errors (new ones prefixed by >>):
>
>>> arch/x86/um/user-offsets.c:8:24: fatal error: asm/ptrace.h: No such file or directory
> compilation terminated.
> make[2]: *** [arch/x86/um/user-offsets.s] Error 1
> make[1]: *** [arch/x86/um/user-offsets.s] Error 2
> make[1]: Target 'prepare' not remade because of errors.
> make: *** [sub-make] Error 2
>
> vim +8 arch/x86/um/user-offsets.c
>
> 8d0b9dc9be arch/um/sys-x86_64/user-offsets.c Al Viro 2005-05-05 1 #include <stdio.h>
> 8d0b9dc9be arch/um/sys-x86_64/user-offsets.c Al Viro 2005-05-05 2 #include <stddef.h>
> 8d0b9dc9be arch/um/sys-x86_64/user-offsets.c Al Viro 2005-05-05 3 #include <signal.h>
> 63ae2a94d9 arch/um/sys-x86_64/user-offsets.c Jeff Dike 2006-03-27 4 #include <sys/poll.h>
> 16dd07bc64 arch/um/sys-x86_64/user-offsets.c Jeff Dike 2007-05-06 5 #include <sys/mman.h>
> 189872f968 arch/um/sys-x86_64/user-offsets.c Jeff Dike 2007-10-16 6 #include <sys/user.h>
> 8d0b9dc9be arch/um/sys-x86_64/user-offsets.c Al Viro 2005-05-05 7 #define __FRAME_OFFSETS
> 8d0b9dc9be arch/um/sys-x86_64/user-offsets.c Al Viro 2005-05-05 @8 #include <asm/ptrace.h>
> ba9950c820 arch/um/sys-x86_64/user-offsets.c Jeff Dike 2005-05-20 9 #include <asm/types.h>
> 8d0b9dc9be arch/um/sys-x86_64/user-offsets.c Al Viro 2005-05-05 10
> 8d0b9dc9be arch/um/sys-x86_64/user-offsets.c Al Viro 2005-05-05 11 #define DEFINE(sym, val) \
> 8d0b9dc9be arch/um/sys-x86_64/user-offsets.c Al Viro 2005-05-05 12 asm volatile("\n->" #sym " %0 " #val : : "i" (val))
> 8d0b9dc9be arch/um/sys-x86_64/user-offsets.c Al Viro 2005-05-05 13
> ecba97d4aa arch/um/sys-x86_64/user-offsets.c Al Viro 2005-09-28 14 #define DEFINE_LONGS(sym, val) \
> ecba97d4aa arch/um/sys-x86_64/user-offsets.c Al Viro 2005-09-28 15 asm volatile("\n->" #sym " %0 " #val : : "i" (val/sizeof(unsigned long)))
> ecba97d4aa arch/um/sys-x86_64/user-offsets.c Al Viro 2005-09-28 16
>
> :::::: The code at line 8 was first introduced by commit
> :::::: 8d0b9dc9be3919e9979eac59fd12e8f82b098325 [PATCH] uml: start cross-build support : mk_user_constants
>
> :::::: TO: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
> :::::: CC: Linus Torvalds <torvalds@ppc970.osdl.org>
>
> ---
> 0-DAY kernel test infrastructure Open Source Technology Center
> https://lists.01.org/pipermail/kbuild-all Intel Corporation
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: arch/x86/um/user-offsets.c:8:24: fatal error: asm/ptrace.h: No such file or directory
2016-03-14 0:53 ` Krzysztof Kozlowski
@ 2016-03-18 3:19 ` Philip Li
2016-03-18 3:22 ` Krzysztof Kozlowski
0 siblings, 1 reply; 11+ messages in thread
From: Philip Li @ 2016-03-18 3:19 UTC (permalink / raw)
To: Krzysztof Kozlowski
Cc: kbuild test robot, Al Viro, kbuild-all, linux-kernel,
Richard Weinberger
On Mon, Mar 14, 2016 at 09:53:06AM +0900, Krzysztof Kozlowski wrote:
> On Sun, Mar 13, 2016 at 7:45 AM, kbuild test robot
> <fengguang.wu@intel.com> wrote:
> > Hi Al,
> >
> > FYI, the error/warning still remains.
> >
> > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> > head: 03c668a93187fe7fba9464f96fbe7c22eebd9897
> > commit: 5c48b108ecbf6505d929e64d50dace13ac2bdf34 um: take arch/um/sys-x86 to arch/x86/um
> > date: 4 years, 4 months ago
> > config: um-i386_defconfig (attached as .config)
> > reproduce:
> > git checkout 5c48b108ecbf6505d929e64d50dace13ac2bdf34
> > # save the attached .config to linux build tree
> > make ARCH=um SUBARCH=i386
> >
>
> Hi,
>
> The code is correct. The build machine lacks asm/ptrace.h for i386
> (e.g. /usr/include/i386-linux-gnu/asm/ptrace.h). For example on Ubuntu
> this is provided by linux-libc-dev:i386.
sorry for late response, we have installed linux-libc-dev:i386 on our build environment to have this head file.
Thanks
>
> Best regards,
> Krzysztof
>
>
> > All errors (new ones prefixed by >>):
> >
> >>> arch/x86/um/user-offsets.c:8:24: fatal error: asm/ptrace.h: No such file or directory
> > compilation terminated.
> > make[2]: *** [arch/x86/um/user-offsets.s] Error 1
> > make[1]: *** [arch/x86/um/user-offsets.s] Error 2
> > make[1]: Target 'prepare' not remade because of errors.
> > make: *** [sub-make] Error 2
> >
> > vim +8 arch/x86/um/user-offsets.c
> >
> > 8d0b9dc9be arch/um/sys-x86_64/user-offsets.c Al Viro 2005-05-05 1 #include <stdio.h>
> > 8d0b9dc9be arch/um/sys-x86_64/user-offsets.c Al Viro 2005-05-05 2 #include <stddef.h>
> > 8d0b9dc9be arch/um/sys-x86_64/user-offsets.c Al Viro 2005-05-05 3 #include <signal.h>
> > 63ae2a94d9 arch/um/sys-x86_64/user-offsets.c Jeff Dike 2006-03-27 4 #include <sys/poll.h>
> > 16dd07bc64 arch/um/sys-x86_64/user-offsets.c Jeff Dike 2007-05-06 5 #include <sys/mman.h>
> > 189872f968 arch/um/sys-x86_64/user-offsets.c Jeff Dike 2007-10-16 6 #include <sys/user.h>
> > 8d0b9dc9be arch/um/sys-x86_64/user-offsets.c Al Viro 2005-05-05 7 #define __FRAME_OFFSETS
> > 8d0b9dc9be arch/um/sys-x86_64/user-offsets.c Al Viro 2005-05-05 @8 #include <asm/ptrace.h>
> > ba9950c820 arch/um/sys-x86_64/user-offsets.c Jeff Dike 2005-05-20 9 #include <asm/types.h>
> > 8d0b9dc9be arch/um/sys-x86_64/user-offsets.c Al Viro 2005-05-05 10
> > 8d0b9dc9be arch/um/sys-x86_64/user-offsets.c Al Viro 2005-05-05 11 #define DEFINE(sym, val) \
> > 8d0b9dc9be arch/um/sys-x86_64/user-offsets.c Al Viro 2005-05-05 12 asm volatile("\n->" #sym " %0 " #val : : "i" (val))
> > 8d0b9dc9be arch/um/sys-x86_64/user-offsets.c Al Viro 2005-05-05 13
> > ecba97d4aa arch/um/sys-x86_64/user-offsets.c Al Viro 2005-09-28 14 #define DEFINE_LONGS(sym, val) \
> > ecba97d4aa arch/um/sys-x86_64/user-offsets.c Al Viro 2005-09-28 15 asm volatile("\n->" #sym " %0 " #val : : "i" (val/sizeof(unsigned long)))
> > ecba97d4aa arch/um/sys-x86_64/user-offsets.c Al Viro 2005-09-28 16
> >
> > :::::: The code at line 8 was first introduced by commit
> > :::::: 8d0b9dc9be3919e9979eac59fd12e8f82b098325 [PATCH] uml: start cross-build support : mk_user_constants
> >
> > :::::: TO: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
> > :::::: CC: Linus Torvalds <torvalds@ppc970.osdl.org>
> >
> > ---
> > 0-DAY kernel test infrastructure Open Source Technology Center
> > https://lists.01.org/pipermail/kbuild-all Intel Corporation
>
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: arch/x86/um/user-offsets.c:8:24: fatal error: asm/ptrace.h: No such file or directory
2016-03-18 3:19 ` Philip Li
@ 2016-03-18 3:22 ` Krzysztof Kozlowski
2016-03-18 3:27 ` Li, Philip
2016-03-18 8:59 ` Philip Li
0 siblings, 2 replies; 11+ messages in thread
From: Krzysztof Kozlowski @ 2016-03-18 3:22 UTC (permalink / raw)
To: Philip Li
Cc: kbuild test robot, Al Viro, kbuild-all, linux-kernel,
Richard Weinberger
On 18.03.2016 12:19, Philip Li wrote:
> On Mon, Mar 14, 2016 at 09:53:06AM +0900, Krzysztof Kozlowski wrote:
>> On Sun, Mar 13, 2016 at 7:45 AM, kbuild test robot
>> <fengguang.wu@intel.com> wrote:
>>> Hi Al,
>>>
>>> FYI, the error/warning still remains.
>>>
>>> tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
>>> head: 03c668a93187fe7fba9464f96fbe7c22eebd9897
>>> commit: 5c48b108ecbf6505d929e64d50dace13ac2bdf34 um: take arch/um/sys-x86 to arch/x86/um
>>> date: 4 years, 4 months ago
>>> config: um-i386_defconfig (attached as .config)
>>> reproduce:
>>> git checkout 5c48b108ecbf6505d929e64d50dace13ac2bdf34
>>> # save the attached .config to linux build tree
>>> make ARCH=um SUBARCH=i386
>>>
>>
>> Hi,
>>
>> The code is correct. The build machine lacks asm/ptrace.h for i386
>> (e.g. /usr/include/i386-linux-gnu/asm/ptrace.h). For example on Ubuntu
>> this is provided by linux-libc-dev:i386.
>
> sorry for late response, we have installed linux-libc-dev:i386 on our build environment to have this head file.
... and does it help? Is the issue fixed?
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 11+ messages in thread
* RE: arch/x86/um/user-offsets.c:8:24: fatal error: asm/ptrace.h: No such file or directory
2016-03-18 3:22 ` Krzysztof Kozlowski
@ 2016-03-18 3:27 ` Li, Philip
2016-03-18 8:59 ` Philip Li
1 sibling, 0 replies; 11+ messages in thread
From: Li, Philip @ 2016-03-18 3:27 UTC (permalink / raw)
To: Krzysztof Kozlowski
Cc: Wu, Fengguang, Al Viro, kbuild-all@01.org,
linux-kernel@vger.kernel.org, Richard Weinberger
> -----Original Message-----
> From: Krzysztof Kozlowski [mailto:k.kozlowski@samsung.com]
> Sent: Friday, March 18, 2016 11:22 AM
> To: Li, Philip <philip.li@intel.com>
> Cc: Wu, Fengguang <fengguang.wu@intel.com>; Al Viro
> <viro@ftp.linux.org.uk>; kbuild-all@01.org; linux-kernel@vger.kernel.org;
> Richard Weinberger <richard@nod.at>
> Subject: Re: arch/x86/um/user-offsets.c:8:24: fatal error: asm/ptrace.h: No
> such file or directory
>
> On 18.03.2016 12:19, Philip Li wrote:
> > On Mon, Mar 14, 2016 at 09:53:06AM +0900, Krzysztof Kozlowski wrote:
> >> On Sun, Mar 13, 2016 at 7:45 AM, kbuild test robot
> >> <fengguang.wu@intel.com> wrote:
> >>> Hi Al,
> >>>
> >>> FYI, the error/warning still remains.
> >>>
> >>> tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
> master
> >>> head: 03c668a93187fe7fba9464f96fbe7c22eebd9897
> >>> commit: 5c48b108ecbf6505d929e64d50dace13ac2bdf34 um: take
> arch/um/sys-x86 to arch/x86/um
> >>> date: 4 years, 4 months ago
> >>> config: um-i386_defconfig (attached as .config)
> >>> reproduce:
> >>> git checkout 5c48b108ecbf6505d929e64d50dace13ac2bdf34
> >>> # save the attached .config to linux build tree
> >>> make ARCH=um SUBARCH=i386
> >>>
> >>
> >> Hi,
> >>
> >> The code is correct. The build machine lacks asm/ptrace.h for i386
> >> (e.g. /usr/include/i386-linux-gnu/asm/ptrace.h). For example on
> >> Ubuntu this is provided by linux-libc-dev:i386.
> >
> > sorry for late response, we have installed linux-libc-dev:i386 on our build
> environment to have this head file.
>
> ... and does it help? Is the issue fixed?
Let me further follow up this, to specify the test of this commit, and let you know.
>
> Best regards,
> Krzysztof
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: arch/x86/um/user-offsets.c:8:24: fatal error: asm/ptrace.h: No such file or directory
2016-03-18 8:59 ` Philip Li
@ 2016-03-18 8:58 ` Richard Weinberger
2016-03-18 9:18 ` Li, Philip
0 siblings, 1 reply; 11+ messages in thread
From: Richard Weinberger @ 2016-03-18 8:58 UTC (permalink / raw)
To: Philip Li, Krzysztof Kozlowski
Cc: kbuild test robot, Al Viro, kbuild-all, linux-kernel
Hi!
Am 18.03.2016 um 09:59 schrieb Philip Li:
> On Fri, Mar 18, 2016 at 12:22:25PM +0900, Krzysztof Kozlowski wrote:
>> On 18.03.2016 12:19, Philip Li wrote:
>>> On Mon, Mar 14, 2016 at 09:53:06AM +0900, Krzysztof Kozlowski wrote:
>>>> On Sun, Mar 13, 2016 at 7:45 AM, kbuild test robot
>>>> <fengguang.wu@intel.com> wrote:
>>>>> Hi Al,
>>>>>
>>>>> FYI, the error/warning still remains.
>>>>>
>>>>> tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
>>>>> head: 03c668a93187fe7fba9464f96fbe7c22eebd9897
>>>>> commit: 5c48b108ecbf6505d929e64d50dace13ac2bdf34 um: take arch/um/sys-x86 to arch/x86/um
>>>>> date: 4 years, 4 months ago
>>>>> config: um-i386_defconfig (attached as .config)
>>>>> reproduce:
>>>>> git checkout 5c48b108ecbf6505d929e64d50dace13ac2bdf34
>>>>> # save the attached .config to linux build tree
>>>>> make ARCH=um SUBARCH=i386
>>>>>
>>>>
>>>> Hi,
>>>>
>>>> The code is correct. The build machine lacks asm/ptrace.h for i386
>>>> (e.g. /usr/include/i386-linux-gnu/asm/ptrace.h). For example on Ubuntu
>>>> this is provided by linux-libc-dev:i386.
>>>
>>> sorry for late response, we have installed linux-libc-dev:i386 on our build environment to have this head file.
>>
>> ... and does it help? Is the issue fixed?
> thanks, this package does help, and head can be successfully found, though there appears a different problem, it is not related to missing ptrace.h.
>
> 2016-03-18_15:19:56 O: /kbuild-tests/branch-queue/lkp-hsx03-um/ CREATE,ISDIR linux-review:Rajesh-Bhagat:usb-xhci-Fix-incomplete-PM-resume-operation-due-to-XHCI-commmand-timeout:20160318-151914
> 2016-03-18_15:20:34 O: 2016-03-18 15:20 Running /kbuild-tests/build-queue/lkp-hsx03-um/um-i386_defconfig-gcc-4.9-5c48b108ecbf6505d929e64d50dace13ac2bdf34
> 2016-03-18_15:20:34 O: git checkout -B build-queue 5c48b108ecbf6505d929e64d50dace13ac2bdf34
> 2016-03-18_15:22:06 E: 29 real 371 user 52 sys 1423.01% cpu um-i386_defconfig
> 2016-03-18_15:22:07 O: status: FAIL: build error
> 2016-03-18_15:22:07 O: arch/um/os-Linux/start_up.c:348:22: error: 'RLIM_INFINITY' undeclared (first use in this function)
> 2016-03-18_15:22:07 O: arch/um/os-Linux/start_up.c:340:22: error: 'RLIMIT_CORE' undeclared (first use in this function)
> 2016-03-18_15:22:07 O: arch/um/os-Linux/start_up.c:340:2: error: implicit declaration of function 'getrlimit' [-Werror=implicit-function-declaration]
> 2016-03-18_15:22:07 O: arch/um/os-Linux/start_up.c:339:16: error: storage size of 'lim' isn't known
This build issue was fixed a long time ago.
Why are you testing a 4 year old commit? :-)
It misses a lot of fixes which are now needed on newer platforms.
*confused*,
//richard
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: arch/x86/um/user-offsets.c:8:24: fatal error: asm/ptrace.h: No such file or directory
2016-03-18 3:22 ` Krzysztof Kozlowski
2016-03-18 3:27 ` Li, Philip
@ 2016-03-18 8:59 ` Philip Li
2016-03-18 8:58 ` Richard Weinberger
1 sibling, 1 reply; 11+ messages in thread
From: Philip Li @ 2016-03-18 8:59 UTC (permalink / raw)
To: Krzysztof Kozlowski
Cc: kbuild test robot, Al Viro, kbuild-all, linux-kernel,
Richard Weinberger
On Fri, Mar 18, 2016 at 12:22:25PM +0900, Krzysztof Kozlowski wrote:
> On 18.03.2016 12:19, Philip Li wrote:
> > On Mon, Mar 14, 2016 at 09:53:06AM +0900, Krzysztof Kozlowski wrote:
> >> On Sun, Mar 13, 2016 at 7:45 AM, kbuild test robot
> >> <fengguang.wu@intel.com> wrote:
> >>> Hi Al,
> >>>
> >>> FYI, the error/warning still remains.
> >>>
> >>> tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> >>> head: 03c668a93187fe7fba9464f96fbe7c22eebd9897
> >>> commit: 5c48b108ecbf6505d929e64d50dace13ac2bdf34 um: take arch/um/sys-x86 to arch/x86/um
> >>> date: 4 years, 4 months ago
> >>> config: um-i386_defconfig (attached as .config)
> >>> reproduce:
> >>> git checkout 5c48b108ecbf6505d929e64d50dace13ac2bdf34
> >>> # save the attached .config to linux build tree
> >>> make ARCH=um SUBARCH=i386
> >>>
> >>
> >> Hi,
> >>
> >> The code is correct. The build machine lacks asm/ptrace.h for i386
> >> (e.g. /usr/include/i386-linux-gnu/asm/ptrace.h). For example on Ubuntu
> >> this is provided by linux-libc-dev:i386.
> >
> > sorry for late response, we have installed linux-libc-dev:i386 on our build environment to have this head file.
>
> ... and does it help? Is the issue fixed?
thanks, this package does help, and head can be successfully found, though there appears a different problem, it is not related to missing ptrace.h.
2016-03-18_15:19:56 O: /kbuild-tests/branch-queue/lkp-hsx03-um/ CREATE,ISDIR linux-review:Rajesh-Bhagat:usb-xhci-Fix-incomplete-PM-resume-operation-due-to-XHCI-commmand-timeout:20160318-151914
2016-03-18_15:20:34 O: 2016-03-18 15:20 Running /kbuild-tests/build-queue/lkp-hsx03-um/um-i386_defconfig-gcc-4.9-5c48b108ecbf6505d929e64d50dace13ac2bdf34
2016-03-18_15:20:34 O: git checkout -B build-queue 5c48b108ecbf6505d929e64d50dace13ac2bdf34
2016-03-18_15:22:06 E: 29 real 371 user 52 sys 1423.01% cpu um-i386_defconfig
2016-03-18_15:22:07 O: status: FAIL: build error
2016-03-18_15:22:07 O: arch/um/os-Linux/start_up.c:348:22: error: 'RLIM_INFINITY' undeclared (first use in this function)
2016-03-18_15:22:07 O: arch/um/os-Linux/start_up.c:340:22: error: 'RLIMIT_CORE' undeclared (first use in this function)
2016-03-18_15:22:07 O: arch/um/os-Linux/start_up.c:340:2: error: implicit declaration of function 'getrlimit' [-Werror=implicit-function-declaration]
2016-03-18_15:22:07 O: arch/um/os-Linux/start_up.c:339:16: error: storage size of 'lim' isn't known
>
> Best regards,
> Krzysztof
>
^ permalink raw reply [flat|nested] 11+ messages in thread
* RE: arch/x86/um/user-offsets.c:8:24: fatal error: asm/ptrace.h: No such file or directory
2016-03-18 8:58 ` Richard Weinberger
@ 2016-03-18 9:18 ` Li, Philip
0 siblings, 0 replies; 11+ messages in thread
From: Li, Philip @ 2016-03-18 9:18 UTC (permalink / raw)
To: Richard Weinberger, Krzysztof Kozlowski
Cc: Wu, Fengguang, Al Viro, kbuild-all@01.org,
linux-kernel@vger.kernel.org
> -----Original Message-----
> From: Richard Weinberger [mailto:richard@nod.at]
> Sent: Friday, March 18, 2016 4:59 PM
> To: Li, Philip <philip.li@intel.com>; Krzysztof Kozlowski
> <k.kozlowski@samsung.com>
> Cc: Wu, Fengguang <fengguang.wu@intel.com>; Al Viro
> <viro@ftp.linux.org.uk>; kbuild-all@01.org; linux-kernel@vger.kernel.org
> Subject: Re: arch/x86/um/user-offsets.c:8:24: fatal error: asm/ptrace.h: No
> such file or directory
>
> Hi!
>
> Am 18.03.2016 um 09:59 schrieb Philip Li:
> > On Fri, Mar 18, 2016 at 12:22:25PM +0900, Krzysztof Kozlowski wrote:
> >> On 18.03.2016 12:19, Philip Li wrote:
> >>> On Mon, Mar 14, 2016 at 09:53:06AM +0900, Krzysztof Kozlowski wrote:
> >>>> On Sun, Mar 13, 2016 at 7:45 AM, kbuild test robot
> >>>> <fengguang.wu@intel.com> wrote:
> >>>>> Hi Al,
> >>>>>
> >>>>> FYI, the error/warning still remains.
> >>>>>
> >>>>> tree:
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> >>>>> head: 03c668a93187fe7fba9464f96fbe7c22eebd9897
> >>>>> commit: 5c48b108ecbf6505d929e64d50dace13ac2bdf34 um: take
> arch/um/sys-x86 to arch/x86/um
> >>>>> date: 4 years, 4 months ago
> >>>>> config: um-i386_defconfig (attached as .config)
> >>>>> reproduce:
> >>>>> git checkout 5c48b108ecbf6505d929e64d50dace13ac2bdf34
> >>>>> # save the attached .config to linux build tree
> >>>>> make ARCH=um SUBARCH=i386
> >>>>>
> >>>>
> >>>> Hi,
> >>>>
> >>>> The code is correct. The build machine lacks asm/ptrace.h for i386
> >>>> (e.g. /usr/include/i386-linux-gnu/asm/ptrace.h). For example on
> >>>> Ubuntu this is provided by linux-libc-dev:i386.
> >>>
> >>> sorry for late response, we have installed linux-libc-dev:i386 on our build
> environment to have this head file.
> >>
> >> ... and does it help? Is the issue fixed?
> > thanks, this package does help, and head can be successfully found, though
> there appears a different problem, it is not related to missing ptrace.h.
> >
> > 2016-03-18_15:19:56 O: /kbuild-tests/branch-queue/lkp-hsx03-um/
> > CREATE,ISDIR
> > linux-review:Rajesh-Bhagat:usb-xhci-Fix-incomplete-PM-resume-operation
> > -due-to-XHCI-commmand-timeout:20160318-151914
> > 2016-03-18_15:20:34 O: 2016-03-18 15:20 Running
> > /kbuild-tests/build-queue/lkp-hsx03-um/um-i386_defconfig-gcc-4.9-5c48b
> > 108ecbf6505d929e64d50dace13ac2bdf34
> > 2016-03-18_15:20:34 O: git checkout -B build-queue
> > 5c48b108ecbf6505d929e64d50dace13ac2bdf34
> > 2016-03-18_15:22:06 E: 29 real 371 user 52 sys 1423.01% cpu
> > um-i386_defconfig
> > 2016-03-18_15:22:07 O: status: FAIL: build error
> > 2016-03-18_15:22:07 O: arch/um/os-Linux/start_up.c:348:22: error:
> > 'RLIM_INFINITY' undeclared (first use in this function)
> > 2016-03-18_15:22:07 O: arch/um/os-Linux/start_up.c:340:22: error:
> > 'RLIMIT_CORE' undeclared (first use in this function)
> > 2016-03-18_15:22:07 O: arch/um/os-Linux/start_up.c:340:2: error:
> > implicit declaration of function 'getrlimit'
> > [-Werror=implicit-function-declaration]
> > 2016-03-18_15:22:07 O: arch/um/os-Linux/start_up.c:339:16: error:
> > storage size of 'lim' isn't known
>
> This build issue was fixed a long time ago.
> Why are you testing a 4 year old commit? :-) It misses a lot of fixes which are
> now needed on newer platforms.
Sorry for confusion, because previously the package is missing, and system bisects to this commit,
Pls help ignore all issues related to this commit, I just try to show the environment is fixed :-)
>
> *confused*,
> //richard
^ permalink raw reply [flat|nested] 11+ messages in thread
* arch/x86/um/user-offsets.c:8:24: fatal error: asm/ptrace.h: No such file or directory
@ 2016-03-19 23:46 kbuild test robot
0 siblings, 0 replies; 11+ messages in thread
From: kbuild test robot @ 2016-03-19 23:46 UTC (permalink / raw)
To: Al Viro; +Cc: kbuild-all, linux-kernel, Richard Weinberger
[-- Attachment #1: Type: text/plain, Size: 2860 bytes --]
Hi Al,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 1200b6809dfd9d73bc4c7db76d288c35fa4b2ebe
commit: 5c48b108ecbf6505d929e64d50dace13ac2bdf34 um: take arch/um/sys-x86 to arch/x86/um
date: 4 years, 5 months ago
config: um-i386_defconfig (attached as .config)
reproduce:
git checkout 5c48b108ecbf6505d929e64d50dace13ac2bdf34
# save the attached .config to linux build tree
make ARCH=um SUBARCH=i386
All errors (new ones prefixed by >>):
>> arch/x86/um/user-offsets.c:8:24: fatal error: asm/ptrace.h: No such file or directory
compilation terminated.
make[2]: *** [arch/x86/um/user-offsets.s] Error 1
make[1]: *** [arch/x86/um/user-offsets.s] Error 2
make[1]: Target 'prepare' not remade because of errors.
make: *** [sub-make] Error 2
vim +8 arch/x86/um/user-offsets.c
8d0b9dc9be arch/um/sys-x86_64/user-offsets.c Al Viro 2005-05-05 1 #include <stdio.h>
8d0b9dc9be arch/um/sys-x86_64/user-offsets.c Al Viro 2005-05-05 2 #include <stddef.h>
8d0b9dc9be arch/um/sys-x86_64/user-offsets.c Al Viro 2005-05-05 3 #include <signal.h>
63ae2a94d9 arch/um/sys-x86_64/user-offsets.c Jeff Dike 2006-03-27 4 #include <sys/poll.h>
16dd07bc64 arch/um/sys-x86_64/user-offsets.c Jeff Dike 2007-05-06 5 #include <sys/mman.h>
189872f968 arch/um/sys-x86_64/user-offsets.c Jeff Dike 2007-10-16 6 #include <sys/user.h>
8d0b9dc9be arch/um/sys-x86_64/user-offsets.c Al Viro 2005-05-05 7 #define __FRAME_OFFSETS
8d0b9dc9be arch/um/sys-x86_64/user-offsets.c Al Viro 2005-05-05 @8 #include <asm/ptrace.h>
ba9950c820 arch/um/sys-x86_64/user-offsets.c Jeff Dike 2005-05-20 9 #include <asm/types.h>
8d0b9dc9be arch/um/sys-x86_64/user-offsets.c Al Viro 2005-05-05 10
8d0b9dc9be arch/um/sys-x86_64/user-offsets.c Al Viro 2005-05-05 11 #define DEFINE(sym, val) \
8d0b9dc9be arch/um/sys-x86_64/user-offsets.c Al Viro 2005-05-05 12 asm volatile("\n->" #sym " %0 " #val : : "i" (val))
8d0b9dc9be arch/um/sys-x86_64/user-offsets.c Al Viro 2005-05-05 13
ecba97d4aa arch/um/sys-x86_64/user-offsets.c Al Viro 2005-09-28 14 #define DEFINE_LONGS(sym, val) \
ecba97d4aa arch/um/sys-x86_64/user-offsets.c Al Viro 2005-09-28 15 asm volatile("\n->" #sym " %0 " #val : : "i" (val/sizeof(unsigned long)))
ecba97d4aa arch/um/sys-x86_64/user-offsets.c Al Viro 2005-09-28 16
:::::: The code at line 8 was first introduced by commit
:::::: 8d0b9dc9be3919e9979eac59fd12e8f82b098325 [PATCH] uml: start cross-build support : mk_user_constants
:::::: TO: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
:::::: CC: Linus Torvalds <torvalds@ppc970.osdl.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: 4988 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2016-03-19 23:47 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-12 22:45 arch/x86/um/user-offsets.c:8:24: fatal error: asm/ptrace.h: No such file or directory kbuild test robot
2016-03-14 0:53 ` Krzysztof Kozlowski
2016-03-18 3:19 ` Philip Li
2016-03-18 3:22 ` Krzysztof Kozlowski
2016-03-18 3:27 ` Li, Philip
2016-03-18 8:59 ` Philip Li
2016-03-18 8:58 ` Richard Weinberger
2016-03-18 9:18 ` Li, Philip
-- strict thread matches above, loose matches on Subject: below --
2016-03-19 23:46 kbuild test robot
2016-03-05 23:33 kbuild test robot
2016-02-27 23:17 kbuild test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox