Hi Richard,

I am seeing some build errors like this at the end of the build whre bibake
segment fault.
My problem is this happens on a build that doesn't use uninative,
does bitbake require uninative to build on master?

This is my build log where bitbake crash at the end:

INFO: Build completion summary:
INFO:   do_populate_sysroot: 100.0% sstate reuse(387 setscene, 0 scratch)
INFO:   do_deploy_source_date_epoch: 100.0% sstate reuse(5 setscene, 0
scratch)
INFO:   do_deploy_archives: 100.0% sstate reuse(400 setscene, 0 scratch)
INFO:   do_create_spdx: 100.0% sstate reuse(364 setscene, 0 scratch)
INFO:   do_create_runtime_spdx: 100.0% sstate reuse(342 setscene, 0 scratch)
INFO:   do_package_qa: 100.0% sstate reuse(243 setscene, 0 scratch)
INFO:   do_package: 100.0% sstate reuse(26 setscene, 0 scratch)
INFO:   do_packagedata: 100.0% sstate reuse(243 setscene, 0 scratch)
INFO:   do_package_write_ipk: 100.0% sstate reuse(243 setscene, 0 scratch)
INFO:   do_populate_lic: 100.0% sstate reuse(395 setscene, 0 scratch)
INFO: Writing buildhistory
INFO: Writing buildhistory took: 10 seconds
libgcc_s.so.1 must be installed for pthread_cancel to work
/lmp/bb-build.sh: line 24: 91770 Aborted                 (core dumped)
bitbake -D ...

Jose


Richard Purdie <[email protected]> escreveu no dia
segunda, 9/01/2023 à(s) 13:49:

> We ship libpthread with uninative. when uninative is active we're seeing
> failures like:
>
>    libgcc_s.so.1 must be installed for pthread_cancel to work
>    Aborted
>
> which is since we don't have a libgcc that matches libpthread. Add libgcc
> to avoid these errors.
>
> Signed-off-by: Richard Purdie <[email protected]>
> ---
>  meta/recipes-core/meta/uninative-tarball.bb | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/meta/recipes-core/meta/uninative-tarball.bb
> b/meta/recipes-core/meta/uninative-tarball.bb
> index a21d08b591c..4aecf39b890 100644
> --- a/meta/recipes-core/meta/uninative-tarball.bb
> +++ b/meta/recipes-core/meta/uninative-tarball.bb
> @@ -20,6 +20,7 @@ TOOLCHAIN_HOST_TASK = "\
>      nativesdk-libxcrypt-compat \
>      nativesdk-libnss-nis \
>      nativesdk-sdk-provides-dummy \
> +    nativesdk-libgcc \
>      "
>
>  INHIBIT_DEFAULT_DEPS = "1"
> --
> 2.37.2
>
>
> 
>
>

-- 
Best regards,

José Quaresma
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#176013): 
https://lists.openembedded.org/g/openembedded-core/message/176013
Mute This Topic: https://lists.openembedded.org/mt/96152280/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to