1

我在 xcode 4.4.1 & x86_64 和 Intel 编译器 XE 12.1 中的链接器存在问题。

链接时出现此错误:

0  0x1010cb280  __assert_rtn + 144
1  0x1010e7ad4  mach_o::relocatable::Parser<x86_64>::parse(mach_o::relocatable::ParserOptions const&) + 3444
2  0x1010d43c2  mach_o::relocatable::Parser<x86_64>::parse(unsigned char const*, unsigned long long, char const*, long, ld::File::Ordinal, mach_o::relocatable::ParserOptions const&) + 290
3  0x1010d09db  mach_o::relocatable::parse(unsigned char const*, unsigned long long, char const*, long, ld::File::Ordinal, mach_o::relocatable::ParserOptions const&) + 91
4  0x10110b7b5  ld::tool::InputFiles::makeFile(Options::FileInfo const&, bool) + 565
5  0x10110d217  ld::tool::InputFiles::parseWorkerThread() + 263
6  0x7fff8719d742  _pthread_start + 327
A linker snapshot was created at:
/tmp/TemplatePlugin-2012-10-28-141503.ld-snapshot
ld: Assertion failed: (cfiStartsArray[i] != cfiStartsArray[i-1]), function parse, file /SourceCache/ld64/ld64-133.3/src/ld/parsers/macho_relocatable_file.cpp, line 1549.

一切都适用于 I386 架构。

任何人都可以帮忙吗?

4

0 回答 0