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

See crosstool-NG 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]

ct-ng build hangs forever


Hello,

I am trying to build the an x86 cross compile on a x86 Ubuntu 12.04 (up to
date wrt patches) host but ct-ng hands forever, with 1 core at 100%. I 
even let it run over night on 1 occasion but no success.

It hangs during compiling gmp. I turned on the debug option in ct-ng. 
Here is the output:

[DEBUG]    Looking for patches in '/home/user/sbox/trunk.image/i686/
bin/ct/lib/ct-ng.1.19.0/patches/gmp/4.3.0'...
[ALL  ]    Overiding config.guess and config.sub
[ALL  ]    `/home/user/sbox/trunk.image/i686/bin/ct/lib/ct-ng.1.19.0/
scripts/config.guess' -> `./config.guess'
[ALL  ]    `/home/user/sbox/trunk.image/i686/bin/ct/lib/ct-ng.1.19.0/
scripts/config.sub' -> `./config.sub'
[DEBUG]    ==> Executing: 'touch' 
'/home/user/sbox/trunk.image/i686/bin/cross-tool/crosstool-ng-1.19.0/
.build/src/.gmp-4.3.0.patched' 
[DEBUG]    ==> Executing: 'rm' '-f' 
'/home/user/sbox/trunk.image/i686/bin/cross-tool/crosstool-ng-1.19.0/
.build/src/.gmp-4.3.0.patching' 
[DEBUG]    Already extracted 'mpfr-3.1.2'
[DEBUG]    Already patched 'mpfr-3.1.2'
[DEBUG]    Already extracted 'isl-0.11.1'
[DEBUG]    Already patched 'isl-0.11.1'
[DEBUG]    Already extracted 'cloog-0.18.0'
[DEBUG]    Already patched 'cloog-0.18.0'
[DEBUG]    ==> Executing: 'mkdir' '-p' 
'/home/user/sbox/trunk.image/i686/bin/cross-tool/crosstool-ng-1.19.0/
.build/src/cloog-0.18.0/m4' 
[DEBUG]    Already extracted 'mpc-1.0.1'
[DEBUG]    Already patched 'mpc-1.0.1'
[DEBUG]    Already extracted 'binutils-2.22'
[DEBUG]    Already patched 'binutils-2.22'
[DEBUG]    Already extracted 'gcc-4.8.1'
[DEBUG]    Already patched 'gcc-4.8.1'
[INFO ]  Extracting and patching toolchain components: done in 0.50s
 (at 00:11)
[INFO ]  =================================================================
[INFO ]  Installing GMP for host
[DEBUG]    Entering '/home/user/sbox/trunk.image/i686/bin/cross-tool/
crosstool-ng-1.19.0/.build/x86_64-unknown-elf/build/
build-gmp-host-x86_64-build_unknown-linux-gnu'
[EXTRA]    Configuring GMP
[DEBUG]    ==> Executing: 'CFLAGS=-O2 -g -pipe  -fexceptions' 'LDFLAGS= '
 '/home/user/sbox/trunk.image/i686/bin/cross-tool/crosstool-ng-1.19.0/
.build/src/gmp-4.3.0/configure'
 '--build=x86_64-build_unknown-linux-gnu'
 '--host=x86_64-build_unknown-linux-gnu'
 '--prefix=/home/user/sbox/trunk.image/i686/bin/cross-tool/
crosstool-ng-1.19.0/.build/x86_64-unknown-elf/buildtools'
 '--enable-fft' '--enable -mpbsd' '--enable-cxx' '--disable-shared'
 '--enable-static' 
[CFG  ]    checking build system type... x86_64-build_unknown-linux-gnu
[CFG  ]    checking host system type... x86_64-build_unknown-linux-gnu
[CFG  ]    checking for a BSD-compatible install...
 /home/user/sbox/trunk.image/i686/bin/cross-tool/crosstool-ng-
1.19.0/.build/tools/bin/install -c
[CFG  ]    checking whether build environment is sane... yes
[CFG  ]    checking for gawk... gawk

<hit ctrl-c> here

[ERROR]  
[ERROR]  >>
[ERROR]  >>  Build failed in step 'Installing GMP for host'
[ERROR]  >>        called in step '(top-level)'
[ERROR]  >>
[ERROR]  >>  Error happened in: CT_DoExecLog[scripts/functions@257]
[ERROR]  >>        called from:
 do_gmp_backend[scripts/build/companion_libs/100-gmp.sh@84]
[ERROR]  >>        called from:
 do_gmp_for_host[scripts/build/companion_libs/100-gmp.sh@59]
[ERROR]  >>        called from: 
do_companion_libs_for_host[scripts/build/companion_libs.sh@36]
[ERROR]  >>        called from: main[scripts/crosstool-NG.sh@632]
[ERROR]  >>
[ERROR]  >>  For more info on this error, look at the file: 'build.log'
[ERROR]  >>  There is a list of known issues, some with workarounds, in:
[ERROR]  >>      
'/home/user/sbox/trunk.image/i686/bin/ct/share/doc/crosstool-ng/ct-ng.1.19.0/B
 - Known issues.txt'
[ERROR]  
[ERROR]  (elapsed: 123:45.28)



I tried different version of gmp. I also compiled it successfully standalone. 

I am not sure where to look now. Any pointer?



--
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]