[U-Boot-Users] necessary fix for ARM u-boot 1.1.1 and GCC3.4.0.

Robert Schwebel robert at schwebel.de
Fri Jun 11 07:53:18 CEST 2004


On Thu, Jun 10, 2004 at 04:53:13PM -0500, Woodruff, Richard wrote:
> I just found that lib_arm/board.c:start_armboot()'s GCC3.4.0 generated
> code sequence breaks ARM u-boot's.  I am using the GCC3.4.0 which
> CodeSourcery put out.

Hmm, that suggests that you have been able to compile it at all? I just
tried current CVS with the crosstool-0.28-rc23 gcc and it breaks: 

----------8<----------8<----------8<----------8<----------8<----------
arm-softfloat-linux-gnu-gcc -M -g  -Os   -fno-strict-aliasing -fno-common -ffixed-r8 -mshort-load-bytes -msoft-float -D__KERNEL__ -DTEXT_BASE=0xa1fe0000 -I/home/robert/work/u-boot-maintainance/include -msoft-float -fno-builtin -ffreestanding -nostdinc -isystem /ptx/opt/crosstool/arm-softfloat-linux-gnu/gcc-3.4.0-glibc-2.3.2/bin/../lib/gcc/arm-softfloat-linux-gnu/3.4.0/include -pipe  -DCONFIG_ARM -D__ARM__ -mapcs-32 -march=armv5 -mtune=xscale -Wall -Wstrict-prototypes hello_world.c stubs.c  > .depend
cc1: error: invalid option `short-load-bytes'
cc1: error: invalid option `short-load-bytes'
make[1]: *** [.depend] Error 1
----------8<----------8<----------8<----------8<----------8<----------

Robert
-- 
 Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de
 Pengutronix - Linux Solutions for Science and Industry
   Handelsregister:  Amtsgericht Hildesheim, HRA 2686
     Hornemannstraße 12,  31137 Hildesheim, Germany
    Phone: +49-5121-28619-0 |  Fax: +49-5121-28619-4




More information about the U-Boot mailing list