简体   繁体   English

LLVM Xcode版本4.6.1(4H512)的编译器错误

[英]Compiler error with LLVM Xcode Version 4.6.1 (4H512)

Seeing this error when we recently upgrade Xcode to 4.6.1. 我们最近将Xcode升级到4.6.1时看到此错误。 Was able to compile perfectly prior to this version. 能够在此版本之前完美编译。 Any insight into this message? 对这条消息的任何见解? Seems like a 32/64 bit issue? 好像是32/64位问题?

From looking at LLVM Patch logs it appears that it's an unfortunate limitation of the MachO format. 从查看LLVM补丁日志看,它似乎是MachO格式的一个不幸的限制。

fatal error: error in backend: Section too large, can't encode r_address (0x1000005) into 24 bits of scattered relocation entry.

Any insights? 任何见解?

为了解决这个问题,我将LLVM编译级别设置为Fastest,Smallest [-Os]。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM