#8951: rustc will apparently be needed for firefox-53.
-------------------------+-----------------------
 Reporter:  ken@…        |       Owner:  ken@…
     Type:  enhancement  |      Status:  assigned
 Priority:  normal       |   Milestone:  8.1
Component:  BOOK         |     Version:  SVN
 Severity:  normal       |  Resolution:
 Keywords:               |
-------------------------+-----------------------

Comment (by ken@…):

 I've now done a build, test, DESTDIR install with gdb installed - using
 the shipped LLVM.
 {{{
 ./configure --prefix=/usr --docdir=/usr/share/doc/rust-1.16.0 --enable-
 dist-host-only
 ./x.py build
 ./x.py test
 DESTDIR=/some/path ./x.py dist --install
 }}}
 That --enable-dist-host-only ensures files for e.g. AArch64, ARM, MIPS,
 PowerPC, Sparc, SystemZ are only compiled, not installed (no option to
 prevent them getting compiled).

 This seems to do the right thing, but is (of course) much slower building
 LLVM. The tests took 22m25 on this machine (about 8.5 SBU) - in the
 previous build without gdb the tests were only just over 10 minutes.

 Unfortunately, 10 of hte gdb tests still failed.

 I think this is now ready to give it a go (I suspect that I will probably
 need to build cargo before I can use this for firefox, and maybe there is
 still some problem that will stop it working, but it looks as if it might
 work.

 Summary of build sizes and SBUs (all with 4 cores)

 configure, make using shared system LLVM about 2.3G (369M installed), 15
 SBU

 configure, rustbuild using static system LLVM about 2.1G (264M installed),
 11 SBU

 configure, rustbuild using shipped LLVM about 3.5G (288M installed), 20
 SBU.

 So, in an ideal world static linking is best for this, and using system
 LLVM.
 In reality, we have already moved LLVM to 4.0 (and the next version will
 apparently be inflated to 5.0) but it seems unlikely that rust will cope
 with newer versions by the time we need to use it.

--
Ticket URL: <http://wiki.linuxfromscratch.org/blfs/ticket/8951#comment:8>
BLFS Trac <http://wiki.linuxfromscratch.org/blfs>
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to