xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Anthony PERARD <anthony.perard@citrix.com>
To: George Dunlap <dunlapg@umich.edu>
Cc: "Wei Liu" <Wei.Liu2@citrix.com>,
	"Dario Faggioli" <dario.faggioli@citrix.com>,
	"Éliás Tamás" <et@etit.hu>,
	"xen-devel@lists.xen.org" <xen-devel@lists.xen.org>,
	"Samuel Thibault" <samuel.thibault@ens-lyon.org>,
	"Ian.Jackson" <Ian.Jackson@citrix.com>
Subject: Re: compilation fail, xen staging-4.6, vnc.c, qemu-tradintional issues under ubuntu 16.04
Date: Fri, 10 Jun 2016 15:22:13 +0100	[thread overview]
Message-ID: <20160610142213.GC5666@perard.uk.xensource.com> (raw)
In-Reply-To: <CAFLBxZYajiPiPQRCKasoaSMu2bR1mvARyoihC2Esm8W34g7_1w@mail.gmail.com>

On Fri, Jun 10, 2016 at 03:08:19PM +0100, George Dunlap wrote:
> On Fri, Jun 10, 2016 at 3:00 PM, Anthony PERARD
> <anthony.perard@citrix.com> wrote:
> > On Fri, Jun 10, 2016 at 12:26:21PM +0100, George Dunlap wrote:
> >> On Wed, Mar 30, 2016 at 3:58 PM, Dario Faggioli
> >> <dario.faggioli@citrix.com> wrote:
> >> > Cc-ing some tools, Qemu, and Stubdom/MiniOS people, and dropping xen-
> >> > users (Bcc-ed)...
> >> >
> >> [snip]
> >>
> >> >> vl.c:2784:5: error: ‘g_mem_set_vtable’ is deprecated
> >> >> [-Werror=deprecated-declarations]
> >> >>      g_mem_set_vtable(&mem_trace);
> >> >>
> >> >>
> >> >> I had to apply
> >> >>
> >> >> https://lists.gnu.org/archive/html/qemu-devel/2015-09/msg01262.html
> >> >>
> >> >> which seemes that only partially been applied (has rejects), but
> >> >> after
> >> >> modifying the sources by hand, it seemes working.
> >>
> >> Anthony / Stefano / Ian, this is still failing two months later:
> >>
> >> vl.c: In function ‘main’:
> >> vl.c:2784:5: error: ‘g_mem_set_vtable’ is deprecated
> >> [-Werror=deprecated-declarations]
> >>      g_mem_set_vtable(&mem_trace);
> >>      ^
> >> In file included from /usr/include/glib-2.0/glib/glist.h:32:0,
> >>                  from /usr/include/glib-2.0/glib/ghash.h:33,
> >>                  from /usr/include/glib-2.0/glib.h:50,
> >>                  from vl.c:59:
> >> /usr/include/glib-2.0/glib/gmem.h:357:6: note: declared here
> >>  void  g_mem_set_vtable (GMemVTable *vtable);
> >>       ^
> >> cc1: all warnings being treated as errors
> >> /root/git/xen.git/tools/qemu-xen-dir/rules.mak:57: recipe for target
> >> 'vl.o' failed
> >
> > # edit tools/Makefile to not compile xentrace
> > ./configure --disable-qemu-traditional --with-extra-qemuu-configure-args='--disable-werror'
> > make
> >
> > Works for me :).
> >
> > Should we add --disable-werror to QEMU when doing a release? Or do we
> > really want to fix compilation warnings in stable branches?
> 
> I think so, yes.  Consider this case, where the new version of glibc
> has this marked as deprecated -- new point releases in particular
> should build without using deprecated functionality.

For this case, we can apply: 98cf48f (trace: remove malloc tracing),
which remove the offending line.

-- 
Anthony PERARD

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

      reply	other threads:[~2016-06-10 14:22 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAOz6fc-Bx2q_waP38T4c==TLiGwOSfKeU0XHOdv-XEGrdvWW-w@mail.gmail.com>
     [not found] ` <alpine.OSX.2.20.1603231218290.753@mac>
2016-03-25 17:53   ` compilation fail, xen staging-4.6, vnc.c, qemu-tradintional issues under ubuntu 16.04 Éliás Tamás
2016-03-30 14:58     ` Dario Faggioli
2016-03-31 22:08       ` [Xen-users] " Éliás Tamás
2016-06-10 11:26       ` George Dunlap
2016-06-10 12:14         ` Ian Jackson
2016-06-10 14:55           ` Anthony PERARD
2016-06-10 15:00             ` Stefano Stabellini
2016-06-10 15:24               ` Jan Beulich
2016-06-10 15:30                 ` Jan Beulich
2016-06-10 15:38                   ` George Dunlap
2016-06-13 13:36                     ` Ian Jackson
2016-06-10 14:00         ` Anthony PERARD
2016-06-10 14:08           ` George Dunlap
2016-06-10 14:22             ` Anthony PERARD [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=20160610142213.GC5666@perard.uk.xensource.com \
    --to=anthony.perard@citrix.com \
    --cc=Ian.Jackson@citrix.com \
    --cc=Wei.Liu2@citrix.com \
    --cc=dario.faggioli@citrix.com \
    --cc=dunlapg@umich.edu \
    --cc=et@etit.hu \
    --cc=samuel.thibault@ens-lyon.org \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).