public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: jxnuxdy <jxnuxdy@163.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Linux kernel hang (infinite loop)
Date: Wed, 26 Dec 2007 10:38:18 +0800 (CST)	[thread overview]
Message-ID: <567567.751661198636698510.JavaMail.coremail@bj163app54.163.com> (raw)
In-Reply-To: <20060718064038.3994E352681@atlas.denx.de>

Hi guys,
 
    I am now working on ELDK4.1+u-boot.1.3.1 in my Ubuntu linux, however I encounter a weird problem when I tried to compile u-boot each time with command:
make distclean;make B2_config;make clean;make
(see log)
 
But I can compile with command:
make distclean;make B2_config;make clean;make;make
(see log)
 
Why I can't compile u-boot in the first time? while I can compile it in the second time.
 
 
log as below:
denny at ubuntu:/arm44b0/u-boot-1.3.1$ make clean;make
find /arm44b0/u-boot-1.3.1 -type f \
\( -name 'core' -o -name '*.bak' -o -name '*~' \
-o -name '*.o'  -o -name '*.a'  \) -print \
| xargs rm -f
rm -f examples/hello_world examples/timer \
      examples/eepro100_eeprom examples/sched \
      examples/mem_to_mem_idma2intr examples/82559_eeprom \
      examples/smc91111_eeprom examples/interrupt \
      examples/test_burst
rm -f tools/img2srec tools/mkimage tools/envcrc \
        tools/gen_eth_addr tools/ubsha1
rm -f tools/mpc86x_clk tools/ncb
rm -f tools/easylogo/easylogo tools/bmp_logo
rm -f tools/gdb/astest tools/gdb/gdbcont tools/gdb/gdbsend
rm -f tools/env/fw_printenv tools/env/fw_setenv
rm -f board/cray/L1/bootscript.c board/cray/L1/bootscript.image
rm -f board/netstar/eeprom board/netstar/crcek board/netstar/crcit
rm -f board/netstar/*.srec board/netstar/*.bin
rm -f board/trab/trab_fkt board/voiceblue/eeprom
rm -f board/integratorap/u-boot.lds board/integratorcp/u-boot.lds
rm -f board/bf533-ezkit/u-boot.lds board/bf533-stamp/u-boot.lds
rm -f board/bf537-stamp/u-boot.lds board/bf561-ezkit/u-boot.lds
rm -f include/bmp_logo.h
rm -f nand_spl/u-boot-spl nand_spl/u-boot-spl.map
for dir in tools examples ; do make -C $dir _depend ; done
make[1]: Entering directory `/arm44b0/u-boot-1.3.1/tools'
make[1]: Nothing to be done for `_depend'.
make[1]: Leaving directory `/arm44b0/u-boot-1.3.1/tools'
make[1]: Entering directory `/arm44b0/u-boot-1.3.1/examples'
make[1]: Nothing to be done for `_depend'.
make[1]: Leaving directory `/arm44b0/u-boot-1.3.1/examples'
make -C tools all
make[1]: Entering directory `/arm44b0/u-boot-1.3.1/tools'
gcc -Wall -pedantic -idirafter /arm44b0/u-boot-1.3.1/include -idirafter /arm44b0/u-boot-1.3.1/include2 -idirafter /arm44b0/u-boot-1.3.1/include -DTEXT_BASE=0x0C100000 -DUSE_HOSTCC -O -c -o img2srec.o img2srec.c
gcc -Wall -pedantic -idirafter /arm44b0/u-boot-1.3.1/include -idirafter /arm44b0/u-boot-1.3.1/include2 -idirafter /arm44b0/u-boot-1.3.1/include -DTEXT_BASE=0x0C100000 -DUSE_HOSTCC -O  -o img2srec img2srec.o
strip img2srec
gcc -g -Wall -pedantic -idirafter /arm44b0/u-boot-1.3.1/include -idirafter /arm44b0/u-boot-1.3.1/include2 -idirafter /arm44b0/u-boot-1.3.1/include -DTEXT_BASE=0x0C100000 -DUSE_HOSTCC -O -c -o mkimage.o mkimage.c
gcc -g -Wall -pedantic -idirafter /arm44b0/u-boot-1.3.1/include -idirafter /arm44b0/u-boot-1.3.1/include2 -idirafter /arm44b0/u-boot-1.3.1/include -DTEXT_BASE=0x0C100000 -DUSE_HOSTCC -O -c -o crc32.o crc32.c
gcc -g -Wall -pedantic -idirafter /arm44b0/u-boot-1.3.1/include -idirafter /arm44b0/u-boot-1.3.1/include2 -idirafter /arm44b0/u-boot-1.3.1/include -DTEXT_BASE=0x0C100000 -DUSE_HOSTCC -O -c -o sha1.o sha1.c
sha1.c: In function 'sha1_update':
sha1.c:245: warning: implicit declaration of function 'memcpy'
sha1.c:245: warning: incompatible implicit declaration of built-in function 'memcpy'
sha1.c:259: warning: incompatible implicit declaration of built-in function 'memcpy'
sha1.c: In function 'sha1_hmac':
sha1.c:323: warning: implicit declaration of function 'memset'
sha1.c:323: warning: incompatible implicit declaration of built-in function 'memset'
gcc -Wall -pedantic -idirafter /arm44b0/u-boot-1.3.1/include -idirafter /arm44b0/u-boot-1.3.1/include2 -idirafter /arm44b0/u-boot-1.3.1/include -DTEXT_BASE=0x0C100000 -DUSE_HOSTCC -O  -o mkimage mkimage.o crc32.o sha1.o
strip mkimage
gcc -g -Wall -pedantic -idirafter /arm44b0/u-boot-1.3.1/include -idirafter /arm44b0/u-boot-1.3.1/include2 -idirafter /arm44b0/u-boot-1.3.1/include -DTEXT_BASE=0x0C100000 -DUSE_HOSTCC -O -c -o envcrc.o envcrc.c
gcc -g  -idirafter /arm44b0/u-boot-1.3.1/include -idirafter /arm44b0/u-boot-1.3.1/include2 -idirafter /arm44b0/u-boot-1.3.1/include -DTEXT_BASE=0x0C100000 -DUSE_HOSTCC -c -o environment.o environment.c
gcc -Wall -pedantic -idirafter /arm44b0/u-boot-1.3.1/include -idirafter /arm44b0/u-boot-1.3.1/include2 -idirafter /arm44b0/u-boot-1.3.1/include -DTEXT_BASE=0x0C100000 -DUSE_HOSTCC -O -o envcrc envcrc.o crc32.o environment.o sha1.o
gcc -g -Wall -pedantic -idirafter /arm44b0/u-boot-1.3.1/include -idirafter /arm44b0/u-boot-1.3.1/include2 -idirafter /arm44b0/u-boot-1.3.1/include -DTEXT_BASE=0x0C100000 -DUSE_HOSTCC -O -c -o ubsha1.o ubsha1.c
gcc -Wall -pedantic -idirafter /arm44b0/u-boot-1.3.1/include -idirafter /arm44b0/u-boot-1.3.1/include2 -idirafter /arm44b0/u-boot-1.3.1/include -DTEXT_BASE=0x0C100000 -DUSE_HOSTCC -O -o ubsha1 ubsha1.o sha1.o
gcc -g -Wall -pedantic -idirafter /arm44b0/u-boot-1.3.1/include -idirafter /arm44b0/u-boot-1.3.1/include2 -idirafter /arm44b0/u-boot-1.3.1/include -DTEXT_BASE=0x0C100000 -DUSE_HOSTCC -O -c -o gen_eth_addr.o gen_eth_addr.c
gcc -Wall -pedantic -idirafter /arm44b0/u-boot-1.3.1/include -idirafter /arm44b0/u-boot-1.3.1/include2 -idirafter /arm44b0/u-boot-1.3.1/include -DTEXT_BASE=0x0C100000 -DUSE_HOSTCC -O  -o gen_eth_addr gen_eth_addr.o
strip gen_eth_addr
gcc -Wall -pedantic -idirafter /arm44b0/u-boot-1.3.1/include -idirafter /arm44b0/u-boot-1.3.1/include2 -idirafter /arm44b0/u-boot-1.3.1/include -DTEXT_BASE=0x0C100000 -DUSE_HOSTCC -O -c -o bmp_logo.o bmp_logo.c
gcc -Wall -pedantic -idirafter /arm44b0/u-boot-1.3.1/include -idirafter /arm44b0/u-boot-1.3.1/include2 -idirafter /arm44b0/u-boot-1.3.1/include -DTEXT_BASE=0x0C100000 -DUSE_HOSTCC -O  -o bmp_logo bmp_logo.o
strip bmp_logo
/bmp_logo logos/denx.bmp >/arm44b0/u-boot-1.3.1/include/bmp_logo.h
/bmp_logo: 1: Syntax error: word unexpected (expecting ")")
make[1]: *** [/arm44b0/u-boot-1.3.1/include/bmp_logo.h] Error 2
make[1]: Leaving directory `/arm44b0/u-boot-1.3.1/tools'
make: *** [tools] Error 2
denny at ubuntu:/arm44b0/u-boot-1.3.1$ make
for dir in tools examples ; do make -C $dir _depend ; done
make[1]: Entering directory `/arm44b0/u-boot-1.3.1/tools'
make[1]: Nothing to be done for `_depend'.
make[1]: Leaving directory `/arm44b0/u-boot-1.3.1/tools'
make[1]: Entering directory `/arm44b0/u-boot-1.3.1/examples'
make[1]: Nothing to be done for `_depend'.
make[1]: Leaving directory `/arm44b0/u-boot-1.3.1/examples'
make -C tools all
make[1]: Entering directory `/arm44b0/u-boot-1.3.1/tools'
make[1]: Leaving directory `/arm44b0/u-boot-1.3.1/tools'
make -C examples all
make[1]: Entering directory `/arm44b0/u-boot-1.3.1/examples'
arm-linux-gcc -g  -Os   -fno-strict-aliasing  -fno-common -ffixed-r8 -msoft-float  -D__KERNEL__ -DTEXT_BASE=0x0C100000  -I/arm44b0/u-boot-1.3.1/include -fno-builtin -ffreestanding -nostdinc -isystem /arm44b0/eldk/usr/bin/../lib/gcc/arm-linux/4.0.0/include -pipe  -DCONFIG_ARM -D__ARM__ -march=armv4 -mtune=arm7tdmi -msoft-float -mabi=apcs-gnu -Uarm -Wall -Wstrict-prototypes -c -o hello_world.o hello_world.c
arm-linux-gcc -g  -Os   -fno-strict-aliasing  -fno-common -ffixed-r8 -msoft-float  -D__KERNEL__ -DTEXT_BASE=0x0C100000  -I/arm44b0/u-boot-1.3.1/include -fno-builtin -ffreestanding -nostdinc -isystem /arm44b0/eldk/usr/bin/../lib/gcc/arm-linux/4.0.0/include -pipe  -DCONFIG_ARM -D__ARM__ -march=armv4 -mtune=arm7tdmi -msoft-float -mabi=apcs-gnu -Uarm -Wall -Wstrict-prototypes -c -o stubs.o stubs.c
arm-linux-ar crv libstubs.a stubs.o
a - stubs.o
arm-linux-ld -g  -Ttext 0xc100000 \
  -o hello_world -e hello_world hello_world.o libstubs.a \
  -L/arm44b0/eldk/usr/bin/../lib/gcc/arm-linux/4.0.0 -lgcc
arm-linux-objcopy -O srec hello_world hello_world.srec 2>/dev/null
arm-linux-objcopy -O binary hello_world hello_world.bin 2>/dev/null
make[1]: Leaving directory `/arm44b0/u-boot-1.3.1/examples'
make -C cpu/s3c44b0 start.o
make[1]: Entering directory `/arm44b0/u-boot-1.3.1/cpu/s3c44b0'
arm-linux-gcc  -D__ASSEMBLY__ -g  -Os   -fno-strict-aliasing  -fno-common -ffixed-r8 -msoft-float  -D__KERNEL__ -DTEXT_BASE=0x0C100000  -I/arm44b0/u-boot-1.3.1/include -fno-builtin -ffreestanding -nostdinc -isystem /arm44b0/eldk/usr/bin/../lib/gcc/arm-linux/4.0.0/include -pipe  -DCONFIG_ARM -D__ARM__ -march=armv4 -mtune=arm7tdmi -msoft-float -mabi=apcs-gnu -Uarm -c -o start.o start.S
make[1]: Leaving directory `/arm44b0/u-boot-1.3.1/cpu/s3c44b0'
make -C lib_generic/
make[1]: Entering directory `/arm44b0/u-boot-1.3.1/lib_generic'
arm-linux-gcc -g  -Os   -fno-strict-aliasing  -fno-common -ffixed-r8 -msoft-float  -D__KERNEL__ -DTEXT_BASE=0x0C100000  -I/arm44b0/u-boot-1.3.1/include -fno-builtin -ffreestanding -nostdinc -isystem /arm44b0/eldk/usr/bin/../lib/gcc/arm-linux/4.0.0/include -pipe  -DCONFIG_ARM -D__ARM__ -march=armv4 -mtune=arm7tdmi -msoft-float -mabi=apcs-gnu -Uarm -Wall -Wstrict-prototypes -c -o bzlib.o bzlib.c
arm-linux-gcc -g  -Os   -fno-strict-aliasing  -fno-common -ffixed-r8 -msoft-float  -D__KERNEL__ -DTEXT_BASE=0x0C100000  -I/arm44b0/u-boot-1.3.1/include -fno-builtin -ffreestanding -nostdinc -isystem /arm44b0/eldk/usr/bin/../lib/gcc/arm-linux/4.0.0/include -pipe  -DCONFIG_ARM -D__ARM__ -march=armv4 -mtune=arm7tdmi -msoft-float -mabi=apcs-gnu -Uarm -Wall -Wstrict-prototypes -c -o bzlib_crctable.o bzlib_crctable.c
arm-linux-gcc -g  -Os   -fno-strict-aliasing  -fno-common -ffixed-r8 -msoft-float  -D__KERNEL__ -DTEXT_BASE=0x0C100000  -I/arm44b0/u-boot-1.3.1/include -fno-builtin -ffreestanding -nostdinc -isystem /arm44b0/eldk/usr/bin/../lib/gcc/arm-linux/4.0.0/include -pipe  -DCONFIG_ARM -D__ARM__ -march=armv4 -mtune=arm7tdmi -msoft-float -mabi=apcs-gnu -Uarm -Wall -Wstrict-prototypes -c -o bzlib_decompress.o bzlib_decompress.c
arm-linux-gcc -g  -Os   -fno-strict-aliasing  -fno-common -ffixed-r8 -msoft-float  -D__KERNEL__ -DTEXT_BASE=0x0C100000  -I/arm44b0/u-boot-1.3.1/include -fno-builtin -ffreestanding -nostdinc -isystem /arm44b0/eldk/usr/bin/../lib/gcc/arm-linux/4.0.0/include -pipe  -DCONFIG_ARM -D__ARM__ -march=armv4 -mtune=arm7tdmi -msoft-float -mabi=apcs-gnu -Uarm -Wall -Wstrict-prototypes -c -o bzlib_randtable.o bzlib_randtable.c
arm-linux-gcc -g  -Os   -fno-strict-aliasing  -fno-common -ffixed-r8 -msoft-float  -D__KERNEL__ -DTEXT_BASE=0x0C100000  -I/arm44b0/u-boot-1.3.1/include -fno-builtin -ffreestanding -nostdinc -isystem /arm44b0/eldk/usr/bin/../lib/gcc/arm-linux/4.0.0/include -pipe  -DCONFIG_ARM -D__ARM__ -march=armv4 -mtune=arm7tdmi -msoft-float -mabi=apcs-gnu -Uarm -Wall -Wstrict-prototypes -c -o bzlib_huffman.o bzlib_huffman.c
arm-linux-gcc -g  -Os   -fno-strict-aliasing  -fno-common -ffixed-r8 -msoft-float  -D__KERNEL__ -DTEXT_BASE=0x0C100000  -I/arm44b0/u-boot-1.3.1/include -fno-builtin -ffreestanding -nostdinc -isystem /arm44b0/eldk/usr/bin/../lib/gcc/arm-linux/4.0.0/include -pipe  -DCONFIG_ARM -D__ARM__ -march=armv4 -mtune=arm7tdmi -msoft-float -mabi=apcs-gnu -Uarm -Wall -Wstrict-prototypes -c -o crc32.o crc32.c
arm-linux-gcc -g  -Os   -fno-strict-aliasing  -fno-common -ffixed-r8 -msoft-float  -D__KERNEL__ -DTEXT_BASE=0x0C100000  -I/arm44b0/u-boot-1.3.1/include -fno-builtin -ffreestanding -nostdinc -isystem /arm44b0/eldk/usr/bin/../lib/gcc/arm-linux/4.0.0/include -pipe  -DCONFIG_ARM -D__ARM__ -march=armv4 -mtune=arm7tdmi -msoft-float -mabi=apcs-gnu -Uarm -Wall -Wstrict-prototypes -c -o ctype.o ctype.c
arm-linux-gcc -g  -Os   -fno-strict-aliasing  -fno-common -ffixed-r8 -msoft-float  -D__KERNEL__ -DTEXT_BASE=0x0C100000  -I/arm44b0/u-boot-1.3.1/include -fno-builtin -ffreestanding -nostdinc -isystem /arm44b0/eldk/usr/bin/../lib/gcc/arm-linux/4.0.0/include -pipe  -DCONFIG_ARM -D__ARM__ -march=armv4 -mtune=arm7tdmi -msoft-float -mabi=apcs-gnu -Uarm -Wall -Wstrict-prototypes -c -o display_options.o display_options.c
arm-linux-gcc -g  -Os   -fno-stri
.....
 
 
,Regards
- Denny
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20071226/4b9d13a1/attachment.htm 

  reply	other threads:[~2007-12-26  2:38 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-17 23:52 [U-Boot-Users] Linux kernel hang (infinite loop) Madhu Saravana Sibi Govindan
2006-07-18  6:27 ` Stefan Roese
2006-07-18  6:40 ` Wolfgang Denk
2007-12-26  2:38   ` jxnuxdy [this message]
2007-12-26  2:40     ` [U-Boot-Users] Can't compile u-boot-1.3.1 in the first time jxnuxdy
2007-12-26  9:05     ` [U-Boot-Users] Linux kernel hang (infinite loop) Wolfgang Denk
2007-12-27  1:16       ` [U-Boot-Users] About the compile problem for eldk4.1+u-boot.1.3.1 jxnuxdy
2007-12-27  1:47         ` Wolfgang Denk
2007-12-29  2:43           ` jxnuxdy
2007-12-29 14:21             ` Wolfgang Denk
2008-01-02  4:54               ` [U-Boot-Users] how to convert u-boot to s19 file format jxnuxdy
2008-01-02  8:55                 ` Wolfgang Denk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=567567.751661198636698510.JavaMail.coremail@bj163app54.163.com \
    --to=jxnuxdy@163.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox