[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] build: preserve debug symbols with --enable-deb
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] [PATCH] build: preserve debug symbols with --enable-debug-info |
Date: |
Thu, 25 Sep 2014 11:49:54 +0100 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
On Thu, Sep 25, 2014 at 10:06:35AM +0200, Olaf Hering wrote:
> 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.
Perhaps package maintainers rely on installed binaries not having debug
symbols?
It's common to split the debug symbols into separate ELF files that are
shipped in a different package (qemu-debuginfo or similar).
If you make this change and packagers are unaware, they could
accidentally ship qemu packages that contain the full debug symbols in
the binaries.
That said, I don't really know... The package maintainers can give you
a definitive answer whether or not this is a good thing to do.
Stefan
pgpiaCmxNwnqZ.pgp
Description: PGP signature