So the last time I had this problem a couple of weeks ago, it occurred only in
the second pass of the gcc build.
Now it occurs in the first pass. And unlike last time, it hasn't magically
disappeared.
Having trashed the partition with my host LFS system on it, I'm using Xubuntu
11.04 as the host this time.
But that's unlikely to be the problem given this occurred back with LFS 6.8 as
host too.
To recap: I can create the filesystem okay and install the binutils tool (first
pass). Doing gcc, the configure
appears to go okay but then the make quits after a while, with
configure: error: libmpfr not found or uses a different ABI.
make[1]: *** [configure-mpc] Error 1
make: *** [all] Error 2
I've attached the whole make output. I've checked and rechecked my typing, it's
not that.
I'm definitely getting the last options to the configure script right.
Any ideas? It's 7:15am in the UK now and it's time I went to bed. :(
*** This configuration is not supported in the following subdirectories:
target-libquadmath gnattools target-libada target-libstdc++-v3 target-libgfortran target-libgo target-libffi target-zlib target-libjava target-libobjc target-libgomp target-libmudflap target-libssp target-boehm-gc
(Any other directories should still work fine.)
configure: WARNING: using cross tools not prefixed with host triplet
configure: WARNING: cannot check for properly working vsnprintf when cross compiling, will assume it's ok
../../gcc-4.6.1/fixincludes/server.c: In function âserver_setupâ:
../../gcc-4.6.1/fixincludes/server.c:195: warning: ignoring return value of âgetcwdâ, declared with attribute warn_unused_result
libtool: install: warning: remember to run `libtool --finish /tools/libexec/gcc/i686-lfs-linux-gnu/4.6.1'
../../../gcc-4.6.1/fixincludes/server.c: In function âserver_setupâ:
../../../gcc-4.6.1/fixincludes/server.c:195: warning: ignoring return value of âgetcwdâ, declared with attribute warn_unused_result
../../gcc-4.6.1/libcpp/directives.c: In function âcpp_define_formattedâ:
../../gcc-4.6.1/libcpp/directives.c:2339: warning: ignoring return value of âvasprintfâ, declared with attribute warn_unused_result
../../gcc-4.6.1/libcpp/expr.c: In function âcpp_classify_numberâ:
../../gcc-4.6.1/libcpp/expr.c:437: warning: format not a string literal and no format arguments
../../gcc-4.6.1/libcpp/expr.c:439: warning: format not a string literal and no format arguments
../../gcc-4.6.1/libcpp/macro.c: In function âcreate_iso_definitionâ:
../../gcc-4.6.1/libcpp/macro.c:1764: warning: format not a string literal and no format arguments
../../gcc-4.6.1/libcpp/macro.c:1777: warning: format not a string literal and no format arguments
configure: WARNING: fixed-point is not supported for this target, ignored
configure: error: in `/mnt/sources/gcc-build/gcc':
configure: WARNING: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
Links are now set up to build a cross-compiler
from i686-pc-linux-gnu to i686-lfs-linux-gnu.
/mnt/sources/gcc-4.6.1/mpc/configure: line 8413: : supported targets:.* elf: command not found
configure: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: complex.h: proceeding with the compiler's result
configure: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: locale.h: proceeding with the compiler's result
configure: WARNING: limits.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: limits.h: proceeding with the compiler's result
configure: WARNING: sys/time.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: sys/time.h: proceeding with the compiler's result
configure: error: libmpfr not found or uses a different ABI.
make[1]: *** [configure-mpc] Error 1
make: *** [all] Error 2
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page