#18445: u-boot build failure from todays trunk.
-------------------------+----------------------------------
Reporter: Diffie | Owner: developers
Type: defect | Status: new
Priority: highest | Milestone: Chaos Calmer (trunk)
Component: base system | Version: Trunk
Keywords: |
-------------------------+----------------------------------
make[4]: Entering directory `/mnt/hd/backup/openwrt-
cc/trunk/build_dir/host/u-boot-2014.10'
Found GNU toolchain
C compiler on this system is: gcc
scripts/kconfig/conf --silentoldconfig Kconfig
C++ compiler on this system is: g++
CHK include/config.h
Makefile processor on this system is: gmake
UPD include/config.h
GEN include/autoconf.mk
GEN include/autoconf.mk.dep
make[4]: Leaving directory `/mnt/hd/backup/openwrt-
cc/trunk/build_dir/host/u-boot-2014.10'
g++ is GNU compiler
make[4]: Entering directory `/mnt/hd/backup/openwrt-
cc/trunk/build_dir/host/u-boot-2014.10'
CHK include/config/uboot.release
UPD include/config/uboot.release
CHK include/generated/version_autogenerated.h
UPD include/generated/version_autogenerated.h
g++ has setenv
CHK include/generated/timestamp_autogenerated.h
UPD include/generated/timestamp_autogenerated.h
HOSTCC tools/img2srec
g++ has unsetenv
g++ does not have environ in stdlib.h
g++ has STL in std:: namespace
HOSTCC tools/aisimage.o
g++ has ANSI streams
HOSTCC tools/atmelimage.o
WRAP tools/common/bootm.c
HOSTCC tools/common/bootm.o
g++ has streams in std:: namespace
WRAP tools/common/image-fit.c
HOSTCC tools/common/image-fit.o
g++ has sstream
g++ has operator!=(string, char*)
WRAP tools/common/image-sig.c
HOSTCC tools/common/image-sig.o
libtool: compile: i486-slackware-linux-g++ -DHAVE_CONFIG_H -I. -I../..
-I../../src -I/mnt/hd/backup/openwrt-cc/trunk/staging_dir/host/include
-I/mnt/hd/backup/openwrt-cc/trunk/staging_dir/host/usr/include -g -O2 -MT
header.lo -MD -MP -MF .deps/header.Tpo -c header.cc -o header.o >/dev/null
2>&1
WRAP tools/common/image.c
HOSTCC tools/common/image.o
g++ has stl iterator_traits
HOSTCC tools/default_image.o
g++ has standard template allocator
HOSTCC tools/dumpimage.o
g++ has allocator<>::rebind<>
HOSTCC tools/fit_check_sign.o
g++ does not have non-standard allocator<>::max_size argument
HOSTCC tools/fit_common.o
g++ has stl containers supporting allocator objects
HOSTCC tools/fit_image.o
g++ has header cstddef
g++ requires template friends to use <>
HOSTCC tools/fit_info.o
g++ supports member templates
HOSTCC tools/gpimage-common.o
g++ has standard template specialization syntax
g++ has argument dependent lookup
g++ has struct stat with st_mtim member
HOSTCC tools/gpimage.o
HOSTCC tools/image-host.o
g++ has ios::binary openmode
g++ has ANSI for scoping
HOSTCC tools/imagetool.o
HOSTCC tools/imximage.o
HOSTCC tools/kwbimage.o
mv -f .deps/header.Tpo .deps/header.Plo
/usr/bin/bash ../../libtool --tag=CXX --mode=compile i486-slackware-
linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I/mnt/hd/backup
/openwrt-cc/trunk/staging_dir/host/include -I/mnt/hd/backup/openwrt-
cc/trunk/staging_dir/host/usr/include -g -O2 -MT c_source.lo -MD -MP -MF
.deps/c_source.Tpo -c -o c_source.lo c_source.cc
libtool: compile: i486-slackware-linux-g++ -DHAVE_CONFIG_H -I. -I../..
-I../../src -I/mnt/hd/backup/openwrt-cc/trunk/staging_dir/host/include
-I/mnt/hd/backup/openwrt-cc/trunk/staging_dir/host/usr/include -g -O2 -MT
c_source.lo -MD -MP -MF .deps/c_source.Tpo -c c_source.cc -fPIC -DPIC -o
.libs/c_source.o
WRAP tools/lib/crc32.c
HOSTCC tools/lib/crc32.o
WRAP tools/lib/fdtdec.c
HOSTCC tools/lib/fdtdec.o
WRAP tools/lib/fdtdec_common.c
HOSTCC tools/lib/fdtdec_common.o
WRAP tools/lib/libfdt/fdt.c
HOSTCC tools/lib/libfdt/fdt.o
WRAP tools/lib/libfdt/fdt_ro.c
HOSTCC tools/lib/libfdt/fdt_ro.o
WRAP tools/lib/libfdt/fdt_rw.c
HOSTCC tools/lib/libfdt/fdt_rw.o
---------------------------------------------
WRAP tools/lib/libfdt/fdt_strerror.c
HOSTCC tools/lib/libfdt/fdt_strerror.o
WRAP tools/lib/libfdt/fdt_wip.c
HOSTCC tools/lib/libfdt/fdt_wip.o
WRAP tools/lib/md5.c
HOSTCC tools/lib/md5.o
In file included from /mnt/hd/backup/openwrt-
cc/trunk/build_dir/host/u-boot-2014.10/lib/md5.c:34,
from tools/lib/md5.c:1:
/mnt/hd/backup/openwrt-
cc/trunk/build_dir/host/u-boot-2014.10/include/u-boot/md5.h:17: warning:
ISO C doesn't support unnamed structs/unions
WRAP tools/lib/rsa/rsa-checksum.c
HOSTCC tools/lib/rsa/rsa-checksum.o
gmake[4]: Entering directory `/mnt/hd/backup/openwrt-
cc/trunk/build_dir/host/cmake-2.8.12.2/Bootstrap.cmk'
g++ -I/mnt/hd/backup/openwrt-
cc/trunk/build_dir/host/cmake-2.8.12.2/Bootstrap.cmk -I/mnt/hd/backup
/openwrt-cc/trunk/build_dir/host/cmake-2.8.12.2/Source -I/mnt/hd/backup
/openwrt-cc/trunk/build_dir/host/cmake-2.8.12.2/Bootstrap.cmk -c
/mnt/hd/backup/openwrt-
cc/trunk/build_dir/host/cmake-2.8.12.2/Source/cmStandardIncludes.cxx -o
cmStandardIncludes.o
WRAP tools/lib/rsa/rsa-sign.c
HOSTCC tools/lib/rsa/rsa-sign.o
WRAP tools/lib/rsa/rsa-verify.c
HOSTCC tools/lib/rsa/rsa-verify.o
g++ -I/mnt/hd/backup/openwrt-
cc/trunk/build_dir/host/cmake-2.8.12.2/Bootstrap.cmk -I/mnt/hd/backup
/openwrt-cc/trunk/build_dir/host/cmake-2.8.12.2/Source -I/mnt/hd/backup
/openwrt-cc/trunk/build_dir/host/cmake-2.8.12.2/Bootstrap.cmk -c
/mnt/hd/backup/openwrt-
cc/trunk/build_dir/host/cmake-2.8.12.2/Source/cmake.cxx -o cmake.o
WRAP tools/lib/sha1.c
HOSTCC tools/lib/sha1.o
WRAP tools/lib/sha256.c
HOSTCC tools/lib/sha256.o
HOSTCC tools/mkenvimage.o
HOSTCC tools/mkimage.o
HOSTCC tools/mxsimage.o
HOSTCC tools/omapimage.o
HOSTCC tools/os_support.o
HOSTCC tools/pbl_crc32.o
HOSTCC tools/pblimage.o
HOSTCC tools/socfpgaimage.o
tools/socfpgaimage.c: In function 'build_header':
tools/socfpgaimage.c:77: warning: implicit declaration of function
'htole32'
tools/socfpgaimage.c:80: warning: implicit declaration of function
'htole16'
tools/socfpgaimage.c: In function 'verify_header':
tools/socfpgaimage.c:95: warning: implicit declaration of function
'le32toh'
tools/socfpgaimage.c:97: warning: implicit declaration of function
'le16toh'
HOSTCC tools/ublimage.o
HOSTLD tools/mkenvimage
HOSTLD tools/dumpimage
g++ -I/mnt/hd/backup/openwrt-
cc/trunk/build_dir/host/cmake-2.8.12.2/Bootstrap.cmk -I/mnt/hd/backup
/openwrt-cc/trunk/build_dir/host/cmake-2.8.12.2/Source -I/mnt/hd/backup
/openwrt-cc/trunk/build_dir/host/cmake-2.8.12.2/Bootstrap.cmk -c
/mnt/hd/backup/openwrt-
cc/trunk/build_dir/host/cmake-2.8.12.2/Source/cmakemain.cxx -o cmakemain.o
tools/socfpgaimage.o: In function `socfpgaimage_set_header':
socfpgaimage.c:(.text+0x152): undefined reference to `htole32'
socfpgaimage.c:(.text+0x17e): undefined reference to `htole16'
socfpgaimage.c:(.text+0x1a1): undefined reference to `htole16'
socfpgaimage.c:(.text+0x1d2): undefined reference to `htole32'
tools/socfpgaimage.o: In function `verify_buffer':
socfpgaimage.c:(.text+0x211): undefined reference to `le32toh'
socfpgaimage.c:(.text+0x22f): undefined reference to `le16toh'
socfpgaimage.c:(.text+0x280): undefined reference to `le16toh'
socfpgaimage.c:(.text+0x2b0): undefined reference to `le32toh'
collect2: ld returned 1 exit status
make[5]: *** [tools/dumpimage] Error 1
make[4]: *** [tools-only] Error 2
make[4]: Leaving directory `/mnt/hd/backup/openwrt-
cc/trunk/build_dir/host/u-boot-2014.10'
make[3]: *** [/mnt/hd/backup/openwrt-
cc/trunk/build_dir/host/u-boot-2014.10/.built] Error 2
make[3]: Leaving directory `/mnt/hd/backup/openwrt-cc/trunk/tools/mkimage'
make[2]: *** [tools/mkimage/compile] Error 2
make[2]: *** Waiting for unfinished jobs....
--
Ticket URL: <https://dev.openwrt.org/ticket/18445>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets