public inbox for crossgcc@sourceware.org
 help / color / mirror / Atom feed
* error in step "installing c library"
@ 2009-12-29 15:59 sanatan R
  2009-12-29 18:22 ` Yann E. MORIN
  0 siblings, 1 reply; 2+ messages in thread
From: sanatan R @ 2009-12-29 15:59 UTC (permalink / raw)
  To: crossgcc

[-- Attachment #1: Type: text/plain, Size: 152 bytes --]

hello all,

i am trying to install crosstool ng in ubuntu 9.10. i am getting this
error while building.

what are the prerequisites for building ct-ng.

[-- Attachment #2: new file (4th copy) --]
[-- Type: application/octet-stream, Size: 3058 bytes --]

root@sanatan-desktop:/home/sanatan/do# ct-ng CT_PREFIX=/home/sanatan/doo build
[INFO ]  Performing some trivial sanity checks
[INFO ]  Build started 20091229.200411
[INFO ]  Building environment variables
[WARN ]  You did not specify the build system. That's OK, I can guess...
[INFO ]  =================================================================
[INFO ]  Retrieving needed toolchain components' tarballs
[INFO ]  Retrieving needed toolchain components' tarballs: done in 54.76s (at 01:01)
[INFO ]  =================================================================
[INFO ]  Extracting and patching toolchain components
[INFO ]  Extracting and patching toolchain components: done in 1248.67s (at 21:49)
[INFO ]  =================================================================
[INFO ]  Installing kernel headers
[INFO ]  Installing kernel headers: done in 27.15s (at 22:17)
[INFO ]  =================================================================
[INFO ]  Installing GMP
[INFO ]  Installing GMP: done in 190.65s (at 25:27)
[INFO ]  =================================================================
[INFO ]  Installing MPFR
[INFO ]  Installing MPFR: done in 53.20s (at 26:21)
[INFO ]  =================================================================
[INFO ]  Installing binutils
[INFO ]  Installing binutils: done in 145.58s (at 28:46)
[INFO ]  =================================================================
[INFO ]  Installing static core C compiler
[INFO ]  Installing static core C compiler: done in 314.45s (at 34:01)
[INFO ]  =================================================================
[INFO ]  Installing C library headers
[INFO ]  Installing C library headers: done in 42.00s (at 34:43)
[INFO ]  =================================================================
[INFO ]  Installing C library start files
[WARN ]    Removing "-pipe" for use with glibc>=2.6
[INFO ]  Installing C library start files: done in 28.50s (at 35:11)
[INFO ]  =================================================================
[INFO ]  Installing shared core C compiler
[INFO ]  Installing shared core C compiler: done in 347.20s (at 40:58)
[INFO ]  =================================================================
[INFO ]  Installing C library
[WARN ]    Removing "-pipe" for use with glibc>=2.6
[ERROR]    make[2]: *** [/home/sanatan/do/targets/arm-unknown-linux-gnu/build/build-libc/libc.so] Error 1
[ERROR]    make[1]: *** [all] Error 2
[ERROR]    Build failed in step 'Installing C library'
[ERROR]    Error happened in '/usr/local/lib/ct-ng-1.5.1/scripts/functions' in function 'CT_DoExecLog' (line unknown, sorry)
[ERROR]          called from '/usr/local/lib/ct-ng-1.5.1/scripts/build/libc/glibc.sh' at line # 502 in function 'do_libc'
[ERROR]          called from '/usr/local/lib/ct-ng-1.5.1/scripts/crosstool-NG.sh' at line # 544 in function 'main'
[ERROR]    Look at '/root/x-tools/arm-unknown-linux-gnu/build.log' for more info on this error.
[ERROR]  (elapsed: 53:12.97)
[53:14] / make: *** [build] Error 2
root@sanatan-desktop:/home/sanatan/do# 


[-- Attachment #3: Type: text/plain, Size: 71 bytes --]

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: error in step "installing c library"
  2009-12-29 15:59 error in step "installing c library" sanatan R
@ 2009-12-29 18:22 ` Yann E. MORIN
  0 siblings, 0 replies; 2+ messages in thread
From: Yann E. MORIN @ 2009-12-29 18:22 UTC (permalink / raw)
  To: crossgcc; +Cc: sanatan R

Hello Sanatan!
Hello All!

On Tuesday 29 December 2009 16:59:09 sanatan R wrote:
> i am trying to install crosstool ng in ubuntu 9.10. i am getting this
> error while building.

Excerpt from the log you sent:

[ERROR]  Build failed in step 'Installing C library'
[ERROR]  Error happened in '/usr/local/lib/ct-ng-1.5.1/scripts/functions'
         in function 'CT_DoExecLog' (line unknown, sorry)
[ERROR]  called from '/usr/local/lib/ct-ng-1.5.1/scripts/build/libc/glibc.sh'
         at line # 502 in function 'do_libc'
[ERROR]  called from '/usr/local/lib/ct-ng-1.5.1/scripts/crosstool-NG.sh'
         at line # 544 in function 'main'
[ERROR]  Look at '/root/x-tools/arm-unknown-linux-gnu/build.log' for more
         info on this error.
[ERROR]  (elapsed: 53:12.97)
[53:14] / make: *** [build] Error 2

This is not enough to debug. Please send the build.log file (compressed
with bzip2 or xz/lzma), as pointed to by the above message.

Also, do NOT build as root (as you seem to be doing, loking at the paths).
This is dangerous, very dangerous! If it happens there is an (unknown!) bug
in crosstool-NG, it could destroy your entire system (as it uses "rm -rf"
with variables). Moreover, crosstool-NG does *not* require root priviledges
to build.

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-12-29 18:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-12-29 15:59 error in step "installing c library" sanatan R
2009-12-29 18:22 ` Yann E. MORIN

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).