public inbox for crossgcc@sourceware.org
 help / color / mirror / Atom feed
* Can't build crosstool-NG with some problem
@ 2012-07-09  4:40 Seongjin Kim
  2012-07-10  3:08 ` Khem Raj
  0 siblings, 1 reply; 4+ messages in thread
From: Seongjin Kim @ 2012-07-09  4:40 UTC (permalink / raw)
  To: crossgcc

Hi,

I was building crosstool-NG for cross compiler of alpha ev67 on Ubuntu 8.04.
On the way to build crosstool-NG, I encountered some error as following below.


 $ ct-ng build.2

[INFO ]  Performing some trivial sanity checks
[INFO ]  Build started 20120709.084702
[INFO ]  Building environment variables
[INFO ]  =================================================================
[INFO ]  Retrieving needed toolchain components' tarballs
[INFO ]  Retrieving needed toolchain components' tarballs: done in
30.50s (at 00:37)
[INFO ]  =================================================================
[INFO ]  Extracting and patching toolchain components
[INFO ]  Extracting and patching toolchain components: done in 62.08s (at 01:39)
[INFO ]  =================================================================
[INFO ]  Installing GMP for host
[INFO ]  Installing GMP for host: done in 180.54s (at 04:40)
[INFO ]  =================================================================
[INFO ]  Installing MPFR for host
[INFO ]  Installing MPFR for host: done in 38.02s (at 05:18)
[INFO ]  =================================================================
[INFO ]  Installing PPL for host
[INFO ]  Installing PPL for host: done in 351.03s (at 11:09)
[INFO ]  =================================================================
[INFO ]  Installing CLooG/PPL for host
[INFO ]  Installing CLooG/PPL for host: done in 21.48s (at 11:31)
[INFO ]  =================================================================
[INFO ]  Installing MPC for host
[INFO ]  Installing MPC for host: done in 19.76s (at 11:50)
[INFO ]  =================================================================
[INFO ]  Installing binutils for host
[INFO ]  Installing binutils for host: done in 120.33s (at 13:51)
[INFO ]  =================================================================
[INFO ]  Installing pass-1 core C compiler
[ERROR]    configure: error: Unable to find a usable PPL.  See
config.log for details.
[ERROR]
[ERROR]  >>
[ERROR]  >>  Build failed in step 'Installing pass-1 core C compiler'
[ERROR]  >>        called in step '(top-level)'
[ERROR]  >>
[ERROR]  >>  Error happened in: CT_DoExecLog[scripts/functions@158]
[ERROR]  >>        called from: do_cc_core_backend[scripts/build/cc/gcc.sh@359]
[ERROR]  >>        called from: do_cc_core_pass_1[scripts/build/cc/gcc.sh@97]
[ERROR]  >>        called from: main[scripts/crosstool-NG.sh@598]
[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]  >>      'build-tool/share/doc/crosstool-ng/ct-ng.1.15.2/B -
Known issues.txt'
[ERROR]
[ERROR]  (elapsed: 13:53.87)
[13:54] / make[1]: *** [build] Error 1
make: *** [build.2] Error 2


So, I opened build.log file as following below.


 $ vi build.log
...........................
...........................
48894 [CFG  ]    checking for the correct version of mpc.h... yes
48895 [CFG  ]    checking for the correct version of the gmp/mpfr/mpc
libraries... yes
48896 [CFG  ]    checking for PWL_handle_timeout in -lpwl... no
48897 [CFG  ]    checking for version 0.11 (revision 0 or later) of PPL... no
48898 [ERROR]    configure: error: Unable to find a usable PPL.  See
config.log for details.
48899 [ERROR]
48900 [ERROR]  >>
48901 [ERROR]  >>  Build failed in step 'Installing pass-1 core C compiler'
48902 [ERROR]  >>        called in step '(top-level)'
48903 [ERROR]  >>
48904 [ERROR]  >>  Error happened in: CT_DoExecLog[scripts/functions@158]
48905 [ERROR]  >>        called from:
do_cc_core_backend[scripts/build/cc/gcc.sh@359]
48906 [ERROR]  >>        called from:
do_cc_core_pass_1[scripts/build/cc/gcc.sh@97]
48907 [ERROR]  >>        called from: main[scripts/crosstool-NG.sh@598]
48908 [ERROR]  >>
48909 [ERROR]  >>  For more info on this error, look at the file: 'build.log'
48910 [ERROR]  >>  There is a list of known issues, some with workarounds, in:
48911 [ERROR]  >>
'build-tool/share/doc/crosstool-ng/ct-ng.1.15.2/B - Known issues.txt'
48912 [ERROR]
48913 [ERROR]  (elapsed: 13:53.87)


After watching error message in build.log, I installed ppl-0.11 and
rebuilt crosstool-NG but result is same.
Please advise me for this problem.

Thanks for help in advance.

Regard,
Kim

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

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

* Re: Can't build crosstool-NG with some problem
  2012-07-09  4:40 Can't build crosstool-NG with some problem Seongjin Kim
@ 2012-07-10  3:08 ` Khem Raj
  2012-07-16  8:59   ` Thomas Petazzoni
  0 siblings, 1 reply; 4+ messages in thread
From: Khem Raj @ 2012-07-10  3:08 UTC (permalink / raw)
  To: Seongjin Kim; +Cc: crossgcc

On Sun, Jul 8, 2012 at 6:35 PM, Seongjin Kim <sjkim.sangji@gmail.com> wrote:
>
> After watching error message in build.log, I installed ppl-0.11 and

you need the ppl dev package install that one whatever it is called
for your host distro

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

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

* Re: Can't build crosstool-NG with some problem
  2012-07-10  3:08 ` Khem Raj
@ 2012-07-16  8:59   ` Thomas Petazzoni
  2012-07-22 14:44     ` Yann E. MORIN
  0 siblings, 1 reply; 4+ messages in thread
From: Thomas Petazzoni @ 2012-07-16  8:59 UTC (permalink / raw)
  To: Khem Raj; +Cc: Seongjin Kim, crossgcc

Le Sun, 8 Jul 2012 21:39:21 -0700,
Khem Raj <raj.khem@gmail.com> a écrit :

> you need the ppl dev package install that one whatever it is called
> for your host distro

Hum, no: Crosstool-NG is supposed to build its own version of PPL.

Seongjin: make sure that you have selected PPL version 0.11 in 'ct-ng
menuconfig'. Depending on the gcc version, the required PPL version is
different, and Crosstool-NG doesn't automatically ensure that the
correct version of PPL is used.

Regards,

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

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

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

* Re: Can't build crosstool-NG with some problem
  2012-07-16  8:59   ` Thomas Petazzoni
@ 2012-07-22 14:44     ` Yann E. MORIN
  0 siblings, 0 replies; 4+ messages in thread
From: Yann E. MORIN @ 2012-07-22 14:44 UTC (permalink / raw)
  To: crossgcc; +Cc: Thomas Petazzoni, Khem Raj, Seongjin Kim

Seongjin, Thomas, Khem, All,

On Monday 16 July 2012 10:02:34 Thomas Petazzoni wrote:
> Le Sun, 8 Jul 2012 21:39:21 -0700,
> Khem Raj <raj.khem@gmail.com> a écrit :
> > you need the ppl dev package install that one whatever it is called
> > for your host distro
> Hum, no: Crosstool-NG is supposed to build its own version of PPL.

Indeed.

> Seongjin: make sure that you have selected PPL version 0.11 in 'ct-ng
> menuconfig'. Depending on the gcc version, the required PPL version is
> different, and Crosstool-NG doesn't automatically ensure that the
> correct version of PPL is used.

Yes. What was the gcc version you used?
Can you post your .config file?

Regards,
Yann E. MORIN, back-log is shrinking...

-- 
.-----------------.--------------------.------------------.--------------------.
|  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] 4+ messages in thread

end of thread, other threads:[~2012-07-22 14:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-09  4:40 Can't build crosstool-NG with some problem Seongjin Kim
2012-07-10  3:08 ` Khem Raj
2012-07-16  8:59   ` Thomas Petazzoni
2012-07-22 14:44     ` 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).