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: crosstool-NG Build ERROR


Looks like the problem was with the linux tarball which had not been
downloaded completely. I just removed the old linux tarball and
started BUILD again which went thru with the following libtool.m4
ERROR.

--------------------------------------------------------------
..
..
[INFO ]  Installing C library: done in 141.66s (at 64:42)
[INFO ]  =================================================================
[INFO ]  Installing final compiler
[EXTRA]    Configuring final compiler
[EXTRA]    Building final compiler
[ERROR]    libtool.m4: error: problem compiling FC test program
[EXTRA]    Installing final compiler
[INFO ]  Installing final compiler: done in 906.63s (at 79:48)
[INFO ]  =================================================================
[INFO ]  Installing GMP for the target
..
..
-----------------------------------------------------------------------

However, after this error the build seem to have gone fine as can be seen below.

-----------------------------------------------------------------------
..
..
[INFO ]  =================================================================
[INFO ]  Cleaning-up the toolchain's directory
[EXTRA]    Installing the populate helper
[EXTRA]    Creating toolchain aliases
[EXTRA]    Installing toolchain wrappers
[EXTRA]    Removing access to the build system tools
[EXTRA]    Removing installed documentation
[INFO ]  Cleaning-up the toolchain's directory: done in 1.93s (at 95:34)
[INFO ]  Build completed at 20100131.230227
[INFO ]  (elapsed: 95:34.56)
[INFO ]  Finishing installation (may take a few seconds)...
[95:34] / ~/felabs/sysdev/toolchain/crosstool-ng-1.5.3$
-----------------------------------------------------------------------

PLEASE LET ME KNOW IF I CAN *IGNORE* the libtool.m4 error? BUILD LOG Attached.


Thanks for your help!



On Sun, Jan 31, 2010 at 8:34 PM, Shaahul Hameed <shaahulhameed@gmail.com> wrote:
> I am a newbie to embedded linux and am trying to build crosstool-ng
> toolchain with arm-unknown-linux-uclibc-gnueabi sample.
>
> I have 2 questions.
>
> (1) When I try to load arm-unknown-linux-uclibcgnueabi sample with the
> following command, which Linux Kernel version should be chosen out of
> the 15 choices?
>
> --------------------------------------------------
> ~/felabs/sysdev/toolchain/crosstool-ng-1.5.3$ ./ct-ng
> arm-unknown-linux-uclibcgnueabi
> CONF config/config.in
> *
> * Restart config...
> *
> *
> * Operating System
> *
> Target OS
> 1. bare-metal (KERNEL_bare_metal)
>> 2. linux (KERNEL_linux)
> choice[1-2]: 2
> Get kernel headers from:
>> 1. kernel's 'headers_install' (KERNEL_LINUX_INSTALL)
> 2. Use custom headers (KERNEL_LINUX_USE_CUSTOM_HEADERS)
> choice[1-2]: 1
> Check installed headers (KERNEL_LINUX_INSTALL_CHECK) [Y/n/?] y
> Linux kernel version
>> 1. 2.6.31.1 (KERNEL_V_2_6_31_1)
> 2. 2.6.31 (KERNEL_V_2_6_31)
> 3. 2.6.30.8 (KERNEL_V_2_6_30_8) (NEW)
> 4. 2.6.30.7 (KERNEL_V_2_6_30_7) (NEW)
> 5. 2.6.30.6 (KERNEL_V_2_6_30_6)
> 6. 2.6.30.5 (KERNEL_V_2_6_30_5)
> 7. 2.6.30.4 (KERNEL_V_2_6_30_4)
> 8. 2.6.30.3 (KERNEL_V_2_6_30_3)
> 9. 2.6.30.2 (KERNEL_V_2_6_30_2)
> 10. 2.6.30.1 (KERNEL_V_2_6_30_1)
> 11. 2.6.30 (KERNEL_V_2_6_30)
> 12. 2.6.29.6 (KERNEL_V_2_6_29_6)
> 13. 2.6.28.10 (KERNEL_V_2_6_28_10)
> 14. 2.6.27.35 (long-term stable) (KERNEL_V_2_6_27_35)
> 15. Other version (EXPERIMENTAL) (KERNEL_V_select)
> choice[1-15]:
> ----------------------------------------------------------
>
>
> (2) Hitting "Enter" in the previous command selects the default kernel 2.6.31.1.
> After configuring with menuconfig, I ran ./ctng build, but got the
> following ERROR. Could you please let me know where I could be going
> wrong?
>
> [ALL ] linux-2.6.31.1/arch/m68k/kernel/ints.c
> [ALL ] linux-2.6.31.1/arch/m68k/kernel/m68k_ksyms.c
> [ALL ] linux-2.6.31.1/arch/m68k/kernel/module.c
> [ALL ] linux-2.6.31.1/arch/m68k/kernel/module.lds
> [ALL ] linux-2.6.31.1/arch/m68k/kernel/process.c
> [ALL ] linux-2.6.31.1/arch/m68k/kernel/ptrace.c
> [ALL ] linux-2.6.31.1/arch/m68k/kernel/setup.c
> [ALL ] linux-2.6.31.1/arch/m68k/kernel/signal.c
> [ALL ]
> [ALL ] bzip2: Compressed file ends unexpectedly;
> [ALL ] perhaps it is corrupted? *Possible* reason follows.
> [ALL ] bzip2: Inappropriate ioctl for device
> [ALL ] Input file = (stdin), output file = (stdout)
> [ALL ]
> [ALL ] It is possible that the compressed file(s) have become corrupted.
> [ALL ] You can use the -tvv option to test integrity of such files.
> [ALL ]
> [ALL ] You can use the `bzip2recover' program to attempt to recover
> [ALL ] data from undamaged sections of corrupted files.
> [ALL ]
> [ALL ] tar: Unexpected EOF in archive
> [ALL ] tar: Unexpected EOF in archive
> [ALL ] tar: Error is not recoverable: exiting now
> [ERROR] Build failed in step 'Extracting and patching toolchain components'
> [ERROR] Error happened in
> '/home/shaahul/felabs/sysdev/toolchain/crosstool-ng-1.5.3/scripts/functions'
> in function 'CT_DoExecLog' (line unknown, sorry)
> [ERROR] called from
> '/home/shaahul/felabs/sysdev/toolchain/crosstool-ng-1.5.3/scripts/functions'
> at line # 565 in function 'CT_Extract'
> [ERROR] called from
> '/home/shaahul/felabs/sysdev/toolchain/crosstool-ng-1.5.3/scripts/build/kernel/linux.sh'
> at line # 25 in function 'do_kernel_extract'
> [ERROR] called from
> '/home/shaahul/felabs/sysdev/toolchain/crosstool-ng-1.5.3/scripts/crosstool-NG.sh'
> at line # 510 in function 'main'
> [ERROR] Look at
> '/usr/local/xtools/arm-unknown-linux-uclibcgnueabi/build.log' for more
> info on this error.
> [ERROR] (elapsed: 71:27.80)
>

Attachment: build.log.bz2
Description: BZip2 compressed data

--
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]