if cmp -s "${la}" "${la}.fixed"; then \ rm -f "${la}.fixed"; \ else \ mv "${la}.fixed" "${la}"; \ fi || exit 1; \ done >>> lm-sensors 3.6.0 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 -C /home/buildroot/instance-0/output-1/build/lm-sensors-3.6.0 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" AR="/home/buildroot/instance-0/output-1/host/bin/mipsel-buildroot-linux-musl-gcc-ar" AS="/home/buildroot/instance-0/output-1/host/bin/mipsel-buildroot-linux-musl-as" LD="/home/buildroot/instance-0/output-1/host/bin/mipsel-buildroot-linux-musl-ld" NM="/home/buildroot/instance-0/output-1/host/bin/mipsel-buildroot-linux-musl-gcc-nm" CC="/home/buildroot/instance-0/output-1/host/bin/mipsel-buildroot-linux-musl-gcc" GCC="/home/buildroot/instance-0/output-1/host/bin/mipsel-buildroot-linux-musl-gcc" CPP="/home/buildroot/instance-0/output-1/host/bin/mipsel-buildroot-linux-musl-cpp" CXX="/home/buildroot/instance-0/output-1/host/bin/mipsel-buildroot-linux-musl-g++" FC="/home/buildroot/instance-0/output-1/host/bin/mipsel-buildroot-linux-musl-gfortran" F77="/home/buildroot/instance-0/output-1/host/bin/mipsel-buildroot-linux-musl-gfortran" RANLIB="/home/buildroot/instance-0/output-1/host/bin/mipsel-buildroot-linux-musl-gcc-ranlib" READELF="/home/buildroot/instance-0/output-1/host/bin/mipsel-buildroot-linux-musl-readelf" STRIP="/bin/true" OBJCOPY="/home/buildroot/instance-0/output-1/host/bin/mipsel-buildroot-linux-musl-objcopy" OBJDUMP="/home/buildroot/instance-0/output-1/host/bin/mipsel-buildroot-linux-musl-objdump" AR_FOR_BUILD="/usr/bin/ar" AS_FOR_BUILD="/usr/bin/as" CC_FOR_BUILD="/usr/bin/gcc" GCC_FOR_BUILD="/usr/bin/gcc" CXX_FOR_BUILD="/usr/bin/g++" LD_FOR_BUILD="/usr/bin/ld" CPPFLAGS_FOR_BUILD="-I/home/buildroot/instance-0/output-1/host/include" CFLAGS_FOR_BUILD="-O2 -I/home/buildroot/instance-0/output-1/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/home/buildroot/instance-0/output-1/host/include" LDFLAGS_FOR_BUILD="-L/home/buildroot/instance-0/output-1/host/lib -Wl,-rpath,/home/buildroot/instance-0/output-1/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/home/buildroot/instance-0/output-1/host/bin/mipsel-buildroot-linux-musl-as" DEFAULT_LINKER="/home/buildroot/instance-0/output-1/host/bin/mipsel-buildroot-linux-musl-ld" CPPFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g3 " CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g3 " LDFLAGS=" -ztext" FCFLAGS=" -O2 -g3" FFLAGS=" -O2 -g3" PKG_CONFIG="/home/buildroot/instance-0/output-1/host/bin/pkg-config" STAGING_DIR="/home/buildroot/instance-0/output-1/host/mipsel-buildroot-linux-musl/sysroot" INTLTOOL_PERL=/usr/bin/perl CXX=no PREFIX=/usr BUILD_SHARED_LIB=1 BUILD_STATIC_LIB=0 DESTDIR=/home/buildroot/instance-0/output-1/target install make[1]: Entering directory '/home/buildroot/instance-0/output-1/build/lm-sensors-3.6.0' mkdir -p /home/buildroot/instance-0/output-1/target/usr/lib /home/buildroot/instance-0/output-1/target/usr/include/sensors /home/buildroot/instance-0/output-1/target/usr/man/man3 /home/buildroot/instance-0/output-1/target/usr/man/man5 install -m 755 lib/libsensors.so.5.0.0 /home/buildroot/instance-0/output-1/target/usr/lib ln -sf libsensors.so.5.0.0 /home/buildroot/instance-0/output-1/target/usr/lib/libsensors.so.5 ln -sf libsensors.so.5 /home/buildroot/instance-0/output-1/target/usr/lib/libsensors.so install -m 644 lib/error.h lib/sensors.h /home/buildroot/instance-0/output-1/target/usr/include/sensors install -m 644 lib/libsensors.3 /home/buildroot/instance-0/output-1/target/usr/man/man3 install -m 644 lib/sensors.conf.5 /home/buildroot/instance-0/output-1/target/usr/man/man5 ln -sf sensors.conf.5 /home/buildroot/instance-0/output-1/target/usr/man/man5/sensors3.conf.5 mkdir -p /home/buildroot/instance-0/output-1/target/usr/sbin /home/buildroot/instance-0/output-1/target/usr/man/man8 install -m 755 prog/detect/sensors-detect /home/buildroot/instance-0/output-1/target/usr/sbin install -m 644 prog/detect/sensors-detect.8 /home/buildroot/instance-0/output-1/target/usr/man/man8 mkdir -p /home/buildroot/instance-0/output-1/target/usr/sbin /home/buildroot/instance-0/output-1/target/usr/man/man8 install -m 755 prog/pwm/fancontrol prog/pwm/pwmconfig /home/buildroot/instance-0/output-1/target/usr/sbin install -m 644 prog/pwm/fancontrol.8 prog/pwm/pwmconfig.8 /home/buildroot/instance-0/output-1/target/usr/man/man8 mkdir -p /home/buildroot/instance-0/output-1/target/usr/bin /home/buildroot/instance-0/output-1/target/usr/man/man1 install -m 755 prog/sensors/sensors /home/buildroot/instance-0/output-1/target/usr/bin install -m 644 prog/sensors/sensors.1 /home/buildroot/instance-0/output-1/target/usr/man/man1 mkdir -p /home/buildroot/instance-0/output-1/target/etc /home/buildroot/instance-0/output-1/target/etc/sensors.d if [ ! -e /home/buildroot/instance-0/output-1/target/etc/sensors3.conf ] ; then \ install -m 644 etc/sensors.conf.default /home/buildroot/instance-0/output-1/target/etc/sensors3.conf ; \ fi mkdir -p /home/buildroot/instance-0/output-1/target/usr/bin install -m 755 etc/sensors-conf-convert /home/buildroot/instance-0/output-1/target/usr/bin if [ -e /home/buildroot/instance-0/output-1/target/etc/modprobe.d/lm_sensors \ -a ! -e /home/buildroot/instance-0/output-1/target/etc/modprobe.d/lm_sensors.conf ] ; then \ mv -f /home/buildroot/instance-0/output-1/target/etc/modprobe.d/lm_sensors /home/buildroot/instance-0/output-1/target/etc/modprobe.d/lm_sensors.conf ; \ fi mkdir -p /home/buildroot/instance-0/output-1/target/usr/man/man8 install -m 644 etc/sensors-conf-convert.8 /home/buildroot/instance-0/output-1/target/usr/man/man8 *** Important notes: *** * The libsensors configuration file (/etc/sensors3.conf) is never *** overwritten by our installation process, so that you won't lose *** your personal settings in that file. You still can get our latest *** default config file in etc/sensors.conf.default and manually copy *** it to /etc/sensors3.conf if you want. You will then want to *** edit it to fit your needs again. *** * The format of /etc/sensors3.conf changed with lm-sensors 3.0.0. *** If you have a custom configuration file using the old format, you *** can convert it using the sensors-conf-convert script. Otherwise just *** overwrite your old configuration file with the new default one. *** * As of lm-sensors 3.1.0, the default configuration file only *** contains statements which do not depend on how chips are wired. *** If you miss parts of the bigger configuration file that used to be *** the default, copy the relevant parts from etc/sensors.conf.eg to *** /etc/sensors3.conf. make[1]: Leaving directory '/home/buildroot/instance-0/output-1/build/lm-sensors-3.6.0' rm -f /home/buildroot/instance-0/output-1/target/usr/bin/sensors-conf-convert /home/buildroot/instance-0/output-1/target/usr/bin/sensors /home/buildroot/instance-0/output-1/target/usr/sbin/fancontrol /home/buildroot/instance-0/output-1/target/usr/sbin/isadump /home/buildroot/instance-0/output-1/target/usr/sbin/isaset /home/buildroot/instance-0/output-1/target/usr/sbin/pwmconfig /home/buildroot/instance-0/output-1/target/usr/sbin/sensors-detect 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 -O2 -g3 `/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=mipsel CC="/home/buildroot/instance-0/output-1/host/bin/mipsel-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/mipsel-buildroot-linux-musl-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g3 -I/home/buildroot/instance-0/output-1/host/bin/../mipsel-buildroot-linux-musl/sysroot/usr/include/tirpc -DSYS5 -Dvalloc=malloc -DS_IFIFO=S_IFFIFO -c lib_tcp.c -o ../bin/mipsel/lib_tcp.o /home/buildroot/instance-0/output-1/host/bin/mipsel-buildroot-linux-musl-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g3 -I/home/buildroot/instance-0/output-1/host/bin/../mipsel-buildroot-linux-musl/sysroot/usr/include/tirpc -DSYS5 -Dvalloc=malloc -DS_IFIFO=S_IFFIFO -c lib_udp.c -o ../bin/mipsel/lib_udp.o /home/buildroot/instance-0/output-1/host/bin/mipsel-buildroot-linux-musl-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g3 -I/home/buildroot/instance-0/output-1/host/bin/../mipsel-buildroot-linux-musl/sysroot/usr/include/tirpc -DSYS5 -Dvalloc=malloc -DS_IFIFO=S_IFFIFO -c lib_unix.c -o ../bin/mipsel/lib_unix.o /home/buildroot/instance-0/output-1/host/bin/mipsel-buildroot-linux-musl-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g3 -I/home/buildroot/instance-0/output-1/host/bin/../mipsel-buildroot-linux-musl/sysroot/usr/include/tirpc -DSYS5 -Dvalloc=malloc -DS_IFIFO=S_IFFIFO -c lib_timing.c -o ../bin/mipsel/lib_timing.o /home/buildroot/instance-0/output-1/host/bin/mipsel-buildroot-linux-musl-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g3 -I/home/buildroot/instance-0/output-1/host/bin/../mipsel-buildroot-linux-musl/sysroot/usr/include/tirpc -DSYS5 -Dvalloc=malloc -DS_IFIFO=S_IFFIFO -c lib_mem.c -o ../bin/mipsel/lib_mem.o /home/buildroot/instance-0/output-1/host/bin/mipsel-buildroot-linux-musl-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g3 -I/home/buildroot/instance-0/output-1/host/bin/../mipsel-buildroot-linux-musl/sysroot/usr/include/tirpc -DSYS5 -Dvalloc=malloc -DS_IFIFO=S_IFFIFO -c lib_stats.c -o ../bin/mipsel/lib_stats.o /home/buildroot/instance-0/output-1/host/bin/mipsel-buildroot-linux-musl-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g3 -I/home/buildroot/instance-0/output-1/host/bin/../mipsel-buildroot-linux-musl/sysroot/usr/include/tirpc -DSYS5 -Dvalloc=malloc -DS_IFIFO=S_IFFIFO -c lib_debug.c -o ../bin/mipsel/lib_debug.o /home/buildroot/instance-0/output-1/host/bin/mipsel-buildroot-linux-musl-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g3 -I/home/buildroot/instance-0/output-1/host/bin/../mipsel-buildroot-linux-musl/sysroot/usr/include/tirpc -DSYS5 -Dvalloc=malloc -DS_IFIFO=S_IFFIFO -c getopt.c -o ../bin/mipsel/getopt.o /home/buildroot/instance-0/output-1/host/bin/mipsel-buildroot-linux-musl-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g3 -I/home/buildroot/instance-0/output-1/host/bin/../mipsel-buildroot-linux-musl/sysroot/usr/include/tirpc -DSYS5 -Dvalloc=malloc -DS_IFIFO=S_IFFIFO -c lib_sched.c -o ../bin/mipsel/lib_sched.o rm -f ../bin/mipsel/lmbench /home/buildroot/instance-0/output-1/host/bin/mipsel-buildroot-linux-musl-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g3 -I/home/buildroot/instance-0/output-1/host/bin/../mipsel-buildroot-linux-musl/sysroot/usr/include/tirpc -DSYS5 -Dvalloc=malloc -DS_IFIFO=S_IFFIFO -o ../bin/mipsel/msleep msleep.c VERSION=`../scripts/version`; \ sed -e "s//${VERSION}/g" < ../scripts/lmbench > ../bin/mipsel/lmbench /home/buildroot/instance-0/output-1/host/bin/mipsel-buildroot-linux-musl-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g3 -I/home/buildroot/instance-0/output-1/host/bin/../mipsel-buildroot-linux-musl/sysroot/usr/include/tirpc -DSYS5 -Dvalloc=malloc -DS_IFIFO=S_IFFIFO -DMAIN -o ../bin/mipsel/flushdisk flushdisk.c chmod +x ../bin/mipsel/lmbench 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/mipsel-buildroot-linux-musl/sysroot/usr/include/sys/socket.h:18, from bench.h:35: /home/buildroot/instance-0/output-1/host/mipsel-buildroot-linux-musl/sysroot/usr/include/bits/alltypes.h:360:18: note: previous declaration of 'socklen_t' with type 'socklen_t' {aka 'unsigned int'} 360 | 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/mipsel-buildroot-linux-musl/sysroot/usr/include/sys/socket.h:18, from bench.h:35: /home/buildroot/instance-0/output-1/host/mipsel-buildroot-linux-musl/sysroot/usr/include/bits/alltypes.h:360:18: note: previous declaration of 'socklen_t' with type 'socklen_t' {aka 'unsigned int'} 360 | typedef unsigned socklen_t; | ^~~~~~~~~ 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/mipsel-buildroot-linux-musl/sysroot/usr/include/sys/socket.h:18, from bench.h:35: /home/buildroot/instance-0/output-1/host/mipsel-buildroot-linux-musl/sysroot/usr/include/bits/alltypes.h:360:18: note: previous declaration of 'socklen_t' with type 'socklen_t' {aka 'unsigned int'} 360 | typedef unsigned socklen_t; | ^~~~~~~~~ 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/mipsel-buildroot-linux-musl/sysroot/usr/include/sys/socket.h:18, from bench.h:35: /home/buildroot/instance-0/output-1/host/mipsel-buildroot-linux-musl/sysroot/usr/include/bits/alltypes.h:360:18: note: previous declaration of 'socklen_t' with type 'socklen_t' {aka 'unsigned int'} 360 | typedef unsigned socklen_t; | ^~~~~~~~~ lib_udp.c: In function 'udp_server': 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_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); | ^~~~~ 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)); | ^~~~~ gmake[2]: *** [Makefile:433: ../bin/mipsel/msleep] Error 1 gmake[2]: *** Waiting for unfinished jobs.... gmake[2]: *** [Makefile:226: ../bin/mipsel/lib_udp.o] Error 1 gmake[2]: *** [Makefile:236: ../bin/mipsel/getopt.o] Error 1 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)); | ^~~~~ 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/mipsel-buildroot-linux-musl/sysroot/usr/include/sys/socket.h:18, from bench.h:35: /home/buildroot/instance-0/output-1/host/mipsel-buildroot-linux-musl/sysroot/usr/include/bits/alltypes.h:360:18: note: previous declaration of 'socklen_t' with type 'socklen_t' {aka 'unsigned int'} 360 | typedef unsigned socklen_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 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/mipsel-buildroot-linux-musl/sysroot/usr/include/sys/socket.h:18, from bench.h:35: /home/buildroot/instance-0/output-1/host/mipsel-buildroot-linux-musl/sysroot/usr/include/bits/alltypes.h:360:18: note: previous declaration of 'socklen_t' with type 'socklen_t' {aka 'unsigned int'} 360 | typedef unsigned socklen_t; | ^~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/mipsel-buildroot-linux-musl/sysroot/usr/include/sys/socket.h:18, from bench.h:35: /home/buildroot/instance-0/output-1/host/mipsel-buildroot-linux-musl/sysroot/usr/include/bits/alltypes.h:360:18: note: previous declaration of 'socklen_t' with type 'socklen_t' {aka 'unsigned int'} 360 | 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/mipsel-buildroot-linux-musl/sysroot/usr/include/sys/socket.h:18, from bench.h:35: /home/buildroot/instance-0/output-1/host/mipsel-buildroot-linux-musl/sysroot/usr/include/bits/alltypes.h:360:18: note: previous declaration of 'socklen_t' with type 'socklen_t' {aka 'unsigned int'} 360 | 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/mipsel-buildroot-linux-musl/sysroot/usr/include/sys/socket.h:18, from bench.h:35: /home/buildroot/instance-0/output-1/host/mipsel-buildroot-linux-musl/sysroot/usr/include/bits/alltypes.h:360:18: note: previous declaration of 'socklen_t' with type 'socklen_t' {aka 'unsigned int'} 360 | typedef unsigned socklen_t; | ^~~~~~~~~ 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/mipsel-buildroot-linux-musl/sysroot/usr/include/sys/socket.h:18, from bench.h:35: /home/buildroot/instance-0/output-1/host/mipsel-buildroot-linux-musl/sysroot/usr/include/bits/alltypes.h:360:18: note: previous declaration of 'socklen_t' with type 'socklen_t' {aka 'unsigned int'} 360 | typedef unsigned socklen_t; | ^~~~~~~~~ lib_tcp.c: In function 'tcp_server': 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_tcp.c:31:9: note: in expansion of macro 'bzero' 31 | 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_unix.c:27:9: note: in expansion of macro 'bzero' 27 | bzero((void*)&s, sizeof(s)); | ^~~~~ lib_tcp.c:10:1: note: include '' or provide a declaration of 'memset' 9 | #include "bench.h" +++ |+#include 10 | 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_tcp.c:31:9: note: in expansion of macro 'bzero' 31 | bzero((void*)&s, sizeof(s)); | ^~~~~ 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_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_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_unix.c: In function 'unix_accept': 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_unix.c:63:9: note: in expansion of macro 'bzero' 63 | bzero((void*)&s, namelen); | ^~~~~ 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_unix.c:63:9: note: in expansion of macro 'bzero' 63 | 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_unix.c: In function 'unix_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_unix.c:89:9: note: in expansion of macro 'bzero' 89 | bzero((void*)&s, sizeof(s)); | ^~~~~ lib_tcp.c: In function 'tcp_connect': 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)); | ^~~~~ 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' 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); | ^~~~~ lib_debug.c: In function 'print_mem': lib_debug.c:107:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 107 | base = (uint64)addr; | ^ lib_debug.c:109:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 109 | off = (uint64)p - base; | ^ gmake[2]: *** [Makefile:228: ../bin/mipsel/lib_unix.o] Error 1 gmake[2]: *** [Makefile:232: ../bin/mipsel/lib_stats.o] Error 1 gmake[2]: *** [Makefile:230: ../bin/mipsel/lib_debug.o] Error 1 gmake[2]: *** [Makefile:234: ../bin/mipsel/lib_sched.o] Error 1 gmake[2]: *** [Makefile:224: ../bin/mipsel/lib_tcp.o] Error 1 gmake[2]: *** [Makefile:220: ../bin/mipsel/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/mipsel/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'