Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932151AbcCRJTL (ORCPT ); Fri, 18 Mar 2016 05:19:11 -0400 Received: from mga11.intel.com ([192.55.52.93]:55469 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755000AbcCRJTE convert rfc822-to-8bit (ORCPT ); Fri, 18 Mar 2016 05:19:04 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.24,354,1455004800"; d="scan'208";a="671782972" From: "Li, Philip" To: Richard Weinberger , Krzysztof Kozlowski CC: "Wu, Fengguang" , Al Viro , "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 Thread-Topic: arch/x86/um/user-offsets.c:8:24: fatal error: asm/ptrace.h: No such file or directory Thread-Index: AQHRfY1V45PKjV07j0GNXAGxRmc1Lp9eCJ6AgAAA84CAAF4pAP///7+AgACLVoA= Date: Fri, 18 Mar 2016 09:18:54 +0000 Message-ID: <831EE4E5E37DCC428EB295A351E66249142F9CC7@shsmsx102.ccr.corp.intel.com> References: <201603130603.uCbpkitB%fengguang.wu@intel.com> <20160318031901.GB18159@intel.com> <56EB7471.7060002@samsung.com> <20160318085926.GA14904@intel.com> <56EBC337.2060202@nod.at> In-Reply-To: <56EBC337.2060202@nod.at> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiYTZmYmY2YWEtOGYzYi00NzFkLTg5NjUtNWZjZDVkYTRjMDQ2IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6IkoxUTVpOXVrNXdYN1ZNRmh1MDgwa0FIN3EyOVhQSUJvbXBcL3lVYXhnT3A0PSJ9 x-ctpclassification: CTP_IC x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3508 Lines: 82 > -----Original Message----- > From: Richard Weinberger [mailto:richard@nod.at] > Sent: Friday, March 18, 2016 4:59 PM > To: Li, Philip ; Krzysztof Kozlowski > > Cc: Wu, Fengguang ; Al Viro > ; 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 > >>>> 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