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

Re: [Xen-users] Redefined symbols on Aarch64

On Sat, 2015-01-17 at 20:24 -0500, John Paul Walters wrote:
> Hi,
> I'm trying to get Xen running on the X-Gene XC-1 hardware following
> the following guide:
> http://wiki.xen.org/wiki/Xen_ARM_with_Virtualization_Extensions/APMXGeneMustang#Build_xen_tools
> Everything works well up until I attempt to build the Xen tools.  The
> only difference between what the directions describe and what I'm
> doing is that I'm using the latest linux-next kernel source rather
> than the linked kernel source.  I have the hypervisor booting, but
> when I try to build the tools, the build process fails with the errors
> below.  I'm using the most recent code from git.  Any thoughts?
> gcc  -O1 -fno-omit-frame-pointer  -g -fno-strict-aliasing -std=gnu99
> -Wall -Wstrict-prototypes -Wdeclaration-after-statement
> -Wno-unused-but-set-variable -Wno-unused-local-typedefs
> -D__XEN_TOOLS__ -MMD -MF .xenstored_core.o.d -D_LARGEFILE_SOURCE
> -D_LARGEFILE64_SOURCE -fno-optimize-sibling-calls  -Werror -I.
> -I/root/xenbits/xen/tools/xenstore/../../tools/ -I./include
> -I/root/xenbits/xen/tools/xenstore/../../tools/libxc/include
> -I/root/xenbits/xen/tools/xenstore/../../tools/include
> -DXEN_LIB_STORED="\"/var/lib/xenstored\"" -fno-optimize-sibling-calls
> -c -o xenstored_core.o xenstored_core.c
> In file included from
> /root/xenbits/xen/tools/xenstore/../../tools/include/xen/xen.h:35:0,
>                  from
> /root/xenbits/xen/tools/xenstore/../../tools/libxc/include/xenctrl.h:37,
>                  from xenstored_core.h:23,
>                  from xenstored_core.c:49:
> /root/xenbits/xen/tools/xenstore/../../tools/include/xen/arch-arm.h:345:0:
> error: "PSR_MODE_EL3h" redefined [-Werror]

This is a glibc issue:

If your distro doesn't have an updated/fixed version of glibc then you
can either patch the headers manually under /usr/include, or add a bunch
of #undef to xen/include/public/arch-arm.h right before PSR_MODE_* are

I thought we had this on the wiki, but if we do I can't find it, I'll
add it to some obvious more places now...


Xen-users mailing list



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