akhiezer wrote: >> From lfs-dev-boun...@linuxfromscratch.org Wed Feb 26 20:04:08 2014
>> Reading the message on Dec 17, it seems that the host had mpfr but not >> gmp. I think I'd suggest just deleting or renaming libgmp.la on the >> host. Stupid libtool. >> > > > Yes, but the main point here is that the lfs instructions _seem_ to perhaps > be not quite rigourous enough, per following chain: > -- > * The host-requirements don't say that gmp/mpc/mpfr must be installed > in host-os. > > * And if e.g. gmp is not installed in host-os then - in the case investigated > - the gcc pass 1 build in lfs failed. > > * And the cause of the failure was traced to gcc looking into host-os for > gmp stuff. > > * Whereas if those gcc pass 1 instructions are augmented with > '--with-gmp...' lines just like the '--with-mpfr...' lines, then the > build works. > > * Those '--with-gmp...'-type lines were in lfs-6.7/6.8 but then for lfs-7.0 > were dropped and replaced with only the '--with-mpfr...' lines. > > * Overall, if the instructions in book up to and including gcc pass 1 build > are followed, then build should succeed. Whereas that's not necessarily > true, per the case in question > -- > Hope that makes sense. Yes, it makes sense, but at this stage I don't want to change the instructions for a tool chain package. I'd rather adjust the host system requirements to look for gmp/mpc/mpfr libraries: [ ! -e /usr/lib/libgmp.so ] && echo "/usr/lib/libgmp.so missing" etc. -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page