Bug#631627: Gnat on Debian testing not working any more
Erik Pessers writes:
> Dear all,
> Today I resynced a Debian (testing) PC (apt-get update -t testing).
> After the upgrading, Gnat Ada compiler no longer works for me. GCC and
> Gnat packages were updated, and now when trying to run gnatmake I get
> errors on the linking step:
> $ gnatmake test_cli
> gnatbind -x test_cli.ali
> gnatlink test_cli.ali
> /usr/bin/ld: cannot find -lgcc_s
> collect2: ld returned 1 exit status
> gnatlink: error when calling /usr/bin/gcc-4.4
> gnatmake: *** link failed.
> /usr/lib/gcc/x64-linux/4.4 directories seem to be purged;
> replaced by /usr/lib/gcc/x64-linux-gnu/4.6 and ../4.6.1
> libgcc_s.so is on the system, but in the new
> /usr/lib/gcc/x64-linux-gnu/4.6 directories.
> Debian packages installed are now:
> Any advice?
This looks like http://bugs.debian.org/631627 filed yesterday against
gcc, so it is probably common to all languages :(
I think instances of the bug are in both gcc-4.4 (affecting gnat) and
gcc-4.6 (affecting gcc). I've CC'd the bug report.