<html>
    <head>
      <base href="http://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - ld: Assertion failed: (0 && "dylib not assigned ordinal")"
   href="http://llvm.org/bugs/show_bug.cgi?id=17915">17915</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>ld: Assertion failed: (0 && "dylib not assigned ordinal")
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>clang
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Macintosh
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>MacOS X
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>release blocker
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>-New Bugs
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedclangbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>kstenerud@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvmbugs@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>I get the following error when trying to link a project using Xcode 5, which
uses Apples LLVM 5 compiler:

Ld
/Users/karl/Library/Developer/Xcode/DerivedData/ObjectALDemo-fkzpfnufeavjkcftqesxwosfyxuq/Build/Products/Debug/OALDemo.app/Contents/MacOS/OALDemo
normal x86_64
    cd /Users/karl/Projects/ObjectAL/ObjectALDemo
    setenv MACOSX_DEPLOYMENT_TARGET 10.7
   
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
-arch x86_64 -isysroot
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk
-L/Users/karl/Library/Developer/Xcode/DerivedData/ObjectALDemo-fkzpfnufeavjkcftqesxwosfyxuq/Build/Products/Debug
-F/Users/karl/Library/Developer/Xcode/DerivedData/ObjectALDemo-fkzpfnufeavjkcftqesxwosfyxuq/Build/Products/Debug
-F/Applications/Xcode.app/Contents/Developer/Library/Frameworks -filelist
/Users/karl/Library/Developer/Xcode/DerivedData/ObjectALDemo-fkzpfnufeavjkcftqesxwosfyxuq/Build/Intermediates/ObjectALDemo.build/Debug/OALDemo\
(OSX).build/Objects-normal/x86_64/OALDemo.LinkFileList
-mmacosx-version-min=10.7 -ObjC -lz -framework AVFoundation -framework
AudioToolbox -framework CoreText -framework GameKit -framework OpenAL
-framework QuartzCore -lz -ObjC -fobjc-link-runtime -framework QuartzCore
-framework OpenGL -framework OpenAL -framework AudioToolbox -framework AppKit
-framework Foundation -lPods-OALDemo\ (OSX) -Xlinker -dependency_info -Xlinker
/Users/karl/Library/Developer/Xcode/DerivedData/ObjectALDemo-fkzpfnufeavjkcftqesxwosfyxuq/Build/Intermediates/ObjectALDemo.build/Debug/OALDemo\
(OSX).build/Objects-normal/x86_64/OALDemo_dependency_info.dat -o
/Users/karl/Library/Developer/Xcode/DerivedData/ObjectALDemo-fkzpfnufeavjkcftqesxwosfyxuq/Build/Products/Debug/OALDemo.app/Contents/MacOS/OALDemo

0  0x101cfe724  __assert_rtn + 144
1  0x101d5ced8  ld::tool::OutputFile::compressedOrdinalForAtom(ld::Atom const*)
+ 274
2  0x101d5d97c  ld::tool::OutputFile::addDyldInfo(ld::Internal&,
ld::Internal::FinalSection*, ld::Atom const*, ld::Fixup*, ld::Fixup*,
ld::Fixup*, ld::Atom const*, ld::Atom const*, unsigned long long, unsigned long
long) + 1816
3  0x101d5825f  ld::tool::OutputFile::generateLinkEditInfo(ld::Internal&) +
1263
4  0x101d5331a  ld::tool::OutputFile::write(ld::Internal&) + 114
5  0x101cfec6e  main + 1012
A linker snapshot was created at:
    /tmp/OALDemo-2013-10-13-122337.ld-snapshot
ld: Assertion failed: (0 && "dylib not assigned ordinal"), function
compressedOrdinalForAtom, file
/SourceCache/ld64/ld64-224.1/src/ld/OutputFile.cpp, line 2656.
clang: error: linker command failed with exit code 1 (use -v to see invocation)</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>