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

-----Original Message-----
From: Richard Purdie <[email protected]> 
Sent: Sunday, May 31, 2020 2:39 AM
To: Slater, Joseph <[email protected]>; 
[email protected]
Cc: MacLeod, Randy <[email protected]>
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 <[email protected]>
> ---
>  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

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#139010): 
https://lists.openembedded.org/g/openembedded-core/message/139010
Mute This Topic: https://lists.openembedded.org/mt/74553632/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to