/home/buildroot/instance-0/output-1/host/bin/m68k-buildroot-linux-musl-gcc -DHAVE_CONFIG_H -I. -I. -I. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O0 -g2 -c bfu.c /home/buildroot/instance-0/output-1/host/bin/m68k-buildroot-linux-musl-gcc -DHAVE_CONFIG_H -I. -I. -I. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O0 -g2 -c block.c /home/buildroot/instance-0/output-1/host/bin/m68k-buildroot-linux-musl-gcc -DHAVE_CONFIG_H -I. -I. -I. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O0 -g2 -c bookmark.c /home/buildroot/instance-0/output-1/host/bin/m68k-buildroot-linux-musl-gcc -DHAVE_CONFIG_H -I. -I. -I. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O0 -g2 -c cache.c /home/buildroot/instance-0/output-1/host/bin/m68k-buildroot-linux-musl-gcc -DHAVE_CONFIG_H -I. -I. -I. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O0 -g2 -c charsets.c /home/buildroot/instance-0/output-1/host/bin/m68k-buildroot-linux-musl-gcc -DHAVE_CONFIG_H -I. -I. -I. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O0 -g2 -c compress.c /home/buildroot/instance-0/output-1/host/bin/m68k-buildroot-linux-musl-gcc -DHAVE_CONFIG_H -I. -I. -I. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O0 -g2 -c connect.c /home/buildroot/instance-0/output-1/host/bin/m68k-buildroot-linux-musl-gcc -DHAVE_CONFIG_H -I. -I. -I. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O0 -g2 -c cookies.c /home/buildroot/instance-0/output-1/host/bin/m68k-buildroot-linux-musl-gcc -DHAVE_CONFIG_H -I. -I. -I. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O0 -g2 -c data.c /home/buildroot/instance-0/output-1/host/bin/m68k-buildroot-linux-musl-gcc -DHAVE_CONFIG_H -I. -I. -I. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O0 -g2 -c default.c /home/buildroot/instance-0/output-1/host/bin/m68k-buildroot-linux-musl-gcc -DHAVE_CONFIG_H -I. -I. -I. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O0 -g2 -c dip.c /home/buildroot/instance-0/output-1/host/bin/m68k-buildroot-linux-musl-gcc -DHAVE_CONFIG_H -I. -I. -I. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O0 -g2 -c directfb.c /home/buildroot/instance-0/output-1/host/bin/m68k-buildroot-linux-musl-gcc -DHAVE_CONFIG_H -I. -I. -I. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O0 -g2 -c dither.c /home/buildroot/instance-0/output-1/host/bin/m68k-buildroot-linux-musl-gcc -DHAVE_CONFIG_H -I. -I. -I. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O0 -g2 -c dns.c /home/buildroot/instance-0/output-1/host/bin/m68k-buildroot-linux-musl-gcc -DHAVE_CONFIG_H -I. -I. -I. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O0 -g2 -c doh.c /home/buildroot/instance-0/output-1/host/bin/m68k-buildroot-linux-musl-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O0 -g2 -ztext -o links af_unix.o avif.o auth.o beos.o bfu.o block.o bookmark.o cache.o charsets.o compress.o connect.o cookies.o data.o default.o dip.o directfb.o dither.o dns.o doh.o dos.o drivers.o error.o file.o finger.o fn_impl.o fontconf.o font_inc.o framebuf.o freetype.o ftp.o gif.o grx.o hpux.o html.o html_gr.o html_r.o html_tbl.o http.o https.o img.o imgcache.o jpeg.o jsint.o kbd.o language.o listedit.o lru.o mailto.o main.o memory.o menu.o objreq.o os_dep.o pmshell.o png.o sched.o select.o session.o smb.o string.o suffix.o svg.o svgalib.o terminal.o tiff.o types.o url.o view.o view_gr.o vms.o webp.o x.o xbm.o -lpthread -lbz2 -lz -L/home/buildroot/instance-0/output-1/host/bin/../m68k-buildroot-linux-musl/sysroot/usr/lib -lssl -lcrypto make[1]: Leaving directory '/home/buildroot/instance-0/output-1/build/links-2.30' >>> links 2.30 Installing to target GIT_DIR=. PATH="/home/buildroot/instance-0/output-1/host/bin:/home/buildroot/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" /usr/bin/make -j17 DESTDIR=/home/buildroot/instance-0/output-1/target install -C /home/buildroot/instance-0/output-1/build/links-2.30/ make[1]: Entering directory '/home/buildroot/instance-0/output-1/build/links-2.30' make[2]: Entering directory '/home/buildroot/instance-0/output-1/build/links-2.30' /usr/bin/make install-man1 make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/links-2.30' /bin/sh ./mkinstalldirs /home/buildroot/instance-0/output-1/target/usr/man/man1 /usr/bin/install -c -m 644 ./links.1 /home/buildroot/instance-0/output-1/target/usr/man/man1/links.1 make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/links-2.30' /bin/sh ./mkinstalldirs /home/buildroot/instance-0/output-1/target/usr/bin /usr/bin/install -c links /home/buildroot/instance-0/output-1/target/usr/bin/links make[2]: Leaving directory '/home/buildroot/instance-0/output-1/build/links-2.30' make[1]: Leaving directory '/home/buildroot/instance-0/output-1/build/links-2.30' linux-syscall-support-e1e7b0ad8ee99a875b272c8e33e308472e897660-git4.tar.gz: OK (sha256: 32691765be505df5ca26bc3d0cc0a90da286b804e1ecb945b6bea5ead652b04b) >>> linux-syscall-support e1e7b0ad8ee99a875b272c8e33e308472e897660 Extracting gzip -d -c /home/buildroot/instance-0/dl/linux-syscall-support/linux-syscall-support-e1e7b0ad8ee99a875b272c8e33e308472e897660-git4.tar.gz | /home/buildroot/instance-0/output-1/host/bin/tar --strip-components=1 -C /home/buildroot/instance-0/output-1/build/linux-syscall-support-e1e7b0ad8ee99a875b272c8e33e308472e897660 -xf - >>> linux-syscall-support e1e7b0ad8ee99a875b272c8e33e308472e897660 Patching >>> linux-syscall-support e1e7b0ad8ee99a875b272c8e33e308472e897660 Configuring >>> linux-syscall-support e1e7b0ad8ee99a875b272c8e33e308472e897660 Building >>> linux-syscall-support e1e7b0ad8ee99a875b272c8e33e308472e897660 Installing to staging directory /usr/bin/install -D -m 0644 /home/buildroot/instance-0/output-1/build/linux-syscall-support-e1e7b0ad8ee99a875b272c8e33e308472e897660/linux_syscall_support.h /home/buildroot/instance-0/output-1/host/m68k-buildroot-linux-musl/sysroot/usr/include/linux_syscall_support.h >>> linux-syscall-support e1e7b0ad8ee99a875b272c8e33e308472e897660 Fixing libtool files for la in $(find /home/buildroot/instance-0/output-1/host/m68k-buildroot-linux-musl/sysroot/usr/lib* -name "*.la"); do \ cp -a "${la}" "${la}.fixed" && \ /bin/sed -i -e "s:/home/buildroot/instance-0/output-1:@BASE_DIR@:g" \ -e "s:/home/buildroot/instance-0/output-1/host/m68k-buildroot-linux-musl/sysroot:@STAGING_DIR@:g" \ \ -e "s:\(['= ]\)/usr:\\1@STAGING_DIR@/usr:g" \ -e "s:\(['= ]\)/lib:\\1@STAGING_DIR@/lib:g" \ \ -e "s:@STAGING_DIR@:/home/buildroot/instance-0/output-1/host/m68k-buildroot-linux-musl/sysroot:g" \ -e "s:@BASE_DIR@:/home/buildroot/instance-0/output-1:g" \ "${la}.fixed" && \ if cmp -s "${la}" "${la}.fixed"; then \ rm -f "${la}.fixed"; \ else \ mv "${la}.fixed" "${la}"; \ fi || exit 1; \ done lmbench-3.0-a9.tgz: OK (sha256: cbd5777d15f44eab7666dcac418054c3c09df99826961a397d9acf43d8a2a551) >>> lmbench 3.0-a9 Extracting gzip -d -c /home/buildroot/instance-0/dl/lmbench/lmbench-3.0-a9.tgz | /home/buildroot/instance-0/output-1/host/bin/tar --strip-components=1 -C /home/buildroot/instance-0/output-1/build/lmbench-3.0-a9 -xf - >>> lmbench 3.0-a9 Patching Applying 0001-scripts-build-use-bin-bash-as-shell.patch using patch: patching file scripts/build Applying 0002-src-Makefile-add-lmbench-to-list-of-executables.patch using patch: patching file src/Makefile Applying 0003-TOO_LONG-100-usec-to-prevent-memsize-from-timingout-.patch using patch: patching file src/memsize.c Applying 0004-Fix-garbage-pointer-for-lat_rpc-S-localhost.patch using patch: patching file src/lat_rpc.c >>> lmbench 3.0-a9 Updating config.sub and config.guess for file in config.guess config.sub; do for i in $(find /home/buildroot/instance-0/output-1/build/lmbench-3.0-a9 -name $file); do cp support/gnuconfig/$file $i; done; done >>> lmbench 3.0-a9 Configuring sed -i 's/CFLAGS=/CFLAGS+=/g' /home/buildroot/instance-0/output-1/build/lmbench-3.0-a9/src/Makefile sed -i 's/LDLIBS=/LDLIBS+=/g' /home/buildroot/instance-0/output-1/build/lmbench-3.0-a9/scripts/build sed -i '/cd .*doc/d' /home/buildroot/instance-0/output-1/build/lmbench-3.0-a9/src/Makefile sed -i '/include/d' /home/buildroot/instance-0/output-1/build/lmbench-3.0-a9/src/Makefile touch /home/buildroot/instance-0/output-1/build/lmbench-3.0-a9/.stamp_configured >>> lmbench 3.0-a9 Building GIT_DIR=. PATH="/home/buildroot/instance-0/output-1/host/bin:/home/buildroot/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" /usr/bin/make -j17 CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O0 -g2 `/home/buildroot/instance-0/output-1/host/bin/pkg-config --cflags libtirpc`" LDLIBS="`/home/buildroot/instance-0/output-1/host/bin/pkg-config --libs libtirpc`" OS=m68k CC="/home/buildroot/instance-0/output-1/host/bin/m68k-buildroot-linux-musl-gcc" -C /home/buildroot/instance-0/output-1/build/lmbench-3.0-a9/src make[1]: Entering directory '/home/buildroot/instance-0/output-1/build/lmbench-3.0-a9/src' gmake[2]: Entering directory '/home/buildroot/instance-0/output-1/build/lmbench-3.0-a9/src' /home/buildroot/instance-0/output-1/host/bin/m68k-buildroot-linux-musl-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O0 -g2 -I/home/buildroot/instance-0/output-1/host/bin/../m68k-buildroot-linux-musl/sysroot/usr/include/tirpc -DSYS5 -Dvalloc=malloc -DS_IFIFO=S_IFFIFO -c lib_tcp.c -o ../bin/m68k/lib_tcp.o /home/buildroot/instance-0/output-1/host/bin/m68k-buildroot-linux-musl-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O0 -g2 -I/home/buildroot/instance-0/output-1/host/bin/../m68k-buildroot-linux-musl/sysroot/usr/include/tirpc -DSYS5 -Dvalloc=malloc -DS_IFIFO=S_IFFIFO -c lib_udp.c -o ../bin/m68k/lib_udp.o /home/buildroot/instance-0/output-1/host/bin/m68k-buildroot-linux-musl-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O0 -g2 -I/home/buildroot/instance-0/output-1/host/bin/../m68k-buildroot-linux-musl/sysroot/usr/include/tirpc -DSYS5 -Dvalloc=malloc -DS_IFIFO=S_IFFIFO -c lib_unix.c -o ../bin/m68k/lib_unix.o /home/buildroot/instance-0/output-1/host/bin/m68k-buildroot-linux-musl-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O0 -g2 -I/home/buildroot/instance-0/output-1/host/bin/../m68k-buildroot-linux-musl/sysroot/usr/include/tirpc -DSYS5 -Dvalloc=malloc -DS_IFIFO=S_IFFIFO -c lib_timing.c -o ../bin/m68k/lib_timing.o /home/buildroot/instance-0/output-1/host/bin/m68k-buildroot-linux-musl-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O0 -g2 -I/home/buildroot/instance-0/output-1/host/bin/../m68k-buildroot-linux-musl/sysroot/usr/include/tirpc -DSYS5 -Dvalloc=malloc -DS_IFIFO=S_IFFIFO -c lib_mem.c -o ../bin/m68k/lib_mem.o /home/buildroot/instance-0/output-1/host/bin/m68k-buildroot-linux-musl-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O0 -g2 -I/home/buildroot/instance-0/output-1/host/bin/../m68k-buildroot-linux-musl/sysroot/usr/include/tirpc -DSYS5 -Dvalloc=malloc -DS_IFIFO=S_IFFIFO -c lib_stats.c -o ../bin/m68k/lib_stats.o /home/buildroot/instance-0/output-1/host/bin/m68k-buildroot-linux-musl-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O0 -g2 -I/home/buildroot/instance-0/output-1/host/bin/../m68k-buildroot-linux-musl/sysroot/usr/include/tirpc -DSYS5 -Dvalloc=malloc -DS_IFIFO=S_IFFIFO -c lib_debug.c -o ../bin/m68k/lib_debug.o /home/buildroot/instance-0/output-1/host/bin/m68k-buildroot-linux-musl-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O0 -g2 -I/home/buildroot/instance-0/output-1/host/bin/../m68k-buildroot-linux-musl/sysroot/usr/include/tirpc -DSYS5 -Dvalloc=malloc -DS_IFIFO=S_IFFIFO -c getopt.c -o ../bin/m68k/getopt.o /home/buildroot/instance-0/output-1/host/bin/m68k-buildroot-linux-musl-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O0 -g2 -I/home/buildroot/instance-0/output-1/host/bin/../m68k-buildroot-linux-musl/sysroot/usr/include/tirpc -DSYS5 -Dvalloc=malloc -DS_IFIFO=S_IFFIFO -c lib_sched.c -o ../bin/m68k/lib_sched.o rm -f ../bin/m68k/lmbench /home/buildroot/instance-0/output-1/host/bin/m68k-buildroot-linux-musl-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O0 -g2 -I/home/buildroot/instance-0/output-1/host/bin/../m68k-buildroot-linux-musl/sysroot/usr/include/tirpc -DSYS5 -Dvalloc=malloc -DS_IFIFO=S_IFFIFO -o ../bin/m68k/msleep msleep.c VERSION=`../scripts/version`; \ sed -e "s//${VERSION}/g" < ../scripts/lmbench > ../bin/m68k/lmbench /home/buildroot/instance-0/output-1/host/bin/m68k-buildroot-linux-musl-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O0 -g2 -I/home/buildroot/instance-0/output-1/host/bin/../m68k-buildroot-linux-musl/sysroot/usr/include/tirpc -DSYS5 -Dvalloc=malloc -DS_IFIFO=S_IFFIFO -DMAIN -o ../bin/m68k/flushdisk flushdisk.c chmod +x ../bin/m68k/lmbench In file included from lib_debug.c:1: bench.h:81:13: error: conflicting types for 'socklen_t'; have 'int' 81 | typedef int socklen_t; | ^~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/m68k-buildroot-linux-musl/sysroot/usr/include/sys/socket.h:18, from bench.h:35: /home/buildroot/instance-0/output-1/host/m68k-buildroot-linux-musl/sysroot/usr/include/bits/alltypes.h:376:18: note: previous declaration of 'socklen_t' with type 'socklen_t' {aka 'unsigned int'} 376 | typedef unsigned socklen_t; | ^~~~~~~~~ In file included from lib_stats.c:2: bench.h:81:13: error: conflicting types for 'socklen_t'; have 'int' 81 | typedef int socklen_t; | ^~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/m68k-buildroot-linux-musl/sysroot/usr/include/sys/socket.h:18, from bench.h:35: /home/buildroot/instance-0/output-1/host/m68k-buildroot-linux-musl/sysroot/usr/include/bits/alltypes.h:376:18: note: previous declaration of 'socklen_t' with type 'socklen_t' {aka 'unsigned int'} 376 | typedef unsigned socklen_t; | ^~~~~~~~~ In file included from lib_unix.c:9: bench.h:81:13: error: conflicting types for 'socklen_t'; have 'int' 81 | typedef int socklen_t; | ^~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/m68k-buildroot-linux-musl/sysroot/usr/include/sys/socket.h:18, from bench.h:35: /home/buildroot/instance-0/output-1/host/m68k-buildroot-linux-musl/sysroot/usr/include/bits/alltypes.h:376:18: note: previous declaration of 'socklen_t' with type 'socklen_t' {aka 'unsigned int'} 376 | typedef unsigned socklen_t; | ^~~~~~~~~ In file included from lib_udp.c:9: bench.h:81:13: error: conflicting types for 'socklen_t'; have 'int' 81 | typedef int socklen_t; | ^~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/m68k-buildroot-linux-musl/sysroot/usr/include/sys/socket.h:18, from bench.h:35: /home/buildroot/instance-0/output-1/host/m68k-buildroot-linux-musl/sysroot/usr/include/bits/alltypes.h:376:18: note: previous declaration of 'socklen_t' with type 'socklen_t' {aka 'unsigned int'} 376 | typedef unsigned socklen_t; | ^~~~~~~~~ In file included from getopt.c:24: bench.h:81:13: error: conflicting types for 'socklen_t'; have 'int' 81 | typedef int socklen_t; | ^~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/m68k-buildroot-linux-musl/sysroot/usr/include/sys/socket.h:18, from bench.h:35: /home/buildroot/instance-0/output-1/host/m68k-buildroot-linux-musl/sysroot/usr/include/bits/alltypes.h:376:18: note: previous declaration of 'socklen_t' with type 'socklen_t' {aka 'unsigned int'} 376 | typedef unsigned socklen_t; | ^~~~~~~~~ lib_unix.c: In function 'unix_server': bench.h:145:25: warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration] 145 | #define bzero(b, len) memset(b, 0, len) | ^~~~~~ lib_unix.c:27:9: note: in expansion of macro 'bzero' 27 | bzero((void*)&s, sizeof(s)); | ^~~~~ lib_unix.c:10:1: note: include '' or provide a declaration of 'memset' 9 | #include "bench.h" +++ |+#include 10 | bench.h:145:25: warning: incompatible implicit declaration of built-in function 'memset' [-Wbuiltin-declaration-mismatch] 145 | #define bzero(b, len) memset(b, 0, len) | ^~~~~~ lib_unix.c:27:9: note: in expansion of macro 'bzero' 27 | bzero((void*)&s, sizeof(s)); | ^~~~~ bench.h:145:25: note: include '' or provide a declaration of 'memset' 145 | #define bzero(b, len) memset(b, 0, len) | ^~~~~~ lib_unix.c:27:9: note: in expansion of macro 'bzero' 27 | bzero((void*)&s, sizeof(s)); | ^~~~~ lib_unix.c:29:9: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] 29 | strcpy(s.sun_path, path); | ^~~~~~ lib_unix.c:29:9: note: include '' or provide a declaration of 'strcpy' lib_unix.c:29:9: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch] lib_unix.c:29:9: note: include '' or provide a declaration of 'strcpy' lib_debug.c: In function 'print_mem': lib_unix.c: In function 'unix_accept': bench.h:145:25: warning: incompatible implicit declaration of built-in function 'memset' [-Wbuiltin-declaration-mismatch] 145 | #define bzero(b, len) memset(b, 0, len) | ^~~~~~ lib_unix.c:63:9: note: in expansion of macro 'bzero' 63 | bzero((void*)&s, namelen); | ^~~~~ lib_debug.c:107:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 107 | base = (uint64)addr; | ^ bench.h:145:25: note: include '' or provide a declaration of 'memset' 145 | #define bzero(b, len) memset(b, 0, len) | ^~~~~~ lib_unix.c:63:9: note: in expansion of macro 'bzero' 63 | bzero((void*)&s, namelen); | ^~~~~ lib_debug.c:109:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 109 | off = (uint64)p - base; | ^ lib_unix.c: In function 'unix_connect': lib_udp.c: In function 'udp_server': bench.h:145:25: warning: incompatible implicit declaration of built-in function 'memset' [-Wbuiltin-declaration-mismatch] 145 | #define bzero(b, len) memset(b, 0, len) | ^~~~~~ lib_unix.c:89:9: note: in expansion of macro 'bzero' 89 | bzero((void*)&s, sizeof(s)); | ^~~~~ bench.h:145:25: note: include '' or provide a declaration of 'memset' 145 | #define bzero(b, len) memset(b, 0, len) | ^~~~~~ lib_unix.c:89:9: note: in expansion of macro 'bzero' 89 | bzero((void*)&s, sizeof(s)); | ^~~~~ bench.h:145:25: warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration] 145 | #define bzero(b, len) memset(b, 0, len) | ^~~~~~ lib_udp.c:28:9: note: in expansion of macro 'bzero' 28 | bzero((void*)&s, sizeof(s)); | ^~~~~ lib_unix.c:91:9: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch] 91 | strcpy(s.sun_path, path); | ^~~~~~ lib_unix.c:91:9: note: include '' or provide a declaration of 'strcpy' lib_udp.c:10:1: note: include '' or provide a declaration of 'memset' 9 | #include "bench.h" +++ |+#include 10 | bench.h:145:25: warning: incompatible implicit declaration of built-in function 'memset' [-Wbuiltin-declaration-mismatch] 145 | #define bzero(b, len) memset(b, 0, len) | ^~~~~~ lib_udp.c:28:9: note: in expansion of macro 'bzero' 28 | bzero((void*)&s, sizeof(s)); | ^~~~~ bench.h:145:25: note: include '' or provide a declaration of 'memset' 145 | #define bzero(b, len) memset(b, 0, len) | ^~~~~~ lib_udp.c:28:9: note: in expansion of macro 'bzero' 28 | bzero((void*)&s, sizeof(s)); | ^~~~~ lib_udp.c: In function 'udp_connect': bench.h:145:25: warning: incompatible implicit declaration of built-in function 'memset' [-Wbuiltin-declaration-mismatch] 145 | #define bzero(b, len) memset(b, 0, len) | ^~~~~~ lib_udp.c:80:9: note: in expansion of macro 'bzero' 80 | bzero((void *) &sin, sizeof(sin)); | ^~~~~ bench.h:145:25: note: include '' or provide a declaration of 'memset' 145 | #define bzero(b, len) memset(b, 0, len) | ^~~~~~ lib_udp.c:80:9: note: in expansion of macro 'bzero' 80 | bzero((void *) &sin, sizeof(sin)); | ^~~~~ bench.h:146:25: warning: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration] 146 | #define bcopy(s, d, l) memcpy(d, s, l) | ^~~~~~ lib_udp.c:82:9: note: in expansion of macro 'bcopy' 82 | bcopy((void*)h->h_addr, (void *) &sin.sin_addr, h->h_length); | ^~~~~ bench.h:146:25: note: include '' or provide a declaration of 'memcpy' 146 | #define bcopy(s, d, l) memcpy(d, s, l) | ^~~~~~ lib_udp.c:82:9: note: in expansion of macro 'bcopy' 82 | bcopy((void*)h->h_addr, (void *) &sin.sin_addr, h->h_length); | ^~~~~ bench.h:146:25: warning: incompatible implicit declaration of built-in function 'memcpy' [-Wbuiltin-declaration-mismatch] 146 | #define bcopy(s, d, l) memcpy(d, s, l) | ^~~~~~ lib_udp.c:82:9: note: in expansion of macro 'bcopy' 82 | bcopy((void*)h->h_addr, (void *) &sin.sin_addr, h->h_length); | ^~~~~ bench.h:146:25: note: include '' or provide a declaration of 'memcpy' 146 | #define bcopy(s, d, l) memcpy(d, s, l) | ^~~~~~ lib_udp.c:82:9: note: in expansion of macro 'bcopy' 82 | bcopy((void*)h->h_addr, (void *) &sin.sin_addr, h->h_length); | ^~~~~ gmake[2]: *** [Makefile:226: ../bin/m68k/lib_udp.o] Error 1 gmake[2]: *** Waiting for unfinished jobs.... gmake[2]: *** [Makefile:228: ../bin/m68k/lib_unix.o] Error 1 gmake[2]: *** [Makefile:230: ../bin/m68k/lib_debug.o] Error 1 In file included from lib_timing.c:17: bench.h:81:13: error: conflicting types for 'socklen_t'; have 'int' 81 | typedef int socklen_t; | ^~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/m68k-buildroot-linux-musl/sysroot/usr/include/sys/socket.h:18, from bench.h:35: /home/buildroot/instance-0/output-1/host/m68k-buildroot-linux-musl/sysroot/usr/include/bits/alltypes.h:376:18: note: previous declaration of 'socklen_t' with type 'socklen_t' {aka 'unsigned int'} 376 | typedef unsigned socklen_t; | ^~~~~~~~~ gmake[2]: *** [Makefile:236: ../bin/m68k/getopt.o] Error 1 gmake[2]: *** [Makefile:232: ../bin/m68k/lib_stats.o] Error 1 lib_timing.c: In function 'benchmp': bench.h:145:25: warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration] 145 | #define bzero(b, len) memset(b, 0, len) | ^~~~~~ lib_timing.c:223:9: note: in expansion of macro 'bzero' 223 | bzero((void*)pids, parallel * sizeof(pid_t)); | ^~~~~ lib_timing.c:18:1: note: include '' or provide a declaration of 'memset' 17 | #include "bench.h" +++ |+#include 18 | bench.h:145:25: warning: incompatible implicit declaration of built-in function 'memset' [-Wbuiltin-declaration-mismatch] 145 | #define bzero(b, len) memset(b, 0, len) | ^~~~~~ lib_timing.c:223:9: note: in expansion of macro 'bzero' 223 | bzero((void*)pids, parallel * sizeof(pid_t)); | ^~~~~ bench.h:145:25: note: include '' or provide a declaration of 'memset' 145 | #define bzero(b, len) memset(b, 0, len) | ^~~~~~ lib_timing.c:223:9: note: in expansion of macro 'bzero' 223 | bzero((void*)pids, parallel * sizeof(pid_t)); | ^~~~~ In file included from lib_tcp.c:9: bench.h:81:13: error: conflicting types for 'socklen_t'; have 'int' 81 | typedef int socklen_t; | ^~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/m68k-buildroot-linux-musl/sysroot/usr/include/sys/socket.h:18, from bench.h:35: /home/buildroot/instance-0/output-1/host/m68k-buildroot-linux-musl/sysroot/usr/include/bits/alltypes.h:376:18: note: previous declaration of 'socklen_t' with type 'socklen_t' {aka 'unsigned int'} 376 | typedef unsigned socklen_t; | ^~~~~~~~~ In file included from lib_mem.c:15: bench.h:81:13: error: conflicting types for 'socklen_t'; have 'int' 81 | typedef int socklen_t; | ^~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/m68k-buildroot-linux-musl/sysroot/usr/include/sys/socket.h:18, from bench.h:35: /home/buildroot/instance-0/output-1/host/m68k-buildroot-linux-musl/sysroot/usr/include/bits/alltypes.h:376:18: note: previous declaration of 'socklen_t' with type 'socklen_t' {aka 'unsigned int'} 376 | typedef unsigned socklen_t; | ^~~~~~~~~ In file included from lib_sched.c:1: bench.h:81:13: error: conflicting types for 'socklen_t'; have 'int' 81 | typedef int socklen_t; | ^~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/m68k-buildroot-linux-musl/sysroot/usr/include/sys/socket.h:18, from bench.h:35: /home/buildroot/instance-0/output-1/host/m68k-buildroot-linux-musl/sysroot/usr/include/bits/alltypes.h:376:18: note: previous declaration of 'socklen_t' with type 'socklen_t' {aka 'unsigned int'} 376 | typedef unsigned socklen_t; | ^~~~~~~~~ lib_timing.c: In function 'settime': bench.h:145:25: warning: incompatible implicit declaration of built-in function 'memset' [-Wbuiltin-declaration-mismatch] 145 | #define bzero(b, len) memset(b, 0, len) | ^~~~~~ lib_timing.c:882:9: note: in expansion of macro 'bzero' 882 | bzero((void*)&start_tv, sizeof(start_tv)); | ^~~~~ bench.h:145:25: note: include '' or provide a declaration of 'memset' 145 | #define bzero(b, len) memset(b, 0, len) | ^~~~~~ lib_timing.c:882:9: note: in expansion of macro 'bzero' 882 | bzero((void*)&start_tv, sizeof(start_tv)); | ^~~~~ lib_tcp.c: In function 'tcp_server': bench.h:145:25: warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration] 145 | #define bzero(b, len) memset(b, 0, len) | ^~~~~~ lib_tcp.c:31:9: note: in expansion of macro 'bzero' 31 | bzero((void*)&s, sizeof(s)); | ^~~~~ lib_tcp.c:10:1: note: include '' or provide a declaration of 'memset' 9 | #include "bench.h" +++ |+#include 10 | bench.h:145:25: warning: incompatible implicit declaration of built-in function 'memset' [-Wbuiltin-declaration-mismatch] 145 | #define bzero(b, len) memset(b, 0, len) | ^~~~~~ lib_tcp.c:31:9: note: in expansion of macro 'bzero' 31 | bzero((void*)&s, sizeof(s)); | ^~~~~ bench.h:145:25: note: include '' or provide a declaration of 'memset' 145 | #define bzero(b, len) memset(b, 0, len) | ^~~~~~ lib_tcp.c:31:9: note: in expansion of macro 'bzero' 31 | bzero((void*)&s, sizeof(s)); | ^~~~~ lib_tcp.c: In function 'tcp_accept': bench.h:145:25: warning: incompatible implicit declaration of built-in function 'memset' [-Wbuiltin-declaration-mismatch] 145 | #define bzero(b, len) memset(b, 0, len) | ^~~~~~ lib_tcp.c:81:9: note: in expansion of macro 'bzero' 81 | bzero((void*)&s, namelen); | ^~~~~ bench.h:145:25: note: include '' or provide a declaration of 'memset' 145 | #define bzero(b, len) memset(b, 0, len) | ^~~~~~ lib_tcp.c:81:9: note: in expansion of macro 'bzero' 81 | bzero((void*)&s, namelen); | ^~~~~ lib_tcp.c: In function 'tcp_connect': bench.h:145:25: warning: incompatible implicit declaration of built-in function 'memset' [-Wbuiltin-declaration-mismatch] 145 | #define bzero(b, len) memset(b, 0, len) | ^~~~~~ lib_tcp.c:132:25: note: in expansion of macro 'bzero' 132 | bzero((void*)&sin, sizeof(sin)); | ^~~~~ bench.h:145:25: note: include '' or provide a declaration of 'memset' 145 | #define bzero(b, len) memset(b, 0, len) | ^~~~~~ lib_tcp.c:132:25: note: in expansion of macro 'bzero' 132 | bzero((void*)&sin, sizeof(sin)); | ^~~~~ bench.h:145:25: warning: incompatible implicit declaration of built-in function 'memset' [-Wbuiltin-declaration-mismatch] 145 | #define bzero(b, len) memset(b, 0, len) | ^~~~~~ lib_tcp.c:160:17: note: in expansion of macro 'bzero' 160 | bzero((void *) &s, sizeof(s)); | ^~~~~ bench.h:145:25: note: include '' or provide a declaration of 'memset' 145 | #define bzero(b, len) memset(b, 0, len) | ^~~~~~ lib_tcp.c:160:17: note: in expansion of macro 'bzero' 160 | bzero((void *) &s, sizeof(s)); | ^~~~~ bench.h:146:25: warning: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration] 146 | #define bcopy(s, d, l) memcpy(d, s, l) | ^~~~~~ lib_tcp.c:162:17: note: in expansion of macro 'bcopy' 162 | bcopy((void*)h->h_addr, (void *)&s.sin_addr, h->h_length); | ^~~~~ bench.h:146:25: note: include '' or provide a declaration of 'memcpy' 146 | #define bcopy(s, d, l) memcpy(d, s, l) | ^~~~~~ lib_tcp.c:162:17: note: in expansion of macro 'bcopy' 162 | bcopy((void*)h->h_addr, (void *)&s.sin_addr, h->h_length); | ^~~~~ bench.h:146:25: warning: incompatible implicit declaration of built-in function 'memcpy' [-Wbuiltin-declaration-mismatch] 146 | #define bcopy(s, d, l) memcpy(d, s, l) | ^~~~~~ lib_tcp.c:162:17: note: in expansion of macro 'bcopy' 162 | bcopy((void*)h->h_addr, (void *)&s.sin_addr, h->h_length); | ^~~~~ bench.h:146:25: note: include '' or provide a declaration of 'memcpy' 146 | #define bcopy(s, d, l) memcpy(d, s, l) | ^~~~~~ lib_tcp.c:162:17: note: in expansion of macro 'bcopy' 162 | bcopy((void*)h->h_addr, (void *)&s.sin_addr, h->h_length); | ^~~~~ In file included from msleep.c:1: bench.h:81:13: error: conflicting types for 'socklen_t'; have 'int' 81 | typedef int socklen_t; | ^~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/m68k-buildroot-linux-musl/sysroot/usr/include/sys/socket.h:18, from bench.h:35: /home/buildroot/instance-0/output-1/host/m68k-buildroot-linux-musl/sysroot/usr/include/bits/alltypes.h:376:18: note: previous declaration of 'socklen_t' with type 'socklen_t' {aka 'unsigned int'} 376 | typedef unsigned socklen_t; | ^~~~~~~~~ gmake[2]: *** [Makefile:224: ../bin/m68k/lib_tcp.o] Error 1 gmake[2]: *** [Makefile:234: ../bin/m68k/lib_sched.o] Error 1 gmake[2]: *** [Makefile:433: ../bin/m68k/msleep] Error 1 gmake[2]: *** [Makefile:220: ../bin/m68k/lib_timing.o] Error 1 lib_mem.c: In function 'tlb_initialize': bench.h:145:25: warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration] 145 | #define bzero(b, len) memset(b, 0, len) | ^~~~~~ lib_mem.c:465:19: note: in expansion of macro 'bzero' 465 | if (addr) bzero(addr, npages * sizeof(char**)); | ^~~~~ lib_mem.c:16:1: note: include '' or provide a declaration of 'memset' 15 | #include "bench.h" +++ |+#include 16 | bench.h:145:25: warning: incompatible implicit declaration of built-in function 'memset' [-Wbuiltin-declaration-mismatch] 145 | #define bzero(b, len) memset(b, 0, len) | ^~~~~~ lib_mem.c:465:19: note: in expansion of macro 'bzero' 465 | if (addr) bzero(addr, npages * sizeof(char**)); | ^~~~~ bench.h:145:25: note: include '' or provide a declaration of 'memset' 145 | #define bzero(b, len) memset(b, 0, len) | ^~~~~~ lib_mem.c:465:19: note: in expansion of macro 'bzero' 465 | if (addr) bzero(addr, npages * sizeof(char**)); | ^~~~~ bench.h:145:25: warning: incompatible implicit declaration of built-in function 'memset' [-Wbuiltin-declaration-mismatch] 145 | #define bzero(b, len) memset(b, 0, len) | ^~~~~~ lib_mem.c:466:20: note: in expansion of macro 'bzero' 466 | if (pages) bzero(pages, npages * sizeof(char**)); | ^~~~~ bench.h:145:25: note: include '' or provide a declaration of 'memset' 145 | #define bzero(b, len) memset(b, 0, len) | ^~~~~~ lib_mem.c:466:20: note: in expansion of macro 'bzero' 466 | if (pages) bzero(pages, npages * sizeof(char**)); | ^~~~~ lib_mem.c: In function 'words_initialize': bench.h:145:25: warning: incompatible implicit declaration of built-in function 'memset' [-Wbuiltin-declaration-mismatch] 145 | #define bzero(b, len) memset(b, 0, len) | ^~~~~~ lib_mem.c:533:9: note: in expansion of macro 'bzero' 533 | bzero(words, max * sizeof(size_t)); | ^~~~~ bench.h:145:25: note: include '' or provide a declaration of 'memset' 145 | #define bzero(b, len) memset(b, 0, len) | ^~~~~~ lib_mem.c:533:9: note: in expansion of macro 'bzero' 533 | bzero(words, max * sizeof(size_t)); | ^~~~~ gmake[2]: *** [Makefile:222: ../bin/m68k/lib_mem.o] Error 1 gmake[2]: Leaving directory '/home/buildroot/instance-0/output-1/build/lmbench-3.0-a9/src' make[1]: *** [Makefile:114: lmbench] Error 2 make[1]: Leaving directory '/home/buildroot/instance-0/output-1/build/lmbench-3.0-a9/src' make: *** [package/pkg-generic.mk:289: /home/buildroot/instance-0/output-1/build/lmbench-3.0-a9/.stamp_built] Error 2 make: Leaving directory '/home/buildroot/instance-0/buildroot'