[U-Boot] buildman errors

Bin Meng
2016-01-24T04:00:42Z

Hi,

Summary of 71 commits for 1100 boards (24 threads, 1 job per thread)
01: iocon / bamboo: Drop CONFIG_SYS_LONGHELP
blackfin: + bf561-acvilon cm-bf561 blackstamp bf537-minotaur
bct-brettl2 cm-bf527 bf506f-ezkit ip04 bf527-sdp pr1 bf527-ad7160-eval
bf609-ezkit bf537-stamp bf527-ezkit-v2 cm-bf537e tcm-bf518 cm-bf537u
bf527-ezkit cm-bf533 bf533-ezkit ibf-dsp561 bf537-pnav bf537-srv1
cm-bf548 bf538f-ezkit bf548-ezkit bf525-ucr2 blackvme tcm-bf537
bf533-stamp dnp5370 bf518f-ezbrd bf526-ezbrd bf561-ezkit br4
aarch64: + test
avr32: + atngw100mkii grasshopper atstk1002 atngw100
sh: + sh7753evb sh7785lcr_32bit sh7785lcr
arc: + arcangel4-be axs101 axs103 tb100 arcangel4
openrisc: + openrisc-generic
powerpc: + TQM834x katmai
arm: + mx28evk mx28evk_nand xfi3 bg0900 sansa_fuze_plus
mx23evk m28evk sc_sps_1 mx28evk_spi apx4devkit mx23_olinuxino
mx28evk_auart_console
nds32: + adp-ag101p
+In file included from ../include/common.h:86,
+ from ../lib/asm-offsets.c:15:
+../include/part.h:13: error: redefinition of typedef ?block_dev_desc_t?
+../include/ide.h:44: error: previous declaration of ?block_dev_desc_t? was here
+make[2]: *** [lib/asm-offsets.s] Error 1
+make[1]: *** [prepare0] Error 2
+make: *** [sub-make] Error 2
+../tools/mxsboot.c: In function ?mx28_create_sd_image?:
+../tools/mxsboot.c:560: warning: implicit declaration of function ?htole32?
+/tmp/ccTLvksq.o: In function `main':
+mxsboot.c:(.text+0x6d8): undefined reference to `htole32'
+mxsboot.c:(.text+0x6e7): undefined reference to `htole32'
+mxsboot.c:(.text+0x6f6): undefined reference to `htole32'
+mxsboot.c:(.text+0x705): undefined reference to `htole32'
+mxsboot.c:(.text+0x711): undefined reference to `htole32'
+/tmp/ccTLvksq.o:mxsboot.c:(.text+0x71d): more undefined references to
`htole32' follow
+collect2: ld returned 1 exit status
+make[2]: *** [tools/mxsboot] Error 1
+make[1]: *** [tools] Error 2
+In file included from ../include/common.h:86:0,
+../include/part.h:13:31: error: redefinition of typedef 'block_dev_desc_t'
+../include/ide.h:44:31: note: previous declaration of
'block_dev_desc_t' was here
+board/renesas/sh7753evb/built-in.o: In function `init_gether_mdio':
+build/../board/renesas/sh7753evb/sh7753evb.c:94: undefined reference
to `PMB_ADDR_BASE'
+build/../board/renesas/sh7753evb/sh7753evb.c:94: undefined reference
to `PMB_DATA_BASE'
+build/../board/renesas/sh7753evb/sh7753evb.c:94: undefined reference
to `mk_pmb_addr_val'
+build/../board/renesas/sh7753evb/sh7753evb.c:94: undefined reference
to `mk_pmb_data_val'
+make[1]: *** [u-boot] Error 1
+/tmp/cc4yyPwX.o: In function `main':
+/tmp/cc4yyPwX.o:mxsboot.c:(.text+0x71d): more undefined references to
`htole32' follow
+../include/part.h:13: error: redefinition of typedef 'block_dev_desc_t'
+../include/ide.h:44: note: previous declaration of 'block_dev_desc_t' was here
+/tmp/cc2IW0SD.o: In function `main':
+/tmp/cc2IW0SD.o:mxsboot.c:(.text+0x71d): more undefined references to
`htole32' follow
+../include/ide.h:44: error: previous declaration of 'block_dev_desc_t' was here
+/tmp/ccbcq0iG.o: In function `main':
+/tmp/ccbcq0iG.o:mxsboot.c:(.text+0x71d): more undefined references to
`htole32' follow
+/tmp/ccMo5qYk.o: In function `main':
+/tmp/ccMo5qYk.o:mxsboot.c:(.text+0x71d): more undefined references to
`htole32' follow
+ (((base + size - 1) >> CSBNDS_EA_SHIFT) &
+ ^
+../board/tqc/tqm834x/tqm834x.c:80:2: note: containing loop
+ for(cs = 0; cs < 4; ++cs) {
+ ^
+/tmp/ccgFlFwP.o: In function `main':
+/tmp/ccgFlFwP.o:mxsboot.c:(.text+0x71d): more undefined references to
`htole32' follow
+In file included from ../include/linux/byteorder/big_endian.h:14:0,
+ from ../arch/powerpc/include/asm/byteorder.h:82,
+ from ../arch/powerpc/include/asm/bitops.h:8,
+ from ../include/linux/bitops.h:123,
+ from ../include/common.h:20,
+ from ../drivers/net/eepro100.c:8:
+ return le16_to_cpu (*(volatile u16 *) (addr + dev->iobase));
+ ^
+../include/linux/byteorder/swab.h:81:31: note: in definition of macro
'__swab16'
+ (__builtin_constant_p((__u16)(x)) ? \
+ ^
+../include/linux/byteorder/generic.h:92:21: note: in expansion of
macro '__le16_to_cpu'
+ #define le16_to_cpu __le16_to_cpu
+ ^
+../drivers/net/eepro100.c:243:9: note: in expansion of macro 'le16_to_cpu'
+ ^
+../include/linux/byteorder/swab.h:23:13: note: in definition of macro
'___swab16'
+ (((__u16)(x) & (__u16)0x00ffU) << 8) | \
+ ^
+../include/linux/byteorder/big_endian.h:37:26: note: in expansion of
macro '__swab16'
+ #define __le16_to_cpu(x) __swab16((__force __u16)(__le16)(x))
+ ^
+../include/linux/byteorder/swab.h:24:13: note: in definition of macro
'___swab16'
+ (((__u16)(x) & (__u16)0xff00U) >> 8) ))
+../include/linux/byteorder/swab.h:83:13: note: in definition of macro
'__swab16'
+ __fswab16((x)))
+ *(volatile u16 *) ((addr + dev->iobase)) = cpu_to_le16 (command);
+ ^
+ *(volatile u32 *) ((addr + dev->iobase)) = cpu_to_le32 (command);
+ return le32_to_cpu (*(volatile u32 *) (addr + dev->iobase));
+../include/linux/byteorder/swab.h:85:31: note: in definition of macro
'__swab32'
+ (__builtin_constant_p((__u32)(x)) ? \
+../include/linux/byteorder/generic.h:90:21: note: in expansion of
macro '__le32_to_cpu'
+ #define le32_to_cpu __le32_to_cpu
+../drivers/net/eepro100.c:259:9: note: in expansion of macro 'le32_to_cpu'
+../include/linux/byteorder/swab.h:27:13: note: in definition of macro
'___swab32'
+ (((__u32)(x) & (__u32)0x000000ffUL) << 24) | \
+../include/linux/byteorder/big_endian.h:35:26: note: in expansion of
macro '__swab32'
+ #define __le32_to_cpu(x) __swab32((__force __u32)(__le32)(x))
+../include/linux/byteorder/swab.h:28:13: note: in definition of macro
'___swab32'
+ (((__u32)(x) & (__u32)0x0000ff00UL) << 8) | \
+../include/linux/byteorder/swab.h:29:13: note: in definition of macro
'___swab32'
+ (((__u32)(x) & (__u32)0x00ff0000UL) >> 8) | \
+../include/linux/byteorder/swab.h:30:13: note: in definition of macro
'___swab32'
+ (((__u32)(x) & (__u32)0xff000000UL) >> 24) ))
+../include/linux/byteorder/swab.h:87:13: note: in definition of macro
'__swab32'
+ __fswab32((x)))
+cc1: error: -Werror=date-time: no option -Wdate-time
+/bin/sh: arc-elf32-tcf-ld: command not found
+sh: -c: line 0: syntax error near unexpected token `('
+sh: -c: line 0: `arc-elf32-gcc -Wp,-MD,lib/.asm-offsets.s.d -nostdinc
-isystem /BinMeng/toolchains/pre-built/arc-elf32/bin/../lib/gcc/arc-elf32/4.8.4/include
-Iinclude -I../include -I../arch/arc/include -include
../include/linux/kconfig.h -I../. -I. -D__KERNEL__ -D__UBOOT__ -Wall
-Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding
-Os -fno-stack-protector -fno-delete-null-pointer-checks -g
-fstack-usage -Wno-format-nonliteral -Werror=date-time -mbig-endian
-marc700 -mlock -mswape -ffixed-r25 -D__ARC__ -gdwarf-2 -pipe
-DDO_DEPS_ONLY -DKBUILD_STR(s)=#s
-DKBUILD_BASENAME=KBUILD_STR(asm_offsets)
-DKBUILD_MODNAME=KBUILD_STR(asm_offsets) -fverbose-asm -S -o
lib/asm-offsets.s ../lib/asm-offsets.c'
+fixdep: error opening depfile: lib/.asm-offsets.s.d: No such file or directory
+make[2]: *** [lib/asm-offsets.s] Error 2
+/tmp/ccSqHFer.o: In function `main':
+/tmp/ccSqHFer.o:mxsboot.c:(.text+0x71d): more undefined references to
`htole32' follow
+/tmp/ccO9ldSm.o: In function `main':
+/tmp/ccO9ldSm.o:mxsboot.c:(.text+0x71d): more undefined references to
`htole32' follow
+sh: -c: line 0: `arc-elf32-gcc -Wp,-MD,lib/.asm-offsets.s.d -nostdinc
-isystem /BinMeng/toolchains/pre-built/arc-elf32/bin/../lib/gcc/arc-elf32/4.8.4/include
-Iinclude -I../include -I../arch/arc/include -include
../include/linux/kconfig.h -I../. -I. -D__KERNEL__ -D__UBOOT__ -Wall
-Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding
-Os -fno-stack-protector -fno-delete-null-pointer-checks -g
-fstack-usage -Wno-format-nonliteral -Werror=date-time -mlittle-endian
-marc700 -mlock -mswape -ffixed-r25 -D__ARC__ -gdwarf-2 -pipe
-DDO_DEPS_ONLY -DKBUILD_STR(s)=#s
-DKBUILD_BASENAME=KBUILD_STR(asm_offsets)
-DKBUILD_MODNAME=KBUILD_STR(asm_offsets) -fverbose-asm -S -o
lib/asm-offsets.s ../lib/asm-offsets.c'
+sh: -c: line 0: `arc-elf32-gcc -Wp,-MD,lib/.asm-offsets.s.d -nostdinc
-isystem /BinMeng/toolchains/pre-built/arc-elf32/bin/../lib/gcc/arc-elf32/4.8.4/include
-Iinclude -I../include -I../arch/arc/include -include
../include/linux/kconfig.h -I../. -I. -D__KERNEL__ -D__UBOOT__ -Wall
-Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding
-Os -fno-stack-protector -fno-delete-null-pointer-checks -g
-fstack-usage -Wno-format-nonliteral -Werror=date-time -mlittle-endian
-marchs -ffixed-r25 -D__ARC__ -gdwarf-2 -pipe -DDO_DEPS_ONLY
-DKBUILD_STR(s)=#s -DKBUILD_BASENAME=KBUILD_STR(asm_offsets)
-DKBUILD_MODNAME=KBUILD_STR(asm_offsets) -fverbose-asm -S -o
lib/asm-offsets.s ../lib/asm-offsets.c'
+/tmp/ccEZwIsK.o: In function `main':
+/tmp/ccEZwIsK.o:mxsboot.c:(.text+0x71d): more undefined references to
`htole32' follow
+/tmp/ccUAhQzL.o: In function `main':
+/tmp/ccUAhQzL.o:mxsboot.c:(.text+0x71d): more undefined references to
`htole32' follow
+/tmp/ccjy2Fh4.o: In function `main':
+/tmp/ccjy2Fh4.o:mxsboot.c:(.text+0x71d): more undefined references to
`htole32' follow
+/tmp/ccJlvbna.o: In function `main':
+/tmp/ccJlvbna.o:mxsboot.c:(.text+0x71d): more undefined references to
`htole32' follow
+make[2]: *** [test_defconfig] Error 1
+make[1]: *** [test_defconfig] Error 2
w+../board/renesas/sh7753evb/sh7753evb.c: In function 'set_pmb_on_board_init':
w+../board/renesas/sh7753evb/sh7753evb.c:139:2: warning: implicit
declaration of function 'PMB_ADDR_BASE'
[-Wimplicit-function-declaration]
w+../board/renesas/sh7753evb/sh7753evb.c:140:2: warning: implicit
declaration of function 'PMB_DATA_BASE'
[-Wimplicit-function-declaration]
w+../board/renesas/sh7753evb/sh7753evb.c:144:2: warning: implicit
declaration of function 'mk_pmb_addr_val'
[-Wimplicit-function-declaration]
w+../board/renesas/sh7753evb/sh7753evb.c:145:2: warning: implicit
declaration of function 'mk_pmb_data_val'
[-Wimplicit-function-declaration]
w+../board/tqc/tqm834x/tqm834x.c: In function 'initdram':
w+../board/tqc/tqm834x/tqm834x.c:325:12: warning: iteration 3u invokes
undefined behavior [-Waggressive-loop-optimizations]
w+../drivers/net/eepro100.c: In function 'INW':
w+../drivers/net/eepro100.c:243:23: warning: cast to pointer from
integer of different size [-Wint-to-pointer-cast]
w+../drivers/net/eepro100.c: In function 'OUTW':
w+../drivers/net/eepro100.c:248:3: warning: cast to pointer from
integer of different size [-Wint-to-pointer-cast]
w+../drivers/net/eepro100.c: In function 'OUTL':
w+../drivers/net/eepro100.c:253:3: warning: cast to pointer from
integer of different size [-Wint-to-pointer-cast]
w+../drivers/net/eepro100.c: In function 'INL':
w+../drivers/net/eepro100.c:259:23: warning: cast to pointer from
integer of different size [-Wint-to-pointer-cast]
w+../drivers/net/rtl8169.c:310:2: warning: #warning cache-line size is
larger than descriptor size [-Wcpp]
02: dm: pci: Move pci_bus_to_hose() to compatibility
-/tmp/ccTLvksq.o: In function `main':
-/tmp/ccTLvksq.o:mxsboot.c:(.text+0x71d): more undefined references to
`htole32' follow
-/tmp/cc4yyPwX.o: In function `main':
-/tmp/cc4yyPwX.o:mxsboot.c:(.text+0x71d): more undefined references to
`htole32' follow
-/tmp/cc2IW0SD.o: In function `main':
-/tmp/cc2IW0SD.o:mxsboot.c:(.text+0x71d): more undefined references to
`htole32' follow
-/tmp/ccbcq0iG.o: In function `main':
-/tmp/ccbcq0iG.o:mxsboot.c:(.text+0x71d): more undefined references to
`htole32' follow
-/tmp/ccMo5qYk.o: In function `main':
-/tmp/ccMo5qYk.o:mxsboot.c:(.text+0x71d): more undefined references to
`htole32' follow
-/tmp/ccgFlFwP.o: In function `main':
-/tmp/ccgFlFwP.o:mxsboot.c:(.text+0x71d): more undefined references to
`htole32' follow
-/tmp/ccSqHFer.o: In function `main':
-/tmp/ccSqHFer.o:mxsboot.c:(.text+0x71d): more undefined references to
`htole32' follow
-/tmp/ccO9ldSm.o: In function `main':
-/tmp/ccO9ldSm.o:mxsboot.c:(.text+0x71d): more undefined references to
`htole32' follow
-/tmp/ccEZwIsK.o: In function `main':
-/tmp/ccEZwIsK.o:mxsboot.c:(.text+0x71d): more undefined references to
`htole32' follow
-/tmp/ccUAhQzL.o: In function `main':
-/tmp/ccUAhQzL.o:mxsboot.c:(.text+0x71d): more undefined references to
`htole32' follow
-/tmp/ccjy2Fh4.o: In function `main':
-/tmp/ccjy2Fh4.o:mxsboot.c:(.text+0x71d): more undefined references to
`htole32' follow
-/tmp/ccJlvbna.o: In function `main':
-/tmp/ccJlvbna.o:mxsboot.c:(.text+0x71d): more undefined references to
`htole32' follow
+/tmp/ccy6Xkgg.o: In function `main':
+/tmp/ccy6Xkgg.o:mxsboot.c:(.text+0x71d): more undefined references to
`htole32' follow
+/tmp/cctNidX7.o: In function `main':
+/tmp/cctNidX7.o:mxsboot.c:(.text+0x71d): more undefined references to
`htole32' follow
+/tmp/cccb35mL.o: In function `main':
+/tmp/cccb35mL.o:mxsboot.c:(.text+0x71d): more undefined references to
`htole32' follow
+/tmp/ccmeZlXB.o: In function `main':
+/tmp/ccmeZlXB.o:mxsboot.c:(.text+0x71d): more undefined references to
`htole32' follow
+/tmp/cc4NKIEp.o: In function `main':
+/tmp/cc4NKIEp.o:mxsboot.c:(.text+0x71d): more undefined references to
`htole32' follow
+/tmp/ccphqrKu.o: In function `main':
+/tmp/ccphqrKu.o:mxsboot.c:(.text+0x71d): more undefined references to
`htole32' follow
+/tmp/ccsOF6XN.o: In function `main':
+/tmp/ccsOF6XN.o:mxsboot.c:(.text+0x71d): more undefined references to
`htole32' follow
+/tmp/ccNNdFlI.o: In function `main':
+/tmp/ccNNdFlI.o:mxsboot.c:(.text+0x71d): more undefined references to
`htole32' follow
+/tmp/ccglBOl0.o: In function `main':
+/tmp/ccglBOl0.o:mxsboot.c:(.text+0x71d): more undefined references to
`htole32' follow
+/tmp/cc02aBXn.o: In function `main':
+/tmp/cc02aBXn.o:mxsboot.c:(.text+0x71d): more undefined references to
`htole32' follow
+/tmp/ccGjqBxy.o: In function `main':
+/tmp/ccGjqBxy.o:mxsboot.c:(.text+0x71d): more undefined references to
`htole32' follow
+/tmp/ccEqMe7n.o: In function `main':
+/tmp/ccEqMe7n.o:mxsboot.c:(.text+0x71d): more undefined references to
`htole32' follow

Simon addressed the 'block_dev_desc_t' issue recently. Any plan to fix
the others?

The most annoying one is the 'more undefined references to `htole32'
follow' that it repeats for every commit build. Looks the 'htole32'
was introduced in commit b5e7586a73d4eb7b0aa9c597f293a584a2a1800a
"mxs: mxsboot: fix endianess for sd boot images"

Regards,
Bin