[cfe-dev] clang + compiler-rt aren't buildable on OS X since r157062; how to proceed?

Jim Grosbach grosbach at apple.com
Thu May 31 14:44:56 PDT 2012


#3.

On May 31, 2012, at 2:43 PM, Nico Weber <thakis at chromium.org> wrote:

> Hi,
> 
> r157062 broke bootstrap builds of clang if compiler-rt is built too.
> See http://llvm.org/PR12918 for details, in short: r157062 lets clang
> output a load command for iOS targets that the ar binary in all
> released Xcode versions doesn't understand. compiler-rt is built for
> mac and ios when compiling on OS X by default.
> 
> As a result, I haven't been able to push a new clang to the chromium
> repo in a while. What's the way forward here?
> 
> 1.) Make a prerelease ar a requirement for doing bootstrap builds for
> building clang and compiler-rt
> 
> 2.) Augment r157062 to only use new load commands if target platforms
> are new enough
> 
> 3.) Remove ios from the default compiler-rt build
> 
> 4.) Something else
> 
> 
> I'm not able to push new clang binaries to chromium until this is resolved.
> 
> Thanks,
> Nico




More information about the cfe-dev mailing list