--- Begin Message ---
Package: libgcc1
Version: 1:10-20200204-1
Severity: important
After a recent upgrade, I get the following error:
zira:~> gcc-4.9 tst.c -o tst
/usr/bin/ld: cannot find -lgcc_s
collect2: error: ld returned 1 exit status
It tries to open libgcc_s.so, which was previously found at
/usr/lib/gcc/x86_64-linux-gnu/4.9/libgcc_s.so
which is a symbolic link to
/lib/x86_64-linux-gnu/libgcc_s.so.1
but this file have moved to /lib.
The usual paths are searched too, so that alternatively, I think that
a libgcc_s.so -> libgcc_s.so.1 symbolic link in /lib could solve the
issue, if acceptable.
gcc-4.9 is rather old, but still useful for testing, and there was
no announce of any change.
In the mean time, a workaround is to add a symlink
/usr/local/lib/libgcc_s.so -> /lib/libgcc_s.so.1
-- System Information:
Debian Release: bullseye/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'stable-updates'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 5.4.0-3-amd64 (SMP w/8 CPU cores)
Locale: LANG=POSIX, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=POSIX (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages libgcc1 depends on:
ii gcc-10-base 10-20200204-1
ii libc6 2.29-10
ii libgcc-s1 10-20200204-1
libgcc1 recommends no packages.
libgcc1 suggests no packages.
-- no debconf information
--
Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
--- End Message ---
--- Begin Message ---
Version: 1:10-20200211-1
On 2020-02-11 01:33:13 +0100, Vincent Lefevre wrote:
> Package: libgcc1
> Version: 1:10-20200204-1
> Severity: important
>
> After a recent upgrade, I get the following error:
>
> zira:~> gcc-4.9 tst.c -o tst
> /usr/bin/ld: cannot find -lgcc_s
> collect2: error: ld returned 1 exit status
>
> It tries to open libgcc_s.so, which was previously found at
>
> /usr/lib/gcc/x86_64-linux-gnu/4.9/libgcc_s.so
>
> which is a symbolic link to
>
> /lib/x86_64-linux-gnu/libgcc_s.so.1
>
> but this file have moved to /lib.
This is fixed in 1:10-20200211-1, as libgcc-s1 now provides this file.
--
Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
--- End Message ---