| Summary: | glibc 2.34 and pseudo break with uninative | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Richard Purdie <richard.purdie> |
| Component: | core | Assignee: | Unassigned <unassigned> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Undecided | CC: | dl9pf, jason.wessel, mark.hatle, meta.mr.watcher, meta.watcher, ross.burton, seebs, twoerner |
| Version: | 3.3 | ||
| Target Milestone: | --- | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | No (bug/feature does not impact docs) | |
|
Description
Richard Purdie
2021-08-20 16:50:59 UTC
I guess the alternative plan is to go back to host specific pseudo-native recipes and remove that from the locked sigs in eSDK so that it can be rebuild it not correct. I'm struggling to find any better/sane idea. There is another problem. If we make pseudo-native host specific and allow the eSDK to rebuild where necessary then we need to change runqueue to optimise that workflow. If pseudo-native isn't present currently, it will mean it can't install large chunks of the system from sstate as there would be no fakeroot env to do so. The "hard dep" handling in runqueue would need to be rewritten. For reference you can't statically link in libpthread: | pseudo_wrappers.o pseudo_tables.o pseudo_util.o -L/media/build1/poky/build/tmp/work/x86_64-linux/pseudo-native/1.9.0+gitAUTOINC+b988b0a6b8-r0/recipe-sysroot-native/usr/lib -L/media/build1/poky/build/tmp/work/x86_64-linux/pseudo-native/1.9.0+gitAUTOINC+b988b0a6b8-r0/recipe-sysroot-native/lib -Wl,--enable-new-dtags -Wl,-rpath-link,/media/build1/poky/build/tmp/work/x86_64-linux/pseudo-native/1.9.0+gitAUTOINC+b988b0a6b8-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,/media/build1/poky/build/tmp/work/x86_64-linux/pseudo-native/1.9.0+gitAUTOINC+b988b0a6b8-r0/recipe-sysroot-native/lib -Wl,-rpath,/media/build1/poky/build/tmp/work/x86_64-linux/pseudo-native/1.9.0+gitAUTOINC+b988b0a6b8-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,/media/build1/poky/build/tmp/work/x86_64-linux/pseudo-native/1.9.0+gitAUTOINC+b988b0a6b8-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=/media/build1/poky/build/tmp/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 -Wl,-ldl -Wl,-Bstatic -Wl,-lpthread -Wl,-Bdynamic | /media/build1/poky/build/tmp/hosttools/ld: /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/libpthread.a(elision-lock.o): .preinit_array section is not allowed in DSO | /media/build1/poky/build/tmp/hosttools/ld: failed to set dynamic section sizes: nonrepresentable section on output (and statically linking in libdl would make no sense) See above for fix |