* arm64: error: PSR_MODE_EL3t redefined
@ 2014-02-01 16:15 Olaf Hering
2014-02-01 17:25 ` Ian Campbell
0 siblings, 1 reply; 6+ messages in thread
From: Olaf Hering @ 2014-02-01 16:15 UTC (permalink / raw)
To: xen-devel
I'm seeing build failures on aarch64 during 'make tools' because both
arch/arm64/include/uapi/asm/ptrace.h from the kernel source and
xen/include/public/arch-arm.h from xen-4.4 define PSR_MODE_EL3t with
sightly different strings.
I think the if defined (__XEN_TOOLS__) should be removed from
xen/include/public/arch-arm.h so that userland tools can pickup the
defines from /usr/include. Untested patch below.
Olaf
diff --git a/xen/include/public/arch-arm.h b/xen/include/public/arch-arm.h
index 7496556..17422e6 100644
--- a/xen/include/public/arch-arm.h
+++ b/xen/include/public/arch-arm.h
@@ -316,7 +316,7 @@ typedef uint64_t xen_callback_t;
#endif
-#if defined(__XEN__) || defined(__XEN_TOOLS__)
+#if defined(__XEN__)
/* PSR bits (CPSR, SPSR)*/
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: arm64: error: PSR_MODE_EL3t redefined
2014-02-01 16:15 arm64: error: PSR_MODE_EL3t redefined Olaf Hering
@ 2014-02-01 17:25 ` Ian Campbell
2014-02-02 18:35 ` Olaf Hering
0 siblings, 1 reply; 6+ messages in thread
From: Ian Campbell @ 2014-02-01 17:25 UTC (permalink / raw)
To: Olaf Hering; +Cc: xen-devel
On Sat, 2014-02-01 at 17:15 +0100, Olaf Hering wrote:
> I'm seeing build failures on aarch64 during 'make tools' because both
> arch/arm64/include/uapi/asm/ptrace.h from the kernel source and
> xen/include/public/arch-arm.h from xen-4.4 define PSR_MODE_EL3t with
> sightly different strings.
>
> I think the if defined (__XEN_TOOLS__) should be removed from
> xen/include/public/arch-arm.h so that userland tools can pickup the
> defines from /usr/include. Untested patch below.
IMHO this is a glibc bug -- see
https://bugs.launchpad.net/linaro-aarch64/+bug/1169164
Ian.
>
> Olaf
>
> diff --git a/xen/include/public/arch-arm.h b/xen/include/public/arch-arm.h
> index 7496556..17422e6 100644
> --- a/xen/include/public/arch-arm.h
> +++ b/xen/include/public/arch-arm.h
> @@ -316,7 +316,7 @@ typedef uint64_t xen_callback_t;
>
> #endif
>
> -#if defined(__XEN__) || defined(__XEN_TOOLS__)
> +#if defined(__XEN__)
>
> /* PSR bits (CPSR, SPSR)*/
>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xen.org
> http://lists.xen.org/xen-devel
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: arm64: error: PSR_MODE_EL3t redefined
2014-02-01 17:25 ` Ian Campbell
@ 2014-02-02 18:35 ` Olaf Hering
2014-02-03 10:46 ` Ian Campbell
0 siblings, 1 reply; 6+ messages in thread
From: Olaf Hering @ 2014-02-02 18:35 UTC (permalink / raw)
To: Ian Campbell; +Cc: xen-devel
On Sat, Feb 01, Ian Campbell wrote:
> https://bugs.launchpad.net/linaro-aarch64/+bug/1169164
Is this on anyones radar actually? That bug is almost a year old, its
still broken with a snapshot as of 7 Jan 2014.
Olaf
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: arm64: error: PSR_MODE_EL3t redefined
2014-02-02 18:35 ` Olaf Hering
@ 2014-02-03 10:46 ` Ian Campbell
2014-02-03 10:56 ` Olaf Hering
0 siblings, 1 reply; 6+ messages in thread
From: Ian Campbell @ 2014-02-03 10:46 UTC (permalink / raw)
To: Olaf Hering; +Cc: xen-devel
On Sun, 2014-02-02 at 19:35 +0100, Olaf Hering wrote:
> On Sat, Feb 01, Ian Campbell wrote:
>
> > https://bugs.launchpad.net/linaro-aarch64/+bug/1169164
>
> Is this on anyones radar actually? That bug is almost a year old, its
> still broken with a snapshot as of 7 Jan 2014.
Yeah, I've been meaning to ping it. Looks like it recently got moved
from Low to Medium priority so it seems to be back on the radar (I think
Julien pinged it within Linaro).
I've also been having this issue on the opensuse aarach64 distro images
but not gotten round to reporting it. Since I assume you have the
necessary bugzilla accounts etc and are also experiencing it I wonder if
I could prevail on you to report it there too?
Ian.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: arm64: error: PSR_MODE_EL3t redefined
2014-02-03 10:46 ` Ian Campbell
@ 2014-02-03 10:56 ` Olaf Hering
2014-02-03 11:00 ` Ian Campbell
0 siblings, 1 reply; 6+ messages in thread
From: Olaf Hering @ 2014-02-03 10:56 UTC (permalink / raw)
To: Ian Campbell; +Cc: xen-devel
On Mon, Feb 03, Ian Campbell wrote:
> I've also been having this issue on the opensuse aarach64 distro images
> but not gotten round to reporting it. Since I assume you have the
> necessary bugzilla accounts etc and are also experiencing it I wonder if
> I could prevail on you to report it there too?
I can certainly help with reporting bugs. But I have no ARM hardware,
just trying to adjust xen.spec so that its not x86 only anymore.
To get less "pkg build failed" mails.
Olaf
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: arm64: error: PSR_MODE_EL3t redefined
2014-02-03 10:56 ` Olaf Hering
@ 2014-02-03 11:00 ` Ian Campbell
0 siblings, 0 replies; 6+ messages in thread
From: Ian Campbell @ 2014-02-03 11:00 UTC (permalink / raw)
To: Olaf Hering; +Cc: xen-devel
On Mon, 2014-02-03 at 11:56 +0100, Olaf Hering wrote:
> On Mon, Feb 03, Ian Campbell wrote:
>
> > I've also been having this issue on the opensuse aarach64 distro images
> > but not gotten round to reporting it. Since I assume you have the
> > necessary bugzilla accounts etc and are also experiencing it I wonder if
> > I could prevail on you to report it there too?
>
> I can certainly help with reporting bugs.
Thanks.
> But I have no ARM hardware,
> just trying to adjust xen.spec so that its not x86 only anymore.
> To get less "pkg build failed" mails.
This isn't really a h/w issue -- more of a build environment one. I
actually do most of my builds using qemu-aarch64-user-static in a chroot
on my main workstation ;-)
Ian.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2014-02-03 11:00 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-01 16:15 arm64: error: PSR_MODE_EL3t redefined Olaf Hering
2014-02-01 17:25 ` Ian Campbell
2014-02-02 18:35 ` Olaf Hering
2014-02-03 10:46 ` Ian Campbell
2014-02-03 10:56 ` Olaf Hering
2014-02-03 11:00 ` Ian Campbell
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.