[U-Boot-Users] 1.3.3-rc2 - release status
Matthias Fuchs
matthias.fuchs at esd-electronics.com
Wed Apr 30 09:36:46 CEST 2008
Hi,
I noticed some warnings when compiling recent U-Boot source for some 4xx boards
with gcc 4.0.0 or 4.2.2. Perhaps somebody has a clue on how to get rid of these:
gcc -g -Wall -pedantic -idirafter /data/home/matthias/git/u-boot/u-boot/include -idirafter /data/home/matthias/git/u-boot/u-boot/include2 -idirafter /data/home/matthias/git/u-boot/u-boot/include -DTEXT_BASE=0xFFFA0000 -DUSE_HOSTCC -O -c -o md5.o md5.c
md5.c: In function ‘MD5Update’:
md5.c:95: warning: implicit declaration of function ‘memmove’
md5.c:95: warning: incompatible implicit declaration of built-in function ‘memmove’
md5.c:98: warning: incompatible implicit declaration of built-in function ‘memmove’
md5.c:107: warning: incompatible implicit declaration of built-in function ‘memmove’
md5.c:116: warning: incompatible implicit declaration of built-in function ‘memmove’
md5.c: In function ‘MD5Final’:
md5.c:143: warning: implicit declaration of function ‘memset’
md5.c:143: warning: incompatible implicit declaration of built-in function ‘memset’
md5.c:151: warning: incompatible implicit declaration of built-in function ‘memset’
md5.c:161: warning: incompatible implicit declaration of built-in function ‘memmove’
md5.c:162: warning: incompatible implicit declaration of built-in function ‘memset’
gcc -g -Wall -pedantic -idirafter /data/home/matthias/git/u-boot/u-boot/include -idirafter /data/home/matthias/git/u-boot/u-boot/include2 -idirafter /data/home/matthias/git/u-boot/u-boot/include -DTEXT_BASE=0xFFFA0000 -DUSE_HOSTCC -O -c -o sha1.o sha1.c
sha1.c: In function ‘sha1_update’:
sha1.c:249: warning: implicit declaration of function ‘memcpy’
sha1.c:249: warning: incompatible implicit declaration of built-in function ‘memcpy’
sha1.c:263: warning: incompatible implicit declaration of built-in function ‘memcpy’
sha1.c: In function ‘sha1_hmac’:
sha1.c:360: warning: implicit declaration of function ‘memset’
sha1.c:360: warning: incompatible implicit declaration of built-in function ‘memset’
Matthias
On Tuesday 29 April 2008 23:49, Wolfgang Denk wrote:
> Hello,
>
> U-Boot v1.3.3-rc2 has just been released.
>
> PowerPC seems to be in a pretty good state now; other architectures
> still need a lot of testing / fixing. For example, on ARM we see the
> following conflicts:
>
> Configuring for kb9202 board...
> start.S: Assembler messages:
> start.S:205: Error: invalid constant -- `sub r0,r0,#(0x0200+128*1024)'
> start.S:378: Error: invalid constant -- `sub r13,r13,#((32*1024)+(0x0200+128*1024))'
> start.S:379: Error: invalid constant -- `sub r2,r2,#((32*1024)+(0x0200+128*1024))'
> start.S:384: Error: invalid constant -- `sub r13,r13,#((32*1024)+(0x0200+128*1024))'
> start.S:385: Error: invalid constant -- `sub r2,r2,#((32*1024)+(0x0200+128*1024))'
> start.S:390: Error: invalid constant -- `sub r13,r13,#((32*1024)+(0x0200+128*1024))'
> start.S:391: Error: invalid constant -- `sub r2,r2,#((32*1024)+(0x0200+128*1024))'
> start.S:396: Error: invalid constant -- `sub r13,r13,#((32*1024)+(0x0200+128*1024))'
> start.S:397: Error: invalid constant -- `sub r2,r2,#((32*1024)+(0x0200+128*1024))'
> start.S:402: Error: invalid constant -- `sub r13,r13,#((32*1024)+(0x0200+128*1024))'
> start.S:403: Error: invalid constant -- `sub r2,r2,#((32*1024)+(0x0200+128*1024))'
> start.S:427: Error: invalid constant -- `sub r13,r13,#((32*1024)+(0x0200+128*1024))'
> start.S:428: Error: invalid constant -- `sub r2,r2,#((32*1024)+(0x0200+128*1024))'
> start.S:433: Error: invalid constant -- `sub r13,r13,#((32*1024)+(0x0200+128*1024))'
> start.S:434: Error: invalid constant -- `sub r2,r2,#((32*1024)+(0x0200+128*1024))'
> make[1]: *** [start.o] Error 1
>
>
> Configuring for netstar board...
> arm-linux-ld: cannot find -lgeneric
> make[1]: *** [eeprom.srec] Error 1
>
>
> Configuring for voiceblue board...
> arm-linux-ld: cannot find -lgeneric
> make[1]: *** [eeprom.srec] Error 1
>
>
> Configuring for apollon board...
> onenand_base.c:25: error: static declaration of 'memcpy' follows non-static declaration
> /home/wd/git/u-boot/master/include/linux/string.h:70: error: previous declaration of 'memcpy' was here
> make[1]: *** [onenand_base.o] Error 1
>
>
> Configuring for adsvix board...
> start.S:183:1: warning: "ICMR" redefined
> In file included from start.S:33:
> /home/wd/git/u-boot/master/include/asm/arch/pxa-regs.h:935:1: warning: this is the location of the previous definition
> start.S:187:1: warning: "RCSR" redefined
> /home/wd/git/u-boot/master/include/asm/arch/pxa-regs.h:1602:1: warning: this is the location of the previous definition
> start.S:191:1: warning: "OSMR3" redefined
> /home/wd/git/u-boot/master/include/asm/arch/pxa-regs.h:869:1: warning: this is the location of the previous definition
> start.S:192:1: warning: "OSCR" redefined
> /home/wd/git/u-boot/master/include/asm/arch/pxa-regs.h:870:1: warning: this is the location of the previous definition
> start.S:193:1: warning: "OWER" redefined
> /home/wd/git/u-boot/master/include/asm/arch/pxa-regs.h:872:1: warning: this is the location of the previous definition
> start.S:194:1: warning: "OIER" redefined
> /home/wd/git/u-boot/master/include/asm/arch/pxa-regs.h:873:1: warning: this is the location of the previous definition
> start.S:207:1: warning: "CCCR" redefined
> /home/wd/git/u-boot/master/include/asm/arch/pxa-regs.h:1770:1: warning: this is the location of the previous definition
> pcmcia.c:39:2: warning: #warning "Board will only supply 5V, wait for next HW spin for selectable power"
> pxa_pcmcia.c: In function 'pcmcia_on':
> pxa_pcmcia.c:39: warning: operation on 'i' may be undefined
> cmd_ide.c: In function '__ide_outb':
> cmd_ide.c:828: warning: implicit declaration of function 'outb'
> cmd_ide.c: In function '__ide_inb':
> cmd_ide.c:837: warning: implicit declaration of function 'inb'
> common/libcommon.a(cmd_ide.o): In function `__ide_outb':
> /home/wd/git/u-boot/master/common/cmd_ide.c:828: undefined reference to `outb'
> common/libcommon.a(cmd_ide.o): In function `__ide_inb':
> /home/wd/git/u-boot/master/common/cmd_ide.c:837: undefined reference to `inb'
> make: *** [u-boot] Error 1
>
>
> Configuring for actux4 board...
> actux4.c: In function 'board_init':
> actux4.c:83: warning: left shift count >= width of type
> actux4.c:83: warning: left shift count >= width of type
>
>
> Configuring for davinci_schmoogie board...
> env_nand.c: In function 'saveenv':
> env_nand.c:200: warning: passing argument 3 of 'nand_write' from incompatible pointer type
> env_nand.c: In function 'env_relocate_spec':
> env_nand.c:275: warning: passing argument 3 of 'nand_read' from incompatible pointer type
>
>
>
> Board maintainers / custodians - please help!
>
>
> Best regards,
>
> Wolfgang Denk
>
More information about the U-Boot
mailing list