public inbox for crossgcc@sourceware.org
 help / color / mirror / Atom feed
* crosstool-NG Build ERROR
@ 2010-01-31 15:04 Shaahul Hameed
  2010-01-31 17:43 ` Shaahul Hameed
  0 siblings, 1 reply; 8+ messages in thread
From: Shaahul Hameed @ 2010-01-31 15:04 UTC (permalink / raw)
  To: crossgcc

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)

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

^ permalink raw reply	[flat|nested] 8+ messages in thread
* crosstool-ng build error
@ 2022-12-08  5:46 swikar
  2022-12-08  9:01 ` Tommy Murphy
  0 siblings, 1 reply; 8+ messages in thread
From: swikar @ 2022-12-08  5:46 UTC (permalink / raw)
  To: crossgcc


[-- Attachment #1.1: Type: text/plain, Size: 1872 bytes --]

hi,

I am getting below mentioned error

swikarsoni@swikar-soni:/mnt/d/embedded_linux_course/toolchain_understanding/crosstool-ng$
bin/ct-ng build
[INFO ]  Performing some trivial sanity checks
[WARN ]  Number of open files 1024 may not be sufficient to build the
toolchain; increasing to 2048
[ERROR]  Your file system in
'/mnt/d/embedded_linux_course/toolchain_understanding/crosstool-ng/.build'
is *not* case-sensitive!
[ERROR]
[ERROR]  >>
[ERROR]  >>  Build failed in step '(top-level)'
[ERROR]  >>
[ERROR]  >>  Error happened in: CT_Abort[scripts/functions@487]
[ERROR]  >>        called from: CT_TestAndAbort[scripts/functions@507]
[ERROR]  >>        called from: main[scripts/crosstool-NG.sh@123]
[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]  >>      https://crosstool-ng.github.io/docs/known-issues/
[ERROR]  >>
[ERROR]  >>  If you feel this is a bug in crosstool-NG, report it at:
[ERROR]  >>      https://github.com/crosstool-ng/crosstool-ng/issues/
[ERROR]  >>
[ERROR]  >>  Make sure your report includes all the information pertinent
to this issue.
[ERROR]  >>  Read the bug reporting guidelines here:
[ERROR]  >>      http://crosstool-ng.github.io/support/
[ERROR]
[ERROR]  (elapsed: 27841302:31.44)
[00:00] / gmake: *** [bin/ct-ng:261: build] Error 1



*ct-ng --version*
swikarsoni@swikar-soni:/mnt/d/embedded_linux_course/toolchain_understanding/crosstool-ng$
bin/ct-ng --version
GNU Make 4.3
Built for x86_64-pc-linux-gnu
Copyright (C) 1988-2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html
>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

kindly help to resolve this error.

Regards,
Swikar Soni

[-- Attachment #2: .build.log.txt --]
[-- Type: text/plain, Size: 2061 bytes --]

[DEBUG]  Testing '! ( -n  )'
[INFO ]  Performing some trivial sanity checks
[DEBUG]  Testing '! ( -n  )'
[DEBUG]  Testing '! ( -n  )'
[DEBUG]  Testing '! ( -n  )'
[DEBUG]  Testing '! ( -n  )'
[DEBUG]  Testing '! ( -n  )'
[DEBUG]  Testing '! ( -n  )'
[DEBUG]  Testing '! ( -n  )'
[DEBUG]  Testing '! ( -n  )'
[DEBUG]  Testing '! ( -n  )'
[DEBUG]  Testing '! ( -n  )'
[DEBUG]  Testing '! ( -n  )'
[DEBUG]  Testing '! ( -n  )'
[DEBUG]  Sanitized 'CT_INSTALL_DIR': '/mnt/d/embedded_linux_course/toolchain_understanding/crosstool-ng/' -> '/mnt/d/embedded_linux_course/toolchain_understanding/crosstool-ng/'
[WARN ]  Number of open files 1024 may not be sufficient to build the toolchain; increasing to 2048
[DEBUG]  ==> Executing:  'mkdir' '-p' '/mnt/d/embedded_linux_course/toolchain_understanding/crosstool-ng/.build'
[DEBUG]  ==> Return status 0
[DEBUG]  ==> Executing:  'rm' '-f' '/mnt/d/embedded_linux_course/toolchain_understanding/crosstool-ng/.build/backtrace'
[DEBUG]  ==> Return status 0
[DEBUG]  ==> Executing:  'touch' '/mnt/d/embedded_linux_course/toolchain_understanding/crosstool-ng/.build/foo'
[DEBUG]  ==> Return status 0
[DEBUG]  Testing '! ( -f /mnt/d/embedded_linux_course/toolchain_understanding/crosstool-ng/.build/FOO )'
[ERROR]  Your file system in '/mnt/d/embedded_linux_course/toolchain_understanding/crosstool-ng/.build' is *not* case-sensitive!
[ERROR]
[ERROR]  >>
[ERROR]  >>  Build failed in step '(top-level)'
[ERROR]  >>
[ERROR]  >>  Error happened in: CT_Abort[scripts/functions@487]
[ERROR]  >>        called from: CT_TestAndAbort[scripts/functions@507]
[ERROR]  >>        called from: main[scripts/crosstool-NG.sh@123]
[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]  >>      https://crosstool-ng.github.io/docs/known-issues/
[ERROR]  >>
[ERROR]  >>  If you feel this is a bug in crosstool-NG, report it at:
[ERROR]  >>      https://github.com/crosstool-ng/crosstool-ng/issues/

[-- Attachment #3: .config --]
[-- Type: application/xml, Size: 14939 bytes --]

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

end of thread, other threads:[~2022-12-08  9:17 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-01-31 15:04 crosstool-NG Build ERROR Shaahul Hameed
2010-01-31 17:43 ` Shaahul Hameed
2010-01-31 17:51   ` Yann E. MORIN
2010-01-31 18:03     ` Shaahul Hameed
2022-12-08  5:46 crosstool-ng build error swikar
2022-12-08  9:01 ` Tommy Murphy
2022-12-08  9:10   ` swikar
2022-12-08  9:17     ` Bryan Hundven

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