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]

Re: CT_DoExecLog error during GCC build


Alex,
All,

On Monday 06 July 2009 01:29:17 alexcklam wrote:
> I am a newbie in cross-compiling and I stumbled upon this error.
> Any idea what might have gone wrong?
> Attached is my .config
[--SNIP--]
> [INFO ]  Installing static core C compiler
> [ERROR]    make[1]: *** [configure-gcc] Error 1

The line above is the real error line. The following lines are just
from crosstool-NG saying it did detect an error.

> [ERROR]    Build failed in step 'Installing static core C compiler'
> [ERROR]    Error happened in '/usr/local/lib/ct-ng-1.4.1/scripts/functions'
> in function 'CT_DoExecLog' (line unknown, sorry)
> [ERROR]          called from
> '/usr/local/lib/ct-ng-1.4.1/scripts/build/cc/gcc.sh' at line # 226 in
> function 'do_cc_core'
> [ERROR]          called from
> '/usr/local/lib/ct-ng-1.4.1/scripts/build/cc/gcc.sh' at line # 54 in
> function 'do_cc_core_pass_1'
> [ERROR]          called from
> '/usr/local/lib/ct-ng-1.4.1/scripts/crosstool-NG.sh' at line # 494 in
> function 'main'
> [ERROR]  (elapsed: 14:48.59)

> # Automatically generated make config: don't edit
> # crosstool-NG version: 1.4.1
[--SNIP--]
> CT_LOG_INFO=y
[--SNIP--]
> # CT_LOG_TO_FILE is not set

You're not logging to a file, and your log level is too low. Thus log
messages got lost. We're not going to be able to help you.

Please re-run using a log file, and look into there, you'll have much
more information than the terse INFO level would give. If it does not
seem obvious what the error is, don't hesitate to post the full error
message.
Note: do *not* post the full log file, just the few tens last lines
that contain the actual error message.

Anyway, I will try a wild guess: you're using really old binutils (2.17),
an ageing gcc (4.2.0) and a really old glibc (2.5). I would suggest
upgrading to later versions.

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +0/33 662376056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| --==< ^_^ >==-- `------------.-------:  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


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