On 13/07/12 05:26, Zack Corr wrote:
On Fri, Jul 13, 2012 at 2:44 AM, David Brown <[email protected]
<mailto:[email protected]>> wrote:

    On x86_64 Arch Linux, I get the error log below.  Interestingly, if I
    just type make again, it builds what appears to be a perfectly
    functional rustc.


Arch Linux uses GCC 4.7.* currently which fails with Rust's version of
LLVM on x86_64 (x86 works fine) for some reason, I mentioned this on
#2641 <https://github.com/mozilla/rust/issues/2641>. I too got it to
work on my x86_64 Arch Linux VPS by building again after the dump came
up. It's probably the same as the issue on the latest MinGW.

 From what I could find from the issue described on the LLVM bug tracker
<http://llvm.org/bugs/show_bug.cgi?id=11926> and the Redhat bug tracker
<https://bugzilla.redhat.com/show_bug.cgi?id=791365>, adding
`-fno-tree-pre` to the GCC commands allows it to be built and this issue
is supposedly fixed in the latest LLVM. But apparently Rust's LLVM is
already merged with 3.1, so I have no clue why it still fails (those
issues could be different to the issue compiling Rust).

Thx for the info.

I just pushed 0.3 to AUR, at the moment I don't know how to fix the build bug, so I added "make || make" to the build script.

You can install rust on archlinux using "yaourt -S rust"

--
Understanding recursion is really easy,
all you have to do is understand recursion. /Joe


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

Reply via email to