On Tue, Aug 22, 2017 at 08:57:02AM +0200, [email protected] wrote:
> > > --local-rust-root=/usr \
> > ^^^^^^^^^^^^^
> > Doesn't that use the already-installed version of the previous rust
> > release, instead of downloading stage0 binaries ?
>
> yeah, I forgot I had switched to using previously installed rust and
> bypassing stage0 (I try as much as possible to shorten and make less
> painful this build).
>
That makes sense, but it's one of the differences with how BLFS has
to do things. It's also why I proposed holding-off on updating rust
until there is a reason.
> > I now think the release tarballs are not intended for my use case
> > (bootstrap with no previous rust), it might be there is some
> > different was to get the missing parts, or a different way of
> > building from those tarballs.
>
>
> glad that you eventually fix things!
>
When I went to bed, I thought I'd sorted it all adequately. But
when I couldn't sleep I started to consider other variations.
<sigh/>
And among those is just using the shipped llvm - with that, ALL
tests passed (and it now seems to run all the tests), with system
llvm-3.9 one test for an ARM variant failed - of course - but two
other tests failed and one test burns CPU [ all with gcc-7.1 ].
But it will probably be overkill, it's a *lot* longer on my fast
machine.
> I'm looking forward to see if you manage to build both rustc and cargo
> in one go: that would be another achievemnet with regard to all this
> game... (I'll try it also, but I've not much time to spend on that at
> the moment)
>
> best regards
> gabriele
That bit is done. The rust devs are moving to using config.toml
files (actually, they had already started that in 1.16.0). In this
case, the following (and then a normal ./configure) will install
both. I haven't actually _used_ this yet, but it gave me a
usr/bin/cargo in my DESTDIR. I got the pointer from Arch after
Waqyne mentioned they seemed to be installing cargo as part of rust.
cat <<EOF > config.toml
[build]
# install cargo as well as rust
extended = true
EOF
Regards,
ĸen
--
Truth, in front of her huge walk-in wardrobe, selected black leather
boots with stiletto heels for such a barefaced truth.
- Unseen Academicals
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page