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

List:       openembedded-core
Subject:    Re: [OE-core] [PATCH] tbb: Disable PPC as COMPATIBLE_MACHINE
From:       "Saul Wold" <Saul.Wold () windriver ! com>
Date:       2021-04-29 17:44:55
Message-ID: 80c302ec-582b-317b-7986-217d4561db61 () windriver ! com
[Download RAW message or body]

Oops wrong list!

Sorry for the extra noise.

Sau!


On 4/29/21 10:25 AM, Saul Wold wrote:
> 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).*"
> 
> 
> 
> 
> 

-- 
Sau!



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#151114): https://lists.openembedded.org/g/openembedded-core/message/151114
Mute This Topic: https://lists.openembedded.org/mt/82461657/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