[U-Boot] [STATUS] ARM - many build problems

2012-07-08 Thread Wolfgang Denk
Hi all,

after merging the latest ARM pull request, a large number of boards is
broken:

- SUMMARY 
Boards compiled: 302
Boards with errors: 6 ( harmony seaboard ventana whistler paz00
trimslice )
Boards with warnings but no errors: 49 ( ca9x4_ct_vxp am335x_evm
highbank efikamx efikasb mx51evk mx53ard mx53evk mx53loco mx53smd
ima3-mx53 vision2 mx6qarm2 mx6qsabrelite cm_t35 omap3_overo
omap3_pandora dig297 igep0020 igep0030 am3517_evm mt_ventoux
omap3_zoom1 omap3_zoom2 omap3_logic omap3_mvblx am3517_crane
omap3_beagle omap3_evm omap3_evm_quick_mmc omap3_evm_quick_nand
omap3_sdp3430 devkit8000 mcx tricorder twister omap4_panda
omap4_sdp4430 omap5_evm s5p_goni smdkc100 origen s5pc210_universal
smdk5250 smdkv310 trats u8500_href plutux medcom )
--

The hard errors (harmony seaboard ventana whistler paz00 trimslice )
all look like this - mind the "/bin/sh: line 1: exit: too many
arguments" error:


Configuring for harmony board...
make[1]: *** [/work/wd/tmp-arm/dts/dt.dtb] Error 1
make: *** [/work/wd/tmp-arm/u-boot.dtb] Error 2
   textdata bss dec hex filename
 2251144264  278692  508070   7c0a6 /work/wd/tmp-arm/u-boot
cpu.c: In function 'save_boot_params_default':
cpu.c:48:1: warning: -fstack-usage not supported for this target
[enabled by default]
/bin/sh: line 1: exit: too many arguments
make[1]: *** [/work/wd/tmp-arm/dts/dt.dtb] Error 1
make: *** [/work/wd/tmp-arm/u-boot.dtb] Error 2
make: *** Waiting for unfinished jobs


The build warnings are all of the "warning: -fstack-usage not
supported for this target" kind also shown in this example.



Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de
A year spent in artificial intelligence is enough to make one believe
in God.
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] [STATUS] ARM - many build problems

2012-07-08 Thread Tetsuyuki Kobayashi
Dear Wolfgang Denk,

(07/09/2012 07:25 AM), Wolfgang Denk wrote:

> cpu.c: In function 'save_boot_params_default':
> cpu.c:48:1: warning: -fstack-usage not supported for this target
> [enabled by default]
> /bin/sh: line 1: exit: too many arguments
> make[1]: *** [/work/wd/tmp-arm/dts/dt.dtb] Error 1
> make: *** [/work/wd/tmp-arm/u-boot.dtb] Error 2
> make: *** Waiting for unfinished jobs
> 
> 
> The build warnings are all of the "warning: -fstack-usage not
> supported for this target" kind also shown in this example.

I am sorry for stopping your hands.
My patch causes this warning. It is already pointed by Tom, but merged 
accidentally.
[PATCH v3] arm: bugfix: save_boot_params_default accesses uninitalized stack 
when -O0
http://lists.denx.de/pipermail/u-boot/2012-July/127693.html
Please revert this to stop warnings.

I have posted the update patch.
[PATCH v5] arm: bugfix: save_boot_params_default accesses uninitalized stack 
when -O0
http://lists.denx.de/pipermail/u-boot/2012-July/127844.html

Tom, Albert, please review my v5 patch.
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] [STATUS] ARM - many build problems

2012-07-08 Thread Thierry Reding
On Mon, Jul 09, 2012 at 12:25:27AM +0200, Wolfgang Denk wrote:
> Hi all,
> 
> after merging the latest ARM pull request, a large number of boards is
> broken:
> 
> - SUMMARY 
> Boards compiled: 302
> Boards with errors: 6 ( harmony seaboard ventana whistler paz00
> trimslice )
> Boards with warnings but no errors: 49 ( ca9x4_ct_vxp am335x_evm
> highbank efikamx efikasb mx51evk mx53ard mx53evk mx53loco mx53smd
> ima3-mx53 vision2 mx6qarm2 mx6qsabrelite cm_t35 omap3_overo
> omap3_pandora dig297 igep0020 igep0030 am3517_evm mt_ventoux
> omap3_zoom1 omap3_zoom2 omap3_logic omap3_mvblx am3517_crane
> omap3_beagle omap3_evm omap3_evm_quick_mmc omap3_evm_quick_nand
> omap3_sdp3430 devkit8000 mcx tricorder twister omap4_panda
> omap4_sdp4430 omap5_evm s5p_goni smdkc100 origen s5pc210_universal
> smdk5250 smdkv310 trats u8500_href plutux medcom )
> --
> 
> The hard errors (harmony seaboard ventana whistler paz00 trimslice )
> all look like this - mind the "/bin/sh: line 1: exit: too many
> arguments" error:
> 
> 
> Configuring for harmony board...
> make[1]: *** [/work/wd/tmp-arm/dts/dt.dtb] Error 1
> make: *** [/work/wd/tmp-arm/u-boot.dtb] Error 2
>textdata bss dec hex filename
>  2251144264  278692  508070   7c0a6 /work/wd/tmp-arm/u-boot
> cpu.c: In function 'save_boot_params_default':
> cpu.c:48:1: warning: -fstack-usage not supported for this target
> [enabled by default]
> /bin/sh: line 1: exit: too many arguments
> make[1]: *** [/work/wd/tmp-arm/dts/dt.dtb] Error 1
> make: *** [/work/wd/tmp-arm/u-boot.dtb] Error 2
> make: *** Waiting for unfinished jobs

These have been fixed in tegra/master by the following commit:

commit 329b71b234fd2dcc60a1369d411e4b55a8117df9
Author: Stephen Warren 
Date:   Fri Jun 8 12:28:17 2012 +

fdt: send all dtc output to stderr

Commit 896bbb5 "fdt: avoid bad MAKEALL status" added logic to 
capture
the result code from dtc by echoing $? to stdout and capturing it 
using
$(). However, dtc emits some diagnostics to stderr and some to 
stdout.
The diagnostics send to stdout ended up getting captured via $() 
rather
than being echo'd to the user. This caused those diagnostics to be 
passed
to the exit command, which would then fail with the following 
cryptic
error message:

/bin/sh: line 1: exit: too many arguments

Solve this by redirecting all dtc output to stderr so that $() does 
not
capture it. This allows the user to see the actual error message 
from dtc.

Cc: Wolfgang Denk 
Cc: Simon Glass 
Cc: albert.u.b...@aribaud.net
Cc: Tom Warren 
Signed-off-by: Stephen Warren 
Acked-by: Simon Glass 
Signed-off-by: Tom Warren 

Thierry


pgp7Z6O7O898L.pgp
Description: PGP signature
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] [STATUS] ARM - many build problems

2012-07-09 Thread Wolfgang Denk
Dear Thierry Reding,

In message <20120709061003.ga10...@avionic-0098.mockup.avionic-design.de> you 
wrote:
> 
> These have been fixed in tegra/master by the following commit:
> 
>   commit 329b71b234fd2dcc60a1369d411e4b55a8117df9
>   Author: Stephen Warren 
>   Date:   Fri Jun 8 12:28:17 2012 +

Thanks for the pointer.  I was aware of that patch, but didn't see the
relation from the subject.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de
"One day," said a dull voice from down below, "I'm going to  be  back
in  form again and you're going to be very sorry you said that. For a
very long time. I might even go so far as to make even more Time just
for you to be sorry in."  - Terry Pratchett, _Small Gods_
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot