Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #66253

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

From Guilhem Moulin <guilhem@debian.org>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#950254: initramfs-tools: Please make libpthread pull in libgcc_s
Date 2020-01-30 16:50 +0100
Message-ID <zukeR-5j4-1@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

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.

Back to linux.debian.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Bug#950254: initramfs-tools: Please make libpthread pull in libgcc_s Guilhem Moulin <guilhem@debian.org> - 2020-01-30 16:50 +0100
  Bug#950254: System not boot because of missing libgcc_s.so.1 when unlocking the encrypted disk Jens Yllman <jens@yllman.se> - 2020-02-03 09:30 +0100
  Bug#950254: initramfs-tools: Please make libpthread pull in libgcc_s Vincent Bernat <bernat@debian.org> - 2020-02-03 13:30 +0100
    Bug#950254: initramfs-tools: Please make libpthread pull in libgcc_s Guilhem Moulin <guilhem@debian.org> - 2020-02-05 01:30 +0100
  Bug#950254: marked as done (initramfs-tools: Please make  libpthread pull in libgcc_s) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2020-04-28 21:30 +0200

csiph-web