Richard Purdie <[email protected]> escreveu no dia segunda, 16/01/2023 à(s) 23:42:
> On Mon, 2023-01-16 at 19:21 +0000, Jose Quaresma wrote: > > 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? > > No, it doesn't. > > My worry was that uninative didn't contain libgcc which meant that > builds could fail like this if it wasn't present. The reason for the > change is threading in bitbake itself and the thread.join() calls which > seem to trigger pthread_cancel() calls under some circumstances. Having > libgcc present in uninative seemed like a good idea so I've ensured > that. I wasn't entirely convinced it would solve it, I half expected to > see a new/different error replacing it. > > Is libgcc present on your build system? It would seem strange for it > not to be but that is what the error message suggests. > No, I don't have libgcc installed on my build container and this is the main reason. I know that we now need the libgcc on the build host and this can satisfied in two different ways: 1 - installing the libgcc on the build host 2 - using the unative For now I will use the [1] because I don't use the uninative. Maybe the documentation needs to be updated adding the libgcc as a requirement of bitbake. > I've also seem mention of issues with this in some versions of python > but I've not seen any errors on the autobuilder since I ensured it was > present in uninative. > > > 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 ... > > This is the build system's python saying it can't find libgcc_s.so.1 so > I'd start by checking it is there. I'm assuming you're not using > buildtools? > No, I am not using the buildtools nor the uninative. My build container is ubuntu 20.04 based and dont have libgcc. This is not the first time I see this error in the last few weeks but I'll go install libgcc and it should fix my issue, if not i will come back. Jose > > Cheers, > > Richard > -- Best regards, José Quaresma
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#176048): https://lists.openembedded.org/g/openembedded-core/message/176048 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]] -=-=-=-=-=-=-=-=-=-=-=-
