Re: [U-Boot] u-boot build error in current git tree

2013-09-10 Thread Axel Lin
2013/9/11 Fabio Estevam :
> On Tue, Sep 10, 2013 at 12:30 AM, Axel Lin  wrote:
>> Hit below build errors (on ARM platforms):
>>
>> axel@phoenix:~/repos/git/u-boot$ make mx31pdk
>> Configuring for mx31pdk board...
>> make
>
> Are you able to reproduce the error if you run "make mrproper" first?
>
> I was not to able to reproduce the error here.

Hi,
I cannot reproduce it today!
(It's very strange, I did nothing different to compile it yesterday.)
So please ignore this report now.
If I found the way to reproduce it again, I'll post again.
Sorry for the noise.

Regards,
Axel
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] u-boot build error in current git tree

2013-09-10 Thread Fabio Estevam
On Tue, Sep 10, 2013 at 12:30 AM, Axel Lin  wrote:
> Hit below build errors (on ARM platforms):
>
> axel@phoenix:~/repos/git/u-boot$ make mx31pdk
> Configuring for mx31pdk board...
> make

Are you able to reproduce the error if you run "make mrproper" first?

I was not to able to reproduce the error here.
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] u-boot build error in current git tree

2013-09-10 Thread Albert ARIBAUD
Hi Axel,

On Tue, 10 Sep 2013 11:30:35 +0800, Axel Lin 
wrote:

> Hit below build errors (on ARM platforms):
> 
> axel@phoenix:~/repos/git/u-boot$ make mx31pdk

Which commit, which toolchain? With gcc version 4.7.3 (Ubuntu/Linaro
4.7.3-1ubuntu1), current u-boot-arm/master and u-boot/master both build
mx31pdk fine.

Amicalement,
-- 
Albert.
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


[U-Boot] u-boot build error in current git tree

2013-09-09 Thread Axel Lin
Hit below build errors (on ARM platforms):

axel@phoenix:~/repos/git/u-boot$ make mx31pdk
Configuring for mx31pdk board...
make
make[1]: Entering directory `/home/axel/repos/git/u-boot'
Generating include/autoconf.mk
Generating include/autoconf.mk.dep
make[1]: Leaving directory `/home/axel/repos/git/u-boot'
make[1]: Entering directory `/home/axel/repos/git/u-boot'
Generating include/spl-autoconf.mk
Generating include/tpl-autoconf.mk
arm-unknown-linux-gnueabi-gcc -DDO_DEPS_ONLY \
-g  -Os   -ffunction-sections -fdata-sections -fno-common 
-ffixed-r8 -msoft-float  -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x87e0 
-I/home/axel/repos/git/u-boot/include -fno-builtin -ffreestanding -nostdinc 
-isystem 
/opt/arm/gcc-4.6.3-nolibc/arm-unknown-linux-gnueabi/bin/../lib/gcc/arm-unknown-linux-gnueabi/4.6.3/include
 -pipe  -DCONFIG_ARM -D__ARM__ -marm -mno-thumb-interwork -mabi=aapcs-linux 
-march=armv5 -Wall -Wstrict-prototypes -fno-stack-protector 
-Wno-format-nonliteral -Wno-format-security -fstack-usage   \
-o lib/asm-offsets.s lib/asm-offsets.c -c -S
Generating include/generated/generic-asm-offsets.h
tools/scripts/make-asm-offsets lib/asm-offsets.s 
include/generated/generic-asm-offsets.h
if [ -f arch/arm/cpu/arm1136/mx31/asm-offsets.c ];then \
arm-unknown-linux-gnueabi-gcc -DDO_DEPS_ONLY \
-g  -Os   -ffunction-sections -fdata-sections -fno-common 
-ffixed-r8 -msoft-float  -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x87e0 
-I/home/axel/repos/git/u-boot/include -fno-builtin -ffreestanding -nostdinc 
-isystem 
/opt/arm/gcc-4.6.3-nolibc/arm-unknown-linux-gnueabi/bin/../lib/gcc/arm-unknown-linux-gnueabi/4.6.3/include
 -pipe  -DCONFIG_ARM -D__ARM__ -marm -mno-thumb-interwork -mabi=aapcs-linux 
-march=armv5 -Wall -Wstrict-prototypes -fno-stack-protector 
-Wno-format-nonliteral -Wno-format-security -fstack-usage   \
-o arch/arm/cpu/arm1136/mx31/asm-offsets.s 
arch/arm/cpu/arm1136/mx31/asm-offsets.c -c -S; \
else \
touch arch/arm/cpu/arm1136/mx31/asm-offsets.s; \
fi
Generating include/generated/asm-offsets.h
tools/scripts/make-asm-offsets arch/arm/cpu/arm1136/mx31/asm-offsets.s 
include/generated/asm-offsets.h
for dir in tools examples/standalone examples/api arch/arm/cpu/arm1136  ; do \
make -C $dir _depend ; done
make[2]: Entering directory `/home/axel/repos/git/u-boot/tools'
make[2]: Nothing to be done for `_depend'.
make[2]: Leaving directory `/home/axel/repos/git/u-boot/tools'
make[2]: Entering directory `/home/axel/repos/git/u-boot/examples/standalone'
make[2]: Nothing to be done for `_depend'.
make[2]: Leaving directory `/home/axel/repos/git/u-boot/examples/standalone'
make[2]: Entering directory `/home/axel/repos/git/u-boot/examples/api'
make[2]: Nothing to be done for `_depend'.
make[2]: Leaving directory `/home/axel/repos/git/u-boot/examples/api'
make[2]: Entering directory `/home/axel/repos/git/u-boot/arch/arm/cpu/arm1136'
make[2]: Nothing to be done for `_depend'.
make[2]: Leaving directory `/home/axel/repos/git/u-boot/arch/arm/cpu/arm1136'
make -C tools all
make[2]: Entering directory `/home/axel/repos/git/u-boot/tools'
make[2]: *** No rule to make target 
`/home/axel/repos/git/u-boot/include/asm/arch/cpu.h', needed by 
`env_embedded.o'.  Stop.
make[2]: Leaving directory `/home/axel/repos/git/u-boot/tools'
make[1]: *** [tools] Error 2
make[1]: Leaving directory `/home/axel/repos/git/u-boot'
make: *** [mx31pdk] Error 2

And also hit build error for "make omap3_beagle":

$ make omap3_beagle
Configuring for omap3_beagle board...
make
make[1]: Entering directory `/home/axel/repos/git/u-boot'
Generating include/autoconf.mk
Generating include/autoconf.mk.dep
make[1]: Leaving directory `/home/axel/repos/git/u-boot'
make[1]: Entering directory `/home/axel/repos/git/u-boot'
Generating include/spl-autoconf.mk
Generating include/tpl-autoconf.mk
arm-unknown-linux-gnueabi-gcc -DDO_DEPS_ONLY \
-g  -Os   -ffunction-sections -fdata-sections -fno-common 
-ffixed-r8 -msoft-float  -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x8010 
-I/home/axel/repos/git/u-boot/include -fno-builtin -ffreestanding -nostdinc 
-isystem 
/opt/arm/gcc-4.6.3-nolibc/arm-unknown-linux-gnueabi/bin/../lib/gcc/arm-unknown-linux-gnueabi/4.6.3/include
 -pipe  -DCONFIG_ARM -D__ARM__ -marm -mno-thumb-interwork -mabi=aapcs-linux 
-march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector 
-Wno-format-nonliteral -Wno-format-security -fstack-usage   \
-o lib/asm-offsets.s lib/asm-offsets.c -c -S
Generating include/generated/generic-asm-offsets.h
tools/scripts/make-asm-offsets lib/asm-offsets.s 
include/generated/generic-asm-offsets.h
if [ -f arch/arm/cpu/armv7/omap3/asm-offsets.c ];then \
arm-unknown-linux-gnueabi-gcc -DDO_DEPS_ONLY \
-g  -Os   -ffunction-sections -fdata-sections -fno-common 
-ffixed-r8 -msoft-float  -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x8010 
-