[LLVMdev] ld: Assertion failed: (memberIndex != 0), function makeObjectFileForMember

Tim Northover t.p.northover at gmail.com
Wed Oct 23 01:02:31 PDT 2013


Hi David,

> ld: Assertion failed: (memberIndex != 0), function makeObjectFileForMember, file /SourceCache/ld64/ld64-136/src/ld/parsers/archive_file.cpp, line 354.

This looks like a bug in the Apple linker, which isn't part of LLVM.
The best on-topic place to ask would probably be Apple's developer
forum (https://devforums.apple.com), but linkers are rather
specialised beasts.

The fact that it's been fixed in XCode 5 probably means filing a bug
won't be that useful for you. Having said that, the ld64 sources are
available online, so if you really need an XCode 4 solution you could
try to track it down yourself.

Sorry we couldn't be more help.

Tim.



More information about the llvm-dev mailing list