public inbox for crossgcc@sourceware.org
 help / color / mirror / Atom feed
From: "Yann E. MORIN" <yann.morin.1998@free.fr>
To: crossgcc@sourceware.org
Cc: tpflima <thiagolima@gmail.com>
Subject: Re: problems installing my arm-linux crosscompiler using ct-ng - Build failed in step 'Installing static core C compiler'
Date: Mon, 23 Apr 2012 16:32:00 -0000	[thread overview]
Message-ID: <201204231831.53796.yann.morin.1998@free.fr> (raw)
In-Reply-To: <33730502.post@talk.nabble.com>

Thiago, All,

On Monday 23 April 2012 04:04:53 tpflima wrote:
> I am having problems installing my arm-linux crosscompiler using ct-ng
> 
> I downloaded the crosstoll-ng 1.9.3 last week.

1.9.3 is no longer maintained. Please upgrade to 1.13.4 which is the
latest supported release.

> - I changed the prefixed directory for /usr/local/xtools/${CT_TARGET}

As already said, usually only root is allowed to write in /usr/local.
Did you check that your user is able to wite there?

Note that you should *not* run as root. It's very dangerous.

> - I changed the number of parallel jobs, 8
> - I changed the «Tuple's alias» to arm-­linux.
> - I Enabled strace on debug facilities (gdb and ltrace could not be enabled
> because the tarball could not be retrieved from their online locals)

That's a knwon problem, due to upstream renaming there releases. Update
to a more recent crosstool-NG to use the new names.

[--SNIP--]
> [INFO ]  Installing binutils
> [INFO ]  Installing binutils: done in 35.86s (at 04:14)

Looks like you are able to write into /usr/local, indeed.

> [INFO ]  =================================================================
> [INFO ]  Installing static core C compiler
> [ERROR]    make[1]: *** [configure-gcc] Error 1
> [ERROR]    Build failed in step 'Installing static core C compiler'
> [ERROR]    Error happened in
> '/home/thiago/Documents/linux_labs/crosstool-ng-1.9.3/scripts/functions' in
> function 'CT_DoExecLog' (line unknown, sorry)
> [ERROR]          called from
> '/home/thiago/Documents/linux_labs/crosstool-ng-1.9.3/scripts/build/cc/gcc.sh'
> at line # 289 in function 'do_cc_core'
> [ERROR]          called from
> '/home/thiago/Documents/linux_labs/crosstool-ng-1.9.3/scripts/build/cc/gcc.sh'
> at line # 52 in function 'do_cc_core_pass_1'
> [ERROR]          called from
> '/home/thiago/Documents/linux_labs/crosstool-ng-1.9.3/scripts/crosstool-NG.sh'
> at line # 597 in function 'main'
> [ERROR]    Look at '/usr/local/xtools/arm-unknown-linux-gnueabi/build.log'
> for more info on this error.

And what is in this file?

As Martin suggested, please post the relevant part of the build.log file.
If you do not know what part is relevant, do *not* post the entire file;
instead, put it on some website where we can download it.

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

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

  parent reply	other threads:[~2012-04-23 16:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-23  2:05 tpflima
2012-04-23  3:07 ` Michael Hope
2012-04-23 16:32 ` Yann E. MORIN [this message]
2012-04-23 22:53   ` Thiago Lima

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=201204231831.53796.yann.morin.1998@free.fr \
    --to=yann.morin.1998@free.fr \
    --cc=crossgcc@sourceware.org \
    --cc=thiagolima@gmail.com \
    /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).