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

Re: [Xen-devel] build Xen tool fail



Thanks, I'll switch to staging and hope the fix will be merged to master soon.

Thanks,
-Xudong


> -----Original Message-----
> From: Ian Campbell [mailto:ian.campbell@xxxxxxxxxx]
> Sent: Thursday, January 28, 2016 5:23 PM
> To: Hao, Xudong <xudong.hao@xxxxxxxxx>; xen-devel@xxxxxxxxxxxxx
> Subject: Re: build Xen tool fail
> 
> On Thu, 2016-01-28 at 06:39 +0000, Hao, Xudong wrote:
> > Ian,
> >
> > A recent changes of tools evtchn cause a build failure with gcc 4.4.7,
> > OS is RHEL6.5.
> 
> Thanks, this should already be fixed in staging. There was a series of fixes, 
> the
> last of which wasÂ3b971de7f1cc595ae7ef03fb6f500295a8b82630.
> 
> Sorry for the inconvenience, only older gcc than I am using exposes this 
> issue.
> 
> Ian.
> 
> >
> > Bad commit:
> > commit b7f76a699dcfadc0a52ab45b33cc72dbf3a69e7b
> > Author: Ian Campbell <ian.campbell@xxxxxxxxxx>
> > Date:ÂÂÂMon Jun 1 16:20:09 2015 +0100
> >
> > ÂÂÂÂtools: Refactor /dev/xen/evtchn wrappers into libxenevtchn.
> >
> > ÂÂÂÂlibxenevtchn will provide a stable API and ABI for accessing the
> > evtchn device.
> >
> >
> > Partial error log:
> > ...
> > gccÂÂ-DPIC -O1 -fno-omit-frame-pointer -m64 -g -fno-strict-aliasing
> > -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement
> > -Wno- unused-but-set-variableÂÂÂ-O0 -g3 -D__XEN_TOOLS__ -MMD -MF
> > .linux.opic.d -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
> > -fno-optimize-sibling-callsÂÂ- Werror -Wmissing-prototypes -I./include
> > -I/home/www/builds_xen_unstable/xen-src-2e46e3f2-
> > 20160127/tools/libs/evtchn/../../../tools/include
> > -I/home/www/builds_xen_unstable/xen-src-2e46e3f2-
> > 20160127/tools/libs/evtchn/../../../tools/libs/toollog/include
> > -I/home/www/builds_xen_unstable/xen-src-2e46e3f2-
> > 20160127/tools/libs/evtchn/../../../tools/includeÂÂ-fPIC -c -o
> > linux.opic linux.c mv headers.chk.new headers.chk In file included
> > from private.h:5,
> > ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂfrom core.c:19:
> > ./include/xenevtchn.h:36: error: redefinition of typedef
> > âxentoollog_loggerâ
> > /home/www/builds_xen_unstable/xen-src-2e46e3f2-
> > 20160127/tools/libs/evtchn/../../../tools/libs/toollog/include/xentool
> > log
> > .h:44: note: previous declaration of âxentoollog_loggerâ was here In
> > file included from private.h:5,
> > ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂfrom core.c:19:
> > ./include/xenevtchn.h:36: error: redefinition of typedef
> > âxentoollog_loggerâ
> > /home/www/builds_xen_unstable/xen-src-2e46e3f2-
> > 20160127/tools/libs/evtchn/../../../tools/libs/toollog/include/xentool
> > log
> > .h:44: note: previous declaration of âxentoollog_loggerâ was here
> > make[6]: *** [core.opic] Error 1
> > make[6]: *** Waiting for unfinished jobs....
> > make[6]: *** [core.o] Error 1
> > In file included from private.h:5,
> > ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂfrom linux.c:29:
> > ./include/xenevtchn.h:36: error: redefinition of typedef
> > âxentoollog_loggerâ
> > /home/www/builds_xen_unstable/xen-src-2e46e3f2-
> > 20160127/tools/libs/evtchn/../../../tools/libs/toollog/include/xentool
> > log
> > .h:44: note: previous declaration of âxentoollog_loggerâ was here In
> > file included from private.h:5,
> > ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂfrom linux.c:29:
> > ./include/xenevtchn.h:36: error: redefinition of typedef
> > âxentoollog_loggerâ
> > /home/www/builds_xen_unstable/xen-src-2e46e3f2-
> > 20160127/tools/libs/evtchn/../../../tools/libs/toollog/include/xentool
> > log
> > .h:44: note: previous declaration of âxentoollog_loggerâ was here
> > make[6]: *** [linux.o] Error 1
> > make[6]: *** [linux.opic] Error 1
> > ...
> >
> >
> > Best Regards,
> > Xudong
> >
_______________________________________________
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®.