-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build issue on Arch Linux #11
Comments
|
For more context, stock rustc nighties can probably cross compile fine, but won't come with the std library compiled for the architectures rustboot runs. The README instructions have you build the compiler by hand to make sure you can cross compiler, and more importantly give you the libs you need. Your first error when building the rust is because the boostrap libraries and thestinger-build libraries (native arch, needed to build the compiler itself) are both seen by the compiler, and it doesn't know which to chose. Your second error is because you never built a libcore for the target architecture. rust-lang/rfcs#131 and/or something related should hopefully make cross compiling easier. |
In case it helps, I just build the libcore crate directly from source in |
Yeah to be clear building libcore by hand should work, and avoids downloading the rust source. |
Hi. I'm running Arch Linux, and while following the directions in the README, I'm unable to compile Rust master. I'm attempting to use the commands to minimize build time since I'm on a netbook and plain old "make" on Rust master takes several hours before I end up killing it.
So running this:
Results in the configure command succeeding, but "make rustc-stage1" failing thusly:
What is this I don't even.
Also, this is probably a stupid question, but is it necessary to compile Rust master in this way? I have thestinger's nightlies (http://pkgbuild.com/~thestinger/repo/x86_64/) installed, but rustboot make also fails:
How can I solve these problems?
The text was updated successfully, but these errors were encountered: