We have been bitten by this before. And Last time I did proposed to do this:
- create a stub binary tha tis linked with pthread and libgcc_s - copy_exec that into the initramfs https://code.launchpad.net/~xnox/ubuntu/+source/initramfs- tools/+git/initramfs-tools/+merge/385243 This ensures that at least one binary wants pthreads and libgcc_s and those things get copied into the initramfs correctly and always for the host architecture. I had to do this with a binary, because precisely like raof says we never know which architecture we need, and which hw optimized version of those libraries is needed. I feel like I should upload the above (rebased on jammy) into jammy to get this done once and for all. Kind of sad that I didn't do that 2 years ago. Which would have avoided this issue today. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1958594 Title: Boot error: libgcc_s.so.1 must be installed for pthread_exit to work To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1958594/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
