View previous topic :: View next topic |
Author |
Message |
olivierweb Tux's lil' helper
Joined: 09 Dec 2002 Posts: 113 Location: France
|
Posted: Sat Sep 28, 2013 9:19 pm Post subject: rust-0.8 & llvm |
|
|
Hi,
Few days ago, I successfully installed rust (version 0.7) from the rust overlay. But I can not install the last version. emerge fails with:
Code: |
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-9999/work/rust-9999/src/llvm/tools/llvm-config/llvm-config.cpp:45:35: fatal error: LibraryDependencies.inc : Aucun fichier ou dossier de ce type
compilation terminée.
/bin/rm: impossible de supprimer « /var/tmp/portage/dev-lang/rust-9999/work/rust-9999/x86_64-unknown-linux-gnu/llvm/tools/llvm-config/Release+Asserts/llvm-config.d.tmp »: Aucun fichier ou dossier de ce type
|
What do you thing about the llvm error and the missing LibraryDependencies.inc ?
Thanks for your help |
|
Back to top |
|
|
Cynede Retired Dev
Joined: 30 Nov 2012 Posts: 56
|
Posted: Sun Sep 29, 2013 5:43 am Post subject: |
|
|
Hello, yet I did test rust 0.8 only on my 32bit machine.
Right now can build 9999 version on 64bit with no error.
I also wonder why you people don't use github issues? Isn't it the most straight way to poke original author / me.
Please open issue on github so I can easy track it and point Mozilla people to it so they maybe will help me there.
And also provide your emerge --info
optionally open bug on bugzilla and add cynede${paste that @ here}gentoo.org to cc list |
|
Back to top |
|
|
Cynede Retired Dev
Joined: 30 Nov 2012 Posts: 56
|
Posted: Sun Sep 29, 2013 8:44 am Post subject: |
|
|
Tested 0.8 on 64bit arch with and without clang flag, both works fine for me... |
|
Back to top |
|
|
olivierweb Tux's lil' helper
Joined: 09 Dec 2002 Posts: 113 Location: France
|
|
Back to top |
|
|
jeffk l33t
Joined: 13 Sep 2003 Posts: 671
|
Posted: Wed Oct 15, 2014 6:30 pm Post subject: |
|
|
I'm installing rust-0.11.0-r1 with USE=-clang and as I see the large tarball download (100 MB+) and compile messages, I am wondering whether rust is using a bundled version of llvm?
Would USE=clang instead use a system llvm as a dependency of clang? I don't suppose the size of the tarball is an issue, but I would like to use system compilers rather than bundled, unless there is a reason not to with this particular version of rust.
Thanks,
Jeff[/b]
Code: | % grep clang -B 4 -A 4 /usr/portage/dev-lang/rust/rust-0.11.0-r1.ebuild
LICENSE="|| ( MIT Apache-2.0 ) BSD-1 BSD-2 BSD-4 UoI-NCSA"
SLOT="0.11"
KEYWORDS="~amd64 ~x86"
IUSE="clang debug emacs libcxx vim-syntax zsh-completion"
REQUIRED_USE="libcxx? ( clang )"
RDEPEND="vim-syntax? ( || ( app-editors/vim app-editors/gvim ) )
zsh-completion? ( app-shells/zsh )"
DEPEND="${RDEPEND}
${PYTHON_DEPS}
app-admin/eselect-rust
>=dev-lang/perl-5.0
clang? ( sys-devel/clang )
emacs? ( virtual/emacs )
libcxx? ( sys-libs/libcxx )
!dev-lang/rust:0"
--
"${ECONF_SOURCE:-.}"/configure \
--prefix="${EPREFIX}/usr" \
--libdir="${EPREFIX}/usr/lib/${P}" \
--mandir="${EPREFIX}/usr/share/${P}/man" \
$(use_enable clang) \
$(use_enable debug) \
$(use_enable debug llvm-assertions) \
$(use_enable !debug optimize) \
$(use_enable !debug optimize-cxx) \ |
|
|
Back to top |
|
|
|