From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Grall Subject: Re: [PATCH v4 0/9] add xenalyze to staging Date: Wed, 10 Jun 2015 17:23:41 -0400 Message-ID: <5578AADD.4000802@citrix.com> References: <1432369458-7587-1-git-send-email-olaf@aepfle.de> <1433326259.7108.53.camel@citrix.com> <20150609065426.GA7504@aepfle.de> <20150609110735.GA14270@aepfle.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20150609110735.GA14270@aepfle.de> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Olaf Hering , Ian Campbell Cc: George Dunlap , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org Hi Olaf, On 09/06/2015 07:07, Olaf Hering wrote: > And now that I enabled build also for sles12-aarch64 an old error is > still present in that base system: > > In file included from /home/abuild/rpmbuild/BUILD/xen-4.6.30993/non-dbg/tools/xenstore/../../tools/include/xen/xen.h:35:0, > from /home/abuild/rpmbuild/BUILD/xen-4.6.30993/non-dbg/tools/xenstore/../../tools/libxc/include/xenctrl.h:38, > from xenstored_core.h:23, > from xenstored_core.c:49: > /home/abuild/rpmbuild/BUILD/xen-4.6.30993/non-dbg/tools/xenstore/../../tools/include/xen/arch-arm.h:354:0: error: "PSR_MODE_EL3h" redefined [-Werror] > #define PSR_MODE_EL3h 0x0d > ^ > In file included from /usr/include/sys/user.h:25:0, > from /usr/include/sys/procfs.h:34, > from /usr/include/sys/ucontext.h:26, > from /usr/include/signal.h:352, > from xenstored_core.c:40: > /usr/include/asm/ptrace.h:36:0: note: this is the location of the previous definition > #define PSR_MODE_EL3h 0x0000000d > > Note sure if it will go away when attempting to build in another distro > version. So for me its difficult to do build tests on ARM at this point. It's a bug in glibc which has been fixed in newer version [1]. The best solution would be to backport the patch in your glibc package. Do you think it's possible? If not we provided a workaround that you can apply in your Xen tree [2]. Regards, [1] https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=7d05a8168b45c0580e1f9a79c2dd26c8f0d31fca;hp=af121e371d6d1a46df72d59f3a6b521eb12a9c6e [2] http://wiki.xen.org/wiki/Xen_ARM_with_Virtualization_Extensions#error:_.22PSR_MODE_EL3h.22_redefined -- Julien Grall