openwrt/tools
Yousong Zhou f54bc3985a tools: mkimage: fix __u64 typedef conflict with new glibc
Including "sys/stat.h" from newer glibc will cause __u64 from linux uapi
header to be included, causing compilation failure for u-boot tools
USE_HOSTCC

Remove typedef for __u64 in include/compiler.h to fix the issue.  It should be
safe because as of u-boot-2018.03, no ref to __u64 is found under u-boot tools/
directory

Error message snippet follows

	  HOSTCC  tools/mkenvimage.o
	In file included from /usr/include/asm-generic/types.h:7,
			 from /usr/include/asm/types.h:5,
			 from /usr/include/linux/types.h:5,
			 from /usr/include/linux/stat.h:5,
			 from /usr/include/bits/statx.h:30,
			 from /usr/include/sys/stat.h:446,
			 from tools/mkenvimage.c:21:
	/usr/include/asm-generic/int-ll64.h:31:42: error: conflicting types for '__u64'
	   31 | __extension__ typedef unsigned long long __u64;
	      |                                          ^~~~~
	In file included from <command-line>:
	././include/compiler.h:69:18: note: previous declaration of '__u64' was here
	   69 | typedef uint64_t __u64;
	      |                  ^~~~~
	make[5]: *** [scripts/Makefile.host:116: tools/mkenvimage.o] Error 1

Ref: https://forum.openwrt.org/t/compile-error-19-07/44423
Ref: https://bugzilla.redhat.com/show_bug.cgi?id=1699194
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2019-09-12 02:25:03 +00:00
..
autoconf
automake
b43-tools
bc Revert "bc: update to 1.07.1" 2019-05-22 21:27:44 +02:00
bison tools/bison: Update to 3.4.1 2019-09-04 13:18:42 +02:00
cbootimage tools: add cbootimage for tegra 2019-04-06 14:48:46 +02:00
cbootimage-configs tools: add cbootimage-configs for tegra 2019-04-06 14:48:46 +02:00
ccache ccache: update to 3.7.2 2019-09-04 13:34:08 +02:00
cmake tools/cmake: Update to 3.15.1 2019-09-04 13:46:12 +02:00
coreutils
dosfstools
e2fsprogs tools/e2fsprogs: Update to 1.45.3 2019-09-04 13:40:37 +02:00
elftosb
expat expat: Update to 2.2.7 2019-09-04 13:36:13 +02:00
findutils
firmware-utils firmware-utils: jcgimage: add support for 4MiB+ images 2019-05-31 10:30:03 +02:00
flex
flock
genext2fs
gengetopt tools/gengetopt: Update to 2.23 2019-09-04 13:26:24 +02:00
gmp
include tools: Update endian definitions for Mac OSX 2018-12-19 15:08:30 +00:00
isl tools/isl: update to 0.20 2019-02-26 23:20:04 +01:00
kernel2minor
libelf tools: libelf: fix headers to trigger -Wundef warnings 2019-09-04 13:46:55 +02:00
libressl tools: libressl: fix compilation for non-glibc clib (FS#2400) 2019-09-04 13:31:40 +02:00
libtool
lzma
lzma-old
m4
make-ext4fs
missing-macros
mkimage tools: mkimage: fix __u64 typedef conflict with new glibc 2019-09-12 02:25:03 +00:00
mklibs
mm-macros
mpc
mpfr tools/mpfr: Update to 4.0.2 2019-02-10 20:51:09 +01:00
mtd-utils tools/mtd-utils: update to 2.1.1 2019-08-27 10:31:06 +02:00
mtools tools/mtools: Update to 4.0.23 2018-12-24 17:05:57 +01:00
padjffs2
patch tools/patch: apply upstream patch for cve-2019-13638 2019-08-14 07:29:32 +02:00
patch-image
patchelf
pkg-config
qemu
quilt
scons scons: update to 3.0.5 2019-05-18 21:17:45 +02:00
sdimage
sed tools/sed: Update to 4.7 2019-02-10 20:48:25 +01:00
sparse
squashfs
squashfskit4 tools/squashfskit: fix version detection on non-linux system 2019-03-03 19:45:10 +01:00
sstrip
tar tools: tar: update to version 1.32 2019-03-10 21:36:28 +01:00
upslug2 upslug2: Update to git repository 2019-09-04 13:47:11 +02:00
wrt350nv2-builder
xz tools/xz: Compile with PIC to fix linking errors 2019-04-06 19:14:06 +02:00
zip tools: zip: add option for reproducible archives 2019-01-15 19:11:53 +01:00
zlib
Makefile tools: cbootimage: depend on automake 2019-04-07 15:25:28 +02:00