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

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



Le 05/05/2020 à 07:00, John Paul Adrian Glaubitz a écrit :
> Source: initramfs-tools
> Severity: important
> User: debian-hppa@lists.debian.org
> 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

This bug prevents installation of new kernel packages.

It's easy to workaround on an already installed system, with something like:

 sed -i "s/libgcc_s.so.1/libgcc_s.so.2/"
/usr/share/initramfs-tools/hook-functions

But we can't install new systems as we can't patch the script before it
is used and the installation failed at 83% (on m68k) during the
installation of linux-image-5.6.0-1-m68k package (when it build the
initramfs).

Do you have any solution to install a new system while this bug is not
fixed?

Thanks,
Laurent


Reply to: