From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: Re: [PATCH v2] Separate runtime debug output from debug symbols Date: Wed, 8 Oct 2014 13:45:00 +0100 Message-ID: <1412772300.9247.30.camel@citrix.com> References: <1412181690-19609-29-git-send-email-olaf@aepfle.de> <1412585751-1525-1-git-send-email-olaf@aepfle.de> <54327711020000780003C5CF@mail.emea.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1Xbqc5-0006Pb-Tw for xen-devel@lists.xenproject.org; Wed, 08 Oct 2014 12:45:06 +0000 In-Reply-To: <54327711020000780003C5CF@mail.emea.novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Jan Beulich Cc: Olaf Hering , Wei Liu , David Scott , Stefano Stabellini , Tim Deegan , Ian Jackson , xen-devel , Samuel Thibault , Keir Fraser List-Id: xen-devel@lists.xenproject.org On Mon, 2014-10-06 at 10:03 +0100, Jan Beulich wrote: > >>> On 06.10.14 at 10:55, wrote: > > Two make variables exist (debug=y and debug_symbols=y) to control either > > the creation of additional runtime debug or the creation of debug > > symbols for tools like gdb. Some places in the code still passed -g > > unconditionally to the compiler. Wrap them into a "debug_symbols" > > conditional. The xen build passed -g unconditional, reuse the existing > > debug_symbols=y check in Config.mk. There are still parts of the code > > that hardcode -g, namely the external qemu-traditional and stubdom > > packages. They are not changed by this patch. > > > > No change in behaviour is expected by that patch for tools and xen. > > For stubdom CFLAGS change from -O1 to O2 with debug=n. > > > > Signed-off-by: Olaf Hering > > Release-Acked-by: Konrad Rzeszutek Wilk > > Reviewed-by: Konrad Rzeszutek Wilk > >[...] > > xen/Rules.mk | 2 +- > > For just this small part of the patch: > Acked-by: Jan Beulich Unfortunately this seems to cause: /usr/bin/wget -c -O zlib-1.2.3.tar.gz /zlib-1.2.3.tar.gz /zlib-1.2.3.tar.gz: Scheme missing. I think the reordering in stubdom/Makefile has caused XEN_EXTFILES_URL to not be defined at the correct point in time. Ian.