-
Notifications
You must be signed in to change notification settings - Fork 13.1k
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
Internal compiler error when bootstrapping in Ubuntu Oneiric #2126
Comments
I didn't say anything about the CPU because I didn't think it might be relevant. So just in case it matters, here are two relevant lines from /proc/cpuinfo. This machine is an old laptop, and despite being able to install a 64-bit Ubuntu on it I do indeed use the 32-bit version. I broke the last line into two so it displays in a nicer way. model name : AMD Turion(tm) 64 Mobile Technology ML-30 flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt lm 3dnowext 3dnow up pni lahf_lm |
Assigning to @graydon since it looks related to 2078. |
Turions are pretty new but it's possible. I'll dig in when I'm back in arch-specific mode. |
I upgraded my Ubuntu installation to Precise (12.04) soon after it came out. I got around to trying to install Rust from scratch today, and it worked. I used the Latest Release link from Rust-lang.org (last updated Mar 29 2012) and changed the configuration only in one way, to use a directory in my /home dir as the installation target. During the upgrade from Oneiric, I upgraded llvm from 2.9 to 3.0. Other than making this explicit upgrade all the programs in my toolchain are those that Ubuntu repositories offer by default, and for example gcc has the same major version number as previously, 4.6. (I could dig up all the exact version numbers if you really want to know.) My hardware is the same too. By Rust working I mean I could compile and run some of the example programs from the tutorial after completing the installation. I cannot reproduce the original bug anymore with my current set-up. |
Closing then. |
I am using Ubuntu Oneiric (11.10) 32-bit with the requisite packages from standard repositories installed for configuring and building rust 0.2. I am using gcc and not clang. My only option for configure is a custom prefix for the directory to which I wish to install the binaries.
Most of the build process completes normally, but when compiling and linking librustc.so the compiler displays an error message about an internal compiler error. After the first attempt to make the rust compiler failed with the same error message as shown below, I set the environment variable for producing a backtrace and the second make resulted in this print-out (copied and pasted from terminal):
The text was updated successfully, but these errors were encountered: