All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Hao, Xudong" <xudong.hao@intel.com>
To: Ian Campbell <ian.campbell@citrix.com>,
	"xen-devel@lists.xen.org" <xen-devel@lists.xen.org>
Subject: Re: build Xen tool fail
Date: Fri, 29 Jan 2016 00:28:46 +0000	[thread overview]
Message-ID: <B8376D2DEA074F45BA033984477C453E0340AA40@shsmsx102.ccr.corp.intel.com> (raw)
In-Reply-To: <1453972991.26591.60.camel@citrix.com>

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@citrix.com]
> Sent: Thursday, January 28, 2016 5:23 PM
> To: Hao, Xudong <xudong.hao@intel.com>; xen-devel@lists.xen.org
> 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@citrix.com>
> > 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@lists.xen.org
http://lists.xen.org/xen-devel

      reply	other threads:[~2016-01-29  0:28 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-28  6:39 build Xen tool fail Hao, Xudong
2016-01-28  9:23 ` Ian Campbell
2016-01-29  0:28   ` Hao, Xudong [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=B8376D2DEA074F45BA033984477C453E0340AA40@shsmsx102.ccr.corp.intel.com \
    --to=xudong.hao@intel.com \
    --cc=ian.campbell@citrix.com \
    --cc=xen-devel@lists.xen.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.