[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openembedded-core
Subject:    Re: [oe-core][PATCH 1/1] qemu: force target build type to production
From:       "Joe Slater" <joe.slater () windriver ! com>
Date:       2020-05-31 18:21:01
Message-ID: BY5PR11MB399216FB780D0B2A3448DFD7888D0 () BY5PR11MB3992 ! namprd11 ! prod ! outlook ! com
[Download RAW message or body]

[Attachment #2 (unknown)]

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



-=-=-=-=-=-=-=-=-=-=-=-
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/4454766
Group Owner: openembedded-core+owner@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub  [openembedded-core@marc.info]
-=-=-=-=-=-=-=-=-=-=-=-


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic