All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Khem Raj" <raj.khem@gmail.com>
To: akuster808 <akuster808@gmail.com>
Cc: Saul Wold <Saul.Wold@windriver.com>,
	 openembeded-devel <openembedded-devel@lists.openembedded.org>
Subject: Re: [oe] [PATCH] tbb: Disable PPC as COMPATIBLE_MACHINE
Date: Mon, 3 May 2021 12:59:02 -0700	[thread overview]
Message-ID: <CAMKF1sqgwU5-KtiepOD-ct5dP=HV464Wis+1vQSXnXWVf6v=aQ@mail.gmail.com> (raw)
In-Reply-To: <56aac87e-556a-dfba-4aca-70644a8fcd9a@gmail.com>

On Mon, May 3, 2021 at 12:07 PM akuster808 <akuster808@gmail.com> wrote:
>
>
>
> On 5/3/21 8:42 AM, Saul Wold wrote:
> > From: Saul Wold <Saul.Wold@windriver.com>
> >
> > The latest version does not support PPC architecture, so disable
> > the it. Otherwise the following error occurs:
> >
> > /srv/nvme/yocto/hardknott/builds/tbb/tmp/work/ppc7400-poky-linux/tbb/2021.2.0-r0/git/src/tbb/tools_api/ittnotify_config.h:338:12: error: '__TBB_machine_fetchadd4' was not declared in this scope
> >   338 |     return __TBB_machine_fetchadd4(ptr, 1) + 1L;
> >       |            ^~~~~~~~~~~~~~~~~~~~~~~
> >
> > Signed-off-by: Saul Wold <saul.wold@windriver.com>
> > Signed-off-by: Khem Raj <raj.khem@gmail.com>
> > ---
> >  meta-oe/recipes-support/tbb/tbb_2021.2.0.bb | 3 +++
> >  1 file changed, 3 insertions(+)
> >
> > diff --git a/meta-oe/recipes-support/tbb/tbb_2021.2.0.bb b/meta-oe/recipes-support/tbb/tbb_2021.2.0.bb
> > index b05a59dc7..d8a18866c 100644
> > --- a/meta-oe/recipes-support/tbb/tbb_2021.2.0.bb
> > +++ b/meta-oe/recipes-support/tbb/tbb_2021.2.0.bb
> > @@ -43,3 +43,6 @@ LDFLAGS_append_mips = " -latomic"
> >  LDFLAGS_append_mipsel = " -latomic"
> >
> >  LDFLAGS_append_libc-musl = " -lucontext"
> > +
> > +# The latest version of oneTBB does not support PPC
> > +COMPATIBLE_MACHINE_powerpc = "(!.*ppc).*"
>
> Should we also exclude including that package for ppc in
> packagegroup-meta-oe.bb?
>
> RDEPENDS_packagegroup-meta-oe-support_remove_powerpc = "ssiapi tbb"  <<<---?

yes it should be.

>
> >
> > 
> >
>

  reply	other threads:[~2021-05-03 19:59 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-03 15:42 [meta-oe][hardknott] tbb: Disable PPC as COMPATIBLE_MACHINE Saul Wold
2021-05-03 15:42 ` [PATCH] " Saul Wold
2021-05-03 19:07   ` [oe] " Armin Kuster
2021-05-03 19:59     ` Khem Raj [this message]
2021-05-04  2:02       ` Armin Kuster

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='CAMKF1sqgwU5-KtiepOD-ct5dP=HV464Wis+1vQSXnXWVf6v=aQ@mail.gmail.com' \
    --to=raj.khem@gmail.com \
    --cc=Saul.Wold@windriver.com \
    --cc=akuster808@gmail.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /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 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.