It's broke for me too. In the mean time, I got it working by removing the armv6/armv7 references in ./llvm/projects/compiler-rt/make/platform/clang_darwin.mk:
Index: make/platform/clang_darwin.mk =================================================================== --- make/platform/clang_darwin.mk (revision 132313) +++ make/platform/clang_darwin.mk (working copy) @@ -39,11 +39,11 @@ # in the same linkage unit, and for a couple of other functions that didn't # make it into libSystem. Configs += ios -UniversalArchs.ios := $(call CheckArches,i386 x86_64 armv6 armv7) +UniversalArchs.ios := $(call CheckArches,i386 x86_64) # Configuration for use with kernel/kexts. Configs += cc_kext -UniversalArchs.cc_kext := $(call CheckArches,armv6 armv7 i386 x86_64) +UniversalArchs.cc_kext := $(call CheckArches,i386 x86_64) Then you can build LLVM as the 'getting started' page says. However, the current rust HEAD does not build with the latest revisions of LLVM. You'll get errors about StandardPasses.h not existing. That is because this pull request has not been merged: https://github.com/graydon/rust/pull/403 You can pull it into a new branch yourself and merge with master to get the latest version of rust. I did: $ git remote add espindola https://github.com/espindola/rust.git $ git pull --all $ git checkout -b newllvm remotes/espindola/newllvm $ git merge master $ ... build rust normally With this I was able to build the latest version of rust + latest LLVM. I don't exactly know what the correct fix is for compiler-rt though, sorry. On Mon, May 30, 2011 at 12:06 PM, Peter Hull <[email protected]> wrote: > On Sat, May 28, 2011 at 11:25 PM, Peter Hull <[email protected]> wrote: >> Can anyone confirm? > It seems like Patrick Walton's original patch was updated > (specifically, replacing 'gcc' with '$(CC)' ) and now it doesn't do > what it should. I can file a bug for LLVM - unless anyone's got a more > direct line to the developers? > > Pete > _______________________________________________ > Rust-dev mailing list > [email protected] > https://mail.mozilla.org/listinfo/rust-dev > -- Regards, Austin _______________________________________________ Rust-dev mailing list [email protected] https://mail.mozilla.org/listinfo/rust-dev
