Bug 755356

Summary: clang fails to link
Product: [Fedora] Fedora Reporter: Steven Michael Williams <theblessedadventhope>
Component: llvmAssignee: Michel Alexandre Salim <michel>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 16CC: bos, dmalcolm, dtardon, js, michel
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-11-28 08:12:43 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Steven Michael Williams 2011-11-20 21:42:34 UTC
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):

2.9-4.f16

How reproducible:

Every compile.

Steps to Reproduce:
1. clang <source file>
  
Actual results:

/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)

Expected results:

A binary executable from C source code.

Comment 1 David Tardon 2011-11-28 08:12:43 UTC

*** This bug has been marked as a duplicate of bug 750187 ***