RE: arch/x86/um/user-offsets.c:8:24: fatal error: asm/ptrace.h: No such file or directory

From: Li, Philip
Date: Thu Mar 17 2016 - 23:27:58 EST




> -----Original Message-----
> From: Krzysztof Kozlowski [mailto:k.kozlowski@xxxxxxxxxxx]
> Sent: Friday, March 18, 2016 11:22 AM
> To: Li, Philip <philip.li@xxxxxxxxx>
> Cc: Wu, Fengguang <fengguang.wu@xxxxxxxxx>; Al Viro
> <viro@xxxxxxxxxxxxxxxx>; kbuild-all@xxxxxx; linux-kernel@xxxxxxxxxxxxxxx;
> Richard Weinberger <richard@xxxxxx>
> 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@xxxxxxxxx> 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