On 11-05-08 8:09 PM, Patrick Walton wrote:
Currently rustrt is built with -O0 on the Mac due to a GCC bug. This is
starting to cause performance problems; in particular, very suboptimal
assembler is generated for next_power_of_two, which is the third-highest
function in the profiles. Apple's GCC is way outdated anyhow.

Will anyone object if I make clang a dependency on that platform?

I am fine with it. If you want to keep the dependencies low, you can try using the pre-built binaries:

http://llvm.org/releases/2.9/clang+llvm-2.9-x86_64-apple-darwin10.tar.gz

but since we are building llvm already, adding clang to the build is not hard.

Patrick


Cheers,
Rafael
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to