Red Hat Bugzilla – Bug 755356
clang fails to link
Last modified: 2011-11-28 03:12:43 EST
Description of problem:
clang fails to link any C code. I haven't checked C++ yet because of other issues that that has which have been reported, but this could be affecting that as well.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. clang <source file>
/usr/bin/ld: cannot find crtbegin.o: No such file or directory
/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)
A binary executable from C source code.
*** This bug has been marked as a duplicate of bug 750187 ***