* xen-4.6 compile error
@ 2015-09-30 13:46 Olaf Hering
2015-09-30 14:13 ` Wei Liu
0 siblings, 1 reply; 4+ messages in thread
From: Olaf Hering @ 2015-09-30 13:46 UTC (permalink / raw)
To: xen-devel
Current xen-4.6-staging fails to compile on openSUSE 11.4 and SLES11
[ 1227s] gcc -O2 -fomit-frame-pointer -m64 -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -D__XEN_TOOLS__ -MMD -MF .libxl_psr.o.d -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -Werror -Wno-format-zero-length -Wmissing-declarations -Wno-declaration-after-statement -Wformat-nonliteral -I. -fPIC -pthread -I/usr/src/packages/BUILD/xen-4.6.0.0/non-dbg/tools/libxl/../../tools/libxc/include -I/usr/src/packages/BUILD/xen-4.6.0.0/non-dbg/tools/libxl/../../tools/include -I/usr/src/packages/BUILD/xen-4.6.0.0/non-dbg/tools/libxl/../../tools/libxc/include -I/usr/src/packages/BUILD/xen-4.6.0.0/non-dbg/tools/libxl/../../tools/include -I/usr/src/packages/
BUILD/xen-4.6.0.0/non-dbg/tools/libxl/../../tools/xenstore/include -I/usr/src/packages/BUILD/xen-4.6.0.0/non-dbg/tools/libxl/../../tools/include -I/usr/src/packages/BUILD/xen-4.6.0.0/non-dbg/tools/libxl/../../tools/blktap2/control -I/usr/src/packages/BUILD/xen-4.6.0.0/non-dbg/tools/libxl/../../tools/blktap2/include -I/usr/src/packages/BUILD/xen-4.6.0.0/non-dbg/tools/libxl/../../tools/include -I/usr/include/libnl3 -Wshadow -include /usr/src/packages/BUILD/xen-4.6.0.0/non-dbg/tools/libxl/../../tools/config.h -c -o libxl_psr.o libxl_psr.c
[ 1227s] cc1: warnings being treated as errors
[ 1227s] libxl_psr.c: In function 'libxl_psr_cat_get_l3_info':
[ 1227s] libxl_psr.c:342: error: declaration of 'socket' shadows a global declaration
[ 1227s] /usr/include/sys/socket.h:105: error: shadowed declaration is here
[ 1227s] make[3]: *** [libxl_psr.o] Error 1
The last snapshot from 2015-09-09 23:51:17 +0200 (21 days ago) built ok.
Olaf
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: xen-4.6 compile error
2015-09-30 13:46 xen-4.6 compile error Olaf Hering
@ 2015-09-30 14:13 ` Wei Liu
2015-09-30 15:02 ` Olaf Hering
0 siblings, 1 reply; 4+ messages in thread
From: Wei Liu @ 2015-09-30 14:13 UTC (permalink / raw)
To: Olaf Hering; +Cc: wei.liu2, xen-devel
On Wed, Sep 30, 2015 at 03:46:35PM +0200, Olaf Hering wrote:
> Current xen-4.6-staging fails to compile on openSUSE 11.4 and SLES11
>
> [ 1227s] gcc -O2 -fomit-frame-pointer -m64 -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -D__XEN_TOOLS__ -MMD -MF .libxl_psr.o.d -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -Werror -Wno-format-zero-length -Wmissing-declarations -Wno-declaration-after-statement -Wformat-nonliteral -I. -fPIC -pthread -I/usr/src/packages/BUILD/xen-4.6.0.0/non-dbg/tools/libxl/../../tools/libxc/include -I/usr/src/packages/BUILD/xen-4.6.0.0/non-dbg/tools/libxl/../../tools/include -I/usr/src/packages/BUILD/xen-4.6.0.0/non-dbg/tools/libxl/../../tools/libxc/include -I/usr/src/packages/BUILD/xen-4.6.0.0/non-dbg/tools/libxl/../../tools/include -I/usr/src/package
s/BUILD/xen-4.6.0.0/non-dbg/tools/libxl/../../tools/xenstore/include -I/usr/src/packages/BUILD/xen-4.6.0.0/non-dbg/tools/libxl/../../tools/include -I/usr/src/packages/BUILD/xen-4.6.0.0/non-dbg/tools/libxl/../../tools/blktap2/control -I/usr/src/packages/BUILD/xen-4.6.0.0/non-dbg/tools/libxl/../../tools/blktap2/include -I/usr/src/packages/BUILD/xen-4.6.0.0/non-dbg/tools/libxl/../../tools/include -I/usr/include/libnl3 -Wshadow -include /usr/src/packages/BUILD/xen-4.6.0.0/non-dbg/tools/libxl/../../tools/config.h -c -o libxl_psr.o libxl_psr.c
> [ 1227s] cc1: warnings being treated as errors
> [ 1227s] libxl_psr.c: In function 'libxl_psr_cat_get_l3_info':
> [ 1227s] libxl_psr.c:342: error: declaration of 'socket' shadows a global declaration
> [ 1227s] /usr/include/sys/socket.h:105: error: shadowed declaration is here
> [ 1227s] make[3]: *** [libxl_psr.o] Error 1
>
I will provide a patch to fix it.
> The last snapshot from 2015-09-09 23:51:17 +0200 (21 days ago) built ok.
>
> Olaf
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xen.org
> http://lists.xen.org/xen-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: xen-4.6 compile error
2015-09-30 14:13 ` Wei Liu
@ 2015-09-30 15:02 ` Olaf Hering
2015-09-30 15:05 ` Wei Liu
0 siblings, 1 reply; 4+ messages in thread
From: Olaf Hering @ 2015-09-30 15:02 UTC (permalink / raw)
To: Wei Liu; +Cc: xen-devel
On Wed, Sep 30, Wei Liu wrote:
> On Wed, Sep 30, 2015 at 03:46:35PM +0200, Olaf Hering wrote:
> > [ 1227s] libxl_psr.c:342: error: declaration of 'socket' shadows a global declaration
> I will provide a patch to fix it.
Thanks. Staging is broken as well as I noticed just now.
Olaf
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: xen-4.6 compile error
2015-09-30 15:02 ` Olaf Hering
@ 2015-09-30 15:05 ` Wei Liu
0 siblings, 0 replies; 4+ messages in thread
From: Wei Liu @ 2015-09-30 15:05 UTC (permalink / raw)
To: Olaf Hering; +Cc: Wei Liu, xen-devel
On Wed, Sep 30, 2015 at 05:02:32PM +0200, Olaf Hering wrote:
> On Wed, Sep 30, Wei Liu wrote:
>
> > On Wed, Sep 30, 2015 at 03:46:35PM +0200, Olaf Hering wrote:
> > > [ 1227s] libxl_psr.c:342: error: declaration of 'socket' shadows a global declaration
> > I will provide a patch to fix it.
>
> Thanks. Staging is broken as well as I noticed just now.
>
Yes. It's the same thing.
Fortunately it's trivial to fix. Can you have a look at the patch I just
posted and give a Tested-by tag if possible?
Wei.
> Olaf
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-09-30 15:05 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-30 13:46 xen-4.6 compile error Olaf Hering
2015-09-30 14:13 ` Wei Liu
2015-09-30 15:02 ` Olaf Hering
2015-09-30 15:05 ` Wei Liu
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.