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

Path csiph.com!goblin3!goblin1!goblin2!goblin.stu.neva.ru!aioe.org!bofh.it!news.nic.it!robomod
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 Thu, 30 Jan 2020 16:50:02 +0100
Message-ID <zukeR-5j4-1@gated-at.bofh.it> (permalink)
X-Mailbox-Line From debian-bugs-dist-request@lists.debian.org Thu Jan 30 15:45:10 2020
Old-Return-Path <debbugs@buxtehude.debian.org>
X-Spam-Flag NO
X-Spam-Score 0.2
Reply-To Guilhem Moulin <guilhem@debian.org>, 950254@bugs.debian.org
Resent-To debian-bugs-dist@lists.debian.org
Resent-Cc Debian kernel team <debian-kernel@lists.debian.org>
X-Debian-Pr-Message report 950254
X-Debian-Pr-Package initramfs-tools
X-Debian-Pr-Source initramfs-tools
X-Spam-Bayes score:0.0000 Tokens: new, 22; hammy, 129; neutral, 37; spammy, 0. spammytokens: hammytokens:0.000-+--H*ct:application, 0.000-+--H*ct:protocol, 0.000-+--H*ct:micalg, 0.000-+--H*ct:signed, 0.000-+--H*ct:pgp-signature
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/simple; d=x.fripost.org; h= content-disposition:content-type:content-type:mime-version :message-id:subject:subject:from:from:date:date; s= 9df9cdc7e101629b5003b587945afa70; t=1580398999; x=1582213400; bh=K8/RbnKp39HMZgPdkgoduT7a48ZVCKaOfpZW+d8jM3M=; b=ZQQwLIKMuSA4 tP6JHhDdZ/8WddnvjieyFrKfJt53dO0RK9uwd/21XIcQ1SQbCEWVDun9cL8Yrwsk wnvYjVMFGMWprYm2giOPwogsOLUG8sjadE1tjkpkTF+8fSKlBhJxfUh9eyTltZAX 4gAoERDL2g8KQAUn/ywCpG+2jYPwZD8JaSda2teZkfWDz0G2iaScS/2FRyJMQHad lxGSsypzpXY+7ZVzcuI04gV+eXQT0YZXFjN38yRPljtyaCq+epVXeBEp7Hvnvcua iKGE+a1BitTcDBxlGXzpUWb7Cd/keK+rt2E3VtgBuPue+HEMld953BLwDEUXPrab 0EpSpGgUrA==
MIME-Version 1.0
Content-Type multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Q68bSM7Ycu6FN28Q"
Content-Disposition inline
X-Reportbug-Version 7.6.0
X-Debian-Message from BTS
X-Mailing-List <debian-bugs-dist@lists.debian.org> archive/latest/1582350
List-ID <debian-bugs-dist.lists.debian.org>
List-URL <https://lists.debian.org/debian-bugs-dist/>
Approved robomod@news.nic.it
Lines 51
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Thu, 30 Jan 2020 16:43:09 +0100
X-Original-Message-ID <20200130154309.GA9800@debian.org>
Xref csiph.com linux.debian.bugs.dist:993733 linux.debian.kernel:66253

Cross-posted to 2 groups.

Show key headers only | 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