[Clfs-support] Error running make of GCC - final

Andrew Bradford andrew at bradfordembedded.com
Tue Dec 17 09:23:55 PST 2013


On 12/16/2013 05:28 PM, Alan Frye wrote:
> I am using the clfs embedded book GIT-20131024-arm and when compiliing GCC
> -final step I am getting the following error
> 
> 
> make[1]: Entering directory `/mnt/clfs/sources/gcc-build'
> make[2]: Entering directory `/mnt/clfs/sources/gcc-build/libiberty'
> make[3]: Entering directory
> `/mnt/clfs/sources/gcc-build/libiberty/testsuite'
> make[3]: Nothing to be done for `all'.
> make[3]: Leaving directory `/mnt/clfs/sources/gcc-build/libiberty/testsuite'
> make[2]: Leaving directory `/mnt/clfs/sources/gcc-build/libiberty'
> make[2]: Entering directory `/mnt/clfs/sources/gcc-build/fixincludes'
> make[2]: Nothing to be done for `all'.
> make[2]: Leaving directory `/mnt/clfs/sources/gcc-build/fixincludes'
> make[2]: Entering directory `/mnt/clfs/sources/gcc-build/lto-plugin'
> make  all-am
> make[3]: Entering directory `/mnt/clfs/sources/gcc-build/lto-plugin'
> make[3]: Leaving directory `/mnt/clfs/sources/gcc-build/lto-plugin'
> make[2]: Leaving directory `/mnt/clfs/sources/gcc-build/lto-plugin'
> make[2]: Entering directory `/mnt/clfs/sources/gcc-build/gmp'
> make  all-recursive
> make[3]: Entering directory `/mnt/clfs/sources/gcc-build/gmp'
> Making all in tests
> make[4]: Entering directory `/mnt/clfs/sources/gcc-build/gmp/tests'
> Making all in .
> make[5]: Entering directory `/mnt/clfs/sources/gcc-build/gmp/tests'
> make[5]: Nothing to be done for `all-am'.
> make[5]: Leaving directory `/mnt/clfs/sources/gcc-build/gmp/tests'
> Making all in devel
> make[5]: Entering directory `/mnt/clfs/sources/gcc-build/gmp/tests/devel'
> make[5]: Nothing to be done for `all'.
> make[5]: Leaving directory `/mnt/clfs/sources/gcc-build/gmp/tests/devel'
> Making all in mpn
> make[5]: Entering directory `/mnt/clfs/sources/gcc-build/gmp/tests/mpn'
> make[5]: Nothing to be done for `all'.
> make[5]: Leaving directory `/mnt/clfs/sources/gcc-build/gmp/tests/mpn'
> Making all in mpz
> make[5]: Entering directory `/mnt/clfs/sources/gcc-build/gmp/tests/mpz'
> make[5]: Nothing to be done for `all'.
> make[5]: Leaving directory `/mnt/clfs/sources/gcc-build/gmp/tests/mpz'
> Making all in mpq
> make[5]: Entering directory `/mnt/clfs/sources/gcc-build/gmp/tests/mpq'
> make[5]: Nothing to be done for `all'.
> make[5]: Leaving directory `/mnt/clfs/sources/gcc-build/gmp/tests/mpq'
> Making all in mpf
> make[5]: Entering directory `/mnt/clfs/sources/gcc-build/gmp/tests/mpf'
> make[5]: Nothing to be done for `all'.
> make[5]: Leaving directory `/mnt/clfs/sources/gcc-build/gmp/tests/mpf'
> Making all in rand
> make[5]: Entering directory `/mnt/clfs/sources/gcc-build/gmp/tests/rand'
> make[5]: Nothing to be done for `all'.
> make[5]: Leaving directory `/mnt/clfs/sources/gcc-build/gmp/tests/rand'
> Making all in misc
> make[5]: Entering directory `/mnt/clfs/sources/gcc-build/gmp/tests/misc'
> make[5]: Nothing to be done for `all'.
> make[5]: Leaving directory `/mnt/clfs/sources/gcc-build/gmp/tests/misc'
> Making all in cxx
> make[5]: Entering directory `/mnt/clfs/sources/gcc-build/gmp/tests/cxx'
> make[5]: Nothing to be done for `all'.
> make[5]: Leaving directory `/mnt/clfs/sources/gcc-build/gmp/tests/cxx'
> make[4]: Leaving directory `/mnt/clfs/sources/gcc-build/gmp/tests'
> Making all in mpn
> make[4]: Entering directory `/mnt/clfs/sources/gcc-build/gmp/mpn'
> make[4]: Nothing to be done for `all'.
> make[4]: Leaving directory `/mnt/clfs/sources/gcc-build/gmp/mpn'
> Making all in mpz
> make[4]: Entering directory `/mnt/clfs/sources/gcc-build/gmp/mpz'
> make[4]: Nothing to be done for `all'.
> make[4]: Leaving directory `/mnt/clfs/sources/gcc-build/gmp/mpz'
> Making all in mpq
> make[4]: Entering directory `/mnt/clfs/sources/gcc-build/gmp/mpq'
> make[4]: Nothing to be done for `all'.
> make[4]: Leaving directory `/mnt/clfs/sources/gcc-build/gmp/mpq'
> Making all in mpf
> make[4]: Entering directory `/mnt/clfs/sources/gcc-build/gmp/mpf'
> make[4]: Nothing to be done for `all'.
> make[4]: Leaving directory `/mnt/clfs/sources/gcc-build/gmp/mpf'
> Making all in printf
> make[4]: Entering directory `/mnt/clfs/sources/gcc-build/gmp/printf'
> make[4]: Nothing to be done for `all'.
> make[4]: Leaving directory `/mnt/clfs/sources/gcc-build/gmp/printf'
> Making all in scanf
> make[4]: Entering directory `/mnt/clfs/sources/gcc-build/gmp/scanf'
> make[4]: Nothing to be done for `all'.
> make[4]: Leaving directory `/mnt/clfs/sources/gcc-build/gmp/scanf'
> Making all in rand
> make[4]: Entering directory `/mnt/clfs/sources/gcc-build/gmp/rand'
> make[4]: Nothing to be done for `all'.
> make[4]: Leaving directory `/mnt/clfs/sources/gcc-build/gmp/rand'
> Making all in cxx
> make[4]: Entering directory `/mnt/clfs/sources/gcc-build/gmp/cxx'
> make[4]: Nothing to be done for `all'.
> make[4]: Leaving directory `/mnt/clfs/sources/gcc-build/gmp/cxx'
> Making all in demos
> make[4]: Entering directory `/mnt/clfs/sources/gcc-build/gmp/demos'
> Making all in calc
> make[5]: Entering directory `/mnt/clfs/sources/gcc-build/gmp/demos/calc'
> make  all-am
> make[6]: Entering directory `/mnt/clfs/sources/gcc-build/gmp/demos/calc'
> make[6]: Nothing to be done for `all-am'.
> make[6]: Leaving directory `/mnt/clfs/sources/gcc-build/gmp/demos/calc'
> make[5]: Leaving directory `/mnt/clfs/sources/gcc-build/gmp/demos/calc'
> Making all in expr
> make[5]: Entering directory `/mnt/clfs/sources/gcc-build/gmp/demos/expr'
> make[5]: Nothing to be done for `all'.
> make[5]: Leaving directory `/mnt/clfs/sources/gcc-build/gmp/demos/expr'
> make[5]: Entering directory `/mnt/clfs/sources/gcc-build/gmp/demos'
> make[5]: Nothing to be done for `all-am'.
> make[5]: Leaving directory `/mnt/clfs/sources/gcc-build/gmp/demos'
> make[4]: Leaving directory `/mnt/clfs/sources/gcc-build/gmp/demos'
> Making all in tune
> make[4]: Entering directory `/mnt/clfs/sources/gcc-build/gmp/tune'
> make[4]: Nothing to be done for `all'.
> make[4]: Leaving directory `/mnt/clfs/sources/gcc-build/gmp/tune'
> Making all in doc
> make[4]: Entering directory `/mnt/clfs/sources/gcc-build/gmp/doc'
> make[4]: Nothing to be done for `all'.
> make[4]: Leaving directory `/mnt/clfs/sources/gcc-build/gmp/doc'
> make[4]: Entering directory `/mnt/clfs/sources/gcc-build/gmp'
> make[4]: Leaving directory `/mnt/clfs/sources/gcc-build/gmp'
> make[3]: Leaving directory `/mnt/clfs/sources/gcc-build/gmp'
> make[2]: Leaving directory `/mnt/clfs/sources/gcc-build/gmp'
> make[2]: Entering directory `/mnt/clfs/sources/gcc-build/intl'
> make[2]: Nothing to be done for `all'.
> make[2]: Leaving directory `/mnt/clfs/sources/gcc-build/intl'
> make[2]: Entering directory `/mnt/clfs/sources/gcc-build/mpfr'
> Making all in doc
> make[3]: Entering directory `/mnt/clfs/sources/gcc-build/mpfr/doc'
> make[3]: Nothing to be done for `all'.
> make[3]: Leaving directory `/mnt/clfs/sources/gcc-build/mpfr/doc'
> Making all in src
> make[3]: Entering directory `/mnt/clfs/sources/gcc-build/mpfr/src'
> make  all-am
> make[4]: Entering directory `/mnt/clfs/sources/gcc-build/mpfr/src'
> make[4]: Nothing to be done for `all-am'.
> make[4]: Leaving directory `/mnt/clfs/sources/gcc-build/mpfr/src'
> make[3]: Leaving directory `/mnt/clfs/sources/gcc-build/mpfr/src'
> Making all in tests
> make[3]: Entering directory `/mnt/clfs/sources/gcc-build/mpfr/tests'
> make[3]: Nothing to be done for `all'.
> make[3]: Leaving directory `/mnt/clfs/sources/gcc-build/mpfr/tests'
> Making all in tune
> make[3]: Entering directory `/mnt/clfs/sources/gcc-build/mpfr/tune'
> make[3]: Nothing to be done for `all'.
> make[3]: Leaving directory `/mnt/clfs/sources/gcc-build/mpfr/tune'
> make[3]: Entering directory `/mnt/clfs/sources/gcc-build/mpfr'
> make[3]: Nothing to be done for `all-am'.
> make[3]: Leaving directory `/mnt/clfs/sources/gcc-build/mpfr'
> make[2]: Leaving directory `/mnt/clfs/sources/gcc-build/mpfr'
> Configuring in ./mpc
> configure: loading cache ./config.cache
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for a thread-safe mkdir -p... /bin/mkdir -p
> checking for gawk... gawk
> checking whether make sets $(MAKE)... yes
> checking whether to enable maintainer-specific portions of Makefiles... no
> checking build system type... i686-cross-linux-gnu
> checking host system type... i686-cross-linux-gnu
> checking for grep that handles long lines and -e... /bin/grep
> checking for egrep... /bin/grep -E
> checking for a sed that does not truncate output... /bin/sed
> checking for i686-cross-linux-gnu-gcc... gcc
> checking whether the C compiler works... yes
> checking for C compiler default output file name... a.out
> checking for suffix of executables...
> checking whether we are cross compiling... no
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether gcc accepts -g... yes
> checking for gcc option to accept ISO C89... none needed
> checking for style of include used by make... GNU
> checking dependency style of gcc... gcc3
> checking for i686-cross-linux-gnu-ar... ar
> checking the archiver (ar) interface... ar
> checking how to print strings... printf
> checking for a sed that does not truncate output... (cached) /bin/sed
> checking for fgrep... /bin/grep -F
> checking for ld used by gcc... ld
> checking if the linker (ld) is GNU ld... yes
> checking for BSD- or MS-compatible name lister (nm)... nm
> checking the name lister (nm) interface... BSD nm
> checking whether ln -s works... yes
> checking the maximum length of command line arguments... 805306365
> checking whether the shell understands some XSI constructs... yes
> checking whether the shell understands "+="... yes
> checking how to convert i686-cross-linux-gnu file names to
> i686-cross-linux-gnu format... func_convert_file_noop
> checking how to convert i686-cross-linux-gnu file names to toolchain
> format... func_convert_file_noop
> checking for ld option to reload object files... -r
> checking for i686-cross-linux-gnu-objdump... objdump
> checking how to recognize dependent libraries... pass_all
> checking for i686-cross-linux-gnu-dlltool... dlltool
> checking how to associate runtime and link libraries... printf %s\n
> checking for i686-cross-linux-gnu-ar... (cached) ar
> checking for archiver @FILE support... @
> checking for i686-cross-linux-gnu-strip... no
> checking for strip... strip
> checking for i686-cross-linux-gnu-ranlib... ranlib
> checking command to parse nm output from gcc object... ok
> checking for sysroot... /mnt/clfs/cross-tools/arm-linux-musleabi
> checking for i686-cross-linux-gnu-mt... no
> checking for mt... mt
> checking if mt is a manifest tool... no
> checking how to run the C preprocessor... gcc -E
> checking for ANSI C header files... yes
> checking for sys/types.h... yes
> checking for sys/stat.h... yes
> checking for stdlib.h... yes
> checking for string.h... yes
> checking for memory.h... yes
> checking for strings.h... yes
> checking for inttypes.h... yes
> checking for stdint.h... yes
> checking for unistd.h... yes
> checking for dlfcn.h... yes
> checking for objdir... .libs
> checking if gcc supports -fno-rtti -fno-exceptions... no
> checking for gcc option to produce PIC... -fPIC -DPIC
> checking if gcc PIC flag -fPIC -DPIC works... yes
> checking if gcc static flag -static works... yes
> checking if gcc supports -c -o file.o... yes
> checking if gcc supports -c -o file.o... (cached) yes
> checking whether the gcc linker (ld) supports shared libraries... yes
> checking dynamic linker characteristics... GNU/Linux ld.so
> checking how to hardcode library paths into programs... immediate
> checking whether stripping libraries is possible... yes
> checking if libtool supports shared libraries... yes
> checking whether to build shared libraries... no
> checking whether to build static libraries... yes
> checking for gmp.h... yes
> checking for ANSI C header files... (cached) yes
> checking locale.h usability... yes
> checking locale.h presence... yes
> checking for locale.h... yes
> checking for inttypes.h... (cached) yes
> checking for stdint.h... (cached) yes
> checking limits.h usability... yes
> checking limits.h presence... yes
> checking for limits.h... yes
> checking for unistd.h... (cached) yes
> checking sys/time.h usability... yes
> checking sys/time.h presence... yes
> checking for sys/time.h... yes
> checking whether time.h and sys/time.h may both be included... yes
> checking complex.h usability... yes
> checking complex.h presence... yes
> checking for complex.h... yes
> checking for library containing creal... -lm
> checking whether creal, cimag and I can be used... yes
> checking for an ANSI C-conforming const... yes
> checking for size_t... yes
> checking for gettimeofday... yes
> checking for localeconv... yes
> checking for setlocale... yes
> checking for dup... yes
> checking for dup2... yes
> checking for __gmpz_init in -lgmp... yes
> checking for MPFR... no
> configure: error: libmpfr not found or uses a different ABI (including
> static vs shared).
> make[1]: *** [configure-mpc] Error 1
> make[1]: Leaving directory `/mnt/clfs/sources/gcc-build'
> make: *** [all] Error 2

Can you provide your configure switches and the output of the 'env'
command?  Did you ensure you deleted the gcc-build and gcc-4.7.3
directories after the "static" build and then unpack gcc again cleanly
before the "final" build?

Thanks,
Andrew




More information about the Clfs-support mailing list