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

Re: [Xen-devel] Backport request: 5d98adc3e5e85 (tools/gdbsx: fix build failure with glibc-2.17) to 4.2.x



Dario Faggioli writes ("Backport request: 5d98adc3e5e85 (tools/gdbsx: fix build 
failure with glibc-2.17) to 4.2.x"):
> Here on my box (Debian with libc version 2.17-92+b1) building the tools
> for 4.2.3 is broken as follows:
> 
> gcc  -O1 -fno-omit-frame-pointer -m64 -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 .xg_main.o.d  -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE 
> -fno-optimize-sibling-calls  -Werror -Wmissing-prototypes  
> -I/home/dario/Sources/xen/xen/xen-4.2.3/tools/debugger/gdbsx/xg/../../../../tools/include
>   -c -o xg_main.o xg_main.c 
> xg_main.c: In function â_domctl_hcallâ:
> xg_main.c:181:52: error: âulongâ undeclared (first use in this function)
>      rc = ioctl(_dom0_fd, IOCTL_PRIVCMD_HYPERCALL, (ulong)&hypercall);
...
> Just cherry picking 5d98adc3e5e859ba23f62ca63450f6a60a9c5e2f fixed the
> issue, which makes perfect sense, as that change does "tools/gdbsx: fix
> build failure with glibc-2.17".

I have backported this to staging-4.2.  (Using git-cherry-pick.)

Ian.

_______________________________________________
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®.