Re: arch/x86/um/user-offsets.c:8:24: fatal error: asm/ptrace.h: No such file or directory
From: Krzysztof Kozlowski
Date: Thu Mar 17 2016 - 23:22:44 EST
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?
Best regards,
Krzysztof