Bug#959768: initramfs-tools: Does not account for different so versions of libgcc_s

John Paul Adrian Glaubitz <[email protected]>
Newsgroups gmane.linux.debian.ports.hppa
Message-ID <158865483427.166635.9570416026205796074.reportbug__5270.33288251317$1588655007$gmane$org@z6.physik.fu-berlin.de>
Source: initramfs-tools
Severity: important
User: [email protected]
Usertags: hppa,m68k

Hello!

In #950254 [1], a change was introduced to copy libgcc_s.so.1 into the
initrd. Unfortunately, this change has introduced a regression on some
architectures as the shared library has a different so version on these
targets.

amd64:

root@z6:~> ls -l /lib/x86_64-linux-gnu/libgcc*
-rw-r--r-- 1 root root 100736 May  2 14:09 /lib/x86_64-linux-gnu/libgcc_s.so.1
root@z6:~>

hppa:

root@phantom:~# ls -l /lib/hppa-linux-gnu/libgcc*
-rw-r--r-- 1 root root 84412 Apr 18 09:56 /lib/hppa-linux-gnu/libgcc_s.so.4
root@phantom:~#

m68k:

root@elgar:~> ls -l /lib/m68k-linux-gnu/libgcc*
-rw-r--r-- 1 root root 59116 Apr 18 11:56 /lib/m68k-linux-gnu/libgcc_s.so.2
root@elgar:~>

Can you fix the change from #950254 to account for the different so
versions of that library?

Thanks,
Adrian

> [1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=950254

--
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - [email protected]
`. `'   Freie Universitaet Berlin - [email protected]
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.