-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Rust-0.8 : compilation fails #9610
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
Comments
Would you mind gisting an entire transcript of the make/configure logs? |
This bug on overlay with some additional info: https://github.com/Heather/gentoo-rust/issues/3 |
I've just tried to build (with the Gentoo emerge tool) rust-0.8 on an fresh updated system (and faster xeon machine instead of amd64x2). Same result. This is the build.log : https://gist.github.com/eliovir/6760286 Thanks for your help. |
That's interesting... I've seen problems like that when updating an already used rust workspace, but never with a fresh one. It also looks like it's using Do you know if this is building with |
@eliovir trying with -j1 could also be helpful. also if you build with clang then try to build without it... Seems like we just currently have no idea what is happening there for now :S |
I've tried typing
, the result still is the same.
|
@eliovir: are you using the unmodified Rust sources? |
@thestinger: Yes, downloaded from the website. |
I've just tried with the current git sources (master), the result still is the same. |
It doesn't look your most recent post has the build failure. The |
@alexcrichton : it is always the same. The |
Is that the same log where you ran |
@alexcrichton : Thanks for you time.
Exactly the same output is generated (path excepted) with manual command |
Out of curiosity, what is the main version of the |
The version used by the Makefile is 2.7.5. If I run another time |
Our Makefile probes for a version 2 python, although I saw on some mailing lists that this error cropped up when the system python wasn't necessarily 2, is the normal |
Yes, |
We might want a verbose variant of the log, with: (Also, I personally recommend remake, the GNU Make debugger for debugging makefile problems: http://bashdb.sourceforge.net/remake/ ) |
This is the verbose log, using |
Hmm, it looks like LLVM was pre-configured from before, could paste the same output but starting from a completely clean clone instead? I'm curious what the configure logs of LLVM will mention. Also if you could include the log of |
This is the log from Thanks for your help |
Could you give the output of these commands?
|
From the uncompressed (rust-0.8.tar.bz2), this is the outputs: $ git rev-parse HEAD
$ cat lib/Target/X86/LLVMBuild.txt
From the GIT sources : (configure log : https://gist.github.com/eliovir/6816984 , remake log : https://gist.github.com/eliovir/6817019) $ git rev-parse HEAD
$ cat lib/Target/X86/LLVMBuild.txt
|
Why in the earth you try to compile with -m32 in 64 with system? configure: looking at LLVM
configure:
configure: configuring LLVM for i686-unknown-linux-gnu
configure: configuring LLVM with:
configure: --enable-targets=x86_64 --enable-optimized --enable-assertions --disable-docs --enable-bindings=none --disable-terminfo --disable-zlib --disable-libffi --build=i686-unknown-linux-gnu --host=i686-unknown-linux-gnu --target=i686-unknown-linux-gnu --with-python=/usr/bin/python2.7
/rust/rust-0.8/src/llvm/configure: line 1995: -m32: command not found
/rust/rust-0.8/src/llvm/configure: line 1996: -m32: command not found
checking for i686-unknown-linux-gnu-clang... gcc -m32
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details. Linux bea687a3baa8 3.11.0-13-generic #20-Ubuntu SMP Wed Oct 23 07:38:26 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux Your configure script screwed basically and can't understand the base OS. How we gonna solve this now? I have disabled targets to only "--enable-targets=x86_64" but not avail. |
closing since 0.8 is quite old already and the issue has been stalled for several months now. |
Don't suggest moving tuple structs with a significant drop to late evaluation fixes rust-lang#9608 changelog: Don't suggest moving tuple structs with a significant drop to late evaluation
Hi,
Whereas I installed Rust-0.7 few days ago without problem, I can't install (
./configure; make
) the last 0.8 version.This is where the
make
process fails:This message
llvm-build: error: invalid native target: 'x86_64' (not in project)
is strange.I tried with GCC-4.6.3 and GCC-4.7.3, with the same result.
I remove Rust-0.7, tried to compile Rust-0.8 : same result.
Finally, I built again Rust-0.7, with success.
The text was updated successfully, but these errors were encountered: