Bug 755356 - clang fails to link
Summary: clang fails to link
Keywords:
Status: CLOSED DUPLICATE of bug 750187
Alias: None
Product: Fedora
Classification: Fedora
Component: llvm
Version: 16
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Michel Alexandre Salim
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-11-20 21:42 UTC by Steven Michael Williams
Modified: 2011-11-28 08:12 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-11-28 08:12:43 UTC
Type: ---


Attachments (Terms of Use)

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 ***


Note You need to log in before you can comment on or make changes to this bug.