Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我们最近将 Xcode 升级到 4.6.1 时看到此错误。在此版本之前能够完美编译。对此消息有任何见解吗?似乎是 32/64 位问题?
从查看LLVM 补丁日志看来,这是 MachO 格式的不幸限制。
fatal error: error in backend: Section too large, can't encode r_address (0x1000005) into 24 bits of scattered relocation entry.
有什么见解吗?
为了解决这个问题,我将 LLVM 编译级别设置为最快、最小 [-Os]。