On Wed, 10 May 2017 23:31:19 +0200 Pierre Labastie <[email protected]> 
wrote:

> On 10/05/2017 21:49, Stephen Berman wrote:
>> 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?
>>
>> Steve Berman
> Problem is you cannot build fortran without rebuilding gcc and g++ (more
> exactly, you could, but it is non standard). Bootstrapping is not mandatory
> when the compilers version (there are at least 2 compilers, gcc and g++,
> and only one version, but maybe this is not good English. I that case,
> sorry about that) 

How about "when upgrading a compiler version"?  That can be understood
for multiple compilers.  Or maybe just "when upgrading the package [or:
GCC] version", since it's about recompiling the whole GCC package.

>                   does not change. I would still recommend running the
> tests, for the reasons said by akh + one: gcc and g++ are completely
> recompiled, so it is better to know that something went wrong before
> overwriting the installed ones. Otherwise, your toolchain is dead...

Yeah, I'll probably let is run overnight.

Steve Berman
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to