From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934354AbcJTSmJ convert rfc822-to-8bit (ORCPT ); Thu, 20 Oct 2016 14:42:09 -0400 Received: from mga03.intel.com ([134.134.136.65]:2132 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933059AbcJTSmF (ORCPT ); Thu, 20 Oct 2016 14:42:05 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.31,372,1473145200"; d="scan'208";a="775169461" From: "Zheng, Lv" To: Yisheng Xie , "Moore, Robert" , "Wysocki, Rafael J" , "lenb@kernel.org" , "wmiles@sgl.com" CC: "linux-acpi@vger.kernel.org" , "devel@acpica.org" , "linux-kernel@vger.kernel.org" , "guohanjun@huawei.com" , "wangxiongfeng2@huawei.com" Subject: RE: [PATCH] ACPICA: arm64: fix compile apci tools fail for arm64 Thread-Topic: [PATCH] ACPICA: arm64: fix compile apci tools fail for arm64 Thread-Index: AQHSJa0SKNizTc8qwEe6cSAucUkeZqCtOgxQgABfGoCAAS9p8IABTVGAgAGhLlA= Date: Thu, 20 Oct 2016 18:42:00 +0000 Message-ID: <1AE640813FDE7649BE1B193DEA596E886A256324@SHSMSX101.ccr.corp.intel.com> References: <1476402698-40963-1-git-send-email-xieyisheng1@huawei.com> <1AE640813FDE7649BE1B193DEA596E886A253666@SHSMSX101.ccr.corp.intel.com> <696226b1-7024-a4d6-8bea-ddbf6d08a564@huawei.com> <1AE640813FDE7649BE1B193DEA596E886A253FBF@SHSMSX101.ccr.corp.intel.com> In-Reply-To: Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiYjEwYTdiMzAtYTIxMC00MGY1LTlkYzMtNzE2ODU1YzQ3ZmRiIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6ImROalI3TCtmejYrSk44SnBLNXJlQnc1c0VIRDFOdXk5b1I0eWpjaVUxcjg9In0= 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 Hi, > From: linux-acpi-owner@vger.kernel.org [mailto:linux-acpi-owner@vger.kernel.org] On Behalf Of Yisheng > Xie > Subject: Re: [PATCH] ACPICA: arm64: fix compile apci tools fail for arm64 > > Hi, > > On 2016/10/19 6:07, Zheng, Lv wrote: > > Hi, > > > > I'm not sure what you mean. > > I mean you need ACPI_USE_SYSTEM_INTTYPES in case s64 has already been defined in that environment. > > Are you sure s64 should be defined for your environment? > > > s64 is not defined in my build environment but in kernel code. Yes, in-kernel ACPICA applications trickily reused this to get it compiled in kernel source tree with minimal porting effort. And it is working on x86. > > > IMO, s64 is kernel space specific, while you are compiling user space tools. > > It looks to me like there is something wrong with ARM kernel's asm/types.h. > > > >> I listed in change log. And I also have tried that way. > >> However, it still have many other errors.(I am sorry to not have listed all of them.) > >> > >> From the following log, you can see, all of the conflict type is from signal.h. > >> And maybe this patch is a better way to fix these compile error, without too much > >> change of code. > >> > >> Are you sure that it will cause order problem when build ACPICA on other build > >> environment, for it only effect aarch64. > > > > I'm not sure what this is. > > How did you get this? > > Were you compiling kernel acpi tools or compiling the kernel itself? > > > It's about compiling kernel acpi tools. > > > For tool compilation, are you sure you have correctly configured your cross-compilation environment? > Maybe it is not my cross-compilation environment problem, for your also can reproduce it, > as your said in another email, right? Yes, I reproduced it. By commenting out inclusion from acenv.h. Tools can be built by aarch64-linux-gnu tool chain downloaded from linaro. However this is still not the root cause, IMO. Thanks Lv > > > Will you see problems in compiling ACPICA applications from: > > https://github.com/acpica/acpica > > > > > Thanks > > Lv > > > > . > > > > -- > To unsubscribe from this list: send the line "unsubscribe linux-acpi" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html