* [meta-oe][hardknott] tbb: Disable PPC as COMPATIBLE_MACHINE
@ 2021-05-03 15:42 Saul Wold
2021-05-03 15:42 ` [PATCH] " Saul Wold
0 siblings, 1 reply; 6+ messages in thread
From: Saul Wold @ 2021-05-03 15:42 UTC (permalink / raw)
To: openembedded-devel; +Cc: Saul Wold, Khem Raj
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).*"
--
2.25.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH] tbb: Disable PPC as COMPATIBLE_MACHINE
2021-05-03 15:42 [meta-oe][hardknott] tbb: Disable PPC as COMPATIBLE_MACHINE Saul Wold
@ 2021-05-03 15:42 ` Saul Wold
2021-05-03 19:07 ` [oe] " Armin Kuster
0 siblings, 1 reply; 6+ messages in thread
From: Saul Wold @ 2021-05-03 15:42 UTC (permalink / raw)
To: openembedded-devel; +Cc: Saul Wold, Khem Raj
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).*"
--
2.25.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [oe] [PATCH] tbb: Disable PPC as COMPATIBLE_MACHINE
2021-05-03 15:42 ` [PATCH] " Saul Wold
@ 2021-05-03 19:07 ` Armin Kuster
2021-05-03 19:59 ` Khem Raj
0 siblings, 1 reply; 6+ messages in thread
From: Armin Kuster @ 2021-05-03 19:07 UTC (permalink / raw)
To: Saul Wold, openembedded-devel; +Cc: Khem Raj
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" <<<---?
>
>
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [oe] [PATCH] tbb: Disable PPC as COMPATIBLE_MACHINE
2021-05-03 19:07 ` [oe] " Armin Kuster
@ 2021-05-03 19:59 ` Khem Raj
2021-05-04 2:02 ` Armin Kuster
0 siblings, 1 reply; 6+ messages in thread
From: Khem Raj @ 2021-05-03 19:59 UTC (permalink / raw)
To: akuster808; +Cc: Saul Wold, openembeded-devel
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.
>
> >
> >
> >
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [oe] [PATCH] tbb: Disable PPC as COMPATIBLE_MACHINE
2021-05-03 19:59 ` Khem Raj
@ 2021-05-04 2:02 ` Armin Kuster
0 siblings, 0 replies; 6+ messages in thread
From: Armin Kuster @ 2021-05-04 2:02 UTC (permalink / raw)
To: Khem Raj; +Cc: Saul Wold, openembeded-devel
On 5/3/21 12:59 PM, Khem Raj wrote:
> 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.
sysdig and opencv both have a depends on tbb. I suspect world builds may
fail.
-armin
>
>>>
>>>
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH] tbb: Disable PPC as COMPATIBLE_MACHINE
@ 2021-04-29 17:25 Saul Wold
0 siblings, 0 replies; 6+ messages in thread
From: Saul Wold @ 2021-04-29 17:25 UTC (permalink / raw)
To: openembedded-core; +Cc: naveen.kumar.saini, liezhi.yang
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>
---
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).*"
--
2.25.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
end of thread, other threads:[~2021-05-04 2:02 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
2021-05-04 2:02 ` Armin Kuster
-- strict thread matches above, loose matches on Subject: below --
2021-04-29 17:25 Saul Wold
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.