Skip to contentSkip to conversation

Use non-debug build for Xen 4.9

PATCH In review Julien Grall 4 participants 10 messages May 18, 2017 – May 19, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Use non-debug build for Xen 4.9

Modify Config.mk and Kconfig.debug to disable debug by default in preparation for late RCs and eventual release.

---
 tools/Rules.mk    | 2 +-
 xen/Kconfig.debug | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
tools/Rules.mk +1 -1
index f55fb669b8..c3fdbc4d4f 100644
@@ -30,7 +30,7 @@ CFLAGS_xeninclude = -I$(XEN_INCLUDE)
 XENSTORE_XENSTORED ?= y
 
 # A debug build of tools?
-debug ?= y
+debug ?= n
 debug_symbols ?= $(debug)
 
 # Set CONFIG_GOLANG=y in .config (or in make) to build golang
xen/Kconfig.debug +1 -1
index 689f2974c0..e01a194091 100644
@@ -3,7 +3,7 @@ menu "Debugging Options"
 
 config DEBUG
 	bool "Developer Checks"
-	default y
+	default n
 	---help---
 	  If you say Y here this will enable developer checks such as asserts
 	  and extra printks. This option is intended for development purposes
Signature · 7 lines
2.11.0


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
#3 lore raw
In reply to Julien Grall
Quoted 5 lines
Quoted 1 line
Quoted 1 line · On 18.05.17 at 17:38, <[email protected]> wrote:

Modify Config.mk and Kconfig.debug to disable debug by default in preparation for late RCs and eventual release.

To avoid pointless code churn on the master branch, shouldn't this be done only after (or even while) branching?

Jan

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

#4 lore raw

Hi Jan,

Quoted 8 lines · Jan Beulich
Quoted 5 lines
Quoted 1 line
Quoted 1 line · On 18.05.17 at 17:38, <[email protected]> wrote:

Modify Config.mk and Kconfig.debug to disable debug by default in preparation for late RCs and eventual release.

To avoid pointless code churn on the master branch, shouldn't this be done only after (or even while) branching?

I don't think we are in state to branch right now (we still haven't had a push in master after the last force push...) and I would like to have the debug disable as soon as possible to get more testing.

Cheers,

Signature · 6 lines
Julien Grall

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
#5 lore raw
In reply to Jan Beulich

Jan Beulich writes ("Re: [PATCH] Use non-debug build for Xen 4.9"):

Quoted 8 lines · On 18.05.17 at 17:38, <[email protected]> wrote:
Quoted 4 lines

Modify Config.mk and Kconfig.debug to disable debug by default in preparation for late RCs and eventual release.

To avoid pointless code churn on the master branch, shouldn't this be done only after (or even while) branching?

I think it's fine either way.

(And yes, apropos of Julien's other message, we should branch with staging==master.)

Ian.

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

#6 lore raw

Hi,

Quoted 7 lines · Ian Jackson

Jan Beulich writes ("Re: [PATCH] Use non-debug build for Xen 4.9"):

Quoted 6 lines · On 18.05.17 at 17:38, <[email protected]> wrote:
Quoted 4 lines

Modify Config.mk and Kconfig.debug to disable debug by default in preparation for late RCs and eventual release.

Quoted 7 lines
Quoted 2 lines

To avoid pointless code churn on the master branch, shouldn't this be done only after (or even while) branching?

I think it's fine either way.

(And yes, apropos of Julien's other message, we should branch with staging==master.)

Could someone push this patch to staging, I'd like to include that in the next RC.

Regarding the branching, I was thinking to branch right after the next RC. Any opinions on this?

Cheers,

Signature · 6 lines
Julien Grall

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
#7 lore raw
Quoted 13 lines · Julien Grall

Hi,

Quoted 10 lines · Ian Jackson

Jan Beulich writes ("Re: [PATCH] Use non-debug build for Xen 4.9"):

Quoted 8 lines · On 18.05.17 at 17:38, <[email protected]> wrote:
Quoted 4 lines

Modify Config.mk and Kconfig.debug to disable debug by default in preparation for late RCs and eventual release.

To avoid pointless code churn on the master branch, shouldn't this be done only after (or even while) branching?

Quoted 7 lines
Quoted 4 lines

I think it's fine either way.

(And yes, apropos of Julien's other message, we should branch with staging==master.)

Could someone push this patch to staging, I'd like to include that in the next RC.

Done. Along with some other patches.

Quoted 4 lines

Regarding the branching, I was thinking to branch right after the next RC. Any opinions on this?

+1

Quoted 4 lines

Cheers,

Signature · 1 line
Julien Grall

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

#8 lore raw
In reply to Julien Grall

Julien Grall writes ("Re: [PATCH] Use non-debug build for Xen 4.9"):

Quoted 2 lines

Regarding the branching, I was thinking to branch right after the next RC. Any opinions on this?

That would be fine by me. We would want staging==master at the time we branch, so we should have a commit moratorium too.

Ian.

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

#9 lore raw
Quoted 6 lines · Ian Jackson

Julien Grall writes ("Re: [PATCH] Use non-debug build for Xen 4.9"):

Quoted 2 lines

Regarding the branching, I was thinking to branch right after the next RC. Any opinions on this?

That would be fine by me. We would want staging==master at the time we branch, so we should have a commit moratorium too.

Good point. I will send an e-mail for that.

Cheers,

Signature · 6 lines
Julien Grall

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel