From: Claude <claude@cbcr.me>
To: crossgcc@sourceware.org
Subject: ct-ng build hangs forever
Date: Thu, 27 Mar 2014 01:35:00 -0000 [thread overview]
Message-ID: <loom.20140327T021714-313@post.gmane.org> (raw)
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
next reply other threads:[~2014-03-27 1:35 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-27 1:35 Claude [this message]
2014-03-27 6:54 ` Thomas Petazzoni
2014-03-27 12:21 ` Claude
2014-03-29 17:39 ` Claude
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=loom.20140327T021714-313@post.gmane.org \
--to=claude@cbcr.me \
--cc=crossgcc@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).