Openembedded Core Discussions
 help / color / mirror / Atom feed
From: "Richard Purdie" <richard.purdie@linuxfoundation.org>
To: Joe Slater <joe.slater@windriver.com>,
	 openembedded-core@lists.openembedded.org
Cc: randy.macleod@windriver.com
Subject: Re: [oe-core][PATCH 1/1] qemu: force target build type to production
Date: Sun, 31 May 2020 10:39:10 +0100	[thread overview]
Message-ID: <b2c5a45e2ce62526052b472c80867500d4840a4e.camel@linuxfoundation.org> (raw)
In-Reply-To: <20200529212429.145132-1-joe.slater@windriver.com>

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


  reply	other threads:[~2020-05-31  9:39 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2020-05-31 18:21   ` Joe Slater

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b2c5a45e2ce62526052b472c80867500d4840a4e.camel@linuxfoundation.org \
    --to=richard.purdie@linuxfoundation.org \
    --cc=joe.slater@windriver.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=randy.macleod@windriver.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox