qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] sparse: fix build
@ 2014-10-15  9:51 Gerd Hoffmann
  2014-10-23  6:39 ` [Qemu-devel] [Qemu-trivial] " Michael Tokarev
  0 siblings, 1 reply; 4+ messages in thread
From: Gerd Hoffmann @ 2014-10-15  9:51 UTC (permalink / raw)
  To: qemu-devel; +Cc: qemu-trivial, Gerd Hoffmann

c++ compiler isn't wrapped with cgcc, resulting in gcc complaining about
the sparse compiler flags which it doesn't know in case qemu is built
with --enable-sparse.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
---
 configure | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configure b/configure
index 9ac2600..90349f3 100755
--- a/configure
+++ b/configure
@@ -4908,6 +4908,7 @@ echo "QEMU_CFLAGS=$QEMU_CFLAGS" >> $config_host_mak
 echo "QEMU_INCLUDES=$QEMU_INCLUDES" >> $config_host_mak
 if test "$sparse" = "yes" ; then
   echo "CC           := REAL_CC=\"\$(CC)\" cgcc"       >> $config_host_mak
+  echo "CXX          := REAL_CC=\"\$(CXX)\" cgcc"      >> $config_host_mak
   echo "HOST_CC      := REAL_CC=\"\$(HOST_CC)\" cgcc"  >> $config_host_mak
   echo "QEMU_CFLAGS  += -Wbitwise -Wno-transparent-union -Wno-old-initializer -Wno-non-pointer-null" >> $config_host_mak
 fi
-- 
1.8.3.1

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

* [Qemu-devel] [PATCH] [sparse] fix build
  2014-10-15 10:10 [Qemu-devel] [PATCH v2 0/5] vmware-vga: fix CVE-2014-3689 Gerd Hoffmann
@ 2014-10-15 10:10 ` Gerd Hoffmann
  2014-10-15 10:13   ` Gerd Hoffmann
  0 siblings, 1 reply; 4+ messages in thread
From: Gerd Hoffmann @ 2014-10-15 10:10 UTC (permalink / raw)
  To: qemu-devel
  Cc: pmatouse, Intel.Product.Security.Incident.Response.Team,
	Gerd Hoffmann

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
---
 configure | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configure b/configure
index 9802e89..060c42a 100755
--- a/configure
+++ b/configure
@@ -4939,6 +4939,7 @@ echo "QEMU_CFLAGS=$QEMU_CFLAGS" >> $config_host_mak
 echo "QEMU_INCLUDES=$QEMU_INCLUDES" >> $config_host_mak
 if test "$sparse" = "yes" ; then
   echo "CC           := REAL_CC=\"\$(CC)\" cgcc"       >> $config_host_mak
+  echo "CXX          := REAL_CC=\"\$(CXX)\" cgcc"      >> $config_host_mak
   echo "HOST_CC      := REAL_CC=\"\$(HOST_CC)\" cgcc"  >> $config_host_mak
   echo "QEMU_CFLAGS  += -Wbitwise -Wno-transparent-union -Wno-old-initializer -Wno-non-pointer-null" >> $config_host_mak
 fi
-- 
1.8.3.1

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

* Re: [Qemu-devel] [PATCH] [sparse] fix build
  2014-10-15 10:10 ` [Qemu-devel] [PATCH] [sparse] fix build Gerd Hoffmann
@ 2014-10-15 10:13   ` Gerd Hoffmann
  0 siblings, 0 replies; 4+ messages in thread
From: Gerd Hoffmann @ 2014-10-15 10:13 UTC (permalink / raw)
  To: qemu-devel; +Cc: pmatouse, Intel.Product.Security.Incident.Response.Team

On Mi, 2014-10-15 at 12:10 +0200, Gerd Hoffmann wrote:
> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>

Oops, leftover patch file, please ignore this one.

sorry,

  Gerd

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

* Re: [Qemu-devel] [Qemu-trivial] [PATCH] sparse: fix build
  2014-10-15  9:51 [Qemu-devel] [PATCH] sparse: fix build Gerd Hoffmann
@ 2014-10-23  6:39 ` Michael Tokarev
  0 siblings, 0 replies; 4+ messages in thread
From: Michael Tokarev @ 2014-10-23  6:39 UTC (permalink / raw)
  To: Gerd Hoffmann, qemu-devel; +Cc: qemu-trivial

On 10/15/2014 01:51 PM, Gerd Hoffmann wrote:
> c++ compiler isn't wrapped with cgcc, resulting in gcc complaining about
> the sparse compiler flags which it doesn't know in case qemu is built
> with --enable-sparse.

Applied to -trivial, thank you!

/mjt

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

end of thread, other threads:[~2014-10-23  6:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-15  9:51 [Qemu-devel] [PATCH] sparse: fix build Gerd Hoffmann
2014-10-23  6:39 ` [Qemu-devel] [Qemu-trivial] " Michael Tokarev
  -- strict thread matches above, loose matches on Subject: below --
2014-10-15 10:10 [Qemu-devel] [PATCH v2 0/5] vmware-vga: fix CVE-2014-3689 Gerd Hoffmann
2014-10-15 10:10 ` [Qemu-devel] [PATCH] [sparse] fix build Gerd Hoffmann
2014-10-15 10:13   ` Gerd Hoffmann

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