FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian GCC

 
 
LinkBack Thread Tools
 
Old 06-28-2011, 07:50 AM
Raphael Geissert
 
Default Bug#631906: gcc-4.4: cannot find -lgcc_s after upgrade to 4.4.6-6

Package: gcc-4.4
Version: 4.4.6-6
Severity: grave

Hi,

After upgrading to 4.4.6-6, gcc won't build binaries:

$ cat t.c
#include <stdio.h>

int
main()
{
printf("'lo world
");
return 0;
}

$ make t CC=gcc-4.4
gcc-4.4 t.c -o t
/usr/bin/ld.bfd.real: cannot find -lgcc_s

$ dpkg-query -W -f '${Package}: ${Version}
' binutils gcc-4.4 libc6
binutils: 2.21.52.20110606-2
gcc-4.4: 4.4.6-6
libc6: 2.13-7

$ strace -f -e open make t CC=gcc-4.4 2>&1| grep gcc_s | grep 486
open("/usr/lib/i386-linux-gnu/gcc/i486-linux-gnu/4.4.6/libgcc_s.so", O_RDONLY|
O_LARGEFILE) = -1 ENOENT
open("/usr/lib/i386-linux-gnu/gcc/i486-linux-gnu/4.4.6/libgcc_s.a", O_RDONLY|
O_LARGEFILE) = -1 ENOENT
open("/usr/lib/i386-linux-gnu/gcc/i486-linux-gnu/4.4.6/../../../libgcc_s.so",
O_RDONLY|O_LARGEFILE) = -1 ENOENT
open("/usr/lib/i386-linux-gnu/gcc/i486-linux-gnu/4.4.6/../../../libgcc_s.a",
O_RDONLY|O_LARGEFILE) = -1 ENOENT
open("/usr/i486-linux-gnu/lib32/libgcc_s.so", O_RDONLY|O_LARGEFILE) = -1
ENOENT
open("/usr/i486-linux-gnu/lib32/libgcc_s.a", O_RDONLY|O_LARGEFILE) = -1 ENOENT

But gcc-4.4 ships libgcc_s.so in /usr/lib/i386-linux-gnu/gcc/i486-linux-
gnu/4.4/.

Cheers,
--
Raphael Geissert - Debian Developer
www.debian.org - get.debian.net



--
To UNSUBSCRIBE, email to debian-gcc-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 201106280250.53317.geissert@debian.org">http://lists.debian.org/201106280250.53317.geissert@debian.org
 
Old 06-28-2011, 08:13 AM
Ludovic Brenta
 
Default Bug#631906: gcc-4.4: cannot find -lgcc_s after upgrade to 4.4.6-6

Thanks for submitting this bug for gcc-4.4; a similar one (#631627) exists

for gcc-4.6. My analysis of this bug (with workaround) is here:



http://lists.debian.org/debian-gcc/2011/06/msg00209.html



--

Ludovic Brenta.





--
To UNSUBSCRIBE, email to debian-gcc-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: ee41186db887cd50266eadfc449116d9@localhost">http://lists.debian.org/ee41186db887cd50266eadfc449116d9@localhost
 
Old 06-28-2011, 11:12 AM
Matthias Klose
 
Default Bug#631906: gcc-4.4: cannot find -lgcc_s after upgrade to 4.4.6-6

On 06/28/2011 09:50 AM, Raphael Geissert wrote:
> Package: gcc-4.4
> Version: 4.4.6-6
> Severity: grave
>
> Hi,
>
> After upgrading to 4.4.6-6, gcc won't build binaries:
>
> $ cat t.c
> #include <stdio.h>
>
> int
> main()
> {
> printf("'lo world
");
> return 0;
> }
>
> $ make t CC=gcc-4.4
> gcc-4.4 t.c -o t
> /usr/bin/ld.bfd.real: cannot find -lgcc_s

update to gcc-4.6 from unstable for now.



--
To UNSUBSCRIBE, email to debian-gcc-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 4E09B70B.6080403@debian.org">http://lists.debian.org/4E09B70B.6080403@debian.org
 

Thread Tools




All times are GMT. The time now is 04:20 PM.

VBulletin, Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org