Skip to content

Rust-0.8 : compilation fails #9610

Closed
Closed
@eliovir

Description

@eliovir

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:

[..]
...
llvm[3]: Compiling WinCOFFStreamer.cpp for Release+Asserts build
llvm[3]: Building Release+Asserts Archive Library libLLVMMC.a
make[3] : on quitte le répertoire « /var/tmp/portage/dev-lang/rust-0.8/work/rust-0.8/x86_64-unknown-linux-gnu/llvm/lib/MC »
make[2] : on quitte le répertoire « /var/tmp/portage/dev-lang/rust-0.8/work/rust-0.8/x86_64-unknown-linux-gnu/llvm/lib »
make[2] : on entre dans le répertoire « /var/tmp/portage/dev-lang/rust-0.8/work/rust-0.8/x86_64-unknown-linux-gnu/llvm/tools/llvm-config »
llvm[2]: Constructing LLVMBuild project information.
Usage: llvm-build [options]

llvm-build: error: invalid native target: 'x86_64' (not in project)
llvm[2]: Building llvm-config BuildVariables.inc file.
llvm[2]: Compiling llvm-config.cpp for Release+Asserts build
/var/tmp/portage/dev-lang/rust-0.8/work/rust-0.8/src/llvm/tools/llvm-config/llvm-config.cpp:45:35: erreur fatale: LibraryDependencies.inc : Aucun fichier ou dossier de ce type
compilation terminée.
/bin/rm: impossible de supprimer « /var/tmp/portage/dev-lang/rust-0.8/work/rust-0.8/x86_64-unknown-linux-gnu/llvm/tools/llvm-config/Release+Asserts/llvm-config.d.tmp »: Aucun fichier ou dossier de ce type

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions