From: Richard Weinberger <richard@nod.at>
To: Philip Li <philip.li@intel.com>,
Krzysztof Kozlowski <k.kozlowski@samsung.com>
Cc: kbuild test robot <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
Date: Fri, 18 Mar 2016 09:58:31 +0100 [thread overview]
Message-ID: <56EBC337.2060202@nod.at> (raw)
In-Reply-To: <20160318085926.GA14904@intel.com>
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
next prev parent reply other threads:[~2016-03-18 8:58 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
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
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=56EBC337.2060202@nod.at \
--to=richard@nod.at \
--cc=fengguang.wu@intel.com \
--cc=k.kozlowski@samsung.com \
--cc=kbuild-all@01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=philip.li@intel.com \
--cc=viro@ftp.linux.org.uk \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.