Skip to contentSkip to conversation

Use non-debug build for Xen 4.10

PATCH In review Julien Grall 2 participants 4 messages Nov 29, 2017

lore
Share & tools
lore
#0 lore raw

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

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

---

I would like this to get included before branching. So we can cut the RC right after branching.

---
 tools/Rules.mk    | 2 +-
 xen/Kconfig.debug | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
tools/Rules.mk +1 -1
index 61515d3063..6268c14e3a 100644
@@ -31,7 +31,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 8d70f63743..c0f3c017ed 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.xenproject.org/mailman/listinfo/xen-devel
#1 lore raw
Quoted 10 lines
Quoted 1 line
Quoted 1 line · On 29.11.17 at 13:09, <[email protected]> wrote:

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

---

I would like this to get included before branching. So we can cut the RC right after branching.

I think doing this before branching has proven a bad idea in the past, due to Coverity seeing a sufficiently different set of issues in both modes. I therefore think that turning off debug should actually be part of branching (e.g. be the first commit on the new stable branch).

Jan

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

#2 lore raw

Hi Jan,

Quoted 6 lines · Jan Beulich
Quoted 6 lines
Quoted 1 line
Quoted 1 line · On 29.11.17 at 13:09, <[email protected]> wrote:

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

Quoted 8 lines
Quoted 4 lines

---

I would like this to get included before branching. So we can cut the RC right after branching.

I think doing this before branching has proven a bad idea in the past, due to Coverity seeing a sufficiently different set of issues in both modes.

If Coverity requires debug then the .config used for coverity should have CONFIG_DEBUG=y.

So, I find rather strange to have to delay that patch just because of Coverity.

Quoted 3 lines

I therefore think that turning off debug should actually be part of branching (e.g. be the first commit on the new stable branch).

Cheers,

Signature · 6 lines
Julien Grall

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
#3 lore raw
Quoted 13 lines
Quoted 1 line
Quoted 1 line · On 29.11.17 at 15:22, <[email protected]> wrote:
Quoted 11 lines · Jan Beulich
Quoted 10 lines
Quoted 1 line
Quoted 1 line · On 29.11.17 at 13:09, <[email protected]> wrote:

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

---

I would like this to get included before branching. So we can cut the RC right after branching.

Quoted 6 lines
Quoted 3 lines

I think doing this before branching has proven a bad idea in the past, due to Coverity seeing a sufficiently different set of issues in both modes.

If Coverity requires debug then the .config used for coverity should have CONFIG_DEBUG=y.

That would be wrong on stable branches. Coverity works on either build, but produces significantly different results for the two cases.

Jan

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