* Backport request: 5d98adc3e5e85 (tools/gdbsx: fix build failure with glibc-2.17) to 4.2.x
@ 2013-09-13 9:13 Dario Faggioli
2013-09-13 10:02 ` Ian Jackson
0 siblings, 1 reply; 2+ messages in thread
From: Dario Faggioli @ 2013-09-13 9:13 UTC (permalink / raw)
To: xen-devel; +Cc: Olaf Hering, Ian Jackson, Jan Beulich
[-- Attachment #1.1: Type: text/plain, Size: 2377 bytes --]
Hi,
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);
^
xg_main.c:181:52: note: each undeclared identifier is reported only once for each function it appears in
xg_main.c: In function ‘_check_hyp’:
xg_main.c:221:52: error: ‘ulong’ undeclared (first use in this function)
rc = ioctl(_dom0_fd, IOCTL_PRIVCMD_HYPERCALL, (ulong)&hypercall);
^
make[4]: *** [xg_main.o] Error 1
make[4]: Leaving directory `/home/dario/Sources/xen/xen/xen-4.2.3/tools/debugger/gdbsx/xg'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/dario/Sources/xen/xen/xen-4.2.3/tools/debugger/gdbsx'
make[2]: *** [subdir-install-debugger/gdbsx] Error 2
make[2]: Leaving directory `/home/dario/Sources/xen/xen/xen-4.2.3/tools'
make[1]: *** [subdirs-install] Error 2
make[1]: Leaving directory `/home/dario/Sources/xen/xen/xen-4.2.3/tools'
make: *** [install-tools] Error 2
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 therefore think it should be backported... Should I send a proper
patch against RELEASE-4.2.3 myself? Of course I can, just asking because
cherry-pick seems to work already, so I'm not sure what would be better.
Just let me know.
Dario
--
<<This happens because I choose it to happen!>> (Raistlin Majere)
-----------------------------------------------------------------
Dario Faggioli, Ph.D, http://about.me/dario.faggioli
Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK)
[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
[-- Attachment #2: Type: text/plain, Size: 126 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: Backport request: 5d98adc3e5e85 (tools/gdbsx: fix build failure with glibc-2.17) to 4.2.x
2013-09-13 9:13 Backport request: 5d98adc3e5e85 (tools/gdbsx: fix build failure with glibc-2.17) to 4.2.x Dario Faggioli
@ 2013-09-13 10:02 ` Ian Jackson
0 siblings, 0 replies; 2+ messages in thread
From: Ian Jackson @ 2013-09-13 10:02 UTC (permalink / raw)
To: Dario Faggioli; +Cc: Olaf Hering, Jan Beulich, xen-devel
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@lists.xen.org
http://lists.xen.org/xen-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-09-13 10:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-13 9:13 Backport request: 5d98adc3e5e85 (tools/gdbsx: fix build failure with glibc-2.17) to 4.2.x Dario Faggioli
2013-09-13 10:02 ` Ian Jackson
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.