[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] Ubuntu Saucy arm64: Where to apply glib to fix problem with multiple definition of PSR bit macros



Xen Developers,

I am new learning arm64 and following the guidance suggested on the Xen wiki 
re: Xen ARM with Virtualization Extensions/CrossCompiling. I am using Ubuntu 
13.10, upgraded to the latest, and I am still hitting the redefinition of PSR 
bit macro bug, e.g. 

/home/mc/xen-4.4-testing.hg/tools/xenstore/../../tools/include/xen/arch-arm.h:351:0:
 error: "PSR_MODE_EL0t" redefined [-Werror]
 #define PSR_MODE_EL0t 0x00
 ^
In file included from /usr/aarch64-linux-gnu/include/sys/user.h:25:0,
                 from /usr/aarch64-linux-gnu/include/sys/procfs.h:34,
                 from /usr/aarch64-linux-gnu/include/sys/ucontext.h:26,
                 from /usr/aarch64-linux-gnu/include/signal.h:360,
                 from xenstored_core.c:40:
/usr/aarch64-linux-gnu/include/asm/ptrace.h:30:0: note: this is the location of 
the previous definition
 #define PSR_MODE_EL0t 0x00000000

Following the discussion from last year, I found the recommended fix (see 
https://launchpadlibrarian.net/174385100/glibc.diff), which is supposedly in 
the Linaro code, but I cannot find that it has propagated into any of my Ubuntu 
Saucy source.

I plan to fix the files in /usr/aarch64-linux-gnu. Is anyone else using Ubuntu 
Saucy for arm64 fixing this problem differently?

Sincerely,

John

-----

What is the formal meaning of the one-line program
#include "/dev/tty"

Dr. J.P. McDermott              building 12
Code 5542                       john.mcdermott@xxxxxxxxxxxx
Naval Research Laboratory       voice: +1 202.404.8301
Washington, DC 20375, US        fax:   +1 202.404.7942







_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.