>>> powertop 2.11 Extracting gzip -d -c /home/giuliobenetti/autobuild/run/instance-0/dl/powertop/powertop-v2.11-1-g7ef7f79.tar.gz | tar --strip-components=1 -C /home/giuliobenetti/autobuild/run/instance-0/output-1/build/powertop-2.11 -xf - >>> powertop 2.11 Patching Applying 0001-dont-force-stack-smashing-protection.patch using patch: patching file src/Makefile.am Hunk #1 succeeded at 138 (offset 11 lines). >>> powertop 2.11 Updating config.sub and config.guess for file in config.guess config.sub; do for i in $(find /home/giuliobenetti/autobuild/run/instance-0/output-1/build/powertop-2.11 -name $file); do cp support/gnuconfig/$file $i; done; done >>> powertop 2.11 Configuring >>> powertop 2.11 Autoreconfiguring aclocal: overwriting 'm4/pkg.m4' with '/home/giuliobenetti/autobuild/run/instance-0/output-1/host/share/aclocal/pkg.m4' libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: copying file 'm4/libtool.m4' libtoolize: copying file 'm4/ltoptions.m4' libtoolize: copying file 'm4/ltsugar.m4' libtoolize: copying file 'm4/ltversion.m4' libtoolize: copying file 'm4/lt~obsolete.m4' configure.ac:29: installing './compile' configure.ac:7: installing './missing' src/Makefile.am: installing './depcomp' >>> powertop 2.11 Patching libtool patching file /home/giuliobenetti/autobuild/run/instance-0/output-1/build/powertop-2.11/ltmain.sh Hunk #1 succeeded at 2694 (offset 7 lines). Hunk #2 succeeded at 4284 (offset 7 lines). Hunk #3 succeeded at 6579 (offset 25 lines). Hunk #4 succeeded at 6589 (offset 25 lines). Hunk #5 succeeded at 6882 (offset 25 lines). Hunk #6 succeeded at 7174 (offset 25 lines). Hunk #7 succeeded at 8140 (offset 28 lines). Hunk #8 succeeded at 10769 (offset 59 lines). (cd /home/giuliobenetti/autobuild/run/instance-0/output-1/build/powertop-2.11/ && rm -rf config.cache && PATH="/home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin:/home/giuliobenetti/autobuild/run/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" AR="/home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/m68k-linux-ar" AS="/home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/m68k-linux-as" LD="/home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/m68k-linux-ld" NM="/home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/m68k-linux-nm" CC="/home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/m68k-linux-gcc" GCC="/home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/m68k-linux-gcc" CPP="/home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/m68k-linux-cpp" CXX="/home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/m68k-linux-g++" FC="/home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/m68k-linux-gfortran" F77="/home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/m68k-linux-gfortran" RANLIB="/home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/m68k-linux-ranlib" READELF="/home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/m68k-linux-readelf" STRIP="/home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/m68k-linux-strip" OBJCOPY="/home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/m68k-linux-objcopy" OBJDUMP="/home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/m68k-linux-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/giuliobenetti/autobuild/run/instance-0/output-1/host/include" CFLAGS_FOR_BUILD="-O2 -I/home/giuliobenetti/autobuild/run/instance-0/output-1/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/home/giuliobenetti/autobuild/run/instance-0/output-1/host/include" LDFLAGS_FOR_BUILD="-L/home/giuliobenetti/autobuild/run/instance-0/output-1/host/lib -Wl,-rpath,/home/giuliobenetti/autobuild/run/instance-0/output-1/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/m68k-linux-as" DEFAULT_LINKER="/home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/m68k-linux-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 -Os -fno-dwarf2-cfi-asm -Wl,-elf2flt -static" CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fno-dwarf2-cfi-asm -Wl,-elf2flt -static -fno-dwarf2-cfi-asm -Wl,-elf2flt -static" LDFLAGS=" -Wl,-elf2flt -static" FCFLAGS=" -Os -Wl,-elf2flt -static" FFLAGS=" -Os -Wl,-elf2flt -static" PKG_CONFIG="/home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/pkg-config" STAGING_DIR="/home/giuliobenetti/autobuild/run/instance-0/output-1/host/m68k-buildroot-uclinux-uclibc/sysroot" INTLTOOL_PERL=/usr/bin/perl ac_cv_lbl_unaligned_fail=no ac_cv_func_mmap_fixed_mapped=yes ac_cv_func_memcmp_working=yes ac_cv_have_decl_malloc=yes gl_cv_func_malloc_0_nonnull=yes ac_cv_func_malloc_0_nonnull=yes ac_cv_func_calloc_0_nonnull=yes ac_cv_func_realloc_0_nonnull=yes lt_cv_sys_lib_search_path_spec="" ac_cv_c_bigendian=yes LIBS= ac_cv_search_delwin="-lncurses" CONFIG_SITE=/dev/null ./configure --target=m68k-buildroot-uclinux-uclibc --host=m68k-buildroot-uclinux-uclibc --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix="" --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --enable-static --disable-shared ) configure: WARNING: unrecognized options: --disable-gtk-doc, --disable-gtk-doc-html, --disable-doc, --disable-docs, --disable-documentation, --with-xmlto, --with-fop, --enable-ipv6 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for m68k-buildroot-uclinux-uclibc-strip... /home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/m68k-linux-strip checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for style of include used by make... GNU checking whether the C++ compiler works... yes checking for C++ compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... yes checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether /home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/m68k-linux-g++ accepts -g... yes checking dependency style of /home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/m68k-linux-g++... none checking how to run the C++ preprocessor... /home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/m68k-linux-g++ -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking whether make supports nested variables... (cached) yes checking whether NLS is requested... no checking for msgfmt... /home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/msgfmt checking for gmsgfmt... /home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/msgfmt checking for xgettext... /home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/xgettext checking for msgmerge... /home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/msgmerge checking for m68k-buildroot-uclinux-uclibc-gcc... /home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/m68k-linux-gcc checking whether we are using the GNU C compiler... yes checking whether /home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/m68k-linux-gcc accepts -g... yes checking for /home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/m68k-linux-gcc option to accept ISO C89... none needed checking whether /home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/m68k-linux-gcc understands -c and -o together... yes checking dependency style of /home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/m68k-linux-gcc... none checking build system type... x86_64-pc-linux-gnu checking host system type... m68k-buildroot-uclinux-uclibc checking for ld used by /home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/m68k-linux-gcc... /home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/m68k-linux-ld checking if the linker (/home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/m68k-linux-ld) is GNU ld... yes checking for shared library run path origin... done checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyCurrent... no checking whether to use NLS... no checking for m68k-buildroot-uclinux-uclibc-ar... /home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/m68k-linux-ar checking the archiver (/home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/m68k-linux-ar) interface... ar checking how to run the C preprocessor... /home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/m68k-linux-cpp checking whether we are using the GNU C++ compiler... (cached) yes checking whether /home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/m68k-linux-g++ accepts -g... (cached) yes checking dependency style of /home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/m68k-linux-g++... (cached) none checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for fgrep... /bin/grep -F checking for ld used by /home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/m68k-linux-gcc... /home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/m68k-linux-ld checking if the linker (/home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/m68k-linux-ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/m68k-linux-nm checking the name lister (/home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/m68k-linux-nm) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-pc-linux-gnu file names to m68k-buildroot-uclinux-uclibc format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/m68k-linux-ld option to reload object files... -r checking for m68k-buildroot-uclinux-uclibc-objdump... /home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/m68k-linux-objdump checking how to recognize dependent libraries... unknown checking for m68k-buildroot-uclinux-uclibc-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for m68k-buildroot-uclinux-uclibc-ar... (cached) /home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/m68k-linux-ar checking for archiver @FILE support... @ checking for m68k-buildroot-uclinux-uclibc-strip... (cached) /home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/m68k-linux-strip checking for m68k-buildroot-uclinux-uclibc-ranlib... /home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/m68k-linux-ranlib checking command to parse /home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/m68k-linux-nm output from /home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/m68k-linux-gcc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for m68k-buildroot-uclinux-uclibc-mt... no checking for mt... mt configure: WARNING: using cross tools not prefixed with host triplet checking if mt is a manifest tool... no checking for dlfcn.h... no checking for objdir... .libs checking if /home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/m68k-linux-gcc supports -fno-rtti -fno-exceptions... no checking for /home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/m68k-linux-gcc option to produce PIC... -fPIC -DPIC checking if /home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/m68k-linux-gcc PIC flag -fPIC -DPIC works... yes checking if /home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/m68k-linux-gcc static flag -static works... yes checking if /home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/m68k-linux-gcc supports -c -o file.o... yes checking if /home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/m68k-linux-gcc supports -c -o file.o... (cached) yes checking whether the /home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/m68k-linux-gcc linker (/home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/m68k-linux-ld) supports shared libraries... yes checking dynamic linker characteristics... no checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... no checking whether to build shared libraries... no checking whether to build static libraries... yes checking how to run the C++ preprocessor... /home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/m68k-linux-g++ -E checking for ld used by /home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/m68k-linux-g++... /home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/m68k-linux-ld checking if the linker (/home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/m68k-linux-ld) is GNU ld... yes checking whether the /home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/m68k-linux-g++ linker (/home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/m68k-linux-ld) supports shared libraries... no checking for /home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/m68k-linux-g++ option to produce PIC... -fPIC -DPIC checking if /home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/m68k-linux-g++ PIC flag -fPIC -DPIC works... yes checking if /home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/m68k-linux-g++ static flag -static works... yes checking if /home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/m68k-linux-g++ supports -c -o file.o... yes checking if /home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/m68k-linux-g++ supports -c -o file.o... (cached) yes checking whether the /home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/m68k-linux-g++ linker (/home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/m68k-linux-ld) supports shared libraries... no checking dynamic linker characteristics... no checking how to hardcode library paths into programs... immediate checking for m68k-buildroot-uclinux-uclibc-gcc... (cached) /home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/m68k-linux-gcc checking whether we are using the GNU C compiler... (cached) yes checking whether /home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/m68k-linux-gcc accepts -g... (cached) yes checking for /home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/m68k-linux-gcc option to accept ISO C89... (cached) none needed checking whether /home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/m68k-linux-gcc understands -c and -o together... (cached) yes checking dependency style of /home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/m68k-linux-gcc... (cached) none checking for FORTIFY_SOURCE support... checking whether /home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin/m68k-linux-g++ supports C++11 features by default... yes checking if compiler needs -Werror to reject unknown flags... no checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... no checking for PTHREAD_PRIO_INHERIT... no checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking ncurses.h usability... yes checking ncurses.h presence... yes checking for ncurses.h... yes checking for stdint.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/statfs.h usability... yes checking sys/statfs.h presence... yes checking for sys/statfs.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking for unistd.h... (cached) yes checking for stdbool.h that conforms to C99... no checking for _Bool... no checking for inline... inline checking for int64_t... yes checking for pid_t... yes checking for size_t... yes checking for ssize_t... yes checking for uint16_t... yes checking for uint32_t... yes checking for uint64_t... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... (cached) yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/param.h... yes checking for getpagesize... yes checking for working mmap... (cached) yes checking for stdlib.h... (cached) yes checking for GNU libc compatible realloc... (cached) yes checking for working strtod... no checking for pow... yes checking for fdatasync... yes checking for getpagesize... (cached) yes checking for gettimeofday... yes checking for memmove... yes checking for memset... yes checking for mkdir... yes checking for munmap... yes checking for pow... (cached) yes checking for realpath... yes checking for regcomp... yes checking for select... yes checking for setlocale... yes checking for socket... yes checking for sqrt... yes checking for strcasecmp... yes checking for strchr... yes checking for strdup... yes checking for strerror... yes checking for strncasecmp... yes checking for strstr... yes checking for strtoul... yes checking for strtoull... yes checking for library containing clock_gettime... none required checking pkg-config is at least version 0.9.0... yes checking for NCURSES... no checking for library containing delwin... (cached) -lncurses checking for PCIUTILS... yes checking for LIBNL... yes checking for library containing inet_aton... none required checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating Doxyfile config.status: creating src/Makefile config.status: creating traceevent/Makefile config.status: creating po/Makefile.in config.status: creating doc/Makefile config.status: creating scripts/bash-completion/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing po-directories commands config.status: creating po/POTFILES config.status: creating po/Makefile config.status: executing libtool commands configure: WARNING: unrecognized options: --disable-gtk-doc, --disable-gtk-doc-html, --disable-doc, --disable-docs, --disable-documentation, --with-xmlto, --with-fop, --enable-ipv6 >>> powertop 2.11 Building PATH="/home/giuliobenetti/autobuild/run/instance-0/output-1/host/bin:/home/giuliobenetti/autobuild/run/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" /usr/bin/make -j4 -C /home/giuliobenetti/autobuild/run/instance-0/output-1/build/powertop-2.11/ make[1]: Entering directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/powertop-2.11' /usr/bin/make all-recursive make[2]: Entering directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/powertop-2.11' Making all in traceevent make[3]: Entering directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/powertop-2.11/traceevent' CC event-parse.lo CC parse-filter.lo CC parse-utils.lo CC trace-seq.lo CCLD libtraceevnet.la make[3]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/powertop-2.11/traceevent' Making all in src make[3]: Entering directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/powertop-2.11/src' /usr/bin/make all-am make[4]: Entering directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/powertop-2.11/src' CXX powertop-devlist.o CXX powertop-lib.o CXX powertop-display.o CXX powertop-main.o CXX calibrate/powertop-calibrate.o CXX cpu/powertop-abstract_cpu.o CXX cpu/powertop-cpu.o CXX cpu/powertop-cpu_core.o CXX cpu/powertop-cpu_linux.o CXX cpu/powertop-cpu_package.o CXX cpu/powertop-cpu_rapl_device.o CXX cpu/powertop-cpudevice.o CXX cpu/powertop-dram_rapl_device.o CXX cpu/powertop-intel_cpus.o CXX cpu/powertop-intel_gpu.o CXX cpu/rapl/powertop-rapl_interface.o CXX devices/powertop-ahci.o CXX devices/powertop-alsa.o CXX devices/powertop-backlight.o CXX devices/powertop-devfreq.o devices/ahci.cpp: In member function 'virtual void ahci::start_measurement()': devices/ahci.cpp:164:39: warning: '/ahci_alpm_active' directive output may be truncated writing 17 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s/ahci_alpm_active", sysfs_path); ^~~~~~~~~~~~~~~~~~~~~ devices/ahci.cpp:164:10: note: 'snprintf' output between 18 and 4113 bytes into a destination of size 4096 snprintf(filename, sizeof(filename), "%s/ahci_alpm_active", sysfs_path); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/ahci.cpp:171:40: warning: '/ahci_alpm_partial' directive output may be truncated writing 18 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s/ahci_alpm_partial", sysfs_path); ^~~~~~~~~~~~~~~~~~~~~~ devices/ahci.cpp:171:11: note: 'snprintf' output between 19 and 4114 bytes into a destination of size 4096 snprintf(filename, sizeof(filename), "%s/ahci_alpm_partial", sysfs_path); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/ahci.cpp:178:40: warning: '/ahci_alpm_slumber' directive output may be truncated writing 18 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s/ahci_alpm_slumber", sysfs_path); ^~~~~~~~~~~~~~~~~~~~~~ devices/ahci.cpp:178:11: note: 'snprintf' output between 19 and 4114 bytes into a destination of size 4096 snprintf(filename, sizeof(filename), "%s/ahci_alpm_slumber", sysfs_path); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/ahci.cpp:184:40: warning: '/ahci_alpm_devslp' directive output may be truncated writing 17 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s/ahci_alpm_devslp", sysfs_path); ^~~~~~~~~~~~~~~~~~~~~ devices/ahci.cpp:184:11: note: 'snprintf' output between 18 and 4113 bytes into a destination of size 4096 snprintf(filename, sizeof(filename), "%s/ahci_alpm_devslp", sysfs_path); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/ahci.cpp: In member function 'virtual void ahci::end_measurement()': devices/ahci.cpp:206:40: warning: '/ahci_alpm_active' directive output may be truncated writing 17 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s/ahci_alpm_active", sysfs_path); ^~~~~~~~~~~~~~~~~~~~~ devices/ahci.cpp:206:11: note: 'snprintf' output between 18 and 4113 bytes into a destination of size 4096 snprintf(filename, sizeof(filename), "%s/ahci_alpm_active", sysfs_path); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/ahci.cpp:212:40: warning: '/ahci_alpm_partial' directive output may be truncated writing 18 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s/ahci_alpm_partial", sysfs_path); ^~~~~~~~~~~~~~~~~~~~~~ devices/ahci.cpp:212:11: note: 'snprintf' output between 19 and 4114 bytes into a destination of size 4096 snprintf(filename, sizeof(filename), "%s/ahci_alpm_partial", sysfs_path); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/ahci.cpp:218:40: warning: '/ahci_alpm_slumber' directive output may be truncated writing 18 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s/ahci_alpm_slumber", sysfs_path); ^~~~~~~~~~~~~~~~~~~~~~ devices/ahci.cpp:218:11: note: 'snprintf' output between 19 and 4114 bytes into a destination of size 4096 snprintf(filename, sizeof(filename), "%s/ahci_alpm_slumber", sysfs_path); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/ahci.cpp:224:40: warning: '/ahci_alpm_devslp' directive output may be truncated writing 17 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s/ahci_alpm_devslp", sysfs_path); ^~~~~~~~~~~~~~~~~~~~~ devices/ahci.cpp:224:11: note: 'snprintf' output between 18 and 4113 bytes into a destination of size 4096 snprintf(filename, sizeof(filename), "%s/ahci_alpm_devslp", sysfs_path); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/ahci.cpp:248:41: warning: '-active' directive output may be truncated writing 7 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] snprintf(powername, sizeof(powername), "%s-active", name); ^~~~~~~~~~~ devices/ahci.cpp:248:10: note: 'snprintf' output between 8 and 4103 bytes into a destination of size 4096 snprintf(powername, sizeof(powername), "%s-active", name); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/ahci.cpp:255:41: warning: '-partial' directive output may be truncated writing 8 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] snprintf(powername, sizeof(powername), "%s-partial", name); ^~~~~~~~~~~~ devices/ahci.cpp:255:10: note: 'snprintf' output between 9 and 4104 bytes into a destination of size 4096 snprintf(powername, sizeof(powername), "%s-partial", name); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/ahci.cpp:262:41: warning: '-slumber' directive output may be truncated writing 8 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] snprintf(powername, sizeof(powername), "%s-slumber", name); ^~~~~~~~~~~~ devices/ahci.cpp:262:10: note: 'snprintf' output between 9 and 4104 bytes into a destination of size 4096 snprintf(powername, sizeof(powername), "%s-slumber", name); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/ahci.cpp:269:41: warning: '-devslp' directive output may be truncated writing 7 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] snprintf(powername, sizeof(powername), "%s-devslp", name); ^~~~~~~~~~~ devices/ahci.cpp:269:10: note: 'snprintf' output between 8 and 4103 bytes into a destination of size 4096 snprintf(powername, sizeof(powername), "%s-devslp", name); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/ahci.cpp: In constructor 'ahci::ahci(char*, char*)': devices/ahci.cpp:139:35: warning: '-active' directive output may be truncated writing 7 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] snprintf(buffer, sizeof(buffer), "%s-active", name); ^~~~~~~~~~~ devices/ahci.cpp:139:10: note: 'snprintf' output between 8 and 4103 bytes into a destination of size 4096 snprintf(buffer, sizeof(buffer), "%s-active", name); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/ahci.cpp:142:35: warning: '-partial' directive output may be truncated writing 8 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] snprintf(buffer, sizeof(buffer), "%s-partial", name); ^~~~~~~~~~~~ devices/ahci.cpp:142:10: note: 'snprintf' output between 9 and 4104 bytes into a destination of size 4096 snprintf(buffer, sizeof(buffer), "%s-partial", name); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/ahci.cpp:145:35: warning: '-slumber' directive output may be truncated writing 8 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] snprintf(buffer, sizeof(buffer), "%s-slumber", name); ^~~~~~~~~~~~ devices/ahci.cpp:145:10: note: 'snprintf' output between 9 and 4104 bytes into a destination of size 4096 snprintf(buffer, sizeof(buffer), "%s-slumber", name); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/ahci.cpp:148:35: warning: '-devslp' directive output may be truncated writing 7 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] snprintf(buffer, sizeof(buffer), "%s-devslp", name); ^~~~~~~~~~~ devices/ahci.cpp:148:10: note: 'snprintf' output between 8 and 4103 bytes into a destination of size 4096 snprintf(buffer, sizeof(buffer), "%s-devslp", name); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/ahci.cpp:54:39: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] snprintf(pathname, sizeof(pathname), "%s/%s", path, target); ^~~~~~~ devices/ahci.cpp:54:10: note: 'snprintf' output between 2 and 4352 bytes into a destination of size 4096 snprintf(pathname, sizeof(pathname), "%s/%s", path, target); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/ahci.cpp:68:32: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] snprintf(line, sizeof(line), "%s/%s/model", pathname, dirent->d_name); ^~~~~~~~~~~~~ devices/ahci.cpp:68:11: note: 'snprintf' output between 8 and 4358 bytes into a destination of size 4096 snprintf(line, sizeof(line), "%s/%s/model", pathname, dirent->d_name); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CXX devices/powertop-device.o devices/alsa.cpp: In member function 'virtual void alsa::start_measurement()': devices/alsa.cpp:89:39: warning: '/power_off_acct' directive output may be truncated writing 15 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s/power_off_acct", sysfs_path); ^~~~~~~~~~~~~~~~~~~ devices/alsa.cpp:89:10: note: 'snprintf' output between 16 and 4111 bytes into a destination of size 4096 snprintf(filename, sizeof(filename), "%s/power_off_acct", sysfs_path); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/alsa.cpp:96:40: warning: '/power_on_acct' directive output may be truncated writing 14 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s/power_on_acct", sysfs_path); ^~~~~~~~~~~~~~~~~~ devices/alsa.cpp:96:11: note: 'snprintf' output between 15 and 4110 bytes into a destination of size 4096 snprintf(filename, sizeof(filename), "%s/power_on_acct", sysfs_path); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/alsa.cpp: In member function 'virtual void alsa::end_measurement()': devices/alsa.cpp:115:39: warning: '/power_off_acct' directive output may be truncated writing 15 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s/power_off_acct", sysfs_path); ^~~~~~~~~~~~~~~~~~~ devices/alsa.cpp:115:10: note: 'snprintf' output between 16 and 4111 bytes into a destination of size 4096 snprintf(filename, sizeof(filename), "%s/power_off_acct", sysfs_path); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/alsa.cpp:122:40: warning: '/power_on_acct' directive output may be truncated writing 14 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s/power_on_acct", sysfs_path); ^~~~~~~~~~~~~~~~~~ devices/alsa.cpp:122:11: note: 'snprintf' output between 15 and 4110 bytes into a destination of size 4096 snprintf(filename, sizeof(filename), "%s/power_on_acct", sysfs_path); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/alsa.cpp: In member function 'virtual const char* alsa::human_name()': devices/alsa.cpp:205:40: warning: ' (' directive output may be truncated writing 2 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] snprintf(temp_buf, sizeof(temp_buf), "%s (%s)", humanname, guilty); ^~~~~~~~~ devices/alsa.cpp:205:11: note: 'snprintf' output between 4 and 8194 bytes into a destination of size 4096 snprintf(temp_buf, sizeof(temp_buf), "%s (%s)", humanname, guilty); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from devices/../parameters/parameters.h:35, from devices/alsa.h:30, from devices/alsa.cpp:35: devices/alsa.cpp: In constructor 'alsa::alsa(const char*, const char*)': devices/alsa.cpp:81:44: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4082 [-Wformat-truncation=] snprintf(humanname, sizeof(humanname), _("Audio codec %s: %s"), _name, vendor); ~ devices/../parameters/../lib.h:41:23: note: in definition of macro '_' #define _(STRING) (STRING) ^~~~~~ devices/alsa.cpp:81:11: note: 'snprintf' output 15 or more bytes (assuming 4110) into a destination of size 4096 snprintf(humanname, sizeof(humanname), _("Audio codec %s: %s"), _name, vendor); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from devices/../parameters/parameters.h:35, from devices/alsa.h:30, from devices/alsa.cpp:35: devices/alsa.cpp:79:44: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4082 [-Wformat-truncation=] snprintf(humanname, sizeof(humanname), _("Audio codec %s: %s"), _name, model); ~ devices/../parameters/../lib.h:41:23: note: in definition of macro '_' #define _(STRING) (STRING) ^~~~~~ devices/alsa.cpp:79:11: note: 'snprintf' output 15 or more bytes (assuming 4110) into a destination of size 4096 snprintf(humanname, sizeof(humanname), _("Audio codec %s: %s"), _name, model); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from devices/../parameters/parameters.h:35, from devices/alsa.h:30, from devices/alsa.cpp:35: devices/alsa.cpp:77:44: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4084 [-Wformat-truncation=] snprintf(humanname, sizeof(humanname), _("Audio codec %s: %s (%s)"), name, model, vendor); devices/../parameters/../lib.h:41:23: note: in definition of macro '_' #define _(STRING) (STRING) ^~~~~~ devices/alsa.cpp:77:11: note: 'snprintf' output between 18 and 12303 bytes into a destination of size 4096 snprintf(humanname, sizeof(humanname), _("Audio codec %s: %s (%s)"), name, model, vendor); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CXX devices/powertop-gpu_rapl_device.o devices/backlight.cpp: In member function 'virtual void backlight::start_measurement()': devices/backlight.cpp:61:39: warning: '/max_brightness' directive output may be truncated writing 15 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s/max_brightness", sysfs_path); ^~~~~~~~~~~~~~~~~~~ devices/backlight.cpp:61:10: note: 'snprintf' output between 16 and 4111 bytes into a destination of size 4096 snprintf(filename, sizeof(filename), "%s/max_brightness", sysfs_path); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/backlight.cpp:68:39: warning: '/actual_brightness' directive output may be truncated writing 18 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s/actual_brightness", sysfs_path); ^~~~~~~~~~~~~~~~~~~~~~ devices/backlight.cpp:68:10: note: 'snprintf' output between 19 and 4114 bytes into a destination of size 4096 snprintf(filename, sizeof(filename), "%s/actual_brightness", sysfs_path); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/backlight.cpp: In member function 'virtual void backlight::end_measurement()': devices/backlight.cpp:125:39: warning: '/actual_brightness' directive output may be truncated writing 18 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s/actual_brightness", sysfs_path); ^~~~~~~~~~~~~~~~~~~~~~ devices/backlight.cpp:125:10: note: 'snprintf' output between 19 and 4114 bytes into a destination of size 4096 snprintf(filename, sizeof(filename), "%s/actual_brightness", sysfs_path); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/backlight.cpp:140:41: warning: '-power' directive output may be truncated writing 6 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] snprintf(powername, sizeof(powername), "%s-power", name); ^~~~~~~~~~ devices/backlight.cpp:140:10: note: 'snprintf' output between 7 and 4102 bytes into a destination of size 4096 snprintf(powername, sizeof(powername), "%s-power", name); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/backlight.cpp: In member function 'virtual double backlight::power_usage(result_bundle*, parameter_bundle*)': devices/backlight.cpp:217:22: warning: '-power' directive writing 6 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] sprintf(powername, "%s-power", name); ^~~~~~~~~~ devices/backlight.cpp:217:10: note: 'sprintf' output between 7 and 4102 bytes into a destination of size 4096 sprintf(powername, "%s-power", name); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CXX devices/powertop-i915-gpu.o CXX devices/powertop-network.o CXX devices/powertop-rfkill.o devices/device.cpp: In member function 'void device::register_sysfs_path(const char*)': devices/device.cpp:75:42: warning: '/device' directive output may be truncated writing 7 bytes into a region of size between 1 and 4097 [-Wformat-truncation=] snprintf(test_path, sizeof(test_path), "%s/device", current_path); ^~~~~~~~~~~ devices/device.cpp:75:11: note: 'snprintf' output between 8 and 4104 bytes into a destination of size 4097 snprintf(test_path, sizeof(test_path), "%s/device", current_path); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CXX devices/powertop-runtime_pm.o CXX devices/powertop-thinkpad-fan.o devices/rfkill.cpp: In member function 'virtual void rfkill::start_measurement()': devices/rfkill.cpp:83:39: warning: '/hard' directive output may be truncated writing 5 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s/hard", sysfs_path); ^~~~~~~~~ devices/rfkill.cpp:83:10: note: 'snprintf' output between 6 and 4101 bytes into a destination of size 4096 snprintf(filename, sizeof(filename), "%s/hard", sysfs_path); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/rfkill.cpp:90:39: warning: '/soft' directive output may be truncated writing 5 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s/soft", sysfs_path); ^~~~~~~~~ devices/rfkill.cpp:90:10: note: 'snprintf' output between 6 and 4101 bytes into a destination of size 4096 snprintf(filename, sizeof(filename), "%s/soft", sysfs_path); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/rfkill.cpp: In member function 'virtual void rfkill::end_measurement()': devices/rfkill.cpp:103:39: warning: '/hard' directive output may be truncated writing 5 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s/hard", sysfs_path); ^~~~~~~~~ devices/rfkill.cpp:103:10: note: 'snprintf' output between 6 and 4101 bytes into a destination of size 4096 snprintf(filename, sizeof(filename), "%s/hard", sysfs_path); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/rfkill.cpp:109:39: warning: '/soft' directive output may be truncated writing 5 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s/soft", sysfs_path); ^~~~~~~~~ devices/rfkill.cpp:109:10: note: 'snprintf' output between 6 and 4101 bytes into a destination of size 4096 snprintf(filename, sizeof(filename), "%s/soft", sysfs_path); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CXX devices/powertop-thinkpad-light.o CXX devices/powertop-usb.o devices/runtime_pm.cpp: In member function 'virtual void runtime_pmdevice::start_measurement()': devices/runtime_pm.cpp:69:39: warning: '/power/runtime_suspended_timt' directive output may be truncated writing 29 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s/power/runtime_suspended_time", sysfs_path); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/runtime_pm.cpp:69:10: note: 'snprintf' output between 30 and 4125 bytes into a destination of size 4096 snprintf(filename, sizeof(filename), "%s/power/runtime_suspended_time", sysfs_path); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/runtime_pm.cpp:76:39: warning: '/power/runtime_active_time' directive output may be truncated writing 26 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s/power/runtime_active_time", sysfs_path); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/runtime_pm.cpp:76:10: note: 'snprintf' output between 27 and 4122 bytes into a destination of size 4096 snprintf(filename, sizeof(filename), "%s/power/runtime_active_time", sysfs_path); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/runtime_pm.cpp: In member function 'virtual void runtime_pmdevice::end_measurement()': devices/runtime_pm.cpp:89:39: warning: '/power/runtime_suspended_timt' directive output may be truncated writing 29 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s/power/runtime_suspended_time", sysfs_path); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/runtime_pm.cpp:89:10: note: 'snprintf' output between 30 and 4125 bytes into a destination of size 4096 snprintf(filename, sizeof(filename), "%s/power/runtime_suspended_time", sysfs_path); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/runtime_pm.cpp:96:39: warning: '/power/runtime_active_time' directive output may be truncated writing 26 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s/power/runtime_active_time", sysfs_path); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/runtime_pm.cpp:96:10: note: 'snprintf' output between 27 and 4122 bytes into a destination of size 4096 snprintf(filename, sizeof(filename), "%s/power/runtime_active_time", sysfs_path); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CXX measurement/powertop-acpi.o CXX measurement/powertop-extech.o CXX measurement/powertop-measurement.o devices/usb.cpp: In member function 'virtual void usbdevice::start_measurement()': devices/usb.cpp:129:39: warning: '/power/active_duration' directive output may be truncated writing 22 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] snprintf(fullpath, sizeof(fullpath), "%s/power/active_duration", sysfs_path); ^~~~~~~~~~~~~~~~~~~~~~~~~~ devices/usb.cpp:129:10: note: 'snprintf' output between 23 and 4118 bytes into a destination of size 4096 snprintf(fullpath, sizeof(fullpath), "%s/power/active_duration", sysfs_path); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/usb.cpp:136:39: warning: '/power/connected_duration' directive output may be truncated writing 25 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] snprintf(fullpath, sizeof(fullpath), "%s/power/connected_duration", sysfs_path); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/usb.cpp:136:10: note: 'snprintf' output between 26 and 4121 bytes into a destination of size 4096 snprintf(fullpath, sizeof(fullpath), "%s/power/connected_duration", sysfs_path); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/usb.cpp: In member function 'virtual void usbdevice::end_measurement()': devices/usb.cpp:149:39: warning: '/power/active_duration' directive output may be truncated writing 22 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] snprintf(fullpath, sizeof(fullpath), "%s/power/active_duration", sysfs_path); ^~~~~~~~~~~~~~~~~~~~~~~~~~ devices/usb.cpp:149:10: note: 'snprintf' output between 23 and 4118 bytes into a destination of size 4096 snprintf(fullpath, sizeof(fullpath), "%s/power/active_duration", sysfs_path); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/usb.cpp:156:39: warning: '/power/connected_duration' directive output may be truncated writing 25 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] snprintf(fullpath, sizeof(fullpath), "%s/power/connected_duration", sysfs_path); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/usb.cpp:156:10: note: 'snprintf' output between 26 and 4121 bytes into a destination of size 4096 snprintf(fullpath, sizeof(fullpath), "%s/power/connected_duration", sysfs_path); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from devices/../parameters/parameters.h:35, from devices/usb.h:31, from devices/usb.cpp:25: devices/usb.cpp: In constructor 'usbdevice::usbdevice(const char*, const char*, const char*)': devices/usb.cpp:96:44: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4084 [-Wformat-truncation=] snprintf(humanname, sizeof(humanname), _("USB device: %s"), product); ~ devices/../parameters/../lib.h:41:23: note: in definition of macro '_' #define _(STRING) (STRING) ^~~~~~ devices/usb.cpp:96:11: note: 'snprintf' output between 13 and 4108 bytes into a destination of size 4096 snprintf(humanname, sizeof(humanname), _("USB device: %s"), product); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from devices/../parameters/parameters.h:35, from devices/usb.h:31, from devices/usb.cpp:25: devices/usb.cpp:98:44: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4084 [-Wformat-truncation=] snprintf(humanname, sizeof(humanname), _("USB device: %s"), vendor); ~ devices/../parameters/../lib.h:41:23: note: in definition of macro '_' #define _(STRING) (STRING) ^~~~~~ devices/usb.cpp:98:11: note: 'snprintf' output between 13 and 4108 bytes into a destination of size 4096 snprintf(humanname, sizeof(humanname), _("USB device: %s"), vendor); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from devices/../parameters/parameters.h:35, from devices/usb.h:31, from devices/usb.cpp:25: devices/usb.cpp:94:44: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4084 [-Wformat-truncation=] snprintf(humanname, sizeof(humanname), _("USB device: %s (%s)"), product, vendor); ~ devices/../parameters/../lib.h:41:23: note: in definition of macro '_' #define _(STRING) (STRING) ^~~~~~ devices/usb.cpp:94:11: note: 'snprintf' output between 16 and 8206 bytes into a destination of size 4096 snprintf(humanname, sizeof(humanname), _("USB device: %s (%s)"), product, vendor); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/usb.cpp: In function 'void create_all_usb_devices_callback(const char*)': devices/usb.cpp:226:45: warning: '/power/active_duration' directive output may be truncated writing 22 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] snprintf(device_name, sizeof(device_name), "%s/power/active_duration", filename); ^~~~~~~~~~~~~~~~~~~~~~~~~~ devices/usb.cpp:226:10: note: 'snprintf' output between 23 and 4118 bytes into a destination of size 4096 snprintf(device_name, sizeof(device_name), "%s/power/active_duration", filename); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/usb.cpp:230:45: warning: '/idVendor' directive output may be truncated writing 9 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] snprintf(device_name, sizeof(device_name), "%s/idVendor", filename); ^~~~~~~~~~~~~ devices/usb.cpp:230:10: note: 'snprintf' output between 10 and 4105 bytes into a destination of size 4096 snprintf(device_name, sizeof(device_name), "%s/idVendor", filename); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devices/usb.cpp:235:45: warning: '/idProduct' directive output may be truncated writing 10 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] snprintf(device_name, sizeof(device_name), "%s/idProduct", filename); ^~~~~~~~~~~~~~ devices/usb.cpp:235:10: note: 'snprintf' output between 11 and 4106 bytes into a destination of size 4096 snprintf(device_name, sizeof(device_name), "%s/idProduct", filename); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CXX measurement/powertop-sysfs.o CXX measurement/powertop-opal-sensors.o CXX parameters/powertop-learn.o CXX parameters/powertop-parameters.o CXX parameters/powertop-persistent.o CXX perf/powertop-perf.o parameters/parameters.cpp: In function 'int global_power_valid()': parameters/parameters.cpp:443:10: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'std::vector::size_type' {aka 'unsigned int'} [-Wformat=] printf("To show power estimates do %ld measurement(s) connected to battery only\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (3 * all_parameters.parameters.size()) - past_results.size()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CXX perf/powertop-perf_bundle.o CXX process/powertop-do_process.o CXX process/powertop-interrupt.o CXX process/powertop-powerconsumer.o CXX process/powertop-process.o CXX process/powertop-processdevice.o CXX process/powertop-timer.o CXX process/powertop-work.o CXX report/powertop-report-data-html.o CXX report/powertop-report-formatter-base.o CXX report/powertop-report-formatter-csv.o CXX report/powertop-report-formatter-html.o CXX report/powertop-report-maker.o CXX report/powertop-report.o CXX tuning/powertop-bluetooth.o CXX tuning/powertop-ethernet.o CC tuning/powertop-iw.o CXX tuning/powertop-runtime.o CXX tuning/powertop-tunable.o CXX tuning/powertop-tuning.o CXX tuning/powertop-tuningsysfs.o CXX tuning/powertop-tuningusb.o tuning/runtime.cpp: In constructor 'runtime_tunable::runtime_tunable(const char*, const char*, const char*, const char*)': tuning/runtime.cpp:86:45: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4081 [-Wformat-truncation=] snprintf(toggle_good, sizeof(toggle_good), "echo 'auto' > '%s';", runtime_path); ^~~~~~~~~~~~~~~~~~~~~ tuning/runtime.cpp:86:10: note: 'snprintf' output between 18 and 4113 bytes into a destination of size 4096 snprintf(toggle_good, sizeof(toggle_good), "echo 'auto' > '%s';", runtime_path); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuning/runtime.cpp:87:43: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4083 [-Wformat-truncation=] snprintf(toggle_bad, sizeof(toggle_bad), "echo 'on' > '%s';", runtime_path); ^~~~~~~~~~~~~~~~~~~ tuning/runtime.cpp:87:10: note: 'snprintf' output between 16 and 4111 bytes into a destination of size 4096 snprintf(toggle_bad, sizeof(toggle_bad), "echo 'on' > '%s';", runtime_path); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuning/runtime.cpp: In function 'void add_runtime_tunables(const char*)': tuning/runtime.cpp:166:41: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size between 3822 and 4077 [-Wformat-truncation=] snprintf(filename, sizeof(filename), "/sys/bus/%s/devices/%s/%s/power/control", bus, entry->d_name, port); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ tuning/runtime.cpp:166:12: note: 'snprintf' output 34 or more bytes (assuming 4384) into a destination of size 4096 snprintf(filename, sizeof(filename), "/sys/bus/%s/devices/%s/%s/power/control", bus, entry->d_name, port); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuning/runtime.cpp:171:41: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size between 3822 and 4077 [-Wformat-truncation=] snprintf(filename, sizeof(filename), "/sys/bus/%s/devices/%s/%s", bus, entry->d_name, port); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ tuning/runtime.cpp:171:12: note: 'snprintf' output 20 or more bytes (assuming 4370) into a destination of size 4096 snprintf(filename, sizeof(filename), "/sys/bus/%s/devices/%s/%s", bus, entry->d_name, port); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuning/runtime.cpp:192:41: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4085 [-Wformat-truncation=] snprintf(filename, sizeof(filename), "/sys/block/%s/device", port); ^~~~~~~~~~~~~~~~~~~~~~ ~~~~ tuning/runtime.cpp:192:12: note: 'snprintf' output between 19 and 4114 bytes into a destination of size 4096 snprintf(filename, sizeof(filename), "/sys/block/%s/device", port); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CXX tuning/powertop-tuningi2c.o tuning/tuningsysfs.cpp: In constructor 'sysfs_tunable::sysfs_tunable(const char*, const char*, const char*)': tuning/tuningsysfs.cpp:50:45: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4090 [-Wformat-truncation=] snprintf(toggle_good, sizeof(toggle_good), "echo '%s' > '%s';", target_value, sysfs_path); ^~~~~~~~~~~~~~~~~~~ tuning/tuningsysfs.cpp:50:10: note: 'snprintf' output between 14 and 8204 bytes into a destination of size 4096 snprintf(toggle_good, sizeof(toggle_good), "echo '%s' > '%s';", target_value, sysfs_path); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuning/tuningsysfs.cpp:51:43: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4090 [-Wformat-truncation=] snprintf(toggle_bad, sizeof(toggle_bad), "echo '%s' > '%s';", bad_value, sysfs_path); ^~~~~~~~~~~~~~~~~~~ tuning/tuningsysfs.cpp:51:10: note: 'snprintf' output between 14 and 8204 bytes into a destination of size 4096 snprintf(toggle_bad, sizeof(toggle_bad), "echo '%s' > '%s';", bad_value, sysfs_path); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CXX tuning/powertop-wifi.o In file included from tuning/tunable.h:30, from tuning/tuningusb.cpp:27: tuning/tuningusb.cpp: In constructor 'usb_tunable::usb_tunable(const char*, const char*)': tuning/tuningusb.cpp:71:34: warning: '%s' directive output may be truncated writing up to 2047 bytes into a region of size between 2020 and 4067 [-Wformat-truncation=] snprintf(desc, sizeof(desc), _("Autosuspend for USB device %s [%s]"), product, vendor); ~ tuning/../lib.h:41:23: note: in definition of macro '_' #define _(STRING) (STRING) ^~~~~~ tuning/tuningusb.cpp:71:11: note: 'snprintf' output between 31 and 4125 bytes into a destination of size 4096 snprintf(desc, sizeof(desc), _("Autosuspend for USB device %s [%s]"), product, vendor); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuning/tuningusb.cpp:77:45: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4081 [-Wformat-truncation=] snprintf(toggle_good, sizeof(toggle_good), "echo 'auto' > '%s';", usb_path); ^~~~~~~~~~~~~~~~~~~~~ tuning/tuningusb.cpp:77:10: note: 'snprintf' output between 18 and 4113 bytes into a destination of size 4096 snprintf(toggle_good, sizeof(toggle_good), "echo 'auto' > '%s';", usb_path); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuning/tuningusb.cpp:78:43: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4083 [-Wformat-truncation=] snprintf(toggle_bad, sizeof(toggle_bad), "echo 'on' > '%s';", usb_path); ^~~~~~~~~~~~~~~~~~~ tuning/tuningusb.cpp:78:10: note: 'snprintf' output between 16 and 4111 bytes into a destination of size 4096 snprintf(toggle_bad, sizeof(toggle_bad), "echo 'on' > '%s';", usb_path); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CXX wakeup/powertop-wakeup.o CXX wakeup/powertop-waketab.o tuning/tuningi2c.cpp: In constructor 'i2c_tunable::i2c_tunable(const char*, const char*, bool)': tuning/tuningi2c.cpp:61:45: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4081 [-Wformat-truncation=] snprintf(toggle_good, sizeof(toggle_good), "echo 'auto' > '%s';", i2c_path); ^~~~~~~~~~~~~~~~~~~~~ tuning/tuningi2c.cpp:61:10: note: 'snprintf' output between 18 and 4113 bytes into a destination of size 4096 snprintf(toggle_good, sizeof(toggle_good), "echo 'auto' > '%s';", i2c_path); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuning/tuningi2c.cpp:62:43: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4083 [-Wformat-truncation=] snprintf(toggle_bad, sizeof(toggle_bad), "echo 'on' > '%s';", i2c_path); ^~~~~~~~~~~~~~~~~~~ tuning/tuningi2c.cpp:62:10: note: 'snprintf' output between 16 and 4111 bytes into a destination of size 4096 snprintf(toggle_bad, sizeof(toggle_bad), "echo 'on' > '%s';", i2c_path); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CXX wakeup/powertop-wakeup_ethernet.o CXX wakeup/powertop-wakeup_usb.o In file included from tuning/tunable.h:30, from tuning/wifi.cpp:27: tuning/wifi.cpp: In constructor 'wifi_tunable::wifi_tunable(const char*)': tuning/wifi.cpp:48:18: warning: '%s' directive writing up to 4095 bytes into a region of size 4060 [-Wformat-overflow=] sprintf(desc, _("Wireless Power Saving for interface %s"), iface); tuning/../lib.h:41:23: note: in definition of macro '_' #define _(STRING) (STRING) ^~~~~~ tuning/wifi.cpp:48:9: note: 'sprintf' output between 37 and 4132 bytes into a destination of size 4096 sprintf(desc, _("Wireless Power Saving for interface %s"), iface); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuning/wifi.cpp:50:45: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4089 [-Wformat-truncation=] snprintf(toggle_good, sizeof(toggle_good), "iw dev %s set power_save on", iface); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuning/wifi.cpp:50:10: note: 'snprintf' output between 26 and 4121 bytes into a destination of size 4096 snprintf(toggle_good, sizeof(toggle_good), "iw dev %s set power_save on", iface); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuning/wifi.cpp:51:43: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4089 [-Wformat-truncation=] snprintf(toggle_bad, sizeof(toggle_bad), "iw dev %s set power_save off", iface); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tuning/wifi.cpp:51:10: note: 'snprintf' output between 27 and 4122 bytes into a destination of size 4096 snprintf(toggle_bad, sizeof(toggle_bad), "iw dev %s set power_save off", iface); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wakeup/wakeup_ethernet.cpp: In constructor 'ethernet_wakeup::ethernet_wakeup(const char*, const char*)': wakeup/wakeup_ethernet.cpp:53:49: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4078 [-Wformat-truncation=] snprintf(toggle_enable, sizeof(toggle_enable), "echo 'enabled' > '%s';", eth_path); ^~~~~~~~~~~~~~~~~~~~~~~~ wakeup/wakeup_ethernet.cpp:53:10: note: 'snprintf' output between 21 and 4116 bytes into a destination of size 4096 snprintf(toggle_enable, sizeof(toggle_enable), "echo 'enabled' > '%s';", eth_path); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wakeup/wakeup_ethernet.cpp:54:51: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4077 [-Wformat-truncation=] snprintf(toggle_disable, sizeof(toggle_disable), "echo 'disabled' > '%s';", eth_path); ^~~~~~~~~~~~~~~~~~~~~~~~~ wakeup/wakeup_ethernet.cpp:54:10: note: 'snprintf' output between 22 and 4117 bytes into a destination of size 4096 snprintf(toggle_disable, sizeof(toggle_disable), "echo 'disabled' > '%s';", eth_path); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wakeup/wakeup_usb.cpp: In constructor 'usb_wakeup::usb_wakeup(const char*, const char*)': wakeup/wakeup_usb.cpp:53:49: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4078 [-Wformat-truncation=] snprintf(toggle_enable, sizeof(toggle_enable), "echo 'enabled' > '%s';", usb_path); ^~~~~~~~~~~~~~~~~~~~~~~~ wakeup/wakeup_usb.cpp:53:10: note: 'snprintf' output between 21 and 4116 bytes into a destination of size 4096 snprintf(toggle_enable, sizeof(toggle_enable), "echo 'enabled' > '%s';", usb_path); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wakeup/wakeup_usb.cpp:54:51: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4077 [-Wformat-truncation=] snprintf(toggle_disable, sizeof(toggle_disable), "echo 'disabled' > '%s';", usb_path); ^~~~~~~~~~~~~~~~~~~~~~~~~ wakeup/wakeup_usb.cpp:54:10: note: 'snprintf' output between 22 and 4117 bytes into a destination of size 4096 snprintf(toggle_disable, sizeof(toggle_disable), "echo 'disabled' > '%s';", usb_path); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CXXLD powertop ld (ld-elf2flt): /home/giuliobenetti/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/m68k-buildroot-uclinux-uclibc/bin/elf2flt terminated with signal 11 [Segmentation fault], core dumped collect2: error: ld returned 1 exit status Makefile:865: recipe for target 'powertop' failed make[4]: *** [powertop] Error 1 make[4]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/powertop-2.11/src' Makefile:589: recipe for target 'all' failed make[3]: *** [all] Error 2 make[3]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/powertop-2.11/src' Makefile:461: recipe for target 'all-recursive' failed make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/powertop-2.11' Makefile:391: recipe for target 'all' failed make[1]: *** [all] Error 2 make[1]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/powertop-2.11' package/pkg-generic.mk:266: recipe for target '/home/giuliobenetti/autobuild/run/instance-0/output-1/build/powertop-2.11/.stamp_built' failed make: *** [/home/giuliobenetti/autobuild/run/instance-0/output-1/build/powertop-2.11/.stamp_built] Error 2 make: Leaving directory '/home/giuliobenetti/autobuild/run/instance-0/buildroot'