qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] build: preserve debug symbols with --enable-debug-info
@ 2014-09-25  8:06 Olaf Hering
  2014-09-25 10:36 ` Peter Maydell
  2014-09-25 10:49 ` Stefan Hajnoczi
  0 siblings, 2 replies; 9+ messages in thread
From: Olaf Hering @ 2014-09-25  8:06 UTC (permalink / raw)
  To: qemu-devel
  Cc: Peter Maydell, Olaf Hering, Stefan Weil, Michael Tokarev,
	Stefan Hajnoczi, Paolo Bonzini

During code review for xen I noticed that --enable-debug-info would
still strip the binaries because strip_opt= defaults to yes.
If --enable-debug-info is passed to configure it has to be assumed
that not only the compiled binaries have debugsymbols, also the
installed binaries should keep the symbols. The requirement to pass
also --disable-strip looks odd.

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Peter Maydell <peter.maydell@linaro.org>
Cc: Michael Tokarev <mjt@tls.msk.ru>
Cc: Stefan Hajnoczi <stefanha@redhat.com>
Cc: Stefan Weil <sw@weilnetz.de>
---
 configure | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configure b/configure
index 862f6d2..1fd5c6b 100755
--- a/configure
+++ b/configure
@@ -357,6 +357,7 @@ for opt do
                      EXTRA_LDFLAGS="$optarg"
   ;;
   --enable-debug-info) debug_info="yes"
+                       strip_opt="no"
   ;;
   --disable-debug-info) debug_info="no"
   ;;

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

end of thread, other threads:[~2014-10-02 15:39 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-25  8:06 [Qemu-devel] [PATCH] build: preserve debug symbols with --enable-debug-info Olaf Hering
2014-09-25 10:36 ` Peter Maydell
2014-09-25 10:47   ` Olaf Hering
2014-09-25 10:51     ` Peter Maydell
2014-09-25 10:49 ` Stefan Hajnoczi
2014-09-25 10:55   ` Olaf Hering
2014-09-25 11:05   ` Michael Tokarev
2014-09-25 13:51   ` Paolo Bonzini
2014-10-02 15:39     ` Stefan Hajnoczi

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