All of lore.kernel.org
 help / color / mirror / Atom feed
* [oe-core][PATCH 1/1] qemu: force target build type to production
@ 2020-05-29 21:24 Joe Slater
  2020-05-31  9:39 ` Richard Purdie
  0 siblings, 1 reply; 3+ messages in thread
From: Joe Slater @ 2020-05-29 21:24 UTC (permalink / raw)
  To: openembedded-core; +Cc: joe.slater, randy.macleod

qemu will not build for -Og optimization because macros
in lockable.h do not work as expected.  Override DEBUG_BUILD.

Signed-off-by: Joe Slater <joe.slater@windriver.com>
---
 meta/recipes-devtools/qemu/qemu_4.2.0.bb | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/meta/recipes-devtools/qemu/qemu_4.2.0.bb b/meta/recipes-devtools/qemu/qemu_4.2.0.bb
index a4018cc448..90b230d62f 100644
--- a/meta/recipes-devtools/qemu/qemu_4.2.0.bb
+++ b/meta/recipes-devtools/qemu/qemu_4.2.0.bb
@@ -10,6 +10,10 @@ DEPENDS = "glib-2.0 zlib pixman bison-native"
 
 RDEPENDS_${PN}_class-target += "bash"
 
+# Does not compile for -Og
+#
+DEBUG_BUILD_class-target = "0"
+
 EXTRA_OECONF_append_class-target = " --target-list=${@get_qemu_target_list(d)}"
 EXTRA_OECONF_append_class-target_mipsarcho32 = "${@bb.utils.contains('BBEXTENDCURR', 'multilib', ' --disable-capstone', '', d)}"
 EXTRA_OECONF_append_class-nativesdk = " --target-list=${@get_qemu_target_list(d)}"
-- 
2.17.1


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

* Re: [oe-core][PATCH 1/1] qemu: force target build type to production
  2020-05-29 21:24 [oe-core][PATCH 1/1] qemu: force target build type to production Joe Slater
@ 2020-05-31  9:39 ` Richard Purdie
  2020-05-31 18:21   ` Joe Slater
  0 siblings, 1 reply; 3+ messages in thread
From: Richard Purdie @ 2020-05-31  9:39 UTC (permalink / raw)
  To: Joe Slater, openembedded-core; +Cc: randy.macleod

On Fri, 2020-05-29 at 14:24 -0700, Joe Slater wrote:
> qemu will not build for -Og optimization because macros
> in lockable.h do not work as expected.  Override DEBUG_BUILD.
> 
> Signed-off-by: Joe Slater <joe.slater@windriver.com>
> ---
>  meta/recipes-devtools/qemu/qemu_4.2.0.bb | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/meta/recipes-devtools/qemu/qemu_4.2.0.bb b/meta/recipes-devtools/qemu/qemu_4.2.0.bb
> index a4018cc448..90b230d62f 100644
> --- a/meta/recipes-devtools/qemu/qemu_4.2.0.bb
> +++ b/meta/recipes-devtools/qemu/qemu_4.2.0.bb
> @@ -10,6 +10,10 @@ DEPENDS = "glib-2.0 zlib pixman bison-native"
>  
>  RDEPENDS_${PN}_class-target += "bash"
>  
> +# Does not compile for -Og
> +#
> +DEBUG_BUILD_class-target = "0"

Would native and nativesdk builds not have the same issue?

Cheers,

Richard


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

* Re: [oe-core][PATCH 1/1] qemu: force target build type to production
  2020-05-31  9:39 ` Richard Purdie
@ 2020-05-31 18:21   ` Joe Slater
  0 siblings, 0 replies; 3+ messages in thread
From: Joe Slater @ 2020-05-31 18:21 UTC (permalink / raw)
  To: Richard Purdie, openembedded-core; +Cc: MacLeod, Randy

Qemu-native, no, but nativesdk-qemu, yes.   Joe

-----Original Message-----
From: Richard Purdie <richard.purdie@linuxfoundation.org> 
Sent: Sunday, May 31, 2020 2:39 AM
To: Slater, Joseph <joe.slater@windriver.com>; openembedded-core@lists.openembedded.org
Cc: MacLeod, Randy <Randy.MacLeod@windriver.com>
Subject: Re: [oe-core][PATCH 1/1] qemu: force target build type to production

On Fri, 2020-05-29 at 14:24 -0700, Joe Slater wrote:
> qemu will not build for -Og optimization because macros in lockable.h 
> do not work as expected.  Override DEBUG_BUILD.
> 
> Signed-off-by: Joe Slater <joe.slater@windriver.com>
> ---
>  meta/recipes-devtools/qemu/qemu_4.2.0.bb | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/meta/recipes-devtools/qemu/qemu_4.2.0.bb 
> b/meta/recipes-devtools/qemu/qemu_4.2.0.bb
> index a4018cc448..90b230d62f 100644
> --- a/meta/recipes-devtools/qemu/qemu_4.2.0.bb
> +++ b/meta/recipes-devtools/qemu/qemu_4.2.0.bb
> @@ -10,6 +10,10 @@ DEPENDS = "glib-2.0 zlib pixman bison-native"
>  
>  RDEPENDS_${PN}_class-target += "bash"
>  
> +# Does not compile for -Og
> +#
> +DEBUG_BUILD_class-target = "0"

Would native and nativesdk builds not have the same issue?

Cheers,

Richard


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

end of thread, other threads:[~2020-05-31 18:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-29 21:24 [oe-core][PATCH 1/1] qemu: force target build type to production Joe Slater
2020-05-31  9:39 ` Richard Purdie
2020-05-31 18:21   ` Joe Slater

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.