This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Problem with GMP configuring during building


Hi Yann, Arnaud, All,

few weeks ago I successfully built the cross compiler for target mips-unknown-linux-uclibc.

Then, I tried to build the cross compiler for other target mips-unknown-linux-gnu and the building failed on Installing GMP step, the substep Configuring GMP as you can see below:

bash-4.1# /opt/crosstool-ng/bin/ct-ng build???? 
[INFO ]? Performing some trivial sanity checks
[INFO ]? Build started 20101016.161049
[INFO ]? Building environment variables
[WARN ]? Directory '/root/src' does not exist.
[WARN ]? Will not save downloaded tarballs to local storage.
[EXTRA]? Preparing working directories
[EXTRA]? Installing user-supplied crosstool-NG configuration
[EXTRA]? =================================================================
[EXTRA]? Dumping internal crosstool-NG configuration
[EXTRA]??? Building a toolchain for:
[EXTRA]????? build? = i686-pc-linux-gnu
[EXTRA]????? host?? = i686-pc-linux-gnu
[EXTRA]????? target = mips-unknown-linux-uclibc
[EXTRA]? Dumping internal crosstool-NG configuration: done in 0.12s (at 00:01)
[INFO ]? =================================================================
[INFO ]? Retrieving needed toolchain components' tarballs
[EXTRA]??? Retrieving 'linux-2.6.31.14'
[EXTRA]??? Retrieving 'gmp-4.3.2'
[EXTRA]??? Retrieving 'mpfr-2.4.2'
[EXTRA]??? Retrieving 'binutils-2.19.1'
[EXTRA]??? Retrieving 'sstrip'
[EXTRA]??? Retrieving 'gcc-4.3.2'
[EXTRA]??? Retrieving 'uClibc-0.9.30.1'
[EXTRA]??? Retrieving 'dmalloc-5.5.2'
[EXTRA]??? Retrieving 'strace-4.5.19'
[INFO ]? Retrieving needed toolchain components' tarballs: done in 387.43s (at 06:29)
[INFO ]? =================================================================
[INFO ]? Extracting and patching toolchain components
[EXTRA]??? Extracting 'linux-2.6.31.14'
[EXTRA]??? Patching 'linux-2.6.31.14'
[EXTRA]??? Extracting 'gmp-4.3.2'
[EXTRA]??? Patching 'gmp-4.3.2'
[EXTRA]??? Extracting 'mpfr-2.4.2'
[EXTRA]??? Patching 'mpfr-2.4.2'
[EXTRA]??? Extracting 'binutils-2.19.1'
[EXTRA]??? Patching 'binutils-2.19.1'
[EXTRA]??? Extracting 'gcc-4.3.2'
[EXTRA]??? Patching 'gcc-4.3.2'
[EXTRA]??? Extracting 'uClibc-0.9.30.1'
[EXTRA]??? Patching 'uClibc-0.9.30.1'
[EXTRA]??? Extracting 'dmalloc-5.5.2'
[EXTRA]??? Patching 'dmalloc-5.5.2'
[EXTRA]??? Extracting 'strace-4.5.19'
[EXTRA]??? Patching 'strace-4.5.19'
[INFO ]? Extracting and patching toolchain components: done in 184.79s (at 09:34)
[INFO ]? =================================================================
[INFO ]? Checking C library configuration
[EXTRA]??? Munging uClibc configuration
[INFO ]? Checking C library configuration: done in 0.11s (at 09:34)
[INFO ]? =================================================================
[INFO ]? Installing kernel headers
[EXTRA]??? Installing kernel headers
[EXTRA]??? Checking installed headers
[INFO ]? Installing kernel headers: done in 10.96s (at 09:45)
[INFO ]? =================================================================
[INFO ]? Installing GMP
[EXTRA]??? Configuring GMP
[ERROR]??? configure: error: C++ compiler not available, see config.log for details
[ERROR]??? Build failed in step 'Installing GMP'
[ERROR]??? Error happened in '/opt/crosstool-ng/lib/ct-ng-1.8.1/scripts/functions' in function 'CT_DoExecLog' (line unknown, sorry)
[ERROR]????????? called from '/opt/crosstool-ng/lib/ct-ng-1.8.1/scripts/build/companion_libs/gmp.sh' at line # 42 in function 'do_gmp'
[ERROR]????????? called from '/opt/crosstool-ng/lib/ct-ng-1.8.1/scripts/crosstool-NG.sh' at line # 586 in function 'main'
[ERROR]??? Look at '/root/x-tools/mips-unknown-linux-uclibc/build.log' for more info on this error.
[ERROR]? (elapsed: 9:50.37)
[09:51] / make: *** [build] Error 1
bash-4.1# ^C
bash-4.1# 

After that I tried to rebuilt again for target mips-unknown-linux-uclibc, but unfortunately I got the same problem, and now I cannot build crosscompiler for any target....

Could you tell me what is the cause for the this problem?

Thanks.

Milan






--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]