Bug#640547: /usr/bin/ld: cannot find -lgcc_s

Peter Eisentraut petere at debian.org
Mon Sep 5 18:28:40 UTC 2011


On mån, 2011-09-05 at 20:18 +0200, Sylvestre Ledru wrote:
> Le lundi 05 septembre 2011 à 21:16 +0300, Peter Eisentraut a écrit :
> > On mån, 2011-09-05 at 19:52 +0200, Sylvestre Ledru wrote:
> > > Le lundi 05 septembre 2011 à 20:43 +0300, Peter Eisentraut a écrit :
> > > > Package: clang
> > > > Version: 2.9-10
> > > > Severity: important
> > > > 
> > > > Linking seems completely broken:
> > > > 
> > > > $ cat test.c
> > > > int main() { return 0; }
> > > > $ clang test.c
> > > > /usr/bin/ld: cannot find -lgcc_s
> > > > clang: error: linker command failed with exit code 1 (use -v to see invocation)
> > > I am starting to be bored with the various multiarch changes ...
> > > What is the result of
> > > dpkg -S libgcc_s.so ?
> 
> > So clang probably needs to be rebuilt against a newer gcc.
> OK, it is not that issue.
> Your g++ version is too old, try with:
> 4.6.1-8
> 
> (I should have added a specific version of g++)

OK, that works, thanks.







More information about the Pkg-llvm-team mailing list