> From [email protected] Wed May 10 21:17:48 2017
>
> On Wed, 10 May 2017 20:57:36 +0100 [email protected] (akhiezer) wrote:
>
> >> From: Stephen Berman <[email protected]>
> >> Date: Wed, 10 May 2017 21:49:17 +0200
> >>
> >> I want to build R (https://cran.r-project.org/) on (B)LFS 8.0 and one of
> >> its dependencies is a Fortran compiler. According to the BLFS book,
> >> adding Fortran to GCC requires a full recompilation, and this is done by
> >> bootstrapping, which "is needed for robustness and is highly recommended
> >> when upgrading the compilers [sic] version." I won't be upgrading, just
> >> adding Fortran, so will it save significant time to configure with
> >> --disable-bootstrap, or is that too risky? But the biggest time sink is
> >> the test suite: my LFS system is running on a not very fast single core
> >> CPU and the first full build of GCC with the tests took more than 10
> >> hours (9 for the test suite). Since I will be recompiling the same
> >> version of GCC on the same hardware, but just adding Fortran, is it
> >> reasonable to skip the test suite this time, or is that too big a risk?
> >>
> >
> >
> > - excuse the partial, indirect answer, but: why not leave the
> > test-suite/&c to run overnight (or when you're sleeping, &c) ?
>
> Yeah, I guess I could do that...
>
> > For a compiler, I wouldn't cut corners (or 'take shortcuts'): think
> > e.g. how much of your time/skills/resources/&c will go into _use_
> > of the compiler; you don't want that wasted by a faulty compiler that
> > wasn't found-out to be faulty, 'cos tests/&c were skipped.
>
> My question is, since I already ran the test suite on the same version
> and same hardware, is it really cutting corners to skip it? That is, is
> there a significant risk that recompilation under almost the same
> conditions might fail? Of course, the difference is the addition of
> Fortran: is that enough to justify running the complete test suite
> again? I'm asking in all sincerity, because I've never recompiled GCC
> before. But maybe I should just let it run through the night...
>
Certainly in theory the test-suites are separable - ref e.g. (via quick
websearch on: gcc test suite fortran separate) :
https://gcc.gnu.org/install/test.html
How you use that info, is o/c in the end up to yourself.
Unless there's a partic need/urgency, I'd run the full test-suite again:
unless it is known & verified that the original-built parts (c, c++)
& their dependent infrastructure, are not affected by the new build of
the new, fortran part ... .
hth,
akh
--
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page