Bug#642278: clang failed to build a C source file when linking
H Xu
xuhdev at gmail.com
Wed Sep 21 11:37:39 UTC 2011
On 09/21/2011 02:47 PM, Sylvestre Ledru wrote:
> forcemerge 642278 640547
> thanks
>
> Hello,
>
>
>
> Le mercredi 21 septembre 2011 à 09:30 +0800, Hong Xu a écrit :
>> Package: clang
>> Version: 2.9-11
>> Severity: important
>>
> [...]
>> /usr/bin/ld: cannot find -lgcc
>> /usr/bin/ld: cannot find -lgcc_s
>> clang: error: linker command failed with exit code 1 (use -v to see invocation)
> Please update also your version of gcc/g++ and it will fix your problem.
My gcc and g++ are already the latest version.
ii gcc 4:4.6.1-2 GNU C compiler
ii gcc-4.4-base 4.4.6-8 GCC, the GNU Compiler Collection
(base package)
ii gcc-4.5 4.5.3-5 The GNU C compiler
ii gcc-4.5-base 4.5.3-5 The GNU Compiler Collection (base
package)
ii gcc-4.6 4.6.1-4 GNU C compiler
ii gcc-4.6-base 4.6.1-4 GCC, the GNU Compiler Collection
(base package)
ii gcc-4.6-multilib 4.6.1-4 GNU C compiler (multilib files)
ii gcc-multilib 4:4.6.1-2 GNU C compiler (multilib files)
More information about the Pkg-llvm-team
mailing list