[LLVMbugs] [Bug 17915] New: ld: Assertion failed: (0 && "dylib not assigned ordinal")

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Nov 13 12:33:37 PST 2013


http://llvm.org/bugs/show_bug.cgi?id=17915

            Bug ID: 17915
           Summary: ld: Assertion failed: (0 && "dylib not assigned
                    ordinal")
           Product: clang
           Version: unspecified
          Hardware: Macintosh
                OS: MacOS X
            Status: NEW
          Severity: release blocker
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: kstenerud at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

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)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20131113/4152778f/attachment.html>


More information about the llvm-bugs mailing list