[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#950254: initramfs-tools: Please make libpthread pull in libgcc_s



Package: initramfs-tools
Version: 0.136
Severity: wishlist

Dear Maintainer,

libthread appears to load libgcc_s via dlopen, so copy_exec() won't copy
it to the initramfs image.  This causes pthread_cancel to fail with

    LIBGCC_S_SO must be installed for pthread_cancel to work
    https://sources.debian.org/src/glibc/2.29-9/fbtl/sysdeps/pthread/unwind-forcedunwind.c/#L64

Some packages (cryptsetup-initramfs, open-iscsi, btrfs-progs, and
probably others) have added brittle workarounds to their initramfs hooks
to copy libgcc_s.  As discussed here at HSBXL, please consider making
libthread pull libgcc_s.  (Or alternatively, providing a helper function
so these packages don't need to reinvent the wheel.)

Thanks,
cheers,
-- 
Guilhem.

Attachment: signature.asc
Description: PGP signature


Reply to: