xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* c/s 23253:a3db6b91f32d causes build failure with gcc 4.4.3-4ubuntu5
@ 2011-05-06 11:14 George Dunlap
  2011-05-06 12:33 ` Ian Campbell
  0 siblings, 1 reply; 6+ messages in thread
From: George Dunlap @ 2011-05-06 11:14 UTC (permalink / raw)
  To: xen-devel, Ian Campbell

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-05-24 16:12 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-06 11:14 c/s 23253:a3db6b91f32d causes build failure with gcc 4.4.3-4ubuntu5 George Dunlap
2011-05-06 12:33 ` 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

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).