Your message dated Tue, 05 Jul 2011 21:07:44 +0200
with message-id <4e136100....@debian.org>
and subject line gcc-4.4/gcc-4.5 and libgcc[124] upgrades fixed with gcc-4.6
4.6.1-2
has caused the Debian Bug report #631926,
regarding /usr/bin/ld: cannot find -lgcc_s
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
631926: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=631926
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: gcc-4.5
Version: 4.5.3-3
Severity: important
Basically after recent upgrade I cannot compile anything.
Here is a simple procedure:
Get a small C program (there is nothing special about it):
$ wget "http://burtleburtle.net/bob/c/jenny.c"
Compile:
$ gcc-4.5 jenny.c
/usr/bin/ld: cannot find -lgcc_s
collect2: ld returned 1 exit status
So I looked for libgcc:
$ gcc-4.5 -print-libgcc-file-name
/usr/lib/i386-linux-gnu/gcc/i486-linux-gnu/4.5.3/libgcc.a
which is different from a working gcc-4.6 setup:
$ gcc-4.6 -print-libgcc-file-name
/usr/lib/gcc/i486-linux-gnu/4.6.1/libgcc.a
Then I looked at /etc/ld.so.conf.d/
-rw-r--r-- 1 root root 15 2010-05-05 14:50 atlas.conf
-rw-r--r-- 1 root root 108 2011-06-13 02:10 i486-linux-gnu.conf
-rw-r--r-- 1 root root 44 2007-11-29 22:21 libc.conf
-rw-r--r-- 1 root root 65 2008-02-09 17:24 libR.conf
-rw-r--r-- 1 root root 56 2011-06-13 02:21 zz_amd64-biarch-compat.conf
And content of i486-linux-gnu.conf is:
# Multiarch support
/lib/i386-linux-gnu
/usr/lib/i386-linux-gnu
/lib/i486-linux-gnu
/usr/lib/i486-linux-gnu
I think that something is wrong with the way gcc-4.5 directories are organized,
or an ld configuration is missing.
Please help.
Marius
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'stable'), (50, 'unstable'), (1,
'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.37.6-d630 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=lt_LT.UTF-8, LC_CTYPE=lt_LT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages gcc-4.5 depends on:
ii binutils 2.21.52.20110606-2 The GNU assembler, linker and bina
ii cpp-4.5 4.5.3-3 The GNU C preprocessor
ii gcc-4.5-base 4.5.3-3 The GNU Compiler Collection (base
ii libc6 2.13-7 Embedded GNU C Library: Shared lib
ii libcloog-ppl0 0.15.9-3 the Chunky Loop Generator (runtime
ii libelfg0 0.8.13-2 an ELF object file access library
ii libgcc1 1:4.6.0-10 GCC support library
ii libgmp10 2:5.0.1+dfsg-7 Multiprecision arithmetic library
ii libgmpxx4ldbl 2:5.0.1+dfsg-7 Multiprecision arithmetic library
ii libgomp1 4.6.0-10 GCC OpenMP (GOMP) support library
ii libmpc2 0.9-3 multiple precision complex floatin
ii libmpfr4 3.0.1-3 multiple precision floating-point
ii libppl-c4 0.11.2-3 Parma Polyhedra Library (C interfa
ii libppl9 0.11.2-3 Parma Polyhedra Library (runtime l
ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime
Versions of packages gcc-4.5 recommends:
ii libc6-dev 2.13-7 Embedded GNU C Library: Developmen
Versions of packages gcc-4.5 suggests:
pn binutils-gold <none> (no description available)
pn gcc-4.5-doc <none> (no description available)
pn gcc-4.5-locales <none> (no description available)
ii gcc-4.5-multilib 4.5.3-3 The GNU C compiler (multilib files
pn libgcc1-dbg <none> (no description available)
pn libgomp1-dbg <none> (no description available)
pn libmudflap0-4.5-dev <none> (no description available)
pn libmudflap0-dbg <none> (no description available)
ii libppl-c2 0.10.2-8 Parma Polyhedra Library (C interfa
ii libppl7 0.10.2-8 Parma Polyhedra Library (runtime l
-- no debconf information
--- End Message ---
--- Begin Message ---
libgcc1, libgcc2 and libgcc4 now have a
Breaks: gcc-4.4 (<< 4.4.6-4), gcc-4.5 (<< 4.5.3-2)
in gcc-4.6 4.6.1-2. This doesn't fix the currently broken packages in testing,
but now allows non-breaking upgrades.
--- End Message ---