xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: George Dunlap <George.Dunlap@eu.citrix.com>
To: xen-devel@lists.xensource.com, Ian Campbell <Ian.Campbell@citrix.com>
Subject: c/s 23253:a3db6b91f32d causes build failure with gcc 4.4.3-4ubuntu5
Date: Fri, 6 May 2011 12:14:48 +0100	[thread overview]
Message-ID: <BANLkTikTSv+Ab--C5AQi_ub1SFaG2HfBEg@mail.gmail.com> (raw)

gcc  -O1 -fno-omit-frame-pointer -m32 -march=i686 -g
-fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes
-Wno-unused-value -Wdeclaration-after-statement  -D__XEN_TOOLS__ -MMD
-MF .libxl_dm.o.d -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -fno-optimize-sibling-calls
-mno-tls-direct-seg-refs -Werror -Wno-format-zero-length
-Wmissing-declarations -I. -fPIC
-I/home/gdunlap/hg/open-source/xen-unstable.hg/tools/libxl/../../tools/libxc
-I/home/gdunlap/hg/open-source/xen-unstable.hg/tools/libxl/../../tools/include
-I/home/gdunlap/hg/open-source/xen-unstable.hg/tools/libxl/../../tools/libxc
-I/home/gdunlap/hg/open-source/xen-unstable.hg/tools/libxl/../../tools/include
-I/home/gdunlap/hg/open-source/xen-unstable.hg/tools/libxl/../../tools/xenstore
-I/home/gdunlap/hg/open-source/xen-unstable.hg/tools/libxl/../../tools/include
-I/home/gdunlap/hg/open-source/xen-unstable.hg/tools/libxl/../../tools/blktap2/control
-I/home/gdunlap/hg/open-source/xen-unstable.hg/tools/libxl/../../tools/blktap2/include
-I/home/gdunlap/hg/open-source/xen-unstable.hg/tools/libxl/../../tools/include
 -c -o libxl_dm.o libxl_dm.c
cc1: warnings being treated as errors
libxl_dm.c: In function ‘libxl__create_device_model’:
libxl_dm.c:776: error: format not a string literal and no format arguments
make[3]: *** [libxl_dm.o] Error 1
make[3]: Leaving directory
`/home/gdunlap/hg/open-source/xen-unstable.hg/tools/libxl'
make[2]: *** [subdir-install-libxl] Error 2
make[2]: Leaving directory `/home/gdunlap/hg/open-source/xen-unstable.hg/tools'
make[1]: *** [subdirs-install] Error 2
make[1]: Leaving directory `/home/gdunlap/hg/open-source/xen-unstable.hg/tools'
make: *** [install-tools] Error 2

$ gcc --version
gcc (Ubuntu 4.4.3-4ubuntu5) 4.4.3

(This is Ubuntu 10.10.)

The line in question is:
    libxl__xs_write(gc, XBT_NULL, libxl__sprintf(gc, "%s/bios", path),
                    libxl__domain_bios(gc, info));

Looks like libxl__xs_write() is expecting the 4th argument to be a
format string...?

 -George

             reply	other threads:[~2011-05-06 11:14 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-06 11:14 George Dunlap [this message]
2011-05-06 12:33 ` c/s 23253:a3db6b91f32d causes build failure with gcc 4.4.3-4ubuntu5 Ian Campbell
2011-05-06 12:50   ` George Dunlap
2011-05-06 12:58     ` Ian Campbell
2011-05-06 14:38       ` Shriram Rajagopalan
2011-05-24 16:12         ` c/s 23253:a3db6b91f32d causes build failure with gcc 4.4.3-4ubuntu5 [and 1 more messages] Ian Jackson

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=BANLkTikTSv+Ab--C5AQi_ub1SFaG2HfBEg@mail.gmail.com \
    --to=george.dunlap@eu.citrix.com \
    --cc=Ian.Campbell@citrix.com \
    --cc=xen-devel@lists.xensource.com \
    /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).