>>> ltp-testsuite 20220930 Extracting xzcat /home/thomas/autobuild/instance-0/dl/ltp-testsuite/ltp-full-20220930.tar.xz | tar --strip-components=1 -C /home/thomas/autobuild/instance-0/output-1/build/ltp-testsuite-20220930 -xf - >>> ltp-testsuite 20220930 Patching Applying 0001-lapi-Add-sysinfo.h-to-fix-build-with-MUSL-libc.patch using patch: patching file include/lapi/sysinfo.h patching file include/tst_safe_macros.h patching file lib/safe_macros.c patching file lib/tst_memutils.c patching file testcases/kernel/mem/mtest01/mtest01.c patching file testcases/kernel/syscalls/madvise/madvise06.c patching file testcases/kernel/syscalls/sysinfo/sysinfo01.c patching file testcases/kernel/syscalls/sysinfo/sysinfo02.c patching file testcases/kernel/syscalls/sysinfo/sysinfo03.c patching file testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_broadcast/1-2.c >>> ltp-testsuite 20220930 Updating config.sub and config.guess for file in config.guess config.sub; do for i in $(find /home/thomas/autobuild/instance-0/output-1/build/ltp-testsuite-20220930 -name $file); do cp support/gnuconfig/$file $i; done; done >>> ltp-testsuite 20220930 Patching libtool >>> ltp-testsuite 20220930 Configuring (cd /home/thomas/autobuild/instance-0/output-1/build/ltp-testsuite-20220930/ && rm -rf config.cache && PATH="/home/thomas/autobuild/instance-0/output-1/host/bin:/home/thomas/autobuild/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" AR="/home/thomas/autobuild/instance-0/output-1/host/bin/x86_64-buildroot-linux-gnu-gcc-ar" AS="/home/thomas/autobuild/instance-0/output-1/host/bin/x86_64-buildroot-linux-gnu-as" LD="/home/thomas/autobuild/instance-0/output-1/host/bin/x86_64-buildroot-linux-gnu-ld" NM="/home/thomas/autobuild/instance-0/output-1/host/bin/x86_64-buildroot-linux-gnu-gcc-nm" CC="/home/thomas/autobuild/instance-0/output-1/host/bin/x86_64-buildroot-linux-gnu-gcc" GCC="/home/thomas/autobuild/instance-0/output-1/host/bin/x86_64-buildroot-linux-gnu-gcc" CPP="/home/thomas/autobuild/instance-0/output-1/host/bin/x86_64-buildroot-linux-gnu-cpp" CXX="/home/thomas/autobuild/instance-0/output-1/host/bin/x86_64-buildroot-linux-gnu-g++" FC="/home/thomas/autobuild/instance-0/output-1/host/bin/x86_64-buildroot-linux-gnu-gfortran" F77="/home/thomas/autobuild/instance-0/output-1/host/bin/x86_64-buildroot-linux-gnu-gfortran" RANLIB="/home/thomas/autobuild/instance-0/output-1/host/bin/x86_64-buildroot-linux-gnu-gcc-ranlib" READELF="/home/thomas/autobuild/instance-0/output-1/host/bin/x86_64-buildroot-linux-gnu-readelf" STRIP="/bin/true" OBJCOPY="/home/thomas/autobuild/instance-0/output-1/host/bin/x86_64-buildroot-linux-gnu-objcopy" OBJDUMP="/home/thomas/autobuild/instance-0/output-1/host/bin/x86_64-buildroot-linux-gnu-objdump" AR_FOR_BUILD="/usr/bin/ar" AS_FOR_BUILD="/usr/bin/as" CC_FOR_BUILD="/home/thomas/autobuild/instance-0/output-1/host/bin/ccache /usr/bin/gcc" GCC_FOR_BUILD="/home/thomas/autobuild/instance-0/output-1/host/bin/ccache /usr/bin/gcc" CXX_FOR_BUILD="/home/thomas/autobuild/instance-0/output-1/host/bin/ccache /usr/bin/g++" LD_FOR_BUILD="/usr/bin/ld" CPPFLAGS_FOR_BUILD="-I/home/thomas/autobuild/instance-0/output-1/host/include" CFLAGS_FOR_BUILD="-O2 -I/home/thomas/autobuild/instance-0/output-1/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/home/thomas/autobuild/instance-0/output-1/host/include" LDFLAGS_FOR_BUILD="-L/home/thomas/autobuild/instance-0/output-1/host/lib -Wl,-rpath,/home/thomas/autobuild/instance-0/output-1/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/home/thomas/autobuild/instance-0/output-1/host/bin/x86_64-buildroot-linux-gnu-as" DEFAULT_LINKER="/home/thomas/autobuild/instance-0/output-1/host/bin/x86_64-buildroot-linux-gnu-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 -Og -g0 -D_FORTIFY_SOURCE=1" CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_FORTIFY_SOURCE=1" LDFLAGS="" FCFLAGS=" -Og -g0" FFLAGS=" -Og -g0" PKG_CONFIG="/home/thomas/autobuild/instance-0/output-1/host/bin/pkg-config" STAGING_DIR="/home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot" INTLTOOL_PERL=/usr/bin/perl CXX=no 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=no ac_cv_lib_cap_cap_compare=no have_numa_headers=no CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -Og -g0 -D_FORTIFY_SOURCE=1 "`/home/thomas/autobuild/instance-0/output-1/host/bin/pkg-config --cflags libtirpc`"" CPPFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE" LIBS=" "`/home/thomas/autobuild/instance-0/output-1/host/bin/pkg-config --libs libtirpc`"" SYSROOT="/home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot" CONFIG_SITE=/dev/null ./configure --target=x86_64-buildroot-linux-gnu --host=x86_64-buildroot-linux-gnu --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 --enable-shared --disable-metadata --with-realtime-testsuite --without-modules --prefix=/usr/lib/ltp-testsuite ) checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for x86_64-buildroot-linux-gnu-strip... /bin/true checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... yes checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-buildroot-linux-gnu checking for x86_64-buildroot-linux-gnu-gcc... /home/thomas/autobuild/instance-0/output-1/host/bin/x86_64-buildroot-linux-gnu-gcc 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 the compiler supports GNU C... yes checking whether /home/thomas/autobuild/instance-0/output-1/host/bin/x86_64-buildroot-linux-gnu-gcc accepts -g... yes checking for /home/thomas/autobuild/instance-0/output-1/host/bin/x86_64-buildroot-linux-gnu-gcc option to enable C11 features... none needed checking whether /home/thomas/autobuild/instance-0/output-1/host/bin/x86_64-buildroot-linux-gnu-gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of /home/thomas/autobuild/instance-0/output-1/host/bin/x86_64-buildroot-linux-gnu-gcc... none checking for x86_64-buildroot-linux-gnu-ar... /home/thomas/autobuild/instance-0/output-1/host/bin/x86_64-buildroot-linux-gnu-gcc-ar checking for x86_64-buildroot-linux-gnu-ranlib... /home/thomas/autobuild/instance-0/output-1/host/bin/x86_64-buildroot-linux-gnu-gcc-ranlib checking for x86_64-buildroot-linux-gnu-strip... (cached) /bin/true checking for bison... bison -y checking for /home/thomas/autobuild/instance-0/output-1/host/bin/x86_64-buildroot-linux-gnu-gcc options needed to detect all undeclared functions... none needed checking whether IFLA_NET_NS_PID is declared... yes checking whether MADV_MERGEABLE is declared... yes checking whether PR_CAPBSET_DROP is declared... yes checking whether PR_CAPBSET_READ is declared... yes checking whether SEM_STAT_ANY is declared... yes checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for asm/ldt.h... yes checking for emmintrin.h... yes checking for ifaddrs.h... yes checking for keyutils.h... no checking for linux/can.h... yes checking for linux/cgroupstats.h... yes checking for linux/cryptouser.h... yes checking for linux/close_range.h... yes checking for linux/dccp.h... yes checking for linux/fs.h... yes checking for linux/futex.h... yes checking for linux/genetlink.h... yes checking for linux/if_alg.h... yes checking for linux/if_ether.h... yes checking for linux/if_packet.h... yes checking for linux/io_uring.h... yes checking for linux/keyctl.h... yes checking for linux/mempolicy.h... yes checking for linux/module.h... yes checking for linux/mount.h... yes checking for linux/netlink.h... yes checking for linux/seccomp.h... yes checking for linux/securebits.h... yes checking for linux/tty.h... yes checking for linux/types.h... yes checking for linux/userfaultfd.h... yes checking for netinet/sctp.h... no checking for pthread.h... yes checking for sys/epoll.h... yes checking for sys/fanotify.h... yes checking for sys/inotify.h... yes checking for sys/pidfd.h... yes checking for sys/prctl.h... yes checking for sys/shm.h... yes checking for sys/timerfd.h... yes checking for sys/ustat.h... no checking for sys/utsname.h... yes checking for sys/xattr.h... yes checking for xfs/xqm.h... no checking for fts.h... yes checking for linux/vm_sockets.h... yes checking for clone3... no checking for close_range... yes checking for copy_file_range... yes checking for epoll_pwait... yes checking for epoll_pwait2... yes checking for execveat... yes checking for fallocate... yes checking for fchownat... yes checking for fsconfig... yes checking for fsmount... yes checking for fsopen... yes checking for fspick... yes checking for fstatat... yes checking for getauxval... yes checking for getcontext... yes checking for getdents... no checking for getdents64... yes checking for io_pgetevents... no checking for io_uring_setup... no checking for io_uring_register... no checking for io_uring_enter... no checking for kcmp... no checking for mallinfo... yes checking for mallinfo2... yes checking for mallopt... yes checking for mkdirat... yes checking for mknodat... yes checking for modify_ldt... yes checking for mount_setattr... yes checking for move_mount... yes checking for name_to_handle_at... yes checking for open_tree... yes checking for openat... yes checking for openat2... no checking for pidfd_getfd... yes checking for pidfd_open... yes checking for pidfd_send_signal... yes checking for pkey_mprotect... yes checking for preadv... yes checking for preadv2... yes checking for profil... yes checking for pwritev... yes checking for pwritev2... yes checking for quotactl_fd... no checking for rand_r... yes checking for readlinkat... yes checking for recvmmsg... yes checking for renameat... yes checking for renameat2... yes checking for sched_getcpu... yes checking for sendmmsg... yes checking for sethostid... yes checking for setns... yes checking for sigpending... yes checking for splice... yes checking for statx... yes checking for stime... no checking for sync_file_range... yes checking for syncfs... yes checking for tee... yes checking for timerfd_create... yes checking for timerfd_gettime... yes checking for timerfd_settime... yes checking for unshare... yes checking for ustat... no checking for vmsplice... yes checking for mkdtemp... yes checking for struct fanotify_event_info_fid.fsid.__val... no checking for struct perf_event_mmap_page.aux_head... yes checking for struct sigaction.sa_sigaction... yes checking for struct statx.stx_mnt_id... yes checking for struct utsname.domainname... yes checking for enum kcmp_type... yes checking for struct acct_v3... yes checking for struct af_alg_iv... yes checking for struct sockaddr_alg... yes checking for struct fanotify_event_info_fid... yes checking for struct fanotify_event_info_error... yes checking for struct fanotify_event_info_header... yes checking for struct fanotify_event_info_pidfd... yes checking for struct file_dedupe_range... yes checking for struct file_handle... yes checking for struct fs_quota_statv... no checking for struct if_nextdqblk... yes checking for struct iovec... yes checking for struct ipc64_perm... no checking for struct loop_config... yes checking for struct mmsghdr... yes checking for struct msqid64_ds... no checking for struct rlimit64... yes checking for struct semid64_ds... no checking for struct shmid64_ds... no checking for struct statx... yes checking for struct statx_timestamp... yes checking for struct termio... yes checking for struct tpacket_req3... yes checking for struct user_desc... yes checking for struct modify_ldt_ldt_s... no checking for struct xt_entry_match... yes checking for struct xt_entry_target... yes checking for struct __kernel_old_timeval... no checking for struct __kernel_old_timespec... no checking for struct __kernel_timespec... no checking for struct __kernel_old_itimerspec... no checking for struct __kernel_itimerspec... no checking for struct futex_waitv... yes checking for struct mount_attr... yes configure: metadata generation disabled checking for acl_init in -lacl... no configure: WARNING: missing libacl checking for sys/acl.h... no configure: WARNING: missing libacl headers checking for __atomic_* compiler builtins... yes checking for __builtin___clear_cache... yes checking for sys/capability.h... no checking if /home/thomas/autobuild/instance-0/output-1/host/bin/x86_64-buildroot-linux-gnu-gcc supports -Wold-style-definition... yes checking for SHA1_Init in -lcrypto... yes checking for openssl/sha.h... yes checking whether to define _FORTIFY_SOURCE=2... no checking for kernel-devel... no checking for add_key in -lkeyutils... no checking pkg-config is at least version 0.9.0... yes checking for LIBMNL... yes checking for sys/ptrace.h... yes checking for sys/reg.h... yes checking for asm/ptrace.h... yes checking for linux/ptrace.h... yes checking for struct user_regs_struct... no checking for struct pt_regs... yes checking whether PTRACE_GETSIGINFO is declared... yes checking whether PTRACE_O_TRACEVFORKDONE is declared... yes checking whether PTRACE_SETOPTIONS is declared... yes checking for struct ptrace_peeksiginfo_args... no checking for linux/random.h... yes checking for fork... yes checking for daemon... yes checking for vfork... yes checking for selinux/selinux.h... yes checking for is_selinux_enabled in -lselinux... yes checking for __sync_add_and_fetch... yes checking for libaio.h... no checking for io_setup in -laio... no checking for fcntl f_owner_ex... yes checking for linux/fsverity.h... yes checking for struct fsverity_enable_arg... yes checking whether C compiler accepts -no-pie... yes checking for numa_available in -lnuma... no checking for numa.h... no checking for numaif.h... no checking for signalfd... yes checking for sys/signalfd.h... yes checking for linux/signalfd.h... yes checking for struct signalfd_siginfo.ssi_signo... yes checking for utimensat... yes checking for linux/taskstats.h... yes checking for struct taskstats.freepages_count... yes checking for struct taskstats.nvcsw... yes checking for struct taskstats.read_bytes... yes checking for LIBTIRPC... yes checking for xdr_char... yes checking for clnttcp_create... yes checking whether linker can handle KVM payloads... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating include/mk/config.mk config.status: creating include/mk/config-openposix.mk config.status: creating include/mk/features.mk config.status: creating lib/ltp.pc config.status: creating m4/Makefile config.status: creating execltp config.status: creating include/config.h config.status: executing depfiles commands config.status: executing syscalls.h commands Generating data for arch aarch64 ... Generating data for arch arc ... Generating data for arch arm ... Generating data for arch hppa ... Generating data for arch i386 ... Generating data for arch ia64 ... Generating data for arch mips_n32 ... Generating data for arch mips_n64 ... Generating data for arch powerpc64 ... Generating data for arch powerpc ... Generating data for arch sh ... Generating stub list ... Generating data for arch mips_o32 ... Generating data for arch x86_64 ... Generating data for arch s390 ... Generating data for arch s390x ... Generating data for arch sparc ... Generating data for arch sparc64 ... Combining them all ... OK! === configuring in testcases/realtime (/home/thomas/autobuild/instance-0/output-1/build/ltp-testsuite-20220930/testcases/realtime) configure: running /bin/bash ./configure --disable-option-checking '--prefix=/usr/lib/ltp-testsuite' '--target=x86_64-buildroot-linux-gnu' '--host=x86_64-buildroot-linux-gnu' '--build=x86_64-pc-linux-gnu' '--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' '--enable-shared' '--disable-metadata' '--with-realtime-testsuite' '--without-modules' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=x86_64-buildroot-linux-gnu' 'target_alias=x86_64-buildroot-linux-gnu' 'HOSTCC=/home/thomas/autobuild/instance-0/output-1/host/bin/ccache /usr/bin/gcc' 'CC=/home/thomas/autobuild/instance-0/output-1/host/bin/x86_64-buildroot-linux-gnu-gcc' 'CFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -Og -g0 -D_FORTIFY_SOURCE=1 -I/home/thomas/autobuild/instance-0/output-1/host/bin/../x86_64-buildroot-linux-gnu/sysroot/usr/include/tirpc ' 'LDFLAGS=' 'LIBS= -L/home/thomas/autobuild/instance-0/output-1/host/bin/../x86_64-buildroot-linux-gnu/sysroot/usr/lib -ltirpc ' 'CPPFLAGS=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE' 'PKG_CONFIG=/home/thomas/autobuild/instance-0/output-1/host/bin/pkg-config' '--with-open-posix-testdir=testcases/open_posix_testsuite' --cache-file=/dev/null --srcdir=. checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for x86_64-buildroot-linux-gnu-strip... /bin/true checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports the include directive... yes (GNU style) checking for x86_64-buildroot-linux-gnu-gcc... /home/thomas/autobuild/instance-0/output-1/host/bin/x86_64-buildroot-linux-gnu-gcc 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 the compiler supports GNU C... yes checking whether /home/thomas/autobuild/instance-0/output-1/host/bin/x86_64-buildroot-linux-gnu-gcc accepts -g... yes checking for /home/thomas/autobuild/instance-0/output-1/host/bin/x86_64-buildroot-linux-gnu-gcc option to enable C11 features... none needed checking whether /home/thomas/autobuild/instance-0/output-1/host/bin/x86_64-buildroot-linux-gnu-gcc understands -c and -o together... yes checking dependency style of /home/thomas/autobuild/instance-0/output-1/host/bin/x86_64-buildroot-linux-gnu-gcc... none checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for pthread.h... yes checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-buildroot-linux-gnu checking for x86_64-buildroot-linux-gnu-gcc... (cached) /home/thomas/autobuild/instance-0/output-1/host/bin/x86_64-buildroot-linux-gnu-gcc checking whether the compiler supports GNU C... (cached) yes checking whether /home/thomas/autobuild/instance-0/output-1/host/bin/x86_64-buildroot-linux-gnu-gcc accepts -g... (cached) yes checking for /home/thomas/autobuild/instance-0/output-1/host/bin/x86_64-buildroot-linux-gnu-gcc option to enable C11 features... (cached) none needed checking whether /home/thomas/autobuild/instance-0/output-1/host/bin/x86_64-buildroot-linux-gnu-gcc understands -c and -o together... (cached) yes checking dependency style of /home/thomas/autobuild/instance-0/output-1/host/bin/x86_64-buildroot-linux-gnu-gcc... (cached) none checking for x86_64-buildroot-linux-gnu-ar... /home/thomas/autobuild/instance-0/output-1/host/bin/x86_64-buildroot-linux-gnu-gcc-ar checking for x86_64-buildroot-linux-gnu-ranlib... /home/thomas/autobuild/instance-0/output-1/host/bin/x86_64-buildroot-linux-gnu-gcc-ranlib checking for __sync_add_and_fetch gcc builtin function... yes checking for exp10 in -lm... yes checking for PTHREAD_PRIO_INHERIT... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating m4/Makefile config.status: creating include/realtime_config.h config.status: executing depfiles commands TESTSUITES open posix testsuite: no realtime testsuite: yes LIBRARIES keyutils: no libacl: no libaio: no (aio: no) libcap: (newer: no) libcrypto: yes (sha: yes) libmnl: no libnuma: no (headers: no, v2 headers: no) libtirpc: yes glibc SUN-RPC: yes METADATA metadata generator: none HTML metadata: no PDF metadata: no >>> ltp-testsuite 20220930 Building PATH="/home/thomas/autobuild/instance-0/output-1/host/bin:/home/thomas/autobuild/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" HOST_CFLAGS="-O2 -I/home/thomas/autobuild/instance-0/output-1/host/include" HOST_LDFLAGS="-L/home/thomas/autobuild/instance-0/output-1/host/lib -Wl,-rpath,/home/thomas/autobuild/instance-0/output-1/host/lib" /usr/bin/make -j4 -C /home/thomas/autobuild/instance-0/output-1/build/ltp-testsuite-20220930/ make[1]: Entering directory '/home/thomas/autobuild/instance-0/output-1/build/ltp-testsuite-20220930' /usr/bin/make -C "lib" \ -f "/home/thomas/autobuild/instance-0/output-1/build/ltp-testsuite-20220930/lib/Makefile" all /usr/bin/make -C "libs" \ -f "/home/thomas/autobuild/instance-0/output-1/build/ltp-testsuite-20220930/libs/Makefile" all if git describe >/dev/null 2>&1; then \ git describe > "Version"; \ else \ cp /home/thomas/autobuild/instance-0/output-1/build/ltp-testsuite-20220930/VERSION "Version"; \ fi make[2]: Entering directory '/home/thomas/autobuild/instance-0/output-1/build/ltp-testsuite-20220930/libs' make[2]: Entering directory '/home/thomas/autobuild/instance-0/output-1/build/ltp-testsuite-20220930/lib' CC lib/get_path.o CC lib/cloner.o CC libs/libltpnewipc/libnewipc.o AR libltpnewipc.a RANLIB libltpnewipc.a CC lib/parse_opts.o CC lib/random_range.o CC libs/libltpnuma/tst_numa.o AR libltpnuma.a RANLIB libltpnuma.a CC lib/safe_file_ops.o CC lib/safe_pthread.o CC lib/safe_net.o CC lib/self_exec.o CC libs/libltpsigwait/sigwait.o AR libltpsigwait.a RANLIB libltpsigwait.a CC lib/safe_stdio.o CC libs/libltpvdso/parse_vdso.o safe_macros.c: In function 'safe_sysinfo': safe_macros.c:1268:15: warning: implicit declaration of function 'sysinfo' [-Wimplicit-function-declaration] 1268 | ret = sysinfo(info); | ^~~~~~~ CC lib/safe_macros.o CC lib/tst_ansi_color.o CC libs/libltpvdso/vdso_helpers.o AR libltpvdso.a RANLIB libltpvdso.a In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/string.h:535, from ../include/tst_test.h:16, from tst_af_alg.c:11: In function 'strncpy', inlined from 'init_sockaddr_alg' at tst_af_alg.c:58:2: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/string_fortified.h:95:10: warning: '__builtin_strncpy' specified bound 14 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'init_sockaddr_alg' at tst_af_alg.c:62:2: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/string_fortified.h:95:10: warning: '__builtin_strncpy' specified bound 64 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ CC lib/tst_af_alg.o tlibio.c:85: warning: "_LARGEFILE64_SOURCE" redefined 85 | #define _LARGEFILE64_SOURCE | : note: this is the location of the previous definition tlibio.c: In function 'lio_write_buffer': tlibio.c:682:17: warning: 'sigset' is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 682 | sigset(sig, lio_async_signal_handler); | ^~~~~~ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/sys/param.h:28, from tlibio.c:95: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/signal.h:367:23: note: declared here 367 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ tlibio.c:795:25: warning: 'sighold' is deprecated: Use the sigprocmask function instead [-Wdeprecated-declarations] 795 | sighold(sig); | ^~~~~~~ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/sys/param.h:28, from tlibio.c:95: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/signal.h:355:12: note: declared here 355 | extern int sighold (int __sig) __THROW | ^~~~~~~ tlibio.c:802:33: warning: 'sigrelse' is deprecated: Use the sigprocmask function instead [-Wdeprecated-declarations] 802 | sigrelse(sig); | ^~~~~~~~ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/sys/param.h:28, from tlibio.c:95: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/signal.h:359:12: note: declared here 359 | extern int sigrelse (int __sig) __THROW | ^~~~~~~~ tlibio.c:866:25: warning: 'sighold' is deprecated: Use the sigprocmask function instead [-Wdeprecated-declarations] 866 | sighold(sig); | ^~~~~~~ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/sys/param.h:28, from tlibio.c:95: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/signal.h:355:12: note: declared here 355 | extern int sighold (int __sig) __THROW | ^~~~~~~ tlibio.c:873:33: warning: 'sigrelse' is deprecated: Use the sigprocmask function instead [-Wdeprecated-declarations] 873 | sigrelse(sig); | ^~~~~~~~ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/sys/param.h:28, from tlibio.c:95: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/signal.h:359:12: note: declared here 359 | extern int sigrelse (int __sig) __THROW | ^~~~~~~~ tlibio.c:935:25: warning: 'sighold' is deprecated: Use the sigprocmask function instead [-Wdeprecated-declarations] 935 | sighold(sig); | ^~~~~~~ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/sys/param.h:28, from tlibio.c:95: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/signal.h:355:12: note: declared here 355 | extern int sighold (int __sig) __THROW | ^~~~~~~ tlibio.c:942:33: warning: 'sigrelse' is deprecated: Use the sigprocmask function instead [-Wdeprecated-declarations] 942 | sigrelse(sig); | ^~~~~~~~ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/sys/param.h:28, from tlibio.c:95: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/signal.h:359:12: note: declared here 359 | extern int sigrelse (int __sig) __THROW | ^~~~~~~~ tlibio.c:539:22: warning: unused parameter 'wrd' [-Wunused-parameter] 539 | long wrd) /* to allow future features, use zero for now */ | ~~~~~^~~ tlibio.c: In function 'lio_read_buffer': tlibio.c:1253:17: warning: 'sigset' is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 1253 | sigset(sig, lio_async_signal_handler); | ^~~~~~ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/sys/param.h:28, from tlibio.c:95: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/signal.h:367:23: note: declared here 367 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ tlibio.c:1370:25: warning: 'sighold' is deprecated: Use the sigprocmask function instead [-Wdeprecated-declarations] 1370 | sighold(sig); | ^~~~~~~ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/sys/param.h:28, from tlibio.c:95: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/signal.h:355:12: note: declared here 355 | extern int sighold (int __sig) __THROW | ^~~~~~~ tlibio.c:1377:33: warning: 'sigrelse' is deprecated: Use the sigprocmask function instead [-Wdeprecated-declarations] 1377 | sigrelse(sig); | ^~~~~~~~ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/sys/param.h:28, from tlibio.c:95: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/signal.h:359:12: note: declared here 359 | extern int sigrelse (int __sig) __THROW | ^~~~~~~~ tlibio.c:1439:25: warning: 'sighold' is deprecated: Use the sigprocmask function instead [-Wdeprecated-declarations] 1439 | sighold(sig); | ^~~~~~~ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/sys/param.h:28, from tlibio.c:95: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/signal.h:355:12: note: declared here 355 | extern int sighold (int __sig) __THROW | ^~~~~~~ tlibio.c:1446:33: warning: 'sigrelse' is deprecated: Use the sigprocmask function instead [-Wdeprecated-declarations] 1446 | sigrelse(sig); | ^~~~~~~~ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/sys/param.h:28, from tlibio.c:95: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/signal.h:359:12: note: declared here 359 | extern int sigrelse (int __sig) __THROW | ^~~~~~~~ tlibio.c:1508:25: warning: 'sighold' is deprecated: Use the sigprocmask function instead [-Wdeprecated-declarations] 1508 | sighold(sig); | ^~~~~~~ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/sys/param.h:28, from tlibio.c:95: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/signal.h:355:12: note: declared here 355 | extern int sighold (int __sig) __THROW | ^~~~~~~ tlibio.c:1515:33: warning: 'sigrelse' is deprecated: Use the sigprocmask function instead [-Wdeprecated-declarations] 1515 | sigrelse(sig); | ^~~~~~~~ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/sys/param.h:28, from tlibio.c:95: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/signal.h:359:12: note: declared here 359 | extern int sigrelse (int __sig) __THROW | ^~~~~~~~ tlibio.c:1109:22: warning: unused parameter 'wrd' [-Wunused-parameter] 1109 | long wrd) /* to allow future features, use zero for now */ | ~~~~~^~~ tlibio.c: In function 'lio_check_asyncio': tlibio.c:1688:17: warning: 'sigrelse' is deprecated: Use the sigprocmask function instead [-Wdeprecated-declarations] 1688 | sigrelse(aiocbp->aio_sigevent.sigev_signo); | ^~~~~~~~ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/sys/param.h:28, from tlibio.c:95: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/signal.h:359:12: note: declared here 359 | extern int sigrelse (int __sig) __THROW | ^~~~~~~~ tlibio.c: In function 'lio_wait4asyncio': tlibio.c:1907:25: warning: 'sigrelse' is deprecated: Use the sigprocmask function instead [-Wdeprecated-declarations] 1907 | sigrelse(aiocbp->aio_sigevent.sigev_signo); | ^~~~~~~~ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/sys/param.h:28, from tlibio.c:95: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/signal.h:359:12: note: declared here 359 | extern int sigrelse (int __sig) __THROW | ^~~~~~~~ tlibio.c:1919:25: warning: 'sigrelse' is deprecated: Use the sigprocmask function instead [-Wdeprecated-declarations] 1919 | sigrelse(aiocbp->aio_sigevent.sigev_signo); | ^~~~~~~~ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/sys/param.h:28, from tlibio.c:95: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/signal.h:359:12: note: declared here 359 | extern int sigrelse (int __sig) __THROW | ^~~~~~~~ CC lib/tlibio.o CC lib/tst_arch.o CC libs/libltpipc/libipc.o CC lib/tst_assert.o CC lib/tst_bool_expr.o CC lib/tst_buffers.o CC libs/libltpipc/libmsgctl.o AR libltpipc.a RANLIB libltpipc.a CC lib/tst_capability.o CC lib/tst_checksum.o CC libs/libltpswap/libswap.o AR libltpswap.a RANLIB libltpswap.a CC lib/tst_checkpoint.o CC lib/tst_clone.o CC libs/libltpuinput/tst_uinput.o AR libltpuinput.a RANLIB libltpuinput.a make[2]: Leaving directory '/home/thomas/autobuild/instance-0/output-1/build/ltp-testsuite-20220930/libs' CC lib/tst_clocks.o CC lib/tst_cgroup.o CC lib/tst_coredump.o CC lib/tst_cmd.o CC lib/tst_cpu.o CC lib/tst_crypto.o CC lib/tst_dir_is_empty.o CC lib/tst_fill_file.o CC lib/tst_fips.o CC lib/tst_fill_fs.o CC lib/tst_fs_has_free.o CC lib/tst_device.o CC lib/tst_fs_setup.o CC lib/tst_fs_type.o CC lib/tst_fs_link_count.o CC lib/tst_get_bad_addr.o CC lib/tst_ioctl.o CC lib/tst_hugepage.o CC lib/tst_kernel.o CC lib/tst_kvercmp.o CC lib/tst_lockdown.o CC lib/tst_memutils.o CC lib/tst_kconfig.o CC lib/tst_mkfs.o CC lib/tst_module.o CC lib/tst_parse_opts.o CC lib/tst_path_has_mnt_flags.o CC lib/tst_net.o CC lib/tst_netdevice.o CC lib/tst_process_state.o CC lib/tst_pid.o CC lib/tst_resource.o CC lib/tst_rtctime.o CC lib/tst_res.o CC lib/tst_rtnetlink.o CC lib/tst_safe_file_at.o CC lib/tst_safe_io_uring.o CC lib/tst_safe_macros.o CC lib/tst_safe_sysv_ipc.o tst_sig.c: In function 'tst_sig': tst_sig.c:210:28: warning: this statement may fall through [-Wimplicit-fallthrough=] 210 | if (fork_flag == FORK) | ^ tst_sig.c:213:17: note: here 213 | default: | ^~~~~~~ CC lib/tst_sig.o CC lib/tst_safe_timerfd.o CC lib/tst_status.o CC lib/tst_sig_proc.o CC lib/tst_supported_fs_types.o CC lib/tst_sys_conf.o CC lib/tst_taint.o CC lib/tst_thread_state.o CC lib/tst_timer.o CC lib/tst_tmpdir.o CC lib/tst_uid.o CC lib/tst_virt.o CC lib/tst_timer_test.o CC lib/tst_wallclock.o CC lib/tst_test.o AR libltp.a RANLIB libltp.a CC lib/tests/tst_checkpoint_wake_timeout CC lib/tests/tst_checkpoint_wait_timeout CC lib/tests/tst_checkpoint CC lib/tests/trerrno tst_dataroot02.c: In function 'main': tst_dataroot02.c:51:36: warning: '/datafiles' directive output may be truncated writing 10 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 51 | snprintf(tmp, PATH_MAX, "%s/datafiles", curdir); | ^~~~~~~~~~ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/stdio.h:906, from ../../include/old/test.h:14, from tst_dataroot02.c:23: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/stdio2.h:54:10: note: '__builtin_snprintf' output between 11 and 4106 bytes into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ CC lib/tests/tst_cleanup_once tst_dataroot03.c: In function 'main': tst_dataroot03.c:51:36: warning: '/datafiles' directive output may be truncated writing 10 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 51 | snprintf(tmp, PATH_MAX, "%s/datafiles", curdir); | ^~~~~~~~~~ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/stdio.h:906, from ../../include/old/test.h:14, from tst_dataroot03.c:23: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/stdio2.h:54:10: note: '__builtin_snprintf' output between 11 and 4106 bytes into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ CC lib/tests/tst_dataroot01 CC lib/tests/tst_dataroot02 CC lib/tests/tst_dataroot03 CC lib/tests/tst_device CC lib/tests/tst_fs_fill_subdirs CC lib/tests/tst_fs_fill_hardlinks CC lib/tests/tst_process_state CC lib/tests/tst_record_childstatus CC lib/tests/tst_strerrno CC lib/tests/tst_safe_macros CC lib/tests/tst_strsig CC lib/tests/tst_tmpdir_test CC lib/newlib_tests/test01 CC lib/newlib_tests/test03 CC lib/newlib_tests/test02 CC lib/newlib_tests/test04 CC lib/newlib_tests/test05 CC lib/newlib_tests/test06 CC lib/newlib_tests/test07 CC lib/newlib_tests/test08 CC lib/newlib_tests/test09 CC lib/newlib_tests/test13 CC lib/newlib_tests/test11 CC lib/newlib_tests/test14 CC lib/newlib_tests/test20 CC lib/newlib_tests/test19 CC lib/newlib_tests/test15 CC lib/newlib_tests/test22 CC lib/newlib_tests/test_assert CC lib/newlib_tests/test_children_cleanup CC lib/newlib_tests/test_exec CC lib/newlib_tests/test_exec_child CC lib/newlib_tests/test_guarded_buf CC lib/newlib_tests/test_kconfig CC lib/newlib_tests/test_kconfig02 CC lib/newlib_tests/test_kconfig01 CC lib/newlib_tests/test_macros01 CC lib/newlib_tests/test_macros02 CC lib/newlib_tests/test_macros04 CC lib/newlib_tests/test_macros03 CC lib/newlib_tests/test_macros06 CC lib/newlib_tests/test_macros05 CC lib/newlib_tests/test_runtime01 CC lib/newlib_tests/test_parse_filesize CC lib/newlib_tests/test_runtime02 CC lib/newlib_tests/test_zero_hugepage CC lib/newlib_tests/tst_bool_expr CC lib/newlib_tests/tst_capability01 CC lib/newlib_tests/tst_capability02 CC lib/newlib_tests/test_timer CC lib/newlib_tests/tst_cgroup01 CC lib/newlib_tests/tst_cgroup02 CC lib/newlib_tests/tst_device CC lib/newlib_tests/tst_expiration_timer CC lib/newlib_tests/tst_needs_cmds01 CC lib/newlib_tests/tst_needs_cmds02 CC lib/newlib_tests/tst_fuzzy_sync01 CC lib/newlib_tests/tst_fuzzy_sync02 CC lib/newlib_tests/tst_needs_cmds03 CC lib/newlib_tests/tst_fuzzy_sync03 CC lib/newlib_tests/tst_needs_cmds04 CC lib/newlib_tests/tst_needs_cmds05 CC lib/newlib_tests/tst_needs_cmds06 CC lib/newlib_tests/tst_needs_cmds07 CC lib/newlib_tests/tst_print_result CC lib/newlib_tests/tst_needs_cmds08 CC lib/newlib_tests/tst_res_hexd CC lib/newlib_tests/tst_safe_fileops CC lib/newlib_tests/tst_strstatus CC lib/newlib_tests/variant make[2]: Leaving directory '/home/thomas/autobuild/instance-0/output-1/build/ltp-testsuite-20220930/lib' /usr/bin/make -C "pan" \ -f "/home/thomas/autobuild/instance-0/output-1/build/ltp-testsuite-20220930/pan/Makefile" all /usr/bin/make -C "utils" \ -f "/home/thomas/autobuild/instance-0/output-1/build/ltp-testsuite-20220930/utils/Makefile" all /usr/bin/make -C "testcases" \ -f "/home/thomas/autobuild/instance-0/output-1/build/ltp-testsuite-20220930/testcases/Makefile" all /usr/bin/make -C "tools" \ -f "/home/thomas/autobuild/instance-0/output-1/build/ltp-testsuite-20220930/tools/Makefile" all make[2]: Entering directory '/home/thomas/autobuild/instance-0/output-1/build/ltp-testsuite-20220930/utils' make[2]: Entering directory '/home/thomas/autobuild/instance-0/output-1/build/ltp-testsuite-20220930/testcases' make[2]: Entering directory '/home/thomas/autobuild/instance-0/output-1/build/ltp-testsuite-20220930/pan' make[2]: Entering directory '/home/thomas/autobuild/instance-0/output-1/build/ltp-testsuite-20220930/tools' make[4]: Nothing to be done for 'all'. genload.c: In function 'main': genload.c:95:13: warning: variable 'do_timeout' set but not used [-Wunused-but-set-variable] 95 | int do_timeout = 0; | ^~~~~~~~~~ genload.c: In function 'hogcpu': genload.c:468:16: warning: variable 'd' set but not used [-Wunused-but-set-variable] 468 | double d; | ^ CC pan/ltp-bump.o CC utils/benchmark/ebizzy-0.3/ebizzy /usr/bin/make -C "lib" -f "/home/thomas/autobuild/instance-0/output-1/build/ltp-testsuite-20220930/utils/sctp/lib/Makefile" all zoolib.c: In function 'cat_args': zoolib.c:386:14: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 386 | *cmd = '\0'; | ~~~~~^~~~~~ zoolib.c:380:20: note: destination object of size 0 allocated by 'malloc' 380 | if ((cmd = malloc(size)) == NULL) { | ^~~~~~~~~~~~ CC pan/zoolib.o CC utils/sctp/lib/addrs.o CC utils/sctp/lib/bindx.o CC testcases/cve/cve-2014-0196 CC tools/genload/genload stress.c: In function 'main': stress.c:95:13: warning: variable 'do_timeout' set but not used [-Wunused-but-set-variable] 95 | int do_timeout = 0; | ^~~~~~~~~~ stress.c: In function 'hogcpu': stress.c:468:16: warning: variable 'd' set but not used [-Wunused-but-set-variable] 468 | double d; | ^ connectx.c:78:12: warning: 'sctp_connectx_orig' alias between functions of incompatible types 'int(int)' and 'int(int, struct sockaddr *, int)' [-Wattribute-alias=] 78 | extern int sctp_connectx_orig (int) | ^~~~~~~~~~~~~~~~~~ connectx.c:67:5: note: aliased declaration here 67 | int __sctp_connectx(int fd, struct sockaddr *addrs, int addrcnt) | ^~~~~~~~~~~~~~~ CC utils/sctp/lib/connectx.o CC utils/sctp/lib/opt_info.o CC testcases/cve/cve-2015-3290 CC utils/sctp/lib/peeloff.o CC utils/sctp/lib/recvmsg.o CC testcases/cve/cve-2016-10044 CC utils/sctp/lib/sendmsg.o AR libsctp.a RANLIB libsctp.a /usr/bin/make -C "testlib" -f "/home/thomas/autobuild/instance-0/output-1/build/ltp-testsuite-20220930/utils/sctp/testlib/Makefile" all CC tools/genload/stress CC pan/ltp-pan.o CC testcases/cve/cve-2016-7042 CC pan/splitstr.o LD pan/ltp-bump LD pan/ltp-pan make[2]: Leaving directory '/home/thomas/autobuild/instance-0/output-1/build/ltp-testsuite-20220930/pan' /usr/bin/make -C "metadata" \ -f "/home/thomas/autobuild/instance-0/output-1/build/ltp-testsuite-20220930/metadata/Makefile" all make[2]: Entering directory '/home/thomas/autobuild/instance-0/output-1/build/ltp-testsuite-20220930/metadata' CC tools/apicmds/ltpapicmd.o /home/thomas/autobuild/instance-0/output-1/host/bin/x86_64-buildroot-linux-gnu-gcc -L../../lib ltpapicmd.o -L/home/thomas/autobuild/instance-0/output-1/host/bin/../x86_64-buildroot-linux-gnu/sysroot/usr/lib -ltirpc -lltp -o tst_brk /home/thomas/autobuild/instance-0/output-1/host/bin/x86_64-buildroot-linux-gnu-gcc -L../../lib ltpapicmd.o -L/home/thomas/autobuild/instance-0/output-1/host/bin/../x86_64-buildroot-linux-gnu/sysroot/usr/lib -ltirpc -lltp -o tst_brkm CC utils/sctp/testlib/sctputil.o AR libsctputil.a RANLIB libsctputil.a /home/thomas/autobuild/instance-0/output-1/host/bin/x86_64-buildroot-linux-gnu-gcc -L../../lib ltpapicmd.o -L/home/thomas/autobuild/instance-0/output-1/host/bin/../x86_64-buildroot-linux-gnu/sysroot/usr/lib -ltirpc -lltp -o tst_exit /home/thomas/autobuild/instance-0/output-1/host/bin/x86_64-buildroot-linux-gnu-gcc -L../../lib ltpapicmd.o -L/home/thomas/autobuild/instance-0/output-1/host/bin/../x86_64-buildroot-linux-gnu/sysroot/usr/lib -ltirpc -lltp -o tst_res /home/thomas/autobuild/instance-0/output-1/host/bin/x86_64-buildroot-linux-gnu-gcc -L../../lib ltpapicmd.o -L/home/thomas/autobuild/instance-0/output-1/host/bin/../x86_64-buildroot-linux-gnu/sysroot/usr/lib -ltirpc -lltp -o tst_resm CC utils/sctp/func_tests/test_1_to_1_accept_close /home/thomas/autobuild/instance-0/output-1/host/bin/x86_64-buildroot-linux-gnu-gcc -L../../lib ltpapicmd.o -L/home/thomas/autobuild/instance-0/output-1/host/bin/../x86_64-buildroot-linux-gnu/sysroot/usr/lib -ltirpc -lltp -o tst_ncpus CC testcases/cve/cve-2016-7117 /home/thomas/autobuild/instance-0/output-1/host/bin/x86_64-buildroot-linux-gnu-gcc -L../../lib ltpapicmd.o -L/home/thomas/autobuild/instance-0/output-1/host/bin/../x86_64-buildroot-linux-gnu/sysroot/usr/lib -ltirpc -lltp -o tst_ncpus_conf /home/thomas/autobuild/instance-0/output-1/host/bin/x86_64-buildroot-linux-gnu-gcc -L../../lib ltpapicmd.o -L/home/thomas/autobuild/instance-0/output-1/host/bin/../x86_64-buildroot-linux-gnu/sysroot/usr/lib -ltirpc -lltp -o tst_ncpus_max /home/thomas/autobuild/instance-0/output-1/host/bin/x86_64-buildroot-linux-gnu-gcc -L../../lib ltpapicmd.o -L/home/thomas/autobuild/instance-0/output-1/host/bin/../x86_64-buildroot-linux-gnu/sysroot/usr/lib -ltirpc -lltp -o tst_fs_has_free CC testcases/cve/cve-2017-16939 HOSTCC metadata/metaparse /home/thomas/autobuild/instance-0/output-1/build/ltp-testsuite-20220930/metadata/parse.sh > ltp.json make[2]: Leaving directory '/home/thomas/autobuild/instance-0/output-1/build/ltp-testsuite-20220930/tools' CC utils/sctp/func_tests/test_1_to_1_addrs test_1_to_1_connectx.c: In function 'main': test_1_to_1_connectx.c:137:17: warning: array subscript 'struct sockaddr[0]' is partly outside array bounds of 'unsigned char[15]' [-Warray-bounds] 137 | tmp_addr->sa_family = AF_INET; | ^~ test_1_to_1_connectx.c:136:40: note: referencing an object of size 15 allocated by 'malloc' 136 | tmp_addr = (struct sockaddr *) malloc(sizeof(struct sockaddr) - 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC testcases/cve/cve-2017-17052 CC utils/sctp/func_tests/test_1_to_1_connectx CC utils/sctp/func_tests/test_1_to_1_connect CC testcases/cve/cve-2017-17053 CC utils/sctp/func_tests/test_1_to_1_events cve-2017-2618.c: In function 'do_test': cve-2017-2618.c:39:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 39 | write(fd, "\n", 1); | ^~~~~~~~~~~~~~~~~~ CC utils/sctp/func_tests/test_1_to_1_initmsg_connect CC testcases/cve/cve-2017-2618 CC utils/sctp/func_tests/test_1_to_1_nonblock CC utils/sctp/func_tests/test_1_to_1_recvfrom CC utils/sctp/func_tests/test_1_to_1_recvmsg CC utils/sctp/func_tests/test_1_to_1_rtoinfo CC testcases/cve/cve-2017-2671 CC utils/sctp/func_tests/test_1_to_1_send CC utils/sctp/func_tests/test_1_to_1_sendmsg CC utils/sctp/func_tests/test_1_to_1_sendto CC testcases/cve/icmp_rate_limit01 CC utils/sctp/func_tests/test_1_to_1_shutdown CC utils/sctp/func_tests/test_1_to_1_socket_bind_listen CC testcases/cve/meltdown CC utils/sctp/func_tests/test_1_to_1_sockopt CC utils/sctp/func_tests/test_1_to_1_threads CC testcases/cve/stack_clash /usr/bin/make -C lib -f "/home/thomas/autobuild/instance-0/output-1/build/ltp-testsuite-20220930/testcases/realtime/lib/Makefile" all CC utils/sctp/func_tests/test_assoc_abort CC utils/sctp/func_tests/test_assoc_shutdown CC utils/sctp/func_tests/test_autoclose CC utils/sctp/func_tests/test_basic CC utils/sctp/func_tests/test_connect CC utils/sctp/func_tests/test_connectx librttest.c: In function 'busy_work_us': librttest.c:576:13: warning: variable 'delta' set but not used [-Wunused-but-set-variable] 576 | int delta; /* time in us */ | ^~~~~ CC testcases/realtime/lib/librttest.o CC utils/sctp/func_tests/test_fragments CC utils/sctp/func_tests/test_getname CC utils/sctp/func_tests/test_inaddr_any libstats.c: In function 'stats_sort': libstats.c:113:65: warning: unused parameter 'method' [-Wunused-parameter] 113 | int stats_sort(stats_container_t * data, enum stats_sort_method method) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ libstats.c: In function 'stats_hist': libstats.c:263:13: warning: variable 'ret' set but not used [-Wunused-but-set-variable] 263 | int ret; | ^~~ CC testcases/realtime/lib/libstats.o AR librealtime.a RANLIB librealtime.a CC utils/sctp/func_tests/test_peeloff pthread_cond_latency.c: In function 'parse_args': pthread_cond_latency.c:56:29: warning: unused parameter 'v' [-Wunused-parameter] 56 | int parse_args(int c, char *v) | ~~~~~~^ CC utils/sctp/func_tests/test_recvmsg CC testcases/realtime/perf/latency/pthread_cond_latency CC utils/sctp/func_tests/test_sctp_sendrecvmsg CC testcases/realtime/perf/latency/pthread_cond_many CC utils/sctp/func_tests/test_sockopt lookup_pi_state.c: In function 'parse_args': lookup_pi_state.c:59:29: warning: unused parameter 'v' [-Wunused-parameter] 59 | int parse_args(int c, char *v) | ~~~~~~^ CC utils/sctp/func_tests/test_tcp_style CC utils/sctp/func_tests/test_basic_v6.o CC testcases/realtime/stress/pi-tests/lookup_pi_state testpi-3.c: In function 'parse_args': testpi-3.c:52:29: warning: unused parameter 'v' [-Wunused-parameter] 52 | int parse_args(int c, char *v) | ~~~~~~^ CC utils/sctp/func_tests/test_timetolive CC utils/sctp/func_tests/test_fragments_v6.o CC utils/sctp/func_tests/test_getname_v6.o CC testcases/realtime/stress/pi-tests/testpi-3 make[4]: Nothing to be done for 'all'. make[4]: Nothing to be done for 'all'. CC utils/sctp/func_tests/test_inaddr_any_v6.o CC utils/sctp/func_tests/test_peeloff_v6.o CC testcases/realtime/func/periodic_cpu_load/periodic_cpu_load CC utils/sctp/func_tests/test_sctp_sendrecvmsg_v6.o CC utils/sctp/func_tests/test_sockopt_v6.o CC testcases/realtime/func/periodic_cpu_load/periodic_cpu_load_single CC utils/sctp/func_tests/test_tcp_style_v6.o prio-wake.c: In function 'master_thread': prio-wake.c:106:13: warning: variable 'rc' set but not used [-Wunused-but-set-variable] 106 | int rc; | ^~ prio-wake.c:104:27: warning: unused parameter 'arg' [-Wunused-parameter] 104 | void *master_thread(void *arg) | ~~~~~~^~~ prio-wake.c: In function 'worker_thread': prio-wake.c:134:13: warning: variable 'rc' set but not used [-Wunused-but-set-variable] 134 | int rc; | ^~ CC testcases/realtime/func/prio-wake/prio-wake prio-preempt.c: In function 'int_thread': prio-preempt.c:119:24: warning: unused parameter 'arg' [-Wunused-parameter] 119 | void *int_thread(void *arg) | ~~~~~~^~~ prio-preempt.c: In function 'master_thread': prio-preempt.c:231:27: warning: unused parameter 'arg' [-Wunused-parameter] 231 | void *master_thread(void *arg) | ~~~~~~^~~ CC utils/sctp/func_tests/test_timetolive_v6.o CC testcases/realtime/func/prio-preempt/prio-preempt LD utils/sctp/func_tests/test_basic_v6 LD utils/sctp/func_tests/test_fragments_v6 tc-2.c: In function 'parse_args': tc-2.c:65:29: warning: unused parameter 'v' [-Wunused-parameter] 65 | int parse_args(int c, char *v) | ~~~~~~^ LD utils/sctp/func_tests/test_getname_v6 CC testcases/realtime/func/thread_clock/tc-2 LD utils/sctp/func_tests/test_inaddr_any_v6 LD utils/sctp/func_tests/test_peeloff_v6 LD utils/sctp/func_tests/test_sctp_sendrecvmsg_v6 LD utils/sctp/func_tests/test_sockopt_v6 LD utils/sctp/func_tests/test_tcp_style_v6 async_handler.c: In function 'handler_thread': async_handler.c:93:28: warning: unused parameter 'arg' [-Wunused-parameter] 93 | void *handler_thread(void *arg) | ~~~~~~^~~ async_handler.c: In function 'signal_thread': async_handler.c:113:27: warning: unused parameter 'arg' [-Wunused-parameter] 113 | void *signal_thread(void *arg) | ~~~~~~^~~ async_handler.c: In function 'main': async_handler.c:176:24: warning: variable 'handler_id' set but not used [-Wunused-but-set-variable] 176 | int signal_id, handler_id; | ^~~~~~~~~~ async_handler.c:176:13: warning: variable 'signal_id' set but not used [-Wunused-but-set-variable] 176 | int signal_id, handler_id; | ^~~~~~~~~ LD utils/sctp/func_tests/test_timetolive_v6 rm test_inaddr_any_v6.o test_tcp_style_v6.o test_sockopt_v6.o test_sctp_sendrecvmsg_v6.o test_basic_v6.o test_fragments_v6.o test_timetolive_v6.o test_peeloff_v6.o test_getname_v6.o make[2]: Leaving directory '/home/thomas/autobuild/instance-0/output-1/build/ltp-testsuite-20220930/utils' async_handler_tsc.c: In function 'parse_args': async_handler_tsc.c:80:29: warning: unused parameter 'v' [-Wunused-parameter] 80 | int parse_args(int c, char *v) | ~~~~~~^ async_handler_tsc.c: In function 'handler_thread': async_handler_tsc.c:111:28: warning: unused parameter 'arg' [-Wunused-parameter] 111 | void *handler_thread(void *arg) | ~~~~~~^~~ async_handler_tsc.c: In function 'signal_thread': async_handler_tsc.c:130:27: warning: unused parameter 'arg' [-Wunused-parameter] 130 | void *signal_thread(void *arg) | ~~~~~~^~~ async_handler_tsc.c: In function 'main': async_handler_tsc.c:197:24: warning: variable 'handler_id' set but not used [-Wunused-but-set-variable] 197 | int signal_id, handler_id; | ^~~~~~~~~~ async_handler_tsc.c:197:13: warning: variable 'signal_id' set but not used [-Wunused-but-set-variable] 197 | int signal_id, handler_id; | ^~~~~~~~~ async_handler_jk.c: In function 'parse_args': async_handler_jk.c:64:29: warning: unused parameter 'v' [-Wunused-parameter] 64 | int parse_args(int c, char *v) | ~~~~~~^ async_handler_jk.c: In function 'handler1': async_handler_jk.c:130:22: warning: unused parameter 'arg' [-Wunused-parameter] 130 | void *handler1(void *arg) | ~~~~~~^~~ CC testcases/realtime/func/async_handler/async_handler CC testcases/realtime/func/async_handler/async_handler_tsc CC testcases/realtime/func/async_handler/async_handler_jk preempt_timing.c: In function 'parse_args': preempt_timing.c:67:29: warning: unused parameter 'v' [-Wunused-parameter] 67 | int parse_args(int c, char *v) | ~~~~~~^ rdtsc-latency.c: In function 'parse_args': rdtsc-latency.c:59:29: warning: unused parameter 'v' [-Wunused-parameter] 59 | int parse_args(int c, char *v) | ~~~~~~^ CC testcases/realtime/func/measurement/preempt_timing CC testcases/realtime/func/measurement/rdtsc-latency pi_perf.c: In function 'low_prio_thread': pi_perf.c:133:29: warning: unused parameter 'arg' [-Wunused-parameter] 133 | void *low_prio_thread(void *arg) | ~~~~~~^~~ pi_perf.c: In function 'high_prio_thread': pi_perf.c:173:16: warning: variable 'high_start' set but not used [-Wunused-but-set-variable] 173 | nsec_t high_start, high_end, high_get_lock; | ^~~~~~~~~~ pi_perf.c:171:30: warning: unused parameter 'arg' [-Wunused-parameter] 171 | void *high_prio_thread(void *arg) | ~~~~~~^~~ CC testcases/realtime/func/pi_perf/pi_perf hrtimer-prio.c: In function 'busy_thread': hrtimer-prio.c:113:25: warning: unused parameter 'thread' [-Wunused-parameter] 113 | void *busy_thread(void *thread) | ~~~~~~^~~~~~ hrtimer-prio.c: In function 'timer_thread': hrtimer-prio.c:123:26: warning: unused parameter 'thread' [-Wunused-parameter] 123 | void *timer_thread(void *thread) | ~~~~~~^~~~~~ CC testcases/realtime/func/hrtimer-prio/hrtimer-prio sched_jitter.c: In function 'parse_args': sched_jitter.c:69:29: warning: unused parameter 'v' [-Wunused-parameter] 69 | int parse_args(int c, char *v) | ~~~~~~^ sched_jitter.c: In function 'thread_worker': sched_jitter.c:115:27: warning: unused parameter 'arg' [-Wunused-parameter] 115 | void *thread_worker(void *arg) | ~~~~~~^~~ sched_jitter.c: In function 'thread_interrupter': sched_jitter.c:157:32: warning: unused parameter 'arg' [-Wunused-parameter] 157 | void *thread_interrupter(void *arg) | ~~~~~~^~~ CC testcases/realtime/func/sched_jitter/sched_jitter testpi-1.c: In function 'parse_args': testpi-1.c:57:29: warning: unused parameter 'v' [-Wunused-parameter] 57 | int parse_args(int c, char *v) | ~~~~~~^ testpi-0.c: In function 'parse_args': testpi-0.c:54:29: warning: unused parameter 'v' [-Wunused-parameter] 54 | int parse_args(int c, char *v) | ~~~~~~^ testpi-2.c: In function 'parse_args': testpi-2.c:58:29: warning: unused parameter 'v' [-Wunused-parameter] 58 | int parse_args(int c, char *v) | ~~~~~~^ CC testcases/realtime/func/pi-tests/testpi-0 CC testcases/realtime/func/pi-tests/testpi-1 CC testcases/realtime/func/pi-tests/testpi-2 testpi-4.c: In function 'parse_args': testpi-4.c:58:29: warning: unused parameter 'v' [-Wunused-parameter] 58 | int parse_args(int c, char *v) | ~~~~~~^ testpi-5.c: In function 'child_thread': testpi-5.c:45:26: warning: unused parameter 'arg' [-Wunused-parameter] 45 | void *child_thread(void *arg) | ~~~~~~^~~ testpi-5.c: In function 'do_test': testpi-5.c:67:17: warning: unused parameter 'argc' [-Wunused-parameter] 67 | int do_test(int argc, char **argv) | ~~~~^~~~ testpi-5.c:67:30: warning: unused parameter 'argv' [-Wunused-parameter] 67 | int do_test(int argc, char **argv) | ~~~~~~~^~~~ In file included from testpi-5.c:99: test-skeleton.c: In function 'parse_args': test-skeleton.c:52:29: warning: unused parameter 'v' [-Wunused-parameter] 52 | int parse_args(int c, char *v) | ~~~~~~^ test-skeleton.c: In function 'timeout_handler': test-skeleton.c:72:33: warning: unused parameter 'sig' [-Wunused-parameter] 72 | static void timeout_handler(int sig) | ~~~~^~~ testpi-6.c: In function 'child_thread': testpi-6.c:46:26: warning: unused parameter 'arg' [-Wunused-parameter] 46 | void *child_thread(void *arg) | ~~~~~~^~~ testpi-6.c: In function 'do_test': testpi-6.c:68:17: warning: unused parameter 'argc' [-Wunused-parameter] 68 | int do_test(int argc, char **argv) | ~~~~^~~~ testpi-6.c:68:30: warning: unused parameter 'argv' [-Wunused-parameter] 68 | int do_test(int argc, char **argv) | ~~~~~~~^~~~ In file included from testpi-6.c:95: test-skeleton.c: In function 'parse_args': test-skeleton.c:52:29: warning: unused parameter 'v' [-Wunused-parameter] 52 | int parse_args(int c, char *v) | ~~~~~~^ test-skeleton.c: In function 'timeout_handler': test-skeleton.c:72:33: warning: unused parameter 'sig' [-Wunused-parameter] 72 | static void timeout_handler(int sig) | ~~~~^~~ CC testcases/realtime/func/pi-tests/testpi-4 CC testcases/realtime/func/pi-tests/testpi-6 CC testcases/realtime/func/pi-tests/testpi-5 sbrk_mutex.c: In function 'parse_args': sbrk_mutex.c:61:29: warning: unused parameter 'v' [-Wunused-parameter] 61 | int parse_args(int c, char *v) | ~~~~~~^ CC testcases/realtime/func/pi-tests/sbrk_mutex make[2]: Leaving directory '/home/thomas/autobuild/instance-0/output-1/build/ltp-testsuite-20220930/metadata' CC testcases/realtime/func/pi-tests/testpi-7 sched_latency.c: In function 'periodic_thread': sched_latency.c:117:29: warning: unused parameter 'arg' [-Wunused-parameter] 117 | void *periodic_thread(void *arg) | ~~~~~~^~~ CC testcases/realtime/func/sched_latency/sched_latency gtod_latency.c: In function 'main': gtod_latency.c:304:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 304 | for (i = 0; i < (iterations / 10000); i++) { | ^ gtod_latency.c:312:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 312 | for (i = 0; i < iterations; i++) { | ^ gtod_latency.c:326:23: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 326 | if (i != iterations) { | ^~ gtod_infinite.c: In function 'alarm_handler': gtod_infinite.c:96:24: warning: unused parameter 'sig' [-Wunused-parameter] 96 | void alarm_handler(int sig) | ~~~~^~~ CC testcases/realtime/func/gtod_latency/gtod_infinite CC testcases/realtime/func/gtod_latency/gtod_latency sched_football.c: In function 'thread_defense': sched_football.c:111:28: warning: unused parameter 'arg' [-Wunused-parameter] 111 | void *thread_defense(void *arg) | ~~~~~~^~~ sched_football.c: In function 'thread_offense': sched_football.c:122:28: warning: unused parameter 'arg' [-Wunused-parameter] 122 | void *thread_offense(void *arg) | ~~~~~~^~~ CC testcases/realtime/func/sched_football/sched_football rt-migrate.c: In function 'setup_ftrace_marker': rt-migrate.c:95:23: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 95 | for (i = 0; i < (sizeof(files) / sizeof(char *)); i++) { | ^ rt-migrate.c: In function 'usage': rt-migrate.c:181:13: warning: old-style function definition [-Wold-style-definition] 181 | static void usage() | ^~~~~ rt-migrate.c: In function 'check_times': rt-migrate.c:366:31: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'long int' [-Wsign-compare] 366 | if (i && last < intervals[i].records[l].y && | ^ rt-migrate.c:374:61: warning: comparison of integer expressions of different signedness: 'long int' and 'long long unsigned int' [-Wsign-compare] 374 | if (intervals_loops[i].records[l].y < last_loops || | ^ rt-migrate.c:375:55: warning: comparison of integer expressions of different signedness: 'long int' and 'long long unsigned int' [-Wsign-compare] 375 | intervals[i].records[l].y > last_length || | ^ rt-migrate.c:376:63: warning: comparison of integer expressions of different signedness: 'long int' and 'long long unsigned int' [-Wsign-compare] 376 | (intervals_length[i].records[l].y > last_length && | ^ rt-migrate.c: In function 'stop_log': rt-migrate.c:390:26: warning: unused parameter 'sig' [-Wunused-parameter] 390 | static void stop_log(int sig) | ~~~~^~~ CC testcases/realtime/func/rt-migrate/rt-migrate CC testcases/realtime/func/matrix_mult/matrix_mult pthread_kill_latency.c: In function 'signal_receiving_thread': pthread_kill_latency.c:112:37: warning: unused parameter 'arg' [-Wunused-parameter] 112 | void *signal_receiving_thread(void *arg) | ~~~~~~^~~ CC testcases/realtime/func/pthread_kill_latency/pthread_kill_latency make[4]: Nothing to be done for 'all'. make[5]: Nothing to be done for 'all'. make[4]: Nothing to be done for 'all'. make[4]: Nothing to be done for 'all'. CC testcases/commands/nm/datafiles/f1.o CC testcases/commands/nm/datafiles/f2.o CC testcases/commands/nm/datafiles/f3.o /home/thomas/autobuild/instance-0/output-1/host/bin/x86_64-buildroot-linux-gnu-gcc-ar rcs lib.a f1.o f2.o f3.o LD testcases/commands/nm/datafiles/f2 LD testcases/commands/nm/datafiles/f1 LD testcases/commands/nm/datafiles/f3 make[4]: Nothing to be done for 'all'. make[4]: Nothing to be done for 'all'. make[4]: Nothing to be done for 'all'. CC testcases/commands/file/datafiles/in CC testcases/commands/ldd/datafiles/lddfile2.o CC testcases/commands/ldd/datafiles/lddfile3.o CC testcases/commands/ldd/datafiles/main.o /home/thomas/autobuild/instance-0/output-1/host/bin/x86_64-buildroot-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -Og -g0 -D_FORTIFY_SOURCE=1 -I/home/thomas/autobuild/instance-0/output-1/host/bin/../x86_64-buildroot-linux-gnu/sysroot/usr/include/tirpc -g -O2 -fno-strict-aliasing -pipe -Wall -W -Wold-style-definition -shared -o lddfile2.obj.so lddfile2.o CC testcases/commands/ldd/datafiles/lddfile1.o /home/thomas/autobuild/instance-0/output-1/host/bin/x86_64-buildroot-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -Og -g0 -D_FORTIFY_SOURCE=1 -I/home/thomas/autobuild/instance-0/output-1/host/bin/../x86_64-buildroot-linux-gnu/sysroot/usr/include/tirpc -g -O2 -fno-strict-aliasing -pipe -Wall -W -Wold-style-definition -shared -o lddfile3.obj.so lddfile3.o /home/thomas/autobuild/instance-0/output-1/host/bin/x86_64-buildroot-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -Og -g0 -D_FORTIFY_SOURCE=1 -I/home/thomas/autobuild/instance-0/output-1/host/bin/../x86_64-buildroot-linux-gnu/sysroot/usr/include/tirpc -g -O2 -fno-strict-aliasing -pipe -Wall -W -Wold-style-definition -shared -o lddfile1.obj.so lddfile1.o CC testcases/commands/ldd/datafiles/lddfile4.o /home/thomas/autobuild/instance-0/output-1/host/bin/x86_64-buildroot-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -Og -g0 -D_FORTIFY_SOURCE=1 -I/home/thomas/autobuild/instance-0/output-1/host/bin/../x86_64-buildroot-linux-gnu/sysroot/usr/include/tirpc -g -O2 -fno-strict-aliasing -pipe -Wall -W -Wold-style-definition -shared -o lddfile4.obj.so lddfile4.o CC testcases/commands/ldd/datafiles/lddfile5.o /home/thomas/autobuild/instance-0/output-1/host/bin/x86_64-buildroot-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -Og -g0 -D_FORTIFY_SOURCE=1 -I/home/thomas/autobuild/instance-0/output-1/host/bin/../x86_64-buildroot-linux-gnu/sysroot/usr/include/tirpc -g -O2 -fno-strict-aliasing -pipe -Wall -W -Wold-style-definition -shared -o lddfile5.obj.so lddfile5.o /home/thomas/autobuild/instance-0/output-1/host/bin/x86_64-buildroot-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -Og -g0 -D_FORTIFY_SOURCE=1 -I/home/thomas/autobuild/instance-0/output-1/host/bin/../x86_64-buildroot-linux-gnu/sysroot/usr/include/tirpc -g -O2 -fno-strict-aliasing -pipe -Wall -W -Wold-style-definition -O -o lddfile.out main.o lddfile1.obj.so lddfile2.obj.so lddfile3.obj.so lddfile4.obj.so lddfile5.obj.so rm lddfile5.o lddfile1.o lddfile2.o lddfile4.o lddfile3.o make[4]: Nothing to be done for 'all'. make[4]: Nothing to be done for 'all'. make[4]: Nothing to be done for 'all'. make[4]: Nothing to be done for 'all'. make[4]: Nothing to be done for 'all'. make[4]: Nothing to be done for 'all'. make[4]: Nothing to be done for 'all'. make[4]: Nothing to be done for 'all'. make[4]: Nothing to be done for 'all'. make[4]: Nothing to be done for 'all'. make[4]: Nothing to be done for 'all'. make[5]: Nothing to be done for 'all'. make[5]: Nothing to be done for 'all'. make[4]: Nothing to be done for 'all'. make[6]: Nothing to be done for 'all'. make[6]: Nothing to be done for 'all'. make[6]: Nothing to be done for 'all'. make[6]: Nothing to be done for 'all'. make[6]: Nothing to be done for 'all'. make[6]: Nothing to be done for 'all'. make[6]: Nothing to be done for 'all'. make[6]: Nothing to be done for 'all'. make[6]: Nothing to be done for 'all'. make[6]: Nothing to be done for 'all'. make[6]: Nothing to be done for 'all'. make[6]: Nothing to be done for 'all'. make[4]: Nothing to be done for 'all'. make[4]: Nothing to be done for 'all'. CC testcases/commands/eject/eject_check_tray make[4]: Nothing to be done for 'all'. CC testcases/misc/f00f/f00f make[5]: Nothing to be done for 'all'. crash01.c: In function 'monitor_fcn': crash01.c:207:22: warning: unused parameter 'sig' [-Wunused-parameter] 207 | void monitor_fcn(int sig) | ~~~~^~~ crash02.c: In function 'monitor_fcn': crash02.c:183:22: warning: unused parameter 'sig' [-Wunused-parameter] 183 | void monitor_fcn(int sig) | ~~~~^~~ crash02.c: In function 'badboy_fork': crash02.c:204:17: warning: this statement may fall through [-Wimplicit-fallthrough=] 204 | perror("fork"); | ^~~~~~~~~~~~~~ crash02.c:205:9: note: here 205 | case 0: | ^~~~ crash02.c: In function 'badboy_loop': crash02.c:283:13: warning: variable 'i' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] 283 | int i; | ^ CC testcases/misc/crash/crash02 CC testcases/misc/crash/crash01 In file included from float_power.c:46: main.c: In function 'handle_signals': main.c:322:35: warning: unused parameter 'arg' [-Wunused-parameter] 322 | static void *handle_signals(void *arg) | ~~~~~~^~~ In file included from float_power.c:47: thread_code.c: In function 'read_file': thread_code.c:95:40: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 95 | while (read(fd, buffer, fsize) != fsize) { | ^~ In file included from float_power.c:46: main.c: In function 'generate': main.c:91:9: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 91 | system(cmdline); | ^~~~~~~~~~~~~~~ main.c: In function 'main': main.c:36:17: warning: this statement may fall through [-Wimplicit-fallthrough=] 36 | #define exit(x) myexit(x) | ^~~~~~~~~ main.c:171:17: note: in expansion of macro 'exit' 171 | exit(0); | ^~~~ main.c:172:9: note: here 172 | default: | ^~~~~~~ In file included from float_bessel.c:44: main.c: In function 'handle_signals': main.c:322:35: warning: unused parameter 'arg' [-Wunused-parameter] 322 | static void *handle_signals(void *arg) | ~~~~~~^~~ In file included from float_bessel.c:45: thread_code.c: In function 'read_file': thread_code.c:95:40: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 95 | while (read(fd, buffer, fsize) != fsize) { | ^~ In file included from float_exp_log.c:48: main.c: In function 'handle_signals': main.c:322:35: warning: unused parameter 'arg' [-Wunused-parameter] 322 | static void *handle_signals(void *arg) | ~~~~~~^~~ In file included from float_bessel.c:44: main.c: In function 'generate': main.c:91:9: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 91 | system(cmdline); | ^~~~~~~~~~~~~~~ main.c: In function 'main': main.c:36:17: warning: this statement may fall through [-Wimplicit-fallthrough=] 36 | #define exit(x) myexit(x) | ^~~~~~~~~ main.c:171:17: note: in expansion of macro 'exit' 171 | exit(0); | ^~~~ main.c:172:9: note: here 172 | default: | ^~~~~~~ In file included from float_exp_log.c:49: thread_code.c: In function 'read_file': thread_code.c:95:40: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 95 | while (read(fd, buffer, fsize) != fsize) { | ^~ In file included from float_exp_log.c:48: main.c: In function 'generate': main.c:91:9: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 91 | system(cmdline); | ^~~~~~~~~~~~~~~ main.c: In function 'main': main.c:36:17: warning: this statement may fall through [-Wimplicit-fallthrough=] 36 | #define exit(x) myexit(x) | ^~~~~~~~~ main.c:171:17: note: in expansion of macro 'exit' 171 | exit(0); | ^~~~ main.c:172:9: note: here 172 | default: | ^~~~~~~ In file included from float_iperb.c:40: main.c: In function 'handle_signals': main.c:322:35: warning: unused parameter 'arg' [-Wunused-parameter] 322 | static void *handle_signals(void *arg) | ~~~~~~^~~ In file included from float_iperb.c:41: thread_code.c: In function 'read_file': thread_code.c:95:40: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 95 | while (read(fd, buffer, fsize) != fsize) { | ^~ In file included from float_iperb.c:40: main.c: In function 'generate': main.c:91:9: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 91 | system(cmdline); | ^~~~~~~~~~~~~~~ main.c: In function 'main': main.c:36:17: warning: this statement may fall through [-Wimplicit-fallthrough=] 36 | #define exit(x) myexit(x) | ^~~~~~~~~ main.c:171:17: note: in expansion of macro 'exit' 171 | exit(0); | ^~~~ main.c:172:9: note: here 172 | default: | ^~~~~~~ In file included from float_power.c:47: thread_code.c: In function 'read_file': thread_code.c:50:35: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 50 | (void)sprintf(path, "%s/%s", datadir, fname); | ^ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/stdio.h:906, from tfloat.h:25, from float_power.c:26: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 4097) into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ In file included from float_bessel.c:45: thread_code.c: In function 'read_file': thread_code.c:50:35: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 50 | (void)sprintf(path, "%s/%s", datadir, fname); | ^ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/stdio.h:906, from tfloat.h:25, from float_bessel.c:26: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 4097) into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ In file included from float_exp_log.c:49: thread_code.c: In function 'read_file': thread_code.c:50:35: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 50 | (void)sprintf(path, "%s/%s", datadir, fname); | ^ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/stdio.h:906, from tfloat.h:25, from float_exp_log.c:26: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 4097) into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ In file included from float_iperb.c:41: thread_code.c: In function 'read_file': thread_code.c:50:35: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 50 | (void)sprintf(path, "%s/%s", datadir, fname); | ^ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/stdio.h:906, from tfloat.h:25, from float_iperb.c:26: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 4097) into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/string.h:535, from tfloat.h:33, from float_power.c:26: In function 'strncpy', inlined from 'main' at main.c:145:5: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/string_fortified.h:95:10: warning: '__builtin_strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/string.h:535, from tfloat.h:33, from float_exp_log.c:26: In function 'strncpy', inlined from 'main' at main.c:145:5: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/string_fortified.h:95:10: warning: '__builtin_strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/string.h:535, from tfloat.h:33, from float_bessel.c:26: In function 'strncpy', inlined from 'main' at main.c:145:5: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/string_fortified.h:95:10: warning: '__builtin_strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/string.h:535, from tfloat.h:33, from float_iperb.c:26: In function 'strncpy', inlined from 'main' at main.c:145:5: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/string_fortified.h:95:10: warning: '__builtin_strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ CC testcases/misc/math/float/float_power CC testcases/misc/math/float/float_iperb CC testcases/misc/math/float/float_exp_log CC testcases/misc/math/float/float_bessel In file included from float_trigo.c:48: main.c: In function 'handle_signals': main.c:322:35: warning: unused parameter 'arg' [-Wunused-parameter] 322 | static void *handle_signals(void *arg) | ~~~~~~^~~ In file included from float_trigo.c:49: thread_code.c: In function 'read_file': thread_code.c:95:40: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 95 | while (read(fd, buffer, fsize) != fsize) { | ^~ In file included from float_trigo.c:48: main.c: In function 'generate': main.c:91:9: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 91 | system(cmdline); | ^~~~~~~~~~~~~~~ main.c: In function 'main': main.c:36:17: warning: this statement may fall through [-Wimplicit-fallthrough=] 36 | #define exit(x) myexit(x) | ^~~~~~~~~ main.c:171:17: note: in expansion of macro 'exit' 171 | exit(0); | ^~~~ main.c:172:9: note: here 172 | default: | ^~~~~~~ In file included from float_trigo.c:49: thread_code.c: In function 'read_file': thread_code.c:50:35: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 50 | (void)sprintf(path, "%s/%s", datadir, fname); | ^ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/stdio.h:906, from tfloat.h:25, from float_trigo.c:26: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 4097) into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/string.h:535, from tfloat.h:33, from float_trigo.c:26: In function 'strncpy', inlined from 'main' at main.c:145:5: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/string_fortified.h:95:10: warning: '__builtin_strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ CC testcases/misc/math/float/float_trigo genfabs.c: In function 'create_Result_file': genfabs.c:56:25: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 56 | read(fpi, &Val, sizeof(double)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ genfabs.c:68:33: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 68 | write(fp, &tabR[i], sizeof(double)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ genfabs.c: In function 'create_Data_file': genfabs.c:99:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 99 | write(fp, &tabD[i], sizeof(double)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ genfloor.c: In function 'create_Result_file': genfloor.c:60:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 60 | write(fp, &tabR[i], sizeof(double)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ genfloor.c: In function 'create_Data_file': genfloor.c:90:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 90 | write(fp, &tabD[i], sizeof(double)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ genceil.c: In function 'create_Result_file': genceil.c:60:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 60 | write(fp, &tabR[i], sizeof(double)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ genceil.c: In function 'create_Data_file': genceil.c:90:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 90 | write(fp, &tabD[i], sizeof(double)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ genfmod.c: In function 'create_Result_file': genfmod.c:67:25: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 67 | read(fpi, &Val, sizeof(double)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ genfmod.c:68:25: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 68 | read(fpi1, &Val1, sizeof(double)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ genfmod.c:82:33: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 82 | write(fp, &tabR[i], sizeof(double)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ genfmod.c: In function 'create_Data_file': genfmod.c:118:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 118 | write(fp, &tabD[i], sizeof(double)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ genfmod.c:119:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 119 | write(fp1, &tabD1[i], sizeof(double)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC testcases/misc/math/float/power/genfloor CC testcases/misc/math/float/power/genfabs CC testcases/misc/math/float/power/genceil CC testcases/misc/math/float/power/genfmod genpow.c: In function 'create_Result_file': genpow.c:59:25: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 59 | read(fpi, &Val_X, sizeof(double)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ genpow.c:60:25: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 60 | read(fpi1, &Val_Y, sizeof(double)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ genpow.c:73:33: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 73 | write(fp, &tabR[i], sizeof(double)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ genpower.c: In function 'create_file': genpow.c: In function 'create_Data_file': genpower.c:51:38: warning: unused parameter 'NbVal' [-Wunused-parameter] 51 | int create_file(char *func_name, int NbVal) | ~~~~^~~~~ genpow.c:110:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 110 | write(fp, &tabD[i], sizeof(double)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ genpow.c:111:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 111 | write(fp2, &tabD_pow[i], sizeof(double)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gensqrt.c: In function 'create_Result_file': gensqrt.c:60:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 60 | write(fp, &tabR[i], sizeof(double)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gensqrt.c: In function 'create_Data_file': gensqrt.c:97:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 97 | write(fp, &tabD[i], sizeof(double)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC testcases/misc/math/float/power/genpower CC testcases/misc/math/float/power/genpow CC testcases/misc/math/float/power/gensqrt genexp_log.c: In function 'create_file': genexp_log.c:51:38: warning: unused parameter 'NbVal' [-Wunused-parameter] 51 | int create_file(char *func_name, int NbVal) | ~~~~^~~~~ genhypot.c: In function 'create_Data_file': genhypot.c:94:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 94 | write(fp, &tabD[i], sizeof(double)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ genhypot.c: In function 'create_Result_file': genhypot.c:63:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 63 | write(fp, &tabR[i], sizeof(double)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ genfrexp.c: In function 'create_Data_file': genfrexp.c:98:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 98 | write(fp, &tabD[i], sizeof(double)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ genfrexp.c: In function 'create_Result_file': genfrexp.c:66:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 66 | write(fp, &tabR[i], sizeof(double)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ genfrexp.c:67:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 67 | write(fp1, &tabRI[i], sizeof(int)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ genexp.c: In function 'create_Data_file': genexp.c:91:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 91 | write(fp, &tabD[i], sizeof(double)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ genexp.c: In function 'create_Result_file': genexp.c:61:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 61 | write(fp, &tabR[i], sizeof(double)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC testcases/misc/math/float/exp_log/genexp_log CC testcases/misc/math/float/exp_log/genhypot CC testcases/misc/math/float/exp_log/genfrexp CC testcases/misc/math/float/exp_log/genexp genldexp.c: In function 'create_Data_file': genldexp.c:130:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 130 | write(fp, &tabDD[i], sizeof(double)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ genldexp.c:131:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 131 | write(fpi, &tabDI[i], sizeof(int)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ genldexp.c: In function 'create_Result_file': genldexp.c:73:25: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 73 | read(fpi, &(tabInpi[i]), sizeof(int)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ genldexp.c:74:25: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 74 | read(fpd, &(tabInpd[i]), sizeof(double)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ genldexp.c:87:33: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 87 | write(fp, &tabR[i], sizeof(double)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ genlog10.c: In function 'create_Data_file': genlog10.c:91:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 91 | write(fp, &tabD[i], sizeof(double)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ genlog10.c: In function 'create_Result_file': genlog10.c:61:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 61 | write(fp, &tabR[i], sizeof(double)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ genmodf.c: In function 'create_Data_file': genmodf.c:112:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 112 | write(fp, &tabD[i], sizeof(double)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ genmodf.c: In function 'create_Result_file': genmodf.c:80:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 80 | write(fp, &tabR[i], sizeof(double)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ genmodf.c:81:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 81 | write(fp1, &tabRI[i], sizeof(double)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ genlog.c: In function 'create_Data_file': genlog.c:90:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 90 | write(fp, &tabD[i], sizeof(double)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ genlog.c: In function 'create_Result_file': genlog.c:60:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 60 | write(fp, &tabR[i], sizeof(double)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC testcases/misc/math/float/exp_log/genldexp CC testcases/misc/math/float/exp_log/genlog10 CC testcases/misc/math/float/exp_log/genlog CC testcases/misc/math/float/exp_log/genmodf genj0.c: In function 'create_Data_file': genj0.c:92:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 92 | write(fp, &tabD[i], sizeof(double)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ genj0.c: In function 'create_Result_file': genj0.c:61:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 61 | write(fp, &tabR[i], sizeof(double)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ genlgamma.c: In function 'create_Data_file': genlgamma.c:99:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 99 | write(fp, &tabD[i], sizeof(double)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ genlgamma.c: In function 'create_Result_file': genlgamma.c:66:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 66 | write(fp, &tabR[i], sizeof(double)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ genlgamma.c:67:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 67 | write(fpsi, &tabSign[i], sizeof(int)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ genj1.c: In function 'create_Data_file': genj1.c:92:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 92 | write(fp, &tabD[i], sizeof(double)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ genj1.c: In function 'create_Result_file': genj1.c:61:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 61 | write(fp, &tabR[i], sizeof(double)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ genbessel.c: In function 'create_file': genbessel.c:51:38: warning: unused parameter 'NbVal' [-Wunused-parameter] 51 | int create_file(char *func_name, int NbVal) | ~~~~^~~~~ CC testcases/misc/math/float/bessel/genlgamma CC testcases/misc/math/float/bessel/genj0 CC testcases/misc/math/float/bessel/genbessel CC testcases/misc/math/float/bessel/genj1 geny1.c: In function 'create_Data_file': geny1.c:92:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 92 | write(fp, &tabD[i], sizeof(double)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ geny1.c: In function 'create_Result_file': geny1.c:61:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 61 | write(fp, &tabR[i], sizeof(double)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ geny0.c: In function 'create_Data_file': geny0.c:92:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 92 | write(fp, &tabD[i], sizeof(double)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ geny0.c: In function 'create_Result_file': geny0.c:61:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 61 | write(fp, &tabR[i], sizeof(double)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC testcases/misc/math/float/bessel/geny1 CC testcases/misc/math/float/bessel/geny0 genacos.c: In function 'create_Data_file': genacos.c:93:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 93 | write(fp, &tabDacos[i], sizeof(double)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ genacos.c: In function 'create_Result_file': genacos.c:63:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 63 | write(fp, &tabRacos[i], sizeof(double)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ genatan2.c: In function 'create_Data_file': genatan2.c:95:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 95 | write(fp, &tabD[i], sizeof(double)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ genatan2.c: In function 'create_Result_file': genatan2.c:64:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 64 | write(fp, &tabRatan2[i], sizeof(double)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ genatan.c: In function 'create_Data_file': genatan.c:93:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 93 | write(fp, &tabDatan[i], sizeof(double)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ genatan.c: In function 'create_Result_file': genatan.c:63:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 63 | write(fp, &tabRatan[i], sizeof(double)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ genasin.c: In function 'create_Data_file': genasin.c:93:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 93 | write(fp, &tabDasin[i], sizeof(double)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ genasin.c: In function 'create_Result_file': genasin.c:63:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 63 | write(fp, &tabRasin[i], sizeof(double)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC testcases/misc/math/float/trigo/genacos CC testcases/misc/math/float/trigo/genatan2 CC testcases/misc/math/float/trigo/genatan CC testcases/misc/math/float/trigo/genasin gencos.c: In function 'create_Data_file': gencos.c:93:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 93 | write(fp, &tabDcos[i], sizeof(double)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gencos.c: In function 'create_Result_file': gencos.c:63:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 63 | write(fp, &tabRcos[i], sizeof(double)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gentan.c: In function 'create_Data_file': gentan.c:101:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 101 | write(fp, &tabDtan[i], sizeof(double)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gentan.c: In function 'create_Result_file': gentan.c:67:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 67 | write(fp, &tabRtan[i], sizeof(double)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gensin.c: In function 'create_Data_file': gensin.c:93:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 93 | write(fp, &tabDsin[i], sizeof(double)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gensin.c: In function 'create_Result_file': gensin.c:63:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 63 | write(fp, &tabRsin[i], sizeof(double)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gentrigo.c: In function 'create_file': gentrigo.c:52:38: warning: unused parameter 'NbVal' [-Wunused-parameter] 52 | int create_file(char *func_name, int NbVal) | ~~~~^~~~~ CC testcases/misc/math/float/trigo/gencos CC testcases/misc/math/float/trigo/gentan CC testcases/misc/math/float/trigo/gentrigo CC testcases/misc/math/float/trigo/gensin geniperb.c: In function 'create_file': geniperb.c:51:38: warning: unused parameter 'NbVal' [-Wunused-parameter] 51 | int create_file(char *func_name, int NbVal) | ~~~~^~~~~ gentanh.c: In function 'create_Data_file': gentanh.c:91:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 91 | write(fp, &tabD[i], sizeof(double)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gentanh.c: In function 'create_Result_file': gentanh.c:61:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 61 | write(fp, &tabR[i], sizeof(double)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gencosh.c: In function 'create_Data_file': gencosh.c:91:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 91 | write(fp, &tabD[i], sizeof(double)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gencosh.c: In function 'create_Result_file': gencosh.c:61:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 61 | write(fp, &tabR[i], sizeof(double)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gensinh.c: In function 'create_Data_file': gensinh.c:91:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 91 | write(fp, &tabD[i], sizeof(double)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gensinh.c: In function 'create_Result_file': gensinh.c:61:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 61 | write(fp, &tabR[i], sizeof(double)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC testcases/misc/math/float/iperb/geniperb CC testcases/misc/math/float/iperb/gensinh CC testcases/misc/math/float/iperb/gentanh CC testcases/misc/math/float/iperb/gencosh CC testcases/misc/math/fptests/fptest02 CC testcases/misc/math/fptests/fptest01 nextafter01.c: In function 'main': nextafter01.c:58:5: warning: old-style function definition [-Wold-style-definition] 58 | int main() | ^~~~ nextafter01.c: In function 'setup': nextafter01.c:109:6: warning: old-style function definition [-Wold-style-definition] 109 | void setup() | ^~~~~ nextafter01.c: In function 'blenter': nextafter01.c:114:6: warning: old-style function definition [-Wold-style-definition] 114 | void blenter() | ^~~~~~~ nextafter01.c: In function 'blexit': nextafter01.c:119:6: warning: old-style function definition [-Wold-style-definition] 119 | void blexit() | ^~~~~~ CC testcases/misc/math/nextafter/nextafter01 CC testcases/misc/math/atof/atof01 CC testcases/misc/math/abs/abs01 make[4]: Nothing to be done for 'all'. make[6]: Nothing to be done for 'all'. make[6]: Nothing to be done for 'all'. make[6]: Nothing to be done for 'all'. make[6]: Nothing to be done for 'all'. make[6]: Nothing to be done for 'all'. make[6]: Nothing to be done for 'all'. make[6]: Nothing to be done for 'all'. make[6]: Nothing to be done for 'all'. make[6]: Nothing to be done for 'all'. make[6]: Nothing to be done for 'all'. make[6]: Nothing to be done for 'all'. make[5]: Nothing to be done for 'all'. make[5]: Nothing to be done for 'all'. make[6]: Nothing to be done for 'all'. make[6]: Nothing to be done for 'all'. make[6]: Nothing to be done for 'all'. make[6]: Nothing to be done for 'all'. make[5]: Nothing to be done for 'all'. make[5]: Nothing to be done for 'all'. make[5]: Nothing to be done for 'all'. make[6]: Nothing to be done for 'all'. make[6]: Nothing to be done for 'all'. make[5]: Nothing to be done for 'all'. make[6]: Nothing to be done for 'all'. make[6]: Nothing to be done for 'all'. make[6]: Nothing to be done for 'all'. CC testcases/network/stress/route/route-change-netlink ns-common.c: In function 'bit_change_seed': ns-common.c:234:26: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 234 | seed = (rand_val < bitsize) ? (0x00000001 << rand_val) : 0; | ^ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/string.h:535, from ns-common.c:47: In function 'strncpy', inlined from 'strtotimespec' at ns-common.c:337:3: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/string_fortified.h:95:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ ns-common.c: In function 'strtotimespec': ns-common.c:334:15: note: length computed here 334 | len = strlen(str); | ^~~~~~~~~~~ CC testcases/network/stress/ns-tools/ns-common.o ns-igmp_querier.c: In function 'send_query': ns-igmp_querier.c:435:28: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 435 | if (retval != query_size) { | ^~ ns-icmp_redirector.c: In function 'return_arp_reply': ns-icmp_redirector.c:343:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 343 | if (retval != sndeth_size) | ^~ ns-icmp_redirector.c: In function 'return_icmp4_redirect': ns-icmp_redirector.c:439:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 439 | if (retval != sndeth_size) | ^~ ns-icmp_redirector.c: In function 'return_neigh_adv': ns-icmp_redirector.c:564:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 564 | if (retval != sndeth_size) | ^~ ns-icmp_redirector.c: In function 'return_icmp6_redirect': ns-icmp_redirector.c:665:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 665 | if (retval != sndeth_size) | ^~ CC testcases/network/stress/ns-tools/ns-igmp_querier CC testcases/network/stress/ns-tools/ns-icmpv4_sender ns-icmp_redirector.c:638:16: warning: array subscript 'struct neighbor_redirect[0]' is partly outside array bounds of 'struct eth_frame[1]' [-Warray-bounds] 638 | sndrd_p->defs.nd_rd_type = ND_REDIRECT; | ^~ ns-icmp_redirector.c:591:26: note: while referencing 'sndeth' 591 | struct eth_frame sndeth; /* sending frame */ | ^~~~~~ ns-icmp_redirector.c:642:16: warning: array subscript 'struct neighbor_redirect[0]' is partly outside array bounds of 'struct eth_frame[1]' [-Warray-bounds] 642 | sndrd_p->defs.nd_rd_target = gw_p->nexthop; | ^~ ns-icmp_redirector.c:591:26: note: while referencing 'sndeth' 591 | struct eth_frame sndeth; /* sending frame */ | ^~~~~~ ns-icmp_redirector.c:643:16: warning: array subscript 'struct neighbor_redirect[0]' is partly outside array bounds of 'struct eth_frame[1]' [-Warray-bounds] 643 | sndrd_p->defs.nd_rd_dst = rcvip6_p->hdr.ip6_dst;; | ^~ ns-icmp_redirector.c:591:26: note: while referencing 'sndeth' 591 | struct eth_frame sndeth; /* sending frame */ | ^~~~~~ ns-icmp_redirector.c:644:16: warning: array subscript 'struct neighbor_redirect[0]' is partly outside array bounds of 'struct eth_frame[1]' [-Warray-bounds] 644 | sndrd_p->rdopt_hdr.nd_opt_rh_type = ND_OPT_REDIRECTED_HEADER; | ^~ ns-icmp_redirector.c:591:26: note: while referencing 'sndeth' 591 | struct eth_frame sndeth; /* sending frame */ | ^~~~~~ ns-icmp_redirector.c:645:16: warning: array subscript 'struct neighbor_redirect[0]' is partly outside array bounds of 'struct eth_frame[1]' [-Warray-bounds] 645 | sndrd_p->rdopt_hdr.nd_opt_rh_len = redirect_optsize / 8; | ^~ ns-icmp_redirector.c:591:26: note: while referencing 'sndeth' 591 | struct eth_frame sndeth; /* sending frame */ | ^~~~~~ ns-icmp_redirector.c:659:16: warning: array subscript 'struct neighbor_redirect[0]' is partly outside array bounds of 'struct eth_frame[1]' [-Warray-bounds] 659 | sndrd_p->defs.nd_rd_cksum = calc_checksum((u_int16_t *) (&p_ip6), | ^~ ns-icmp_redirector.c:591:26: note: while referencing 'sndeth' 591 | struct eth_frame sndeth; /* sending frame */ | ^~~~~~ ns-mcast_join.c: In function 'join_group': ns-mcast_join.c:311:27: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 311 | for (idx = 0; idx < num_sock; idx++) { | ^ ns-mcast_join.c:337:27: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 337 | for (idx = 0; idx < num_group; idx++) { | ^ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/string.h:535, from ns-mcast_join.c:41: In function 'strncpy', inlined from 'join_group' at ns-mcast_join.c:332:3: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/string_fortified.h:95:10: warning: '__builtin_strncpy' specified bound 80 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ CC testcases/network/stress/ns-tools/ns-icmp_redirector CC testcases/network/stress/ns-tools/ns-icmpv6_sender CC testcases/network/stress/ns-tools/ns-mcast_receiver CC testcases/network/stress/ns-tools/ns-mcast_join ns-udpsender.c: In function 'send_udp_datagram': ns-udpsender.c:400:28: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 400 | if (retval != udp_p->msgsize) { | ^~ CC testcases/network/stress/ns-tools/ns-udpclient CC testcases/network/stress/ns-tools/ns-tcpclient CC testcases/network/stress/ns-tools/ns-tcpserver CC testcases/network/stress/ns-tools/ns-udpsender CC testcases/network/stress/ns-tools/ns-udpserver make[5]: Nothing to be done for 'all'. make[5]: Nothing to be done for 'all'. make[5]: Nothing to be done for 'all'. make[4]: Nothing to be done for 'all'. make[5]: Nothing to be done for 'all'. /usr/bin/make -C ../.. \ -f "/home/thomas/autobuild/instance-0/output-1/build/ltp-testsuite-20220930/testcases/network/tcp_cmds/sendfile/../../Makefile" generate CC testcases/network/tcp_cmds/sendfile/testsf_s6.o CC testcases/network/tcp_cmds/sendfile/testsf_c6.o mkdir -p "datafiles" cd "datafiles" && \ abs_top_srcdir="/home/thomas/autobuild/instance-0/output-1/build/ltp-testsuite-20220930" "/home/thomas/autobuild/instance-0/output-1/build/ltp-testsuite-20220930/testcases/network/generate.sh" testsf_s.c: In function 'main': testsf_s.c:32:20: warning: variable 'ap' set but not used [-Wunused-but-set-variable] 32 | sai_t sa, *ap; | ^~ LD testcases/network/tcp_cmds/sendfile/testsf_s6 LD testcases/network/tcp_cmds/sendfile/testsf_c6 testsf_s.c: In function 'main': testsf_s.c:32:20: warning: variable 'ap' set but not used [-Wunused-but-set-variable] 32 | sai_t sa, *ap; | ^~ CC testcases/network/tcp_cmds/sendfile/testsf_c CC testcases/network/tcp_cmds/sendfile/testsf_s make[5]: Nothing to be done for 'all'. make[5]: Nothing to be done for 'all'. make[5]: Nothing to be done for 'all'. make[5]: Nothing to be done for 'all'. make[5]: Nothing to be done for 'all'. make[5]: Nothing to be done for 'all'. make[5]: Nothing to be done for 'all'. make[5]: Nothing to be done for 'all'. make[5]: Nothing to be done for 'all'. make[5]: Nothing to be done for 'all'. CC testcases/network/lib6/asapi_02 CC testcases/network/lib6/asapi_03 CC testcases/network/lib6/getaddrinfo_01 CC testcases/network/lib6/asapi_01 CC testcases/network/lib6/in6_01 CC testcases/network/lib6/in6_02 /usr/bin/make -C lib -f "/home/thomas/autobuild/instance-0/output-1/build/ltp-testsuite-20220930/testcases/network/rpc/basic_tests/rpc01/lib/Makefile" all /usr/bin/make -C /home/thomas/autobuild/instance-0/output-1/build/ltp-testsuite-20220930/testcases/network/rpc/rpc-tirpc/tests_pack/lib -f "/home/thomas/autobuild/instance-0/output-1/build/ltp-testsuite-20220930/testcases/network/rpc/rpc-tirpc/tests_pack/lib/Makefile" all CC testcases/network/rpc/rpc-tirpc/tests_pack/lib/librpc-tirpc.o AR librpc-tirpc.a RANLIB librpc-tirpc.a CC testcases/network/rpc/basic_tests/rpc01/lib/librpc01.o AR librpc01.a RANLIB librpc01.a rpc_server.c: In function 'service_request': rpc_server.c:94:39: warning: cast between incompatible function types from 'bool_t (*)(void)' {aka 'int (*)(void)'} to 'bool_t (*)(XDR *, ...)' {aka 'int (*)(struct __rpc_xdr *, ...)'} [-Wcast-function-type] 94 | svc_sendreply(transp, (xdrproc_t)xdr_void, NULL); | ^ rpc1.c: In function 'main': rpc1.c:96:56: warning: argument to 'sizeof' in 'memcpy' call is the same expression as the source; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] 96 | memcpy(&server_sin.sin_addr, hp->h_addr, sizeof(hp->h_addr)); | ^ CC testcases/network/rpc/basic_tests/rpc01/rpc_server CC testcases/network/rpc/basic_tests/rpc01/rpc1 make[7]: Nothing to be done for 'all'. make[6]: Nothing to be done for 'all'. rpc_cleaner.c: In function 'main': rpc_cleaner.c:25:14: warning: unused parameter 'argc' [-Wunused-parameter] 25 | int main(int argc, char *argv[]) | ~~~~^~~~ tirpc_cleaner.c: In function 'main': tirpc_cleaner.c:36:14: warning: unused parameter 'argn' [-Wunused-parameter] 36 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_cleaner CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_cleaner tirpc_svc_1.c: In function 'main': tirpc_svc_1.c:51:16: warning: variable 'rslt' set but not used [-Wunused-but-set-variable] 51 | bool_t rslt; | ^~~~ tirpc_svc_1.c:44:14: warning: unused parameter 'argn' [-Wunused-parameter] 44 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_1/tirpc_svc_1 tirpc_svc_11.c: In function 'main': tirpc_svc_11.c:46:14: warning: unused parameter 'argn' [-Wunused-parameter] 46 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_11/tirpc_svc_11 rpc_svc_1.c: In function 'main': rpc_svc_1.c:62:14: warning: unused parameter 'argn' [-Wunused-parameter] 62 | int main(int argn, char *argc[]) | ~~~~^~~~ rpc_svc_1.c: In function 'simplePing': rpc_svc_1.c:96:53: warning: unused parameter 'transp' [-Wunused-parameter] 96 | char *simplePing(union u_argument *inVar, SVCXPRT * transp) | ~~~~~~~~~~^~~~~~ rpc_svc_1.c: In function 'svc_getcaller_test': rpc_svc_1.c:109:12: warning: assignment to 'struct sockaddr_in *' from incompatible pointer type 'struct sockaddr_in6 *' [-Wincompatible-pointer-types] 109 | sa = svc_getcaller(transp); | ^ rpc_svc_1.c:103:44: warning: unused parameter 'inVar' [-Wunused-parameter] 103 | char *svc_getcaller_test(union u_argument *inVar, SVCXPRT * transp) | ~~~~~~~~~~~~~~~~~~^~~~~ rpc_svc_1.c: In function 'intTestProc': rpc_svc_1.c:116:51: warning: unused parameter 'transp' [-Wunused-parameter] 116 | char *intTestProc(union u_argument *in, SVCXPRT * transp) | ~~~~~~~~~~^~~~~~ rpc_svc_1.c: In function 'lngTestProc': rpc_svc_1.c:126:51: warning: unused parameter 'transp' [-Wunused-parameter] 126 | char *lngTestProc(union u_argument *in, SVCXPRT * transp) | ~~~~~~~~~~^~~~~~ rpc_svc_1.c: In function 'dblTestProc': rpc_svc_1.c:136:51: warning: unused parameter 'transp' [-Wunused-parameter] 136 | char *dblTestProc(union u_argument *in, SVCXPRT * transp) | ~~~~~~~~~~^~~~~~ rpc_svc_1.c: In function 'strTestProc': rpc_svc_1.c:146:51: warning: unused parameter 'transp' [-Wunused-parameter] 146 | char *strTestProc(union u_argument *in, SVCXPRT * transp) | ~~~~~~~~~~^~~~~~ rpc_svc_1.c: In function 'rcp_service': rpc_svc_1.c:221:25: warning: 'why' may be used uninitialized [-Wmaybe-uninitialized] 221 | svcerr_auth(transp, why); | ^~~~~~~~~~~~~~~~~~~~~~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_svc_1/rpc_svc_1 tirpc_authsys_create.c: In function 'main': tirpc_authsys_create.c:39:14: warning: unused parameter 'argn' [-Wunused-parameter] 39 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_auth_authsys_create/tirpc_authsys_create tirpc_toplevel_clnt_call_dataint.c: In function 'main': tirpc_toplevel_clnt_call_dataint.c:41:14: warning: unused parameter 'argn' [-Wunused-parameter] 41 | int main(int argn, char *argc[]) | ~~~~^~~~ tirpc_toplevel_clnt_call_mt.c: In function 'main': tirpc_toplevel_clnt_call_mt.c:84:14: warning: unused parameter 'argn' [-Wunused-parameter] 84 | int main(int argn, char *argc[]) | ~~~~^~~~ tirpc_toplevel_clnt_call_complex.c: In function 'main': tirpc_toplevel_clnt_call_complex.c:112:14: warning: unused parameter 'argn' [-Wunused-parameter] 112 | int main(int argn, char *argc[]) | ~~~~^~~~ tirpc_toplevel_clnt_call.c: In function 'main': tirpc_toplevel_clnt_call.c:38:14: warning: unused parameter 'argn' [-Wunused-parameter] 38 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_toplevel_clnt_call/tirpc_toplevel_clnt_call_dataint CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_toplevel_clnt_call/tirpc_toplevel_clnt_call CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_toplevel_clnt_call/tirpc_toplevel_clnt_call_mt tirpc_toplevel_clnt_call_performance.c: In function 'main': tirpc_toplevel_clnt_call_performance.c:79:14: warning: unused parameter 'argn' [-Wunused-parameter] 79 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_toplevel_clnt_call/tirpc_toplevel_clnt_call_complex tirpc_toplevel_clnt_call_stress.c: In function 'main': tirpc_toplevel_clnt_call_stress.c:38:14: warning: unused parameter 'argn' [-Wunused-parameter] 38 | int main(int argn, char *argc[]) | ~~~~^~~~ tirpc_toplevel_clnt_call_scalability.c: In function 'main': tirpc_toplevel_clnt_call_scalability.c:82:14: warning: unused parameter 'argn' [-Wunused-parameter] 82 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_toplevel_clnt_call/tirpc_toplevel_clnt_call_performance CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_toplevel_clnt_call/tirpc_toplevel_clnt_call_stress CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_toplevel_clnt_call/tirpc_toplevel_clnt_call_scalability tirpc_clnt_control.c: In function 'main': tirpc_clnt_control.c:38:14: warning: unused parameter 'argn' [-Wunused-parameter] 38 | int main(int argn, char *argc[]) | ~~~~^~~~ tirpc_clnt_control_limits.c: In function 'main': tirpc_clnt_control_limits.c:37:14: warning: unused parameter 'argn' [-Wunused-parameter] 37 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_interlevel_clnt_control/tirpc_clnt_control CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_interlevel_clnt_control/tirpc_clnt_control_limits CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_svc_tli_create/tirpc_svc_tli_create_limits CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_svc_tli_create/tirpc_svc_tli_create tirpc_interlevel_clnt_call_dataint.c: In function 'main': tirpc_interlevel_clnt_call_dataint.c:56:24: warning: variable 'rslt' set but not used [-Wunused-but-set-variable] 56 | enum clnt_stat rslt; | ^~~~ tirpc_interlevel_clnt_call_dataint.c:41:14: warning: unused parameter 'argn' [-Wunused-parameter] 41 | int main(int argn, char *argc[]) | ~~~~^~~~ tirpc_interlevel_clnt_call_mt.c: In function 'main': tirpc_interlevel_clnt_call_mt.c:91:14: warning: unused parameter 'argn' [-Wunused-parameter] 91 | int main(int argn, char *argc[]) | ~~~~^~~~ tirpc_interlevel_clnt_call.c: In function 'main': tirpc_interlevel_clnt_call.c:38:14: warning: unused parameter 'argn' [-Wunused-parameter] 38 | int main(int argn, char *argc[]) | ~~~~^~~~ tirpc_interlevel_clnt_call_complex.c: In function 'main': tirpc_interlevel_clnt_call_complex.c:123:14: warning: unused parameter 'argn' [-Wunused-parameter] 123 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_interlevel_clnt_call/tirpc_interlevel_clnt_call_dataint CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_interlevel_clnt_call/tirpc_interlevel_clnt_call tirpc_interlevel_clnt_call_performance.c: In function 'main': tirpc_interlevel_clnt_call_performance.c:79:14: warning: unused parameter 'argn' [-Wunused-parameter] 79 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_interlevel_clnt_call/tirpc_interlevel_clnt_call_mt CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_interlevel_clnt_call/tirpc_interlevel_clnt_call_complex tirpc_interlevel_clnt_call_scalability.c: In function 'main': tirpc_interlevel_clnt_call_scalability.c:92:14: warning: unused parameter 'argn' [-Wunused-parameter] 92 | int main(int argn, char *argc[]) | ~~~~^~~~ tirpc_interlevel_clnt_call_stress.c: In function 'main': tirpc_interlevel_clnt_call_stress.c:38:14: warning: unused parameter 'argn' [-Wunused-parameter] 38 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_interlevel_clnt_call/tirpc_interlevel_clnt_call_performance CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_interlevel_clnt_call/tirpc_interlevel_clnt_call_stress CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_interlevel_clnt_call/tirpc_interlevel_clnt_call_scalability tirpc_svc_destroy.c: In function 'main': tirpc_svc_destroy.c:40:14: warning: unused parameter 'argn' [-Wunused-parameter] 40 | int main(int argn, char *argc[]) | ~~~~^~~~ tirpc_svc_destroy.c: In function 'exm_proc': tirpc_svc_destroy.c:86:38: warning: unused parameter 'rqstp' [-Wunused-parameter] 86 | static void exm_proc(struct svc_req *rqstp, SVCXPRT * transp) | ~~~~~~~~~~~~~~~~^~~~~ tirpc_svc_destroy.c:86:55: warning: unused parameter 'transp' [-Wunused-parameter] 86 | static void exm_proc(struct svc_req *rqstp, SVCXPRT * transp) | ~~~~~~~~~~^~~~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_toplevel_svc_destroy/tirpc_svc_destroy tirpc_clnt_tli_create.c: In function 'main': tirpc_clnt_tli_create.c:41:14: warning: unused parameter 'argn' [-Wunused-parameter] 41 | int main(int argn, char *argc[]) | ~~~~^~~~ tirpc_clnt_tli_create_limits.c: In function 'main': tirpc_clnt_tli_create_limits.c:49:14: warning: unused parameter 'argn' [-Wunused-parameter] 49 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_clnt_tli_create/tirpc_clnt_tli_create CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_clnt_tli_create/tirpc_clnt_tli_create_limits CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_auth_authsys_create_default/tirpc_authsys_create_default tirpc_svc_create.c: In function 'main': tirpc_svc_create.c:40:14: warning: unused parameter 'argn' [-Wunused-parameter] 40 | int main(int argn, char *argc[]) | ~~~~^~~~ tirpc_svc_create.c: In function 'exm_proc': tirpc_svc_create.c:79:38: warning: unused parameter 'rqstp' [-Wunused-parameter] 79 | static void exm_proc(struct svc_req *rqstp, SVCXPRT * transp) | ~~~~~~~~~~~~~~~~^~~~~ tirpc_svc_create.c:79:55: warning: unused parameter 'transp' [-Wunused-parameter] 79 | static void exm_proc(struct svc_req *rqstp, SVCXPRT * transp) | ~~~~~~~~~~^~~~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_toplevel_svc_create/tirpc_svc_create tirpc_clnt_destroy.c: In function 'main': tirpc_clnt_destroy.c:38:14: warning: unused parameter 'argn' [-Wunused-parameter] 38 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_toplevel_clnt_destroy/tirpc_clnt_destroy tirpc_clnt_pcreateerror.c: In function 'main': tirpc_clnt_pcreateerror.c:46:17: warning: variable 'clnt' set but not used [-Wunused-but-set-variable] 46 | CLIENT *clnt = NULL; | ^~~~ tirpc_clnt_pcreateerror.c:38:14: warning: unused parameter 'argn' [-Wunused-parameter] 38 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_err_clnt_pcreateerror/tirpc_clnt_pcreateerror tirpc_svcerr_systemerr.c: In function 'main': tirpc_svcerr_systemerr.c:41:14: warning: unused parameter 'argn' [-Wunused-parameter] 41 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_err_svcerr_systemerr/tirpc_svcerr_systemerr tirpc_clnt_create.c: In function 'main': tirpc_clnt_create.c:38:14: warning: unused parameter 'argn' [-Wunused-parameter] 38 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_toplevel_clnt_create/tirpc_clnt_create tirpc_svcerr_weakauth.c: In function 'main': tirpc_svcerr_weakauth.c:41:14: warning: unused parameter 'argn' [-Wunused-parameter] 41 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_err_svcerr_weakauth/tirpc_svcerr_weakauth tirpc_clnt_tp_create.c: In function 'main': tirpc_clnt_tp_create.c:38:14: warning: unused parameter 'argn' [-Wunused-parameter] 38 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_interlevel_clnt_tp_create/tirpc_clnt_tp_create tirpc_rpc_broadcast_complex.c: In function 'eachResult': tirpc_rpc_broadcast_complex.c:42:25: warning: unused parameter 'out' [-Wunused-parameter] 42 | bool_t eachResult(char *out, struct sockaddr_in *addr) | ~~~~~~^~~ tirpc_rpc_broadcast_complex.c:42:50: warning: unused parameter 'addr' [-Wunused-parameter] 42 | bool_t eachResult(char *out, struct sockaddr_in *addr) | ~~~~~~~~~~~~~~~~~~~~^~~~ tirpc_rpc_broadcast_complex.c: In function 'main': tirpc_rpc_broadcast_complex.c:52:14: warning: unused parameter 'argn' [-Wunused-parameter] 52 | int main(int argn, char *argc[]) | ~~~~^~~~ tirpc_rpc_broadcast_dataint.c: In function 'eachresult': tirpc_rpc_broadcast_dataint.c:41:22: warning: unused parameter 'out' [-Wunused-parameter] 41 | int eachresult(char *out, struct sockaddr_in *addr) | ~~~~~~^~~ tirpc_rpc_broadcast_dataint.c:41:47: warning: unused parameter 'addr' [-Wunused-parameter] 41 | int eachresult(char *out, struct sockaddr_in *addr) | ~~~~~~~~~~~~~~~~~~~~^~~~ tirpc_rpc_broadcast_dataint.c: In function 'main': tirpc_rpc_broadcast_dataint.c:47:14: warning: unused parameter 'argn' [-Wunused-parameter] 47 | int main(int argn, char *argc[]) | ~~~~^~~~ tirpc_rpc_broadcast_mt.c: In function 'eachresult': tirpc_rpc_broadcast_mt.c:46:22: warning: unused parameter 'out' [-Wunused-parameter] 46 | int eachresult(char *out, struct sockaddr_in *addr) | ~~~~~~^~~ tirpc_rpc_broadcast_mt.c:46:47: warning: unused parameter 'addr' [-Wunused-parameter] 46 | int eachresult(char *out, struct sockaddr_in *addr) | ~~~~~~~~~~~~~~~~~~~~^~~~ tirpc_rpc_broadcast_mt.c: In function 'main': tirpc_rpc_broadcast_mt.c:75:14: warning: unused parameter 'argn' [-Wunused-parameter] 75 | int main(int argn, char *argc[]) | ~~~~^~~~ tirpc_rpc_broadcast.c: In function 'eachresult': tirpc_rpc_broadcast.c:38:22: warning: unused parameter 'out' [-Wunused-parameter] 38 | int eachresult(char *out, struct sockaddr_in *addr) | ~~~~~~^~~ tirpc_rpc_broadcast.c:38:47: warning: unused parameter 'addr' [-Wunused-parameter] 38 | int eachresult(char *out, struct sockaddr_in *addr) | ~~~~~~~~~~~~~~~~~~~~^~~~ tirpc_rpc_broadcast.c: In function 'main': tirpc_rpc_broadcast.c:44:14: warning: unused parameter 'argn' [-Wunused-parameter] 44 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast/tirpc_rpc_broadcast_complex CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast/tirpc_rpc_broadcast_dataint CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast/tirpc_rpc_broadcast tirpc_rpc_broadcast_performance.c: In function 'eachresult': tirpc_rpc_broadcast_performance.c:40:22: warning: unused parameter 'out' [-Wunused-parameter] 40 | int eachresult(char *out, struct sockaddr_in *addr) | ~~~~~~^~~ tirpc_rpc_broadcast_performance.c:40:47: warning: unused parameter 'addr' [-Wunused-parameter] 40 | int eachresult(char *out, struct sockaddr_in *addr) | ~~~~~~~~~~~~~~~~~~~~^~~~ tirpc_rpc_broadcast_performance.c: In function 'main': tirpc_rpc_broadcast_performance.c:85:14: warning: unused parameter 'argn' [-Wunused-parameter] 85 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast/tirpc_rpc_broadcast_mt tirpc_rpc_broadcast_scalability.c: In function 'eachresult': tirpc_rpc_broadcast_scalability.c:48:22: warning: unused parameter 'out' [-Wunused-parameter] 48 | int eachresult(char *out, struct sockaddr_in *addr) | ~~~~~~^~~ tirpc_rpc_broadcast_scalability.c:48:47: warning: unused parameter 'addr' [-Wunused-parameter] 48 | int eachresult(char *out, struct sockaddr_in *addr) | ~~~~~~~~~~~~~~~~~~~~^~~~ tirpc_rpc_broadcast_scalability.c: In function 'main': tirpc_rpc_broadcast_scalability.c:74:14: warning: unused parameter 'argn' [-Wunused-parameter] 74 | int main(int argn, char *argc[]) | ~~~~^~~~ tirpc_rpc_broadcast_stress.c: In function 'eachresult': tirpc_rpc_broadcast_stress.c:38:22: warning: unused parameter 'out' [-Wunused-parameter] 38 | int eachresult(char *out, struct sockaddr_in *addr) | ~~~~~~^~~ tirpc_rpc_broadcast_stress.c:38:47: warning: unused parameter 'addr' [-Wunused-parameter] 38 | int eachresult(char *out, struct sockaddr_in *addr) | ~~~~~~~~~~~~~~~~~~~~^~~~ tirpc_rpc_broadcast_stress.c: In function 'main': tirpc_rpc_broadcast_stress.c:44:14: warning: unused parameter 'argn' [-Wunused-parameter] 44 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast/tirpc_rpc_broadcast_performance CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast/tirpc_rpc_broadcast_stress CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast/tirpc_rpc_broadcast_scalability tirpc_bottomlevel_clnt_call_dataint.c: In function 'main': tirpc_bottomlevel_clnt_call_dataint.c:60:24: warning: variable 'cs' set but not used [-Wunused-but-set-variable] 60 | enum clnt_stat cs; | ^~ tirpc_bottomlevel_clnt_call_dataint.c:44:14: warning: unused parameter 'argn' [-Wunused-parameter] 44 | int main(int argn, char *argc[]) | ~~~~^~~~ tirpc_bottomlevel_clnt_call_complex.c: In function 'main': tirpc_bottomlevel_clnt_call_complex.c:140:14: warning: unused parameter 'argn' [-Wunused-parameter] 140 | int main(int argn, char *argc[]) | ~~~~^~~~ tirpc_bottomlevel_clnt_call.c: In function 'main': tirpc_bottomlevel_clnt_call.c:40:14: warning: unused parameter 'argn' [-Wunused-parameter] 40 | int main(int argn, char *argc[]) | ~~~~^~~~ tirpc_bottomlevel_clnt_call_mt.c: In function 'main': tirpc_bottomlevel_clnt_call_mt.c:110:14: warning: unused parameter 'argn' [-Wunused-parameter] 110 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_clnt_call/tirpc_bottomlevel_clnt_call CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_clnt_call/tirpc_bottomlevel_clnt_call_dataint CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_clnt_call/tirpc_bottomlevel_clnt_call_complex CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_clnt_call/tirpc_bottomlevel_clnt_call_mt tirpc_bottomlevel_clnt_call_performance.c: In function 'main': tirpc_bottomlevel_clnt_call_performance.c:82:14: warning: unused parameter 'argn' [-Wunused-parameter] 82 | int main(int argn, char *argc[]) | ~~~~^~~~ tirpc_bottomlevel_clnt_call_scalability.c: In function 'main': tirpc_bottomlevel_clnt_call_scalability.c:115:14: warning: unused parameter 'argn' [-Wunused-parameter] 115 | int main(int argn, char *argc[]) | ~~~~^~~~ tirpc_bottomlevel_clnt_call_stress.c: In function 'main': tirpc_bottomlevel_clnt_call_stress.c:41:14: warning: unused parameter 'argn' [-Wunused-parameter] 41 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_clnt_call/tirpc_bottomlevel_clnt_call_performance CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_clnt_call/tirpc_bottomlevel_clnt_call_stress CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_clnt_call/tirpc_bottomlevel_clnt_call_scalability tirpc_rpc_broadcast_exp_dataint.c: In function 'eachresult': tirpc_rpc_broadcast_exp_dataint.c:41:22: warning: unused parameter 'out' [-Wunused-parameter] 41 | int eachresult(char *out, struct sockaddr_in *addr) | ~~~~~~^~~ tirpc_rpc_broadcast_exp_dataint.c:41:47: warning: unused parameter 'addr' [-Wunused-parameter] 41 | int eachresult(char *out, struct sockaddr_in *addr) | ~~~~~~~~~~~~~~~~~~~~^~~~ tirpc_rpc_broadcast_exp.c: In function 'eachresult': tirpc_rpc_broadcast_exp.c:38:22: warning: unused parameter 'out' [-Wunused-parameter] 38 | int eachresult(char *out, struct sockaddr_in *addr) | ~~~~~~^~~ tirpc_rpc_broadcast_exp.c:38:47: warning: unused parameter 'addr' [-Wunused-parameter] 38 | int eachresult(char *out, struct sockaddr_in *addr) | ~~~~~~~~~~~~~~~~~~~~^~~~ tirpc_rpc_broadcast_exp.c: In function 'main': tirpc_rpc_broadcast_exp.c:44:14: warning: unused parameter 'argn' [-Wunused-parameter] 44 | int main(int argn, char *argc[]) | ~~~~^~~~ tirpc_rpc_broadcast_exp_dataint.c: In function 'main': tirpc_rpc_broadcast_exp_dataint.c:47:14: warning: unused parameter 'argn' [-Wunused-parameter] 47 | int main(int argn, char *argc[]) | ~~~~^~~~ tirpc_rpc_broadcast_exp_limits.c: In function 'eachresult': tirpc_rpc_broadcast_exp_limits.c:45:22: warning: unused parameter 'out' [-Wunused-parameter] 45 | int eachresult(char *out, struct sockaddr_in *addr) | ~~~~~~^~~ tirpc_rpc_broadcast_exp_limits.c:45:47: warning: unused parameter 'addr' [-Wunused-parameter] 45 | int eachresult(char *out, struct sockaddr_in *addr) | ~~~~~~~~~~~~~~~~~~~~^~~~ tirpc_rpc_broadcast_exp_limits.c: In function 'main': tirpc_rpc_broadcast_exp_limits.c:51:14: warning: unused parameter 'argn' [-Wunused-parameter] 51 | int main(int argn, char *argc[]) | ~~~~^~~~ tirpc_rpc_broadcast_exp_complex.c: In function 'eachResult': tirpc_rpc_broadcast_exp_complex.c:42:25: warning: unused parameter 'out' [-Wunused-parameter] 42 | bool_t eachResult(char *out, struct sockaddr_in *addr) | ~~~~~~^~~ tirpc_rpc_broadcast_exp_complex.c:42:50: warning: unused parameter 'addr' [-Wunused-parameter] 42 | bool_t eachResult(char *out, struct sockaddr_in *addr) | ~~~~~~~~~~~~~~~~~~~~^~~~ tirpc_rpc_broadcast_exp_complex.c: In function 'main': tirpc_rpc_broadcast_exp_complex.c:52:14: warning: unused parameter 'argn' [-Wunused-parameter] 52 | int main(int argn, char *argc[]) | ~~~~^~~~ tirpc_rpc_broadcast_exp_dataint.c:108:12: warning: 'lngRec' is used uninitialized [-Wuninitialized] 108 | if (lngSnd != lngRec) | ^ tirpc_rpc_broadcast_exp_dataint.c:121:12: warning: 'dblRec' is used uninitialized [-Wuninitialized] 121 | if (dblSnd != dblRec) | ^ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast_exp/tirpc_rpc_broadcast_exp_complex CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast_exp/tirpc_rpc_broadcast_exp CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast_exp/tirpc_rpc_broadcast_exp_limits CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast_exp/tirpc_rpc_broadcast_exp_dataint tirpc_rpc_broadcast_exp_mt.c: In function 'eachresult': tirpc_rpc_broadcast_exp_mt.c:46:22: warning: unused parameter 'out' [-Wunused-parameter] 46 | int eachresult(char *out, struct sockaddr_in *addr) | ~~~~~~^~~ tirpc_rpc_broadcast_exp_mt.c:46:47: warning: unused parameter 'addr' [-Wunused-parameter] 46 | int eachresult(char *out, struct sockaddr_in *addr) | ~~~~~~~~~~~~~~~~~~~~^~~~ tirpc_rpc_broadcast_exp_mt.c: In function 'main': tirpc_rpc_broadcast_exp_mt.c:78:14: warning: unused parameter 'argn' [-Wunused-parameter] 78 | int main(int argn, char *argc[]) | ~~~~^~~~ tirpc_rpc_broadcast_exp_scalability.c: In function 'eachresult': tirpc_rpc_broadcast_exp_scalability.c:48:22: warning: unused parameter 'out' [-Wunused-parameter] 48 | int eachresult(char *out, struct sockaddr_in *addr) | ~~~~~~^~~ tirpc_rpc_broadcast_exp_scalability.c:48:47: warning: unused parameter 'addr' [-Wunused-parameter] 48 | int eachresult(char *out, struct sockaddr_in *addr) | ~~~~~~~~~~~~~~~~~~~~^~~~ tirpc_rpc_broadcast_exp_scalability.c: In function 'main': tirpc_rpc_broadcast_exp_scalability.c:74:14: warning: unused parameter 'argn' [-Wunused-parameter] 74 | int main(int argn, char *argc[]) | ~~~~^~~~ tirpc_rpc_broadcast_exp_performance.c: In function 'eachresult': tirpc_rpc_broadcast_exp_performance.c:40:22: warning: unused parameter 'out' [-Wunused-parameter] 40 | int eachresult(char *out, struct sockaddr_in *addr) | ~~~~~~^~~ tirpc_rpc_broadcast_exp_performance.c:40:47: warning: unused parameter 'addr' [-Wunused-parameter] 40 | int eachresult(char *out, struct sockaddr_in *addr) | ~~~~~~~~~~~~~~~~~~~~^~~~ tirpc_rpc_broadcast_exp_performance.c: In function 'main': tirpc_rpc_broadcast_exp_performance.c:85:14: warning: unused parameter 'argn' [-Wunused-parameter] 85 | int main(int argn, char *argc[]) | ~~~~^~~~ tirpc_rpc_broadcast_exp_stress.c: In function 'eachresult': tirpc_rpc_broadcast_exp_stress.c:38:22: warning: unused parameter 'out' [-Wunused-parameter] 38 | int eachresult(char *out, struct sockaddr_in *addr) | ~~~~~~^~~ tirpc_rpc_broadcast_exp_stress.c:38:47: warning: unused parameter 'addr' [-Wunused-parameter] 38 | int eachresult(char *out, struct sockaddr_in *addr) | ~~~~~~~~~~~~~~~~~~~~^~~~ tirpc_rpc_broadcast_exp_stress.c: In function 'main': tirpc_rpc_broadcast_exp_stress.c:44:14: warning: unused parameter 'argn' [-Wunused-parameter] 44 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast_exp/tirpc_rpc_broadcast_exp_stress CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast_exp/tirpc_rpc_broadcast_exp_performance CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast_exp/tirpc_rpc_broadcast_exp_mt CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast_exp/tirpc_rpc_broadcast_exp_scalability In file included from /home/thomas/autobuild/instance-0/output-1/host/bin/../x86_64-buildroot-linux-gnu/sysroot/usr/include/tirpc/rpc/rpc.h:49, from /home/thomas/autobuild/instance-0/output-1/build/ltp-testsuite-20220930/testcases/network/rpc/rpc-tirpc/tests_pack/lib/../include/rpc.h:11, from tirpc_clnt_perror.c:32: tirpc_clnt_perror.c: In function 'main': tirpc_clnt_perror.c:69:52: warning: cast between incompatible function types from 'bool_t (*)(void)' {aka 'int (*)(void)'} to 'bool_t (*)(XDR *, ...)' {aka 'int (*)(struct __rpc_xdr *, ...)'} [-Wcast-function-type] 69 | rslt = clnt_call((CLIENT *) clnt, PROCNUM, (xdrproc_t) xdr_void, NULL, // xdr_in | ^ /home/thomas/autobuild/instance-0/output-1/host/bin/../x86_64-buildroot-linux-gnu/sysroot/usr/include/tirpc/rpc/clnt.h:166:45: note: in definition of macro 'clnt_call' 166 | ((*(rh)->cl_ops->cl_call)(rh, proc, xargs, \ | ^~~~~ tirpc_clnt_perror.c:52:24: warning: variable 'rslt' set but not used [-Wunused-but-set-variable] 52 | enum clnt_stat rslt; | ^~~~ tirpc_clnt_perror.c:38:14: warning: unused parameter 'argn' [-Wunused-parameter] 38 | int main(int argn, char *argc[]) | ~~~~^~~~ tirpc_clnt_perror_complex.c: In function 'main': tirpc_clnt_perror_complex.c:54:24: warning: variable 'rslt' set but not used [-Wunused-but-set-variable] 54 | enum clnt_stat rslt; | ^~~~ tirpc_clnt_perror_complex.c:53:24: warning: variable 'total_timeout' set but not used [-Wunused-but-set-variable] 53 | struct timeval total_timeout; | ^~~~~~~~~~~~~ tirpc_clnt_perror_complex.c:38:14: warning: unused parameter 'argn' [-Wunused-parameter] 38 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_err_clnt_perror/tirpc_clnt_perror CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_err_clnt_perror/tirpc_clnt_perror_complex tirpc_rpcb_rmtcall_dataint.c: In function 'main': tirpc_rpcb_rmtcall_dataint.c:60:24: warning: variable 'cs' set but not used [-Wunused-but-set-variable] 60 | enum clnt_stat cs; | ^~ tirpc_rpcb_rmtcall_dataint.c:56:17: warning: unused variable 'client' [-Wunused-variable] 56 | CLIENT *client = NULL; | ^~~~~~ tirpc_rpcb_rmtcall_dataint.c:44:14: warning: unused parameter 'argn' [-Wunused-parameter] 44 | int main(int argn, char *argc[]) | ~~~~^~~~ tirpc_rpcb_rmtcall_mt.c: In function 'main': tirpc_rpcb_rmtcall_mt.c:102:14: warning: unused parameter 'argn' [-Wunused-parameter] 102 | int main(int argn, char *argc[]) | ~~~~^~~~ tirpc_rpcb_rmtcall.c: In function 'main': tirpc_rpcb_rmtcall.c:41:14: warning: unused parameter 'argn' [-Wunused-parameter] 41 | int main(int argn, char *argc[]) | ~~~~^~~~ tirpc_rpcb_rmtcall_complex.c: In function 'main': tirpc_rpcb_rmtcall_complex.c:133:14: warning: unused parameter 'argn' [-Wunused-parameter] 133 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_rpcb_rmtcall/tirpc_rpcb_rmtcall_dataint CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_rpcb_rmtcall/tirpc_rpcb_rmtcall CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_rpcb_rmtcall/tirpc_rpcb_rmtcall_mt CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_rpcb_rmtcall/tirpc_rpcb_rmtcall_complex tirpc_rpcb_rmtcall_performance.c: In function 'main': tirpc_rpcb_rmtcall_performance.c:82:14: warning: unused parameter 'argn' [-Wunused-parameter] 82 | int main(int argn, char *argc[]) | ~~~~^~~~ tirpc_rpcb_rmtcall_scalability.c: In function 'main': tirpc_rpcb_rmtcall_scalability.c:100:14: warning: unused parameter 'argn' [-Wunused-parameter] 100 | int main(int argn, char *argc[]) | ~~~~^~~~ tirpc_rpcb_rmtcall_stress.c: In function 'main': tirpc_rpcb_rmtcall_stress.c:54:17: warning: unused variable 'client' [-Wunused-variable] 54 | CLIENT *client = NULL; | ^~~~~~ tirpc_rpcb_rmtcall_stress.c:41:14: warning: unused parameter 'argn' [-Wunused-parameter] 41 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_rpcb_rmtcall/tirpc_rpcb_rmtcall_stress CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_rpcb_rmtcall/tirpc_rpcb_rmtcall_performance CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_rpcb_rmtcall/tirpc_rpcb_rmtcall_scalability tirpc_rpcb_set.c: In function 'main': tirpc_rpcb_set.c:37:14: warning: unused parameter 'argn' [-Wunused-parameter] 37 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_rpcb_set/tirpc_rpcb_set CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_auth_authnone_create/tirpc_authnone_create tirpc_clnt_vc_create_limits.c: In function 'main': tirpc_clnt_vc_create_limits.c:49:14: warning: unused parameter 'argn' [-Wunused-parameter] 49 | int main(int argn, char *argc[]) | ~~~~^~~~ tirpc_clnt_vc_create.c: In function 'main': tirpc_clnt_vc_create.c:43:14: warning: unused parameter 'argn' [-Wunused-parameter] 43 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_clnt_vc_create/tirpc_clnt_vc_create_limits CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_clnt_vc_create/tirpc_clnt_vc_create tirpc_svc_unreg_mt.c: In function 'main': tirpc_svc_unreg_mt.c:78:14: warning: unused parameter 'argn' [-Wunused-parameter] 78 | int main(int argn, char *argc[]) | ~~~~^~~~ tirpc_svc_unreg_mt.c: In function 'exm_proc': tirpc_svc_unreg_mt.c:148:38: warning: unused parameter 'rqstp' [-Wunused-parameter] 148 | static void exm_proc(struct svc_req *rqstp, SVCXPRT * transp) | ~~~~~~~~~~~~~~~~^~~~~ tirpc_svc_unreg_mt.c:148:55: warning: unused parameter 'transp' [-Wunused-parameter] 148 | static void exm_proc(struct svc_req *rqstp, SVCXPRT * transp) | ~~~~~~~~~~^~~~~~ tirpc_svc_unreg.c: In function 'main': tirpc_svc_unreg_stress.c: In function 'main': tirpc_svc_unreg.c:40:14: warning: unused parameter 'argn' [-Wunused-parameter] 40 | int main(int argn, char *argc[]) | ~~~~^~~~ tirpc_svc_unreg_stress.c:40:14: warning: unused parameter 'argn' [-Wunused-parameter] 40 | int main(int argn, char *argc[]) | ~~~~^~~~ tirpc_svc_unreg_stress.c: In function 'exm_proc': tirpc_svc_unreg.c: In function 'exm_proc': tirpc_svc_unreg_stress.c:90:38: warning: unused parameter 'rqstp' [-Wunused-parameter] 90 | static void exm_proc(struct svc_req *rqstp, SVCXPRT * transp) | ~~~~~~~~~~~~~~~~^~~~~ tirpc_svc_unreg.c:84:38: warning: unused parameter 'rqstp' [-Wunused-parameter] 84 | static void exm_proc(struct svc_req *rqstp, SVCXPRT * transp) | ~~~~~~~~~~~~~~~~^~~~~ tirpc_svc_unreg_stress.c:90:55: warning: unused parameter 'transp' [-Wunused-parameter] 90 | static void exm_proc(struct svc_req *rqstp, SVCXPRT * transp) | ~~~~~~~~~~^~~~~~ tirpc_svc_unreg.c:84:55: warning: unused parameter 'transp' [-Wunused-parameter] 84 | static void exm_proc(struct svc_req *rqstp, SVCXPRT * transp) | ~~~~~~~~~~^~~~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_svc_unreg/tirpc_svc_unreg CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_svc_unreg/tirpc_svc_unreg_stress CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_svc_unreg/tirpc_svc_unreg_mt tirpc_clnt_create_timed_limits.c: In function 'main': tirpc_clnt_create_timed_limits.c:46:14: warning: unused parameter 'argn' [-Wunused-parameter] 46 | int main(int argn, char *argc[]) | ~~~~^~~~ tirpc_clnt_create_timed.c: In function 'main': tirpc_clnt_create_timed.c:38:14: warning: unused parameter 'argn' [-Wunused-parameter] 38 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_toplevel_clnt_create_timed/tirpc_clnt_create_timed_limits CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_toplevel_clnt_create_timed/tirpc_clnt_create_timed tirpc_svc_reg.c: In function 'main': tirpc_svc_reg.c:40:14: warning: unused parameter 'argn' [-Wunused-parameter] 40 | int main(int argn, char *argc[]) | ~~~~^~~~ tirpc_svc_reg.c: In function 'exm_proc': tirpc_svc_reg.c:79:38: warning: unused parameter 'rqstp' [-Wunused-parameter] 79 | static void exm_proc(struct svc_req *rqstp, SVCXPRT * transp) | ~~~~~~~~~~~~~~~~^~~~~ tirpc_svc_reg.c:79:55: warning: unused parameter 'transp' [-Wunused-parameter] 79 | static void exm_proc(struct svc_req *rqstp, SVCXPRT * transp) | ~~~~~~~~~~^~~~~~ tirpc_svc_reg_stress.c: In function 'main': tirpc_svc_reg_stress.c:40:14: warning: unused parameter 'argn' [-Wunused-parameter] 40 | int main(int argn, char *argc[]) | ~~~~^~~~ tirpc_svc_reg_stress.c: In function 'exm_proc': tirpc_svc_reg_stress.c:93:38: warning: unused parameter 'rqstp' [-Wunused-parameter] 93 | static void exm_proc(struct svc_req *rqstp, SVCXPRT * transp) | ~~~~~~~~~~~~~~~~^~~~~ tirpc_svc_reg_stress.c:93:55: warning: unused parameter 'transp' [-Wunused-parameter] 93 | static void exm_proc(struct svc_req *rqstp, SVCXPRT * transp) | ~~~~~~~~~~^~~~~~ tirpc_svc_reg_mt.c: In function 'main': tirpc_svc_reg_mt.c:74:14: warning: unused parameter 'argn' [-Wunused-parameter] 74 | int main(int argn, char *argc[]) | ~~~~^~~~ tirpc_svc_reg_mt.c: In function 'exm_proc': tirpc_svc_reg_mt.c:144:38: warning: unused parameter 'rqstp' [-Wunused-parameter] 144 | static void exm_proc(struct svc_req *rqstp, SVCXPRT * transp) | ~~~~~~~~~~~~~~~~^~~~~ tirpc_svc_reg_mt.c:144:55: warning: unused parameter 'transp' [-Wunused-parameter] 144 | static void exm_proc(struct svc_req *rqstp, SVCXPRT * transp) | ~~~~~~~~~~^~~~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_svc_reg/tirpc_svc_reg CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_svc_reg/tirpc_svc_reg_stress CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_svc_reg/tirpc_svc_reg_mt tirpc_svcerr_progvers.c: In function 'main': tirpc_svcerr_progvers.c:41:14: warning: unused parameter 'argn' [-Wunused-parameter] 41 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_err_svcerr_progvers/tirpc_svcerr_progvers tirpc_svcerr_noprog.c: In function 'main': tirpc_svcerr_noprog.c:41:14: warning: unused parameter 'argn' [-Wunused-parameter] 41 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_err_svcerr_noprog/tirpc_svcerr_noprog tirpc_clnt_tp_create_timed_limits.c: In function 'main': tirpc_clnt_tp_create_timed_limits.c:46:14: warning: unused parameter 'argn' [-Wunused-parameter] 46 | int main(int argn, char *argc[]) | ~~~~^~~~ tirpc_clnt_tp_create_timed.c: In function 'main': tirpc_clnt_tp_create_timed.c:38:14: warning: unused parameter 'argn' [-Wunused-parameter] 38 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_interlevel_clnt_tp_create_timed/tirpc_clnt_tp_create_timed_limits CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_interlevel_clnt_tp_create_timed/tirpc_clnt_tp_create_timed tirpc_expertlevel_clnt_call_dataint.c: In function 'main': tirpc_expertlevel_clnt_call_dataint.c:60:24: warning: variable 'cs' set but not used [-Wunused-but-set-variable] 60 | enum clnt_stat cs; | ^~ tirpc_expertlevel_clnt_call_dataint.c:44:14: warning: unused parameter 'argn' [-Wunused-parameter] 44 | int main(int argn, char *argc[]) | ~~~~^~~~ tirpc_expertlevel_clnt_call.c: In function 'main': tirpc_expertlevel_clnt_call.c:41:14: warning: unused parameter 'argn' [-Wunused-parameter] 41 | int main(int argn, char *argc[]) | ~~~~^~~~ tirpc_expertlevel_clnt_call_complex.c: In function 'main': tirpc_expertlevel_clnt_call_complex.c:141:14: warning: unused parameter 'argn' [-Wunused-parameter] 141 | int main(int argn, char *argc[]) | ~~~~^~~~ tirpc_expertlevel_clnt_call_mt.c: In function 'main': tirpc_expertlevel_clnt_call_mt.c:107:14: warning: unused parameter 'argn' [-Wunused-parameter] 107 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_clnt_call/tirpc_expertlevel_clnt_call CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_clnt_call/tirpc_expertlevel_clnt_call_dataint CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_clnt_call/tirpc_expertlevel_clnt_call_complex CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_clnt_call/tirpc_expertlevel_clnt_call_mt tirpc_expertlevel_clnt_call_performance.c: In function 'main': tirpc_expertlevel_clnt_call_performance.c:82:14: warning: unused parameter 'argn' [-Wunused-parameter] 82 | int main(int argn, char *argc[]) | ~~~~^~~~ tirpc_expertlevel_clnt_call_scalability.c: In function 'main': tirpc_expertlevel_clnt_call_scalability.c:110:14: warning: unused parameter 'argn' [-Wunused-parameter] 110 | int main(int argn, char *argc[]) | ~~~~^~~~ tirpc_expertlevel_clnt_call_stress.c: In function 'main': tirpc_expertlevel_clnt_call_stress.c:41:14: warning: unused parameter 'argn' [-Wunused-parameter] 41 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_clnt_call/tirpc_expertlevel_clnt_call_performance CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_clnt_call/tirpc_expertlevel_clnt_call_stress CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_clnt_call/tirpc_expertlevel_clnt_call_scalability CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_svc_dg_create/tirpc_svc_dg_create_limits CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_svc_dg_create/tirpc_svc_dg_create tirpc_rpcb_getaddr.c: In function 'main': tirpc_rpcb_getaddr.c:41:14: warning: unused parameter 'argn' [-Wunused-parameter] 41 | int main(int argn, char *argc[]) | ~~~~^~~~ tirpc_rpcb_getaddr_limits.c: In function 'main': tirpc_rpcb_getaddr_limits.c:43:14: warning: unused parameter 'argn' [-Wunused-parameter] 43 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_addrmanagmt_rpcb_getaddr/tirpc_rpcb_getaddr_limits CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_addrmanagmt_rpcb_getaddr/tirpc_rpcb_getaddr CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_svc_vc_create/tirpc_svc_vc_create_limits CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_svc_vc_create/tirpc_svc_vc_create tirpc_clnt_perrno_complex.c: In function 'main': tirpc_clnt_perrno_complex.c:38:14: warning: unused parameter 'argn' [-Wunused-parameter] 38 | int main(int argn, char *argc[]) | ~~~~^~~~ In file included from /home/thomas/autobuild/instance-0/output-1/host/bin/../x86_64-buildroot-linux-gnu/sysroot/usr/include/tirpc/rpc/rpc.h:49, from /home/thomas/autobuild/instance-0/output-1/build/ltp-testsuite-20220930/testcases/network/rpc/rpc-tirpc/tests_pack/lib/../include/rpc.h:11, from tirpc_clnt_perrno.c:32: tirpc_clnt_perrno.c: In function 'main': tirpc_clnt_perrno.c:69:52: warning: cast between incompatible function types from 'bool_t (*)(void)' {aka 'int (*)(void)'} to 'bool_t (*)(XDR *, ...)' {aka 'int (*)(struct __rpc_xdr *, ...)'} [-Wcast-function-type] 69 | rslt = clnt_call((CLIENT *) clnt, PROCNUM, (xdrproc_t) xdr_void, NULL, // xdr_in | ^ /home/thomas/autobuild/instance-0/output-1/host/bin/../x86_64-buildroot-linux-gnu/sysroot/usr/include/tirpc/rpc/clnt.h:166:45: note: in definition of macro 'clnt_call' 166 | ((*(rh)->cl_ops->cl_call)(rh, proc, xargs, \ | ^~~~~ tirpc_clnt_perrno.c:38:14: warning: unused parameter 'argn' [-Wunused-parameter] 38 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_err_clnt_perrno/tirpc_clnt_perrno_complex CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_err_clnt_perrno/tirpc_clnt_perrno tirpc_rpc_call.c: In function 'main': tirpc_rpc_call.c:39:14: warning: unused parameter 'argn' [-Wunused-parameter] 39 | int main(int argn, char *argc[]) | ~~~~^~~~ tirpc_rpc_call_dataint.c: In function 'main': tirpc_rpc_call_dataint.c:62:24: warning: variable 'rslt' set but not used [-Wunused-but-set-variable] 62 | enum clnt_stat rslt; | ^~~~ tirpc_rpc_call_dataint.c:41:14: warning: unused parameter 'argn' [-Wunused-parameter] 41 | int main(int argn, char *argc[]) | ~~~~^~~~ tirpc_rpc_call_mt.c: In function 'main': tirpc_rpc_call_mt.c:74:14: warning: unused parameter 'argn' [-Wunused-parameter] 74 | int main(int argn, char *argc[]) | ~~~~^~~~ tirpc_rpc_call_complex.c: In function 'main': tirpc_rpc_call_complex.c:100:14: warning: unused parameter 'argn' [-Wunused-parameter] 100 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_call/tirpc_rpc_call CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_call/tirpc_rpc_call_dataint CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_call/tirpc_rpc_call_mt tirpc_rpc_call_scalability.c: In function 'main': tirpc_rpc_call_scalability.c:67:14: warning: unused parameter 'argn' [-Wunused-parameter] 67 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_call/tirpc_rpc_call_complex tirpc_rpc_call_performance.c: In function 'main': tirpc_rpc_call_performance.c:80:14: warning: unused parameter 'argn' [-Wunused-parameter] 80 | int main(int argn, char *argc[]) | ~~~~^~~~ tirpc_rpc_call_stress.c: In function 'main': tirpc_rpc_call_stress.c:39:14: warning: unused parameter 'argn' [-Wunused-parameter] 39 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_call/tirpc_rpc_call_stress CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_call/tirpc_rpc_call_scalability CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_call/tirpc_rpc_call_performance tirpc_rpcb_getmaps.c: In function 'main': tirpc_rpcb_getmaps.c:41:14: warning: unused parameter 'argn' [-Wunused-parameter] 41 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_addrmanagmt_rpcb_getmaps/tirpc_rpcb_getmaps tirpc_rpcb_unset.c: In function 'main': tirpc_rpcb_unset.c:37:14: warning: unused parameter 'argn' [-Wunused-parameter] 37 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_rpcb_unset/tirpc_rpcb_unset tirpc_clnt_dg_create_limits.c: In function 'main': tirpc_clnt_dg_create_limits.c:49:14: warning: unused parameter 'argn' [-Wunused-parameter] 49 | int main(int argn, char *argc[]) | ~~~~^~~~ tirpc_clnt_dg_create.c: In function 'main': tirpc_clnt_dg_create.c:40:14: warning: unused parameter 'argn' [-Wunused-parameter] 40 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_clnt_dg_create/tirpc_clnt_dg_create_limits CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_clnt_dg_create/tirpc_clnt_dg_create tirpc_rpc_reg.c: In function 'main': tirpc_rpc_reg.c:45:14: warning: unused parameter 'argn' [-Wunused-parameter] 45 | int main(int argn, char *argc[]) | ~~~~^~~~ tirpc_rpc_reg_stress.c: In function 'main': tirpc_rpc_reg_stress.c:45:14: warning: unused parameter 'argn' [-Wunused-parameter] 45 | int main(int argn, char *argc[]) | ~~~~^~~~ tirpc_rpc_reg_mt.c: In function 'main': tirpc_rpc_reg_mt.c:79:14: warning: unused parameter 'argn' [-Wunused-parameter] 79 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_reg/tirpc_rpc_reg CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_reg/tirpc_rpc_reg_stress CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_reg/tirpc_rpc_reg_mt tirpc_svc_tp_create.c: In function 'main': tirpc_svc_tp_create.c:39:14: warning: unused parameter 'argn' [-Wunused-parameter] 39 | int main(int argn, char *argc[]) | ~~~~^~~~ tirpc_svc_tp_create.c: In function 'exm_proc': tirpc_svc_tp_create.c:63:38: warning: unused parameter 'rqstp' [-Wunused-parameter] 63 | static void exm_proc(struct svc_req *rqstp, SVCXPRT * transp) | ~~~~~~~~~~~~~~~~^~~~~ tirpc_svc_tp_create.c:63:55: warning: unused parameter 'transp' [-Wunused-parameter] 63 | static void exm_proc(struct svc_req *rqstp, SVCXPRT * transp) | ~~~~~~~~~~^~~~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_interlevel_svc_tp_create/tirpc_svc_tp_create tirpc_svcerr_noproc.c: In function 'main': tirpc_svcerr_noproc.c:41:14: warning: unused parameter 'argn' [-Wunused-parameter] 41 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_err_svcerr_noproc/tirpc_svcerr_noproc In file included from /home/thomas/autobuild/instance-0/output-1/host/bin/../x86_64-buildroot-linux-gnu/sysroot/usr/include/tirpc/rpc/rpc.h:49, from rpc_clnt_sperror.c:31: rpc_clnt_sperror.c: In function 'main': rpc_clnt_sperror.c:70:52: warning: cast between incompatible function types from 'bool_t (*)(void)' {aka 'int (*)(void)'} to 'bool_t (*)(XDR *, ...)' {aka 'int (*)(struct __rpc_xdr *, ...)'} [-Wcast-function-type] 70 | rslt = clnt_call((CLIENT *) clnt, PROCNUM, (xdrproc_t) xdr_void, NULL, // xdr_in | ^ /home/thomas/autobuild/instance-0/output-1/host/bin/../x86_64-buildroot-linux-gnu/sysroot/usr/include/tirpc/rpc/clnt.h:166:45: note: in definition of macro 'clnt_call' 166 | ((*(rh)->cl_ops->cl_call)(rh, proc, xargs, \ | ^~~~~ rpc_clnt_sperror.c:52:24: warning: variable 'rslt' set but not used [-Wunused-but-set-variable] 52 | enum clnt_stat rslt; | ^~~~ rpc_clnt_sperror.c:38:14: warning: unused parameter 'argn' [-Wunused-parameter] 38 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_err_clnt_sperror/rpc_clnt_sperror rpc_clnt_perrno.c: In function 'main': rpc_clnt_perrno.c:38:14: warning: unused parameter 'argn' [-Wunused-parameter] 38 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_err_clnt_perrno/rpc_clnt_perrno rpc_clnt_destroy_stress.c: In function 'main': rpc_clnt_destroy_stress.c:37:14: warning: unused parameter 'argn' [-Wunused-parameter] 37 | int main(int argn, char *argc[]) | ~~~~^~~~ rpc_clnt_destroy.c: In function 'main': rpc_clnt_destroy.c:37:14: warning: unused parameter 'argn' [-Wunused-parameter] 37 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_clnt_destroy/rpc_clnt_destroy CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_clnt_destroy/rpc_clnt_destroy_stress In file included from /home/thomas/autobuild/instance-0/output-1/host/bin/../x86_64-buildroot-linux-gnu/sysroot/usr/include/tirpc/rpc/rpc.h:49, from rpc_clnt_perror.c:31: rpc_clnt_perror.c: In function 'main': rpc_clnt_perror.c:69:52: warning: cast between incompatible function types from 'bool_t (*)(void)' {aka 'int (*)(void)'} to 'bool_t (*)(XDR *, ...)' {aka 'int (*)(struct __rpc_xdr *, ...)'} [-Wcast-function-type] 69 | rslt = clnt_call((CLIENT *) clnt, PROCNUM, (xdrproc_t) xdr_void, NULL, // xdr_in | ^ /home/thomas/autobuild/instance-0/output-1/host/bin/../x86_64-buildroot-linux-gnu/sysroot/usr/include/tirpc/rpc/clnt.h:166:45: note: in definition of macro 'clnt_call' 166 | ((*(rh)->cl_ops->cl_call)(rh, proc, xargs, \ | ^~~~~ rpc_clnt_perror.c:52:24: warning: variable 'rslt' set but not used [-Wunused-but-set-variable] 52 | enum clnt_stat rslt; | ^~~~ rpc_clnt_perror.c:38:14: warning: unused parameter 'argn' [-Wunused-parameter] 38 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_err_clnt_perror/rpc_clnt_perror rpc_svc_getargs_client.c: In function 'main': rpc_svc_getargs_client.c:37:14: warning: unused parameter 'argn' [-Wunused-parameter] 37 | int main(int argn, char *argc[]) | ~~~~^~~~ rpc_svc_getargs.c: In function 'main': rpc_svc_getargs.c:47:14: warning: unused parameter 'argn' [-Wunused-parameter] 47 | int main(int argn, char *argc[]) | ~~~~^~~~ rpc_svc_getargs.c: In function 'simplePing': rpc_svc_getargs.c:87:39: warning: unused parameter 'transp' [-Wunused-parameter] 87 | char *simplePing(int inVar, SVCXPRT * transp) | ~~~~~~~~~~^~~~~~ rpc_svc_getargs_dataint.c: In function 'main': rpc_svc_getargs_dataint.c:37:14: warning: unused parameter 'argn' [-Wunused-parameter] 37 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_stdcall_svc_getargs/rpc_svc_getargs_client CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_stdcall_svc_getargs/rpc_svc_getargs_dataint CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_stdcall_svc_getargs/rpc_svc_getargs rpc_registerrpc.c: In function 'main': rpc_registerrpc.c:71:64: warning: passing argument 5 of 'registerrpc' from incompatible pointer type [-Wincompatible-pointer-types] 71 | registerrpc(progNum, VERSNUM, PROCNUM, simplePing, xdr_int, | ^~~~~~~ | | | bool_t (*)(XDR *, int *) {aka int (*)(struct __rpc_xdr *, int *)} In file included from /home/thomas/autobuild/instance-0/output-1/build/ltp-testsuite-20220930/testcases/network/rpc/rpc-tirpc/tests_pack/lib/../include/rpc.h:11, from rpc_registerrpc.c:34: /home/thomas/autobuild/instance-0/output-1/host/bin/../x86_64-buildroot-linux-gnu/sysroot/usr/include/tirpc/rpc/rpc.h:85:5: note: expected 'xdrproc_t' {aka 'int (*)(struct __rpc_xdr *, ...)'} but argument is of type 'bool_t (*)(XDR *, int *)' {aka 'int (*)(struct __rpc_xdr *, int *)'} 85 | xdrproc_t, xdrproc_t); | ^~~~~~~~~ rpc_registerrpc.c:72:25: warning: passing argument 6 of 'registerrpc' from incompatible pointer type [-Wincompatible-pointer-types] 72 | xdr_int); | ^~~~~~~ | | | bool_t (*)(XDR *, int *) {aka int (*)(struct __rpc_xdr *, int *)} In file included from /home/thomas/autobuild/instance-0/output-1/build/ltp-testsuite-20220930/testcases/network/rpc/rpc-tirpc/tests_pack/lib/../include/rpc.h:11, from rpc_registerrpc.c:34: /home/thomas/autobuild/instance-0/output-1/host/bin/../x86_64-buildroot-linux-gnu/sysroot/usr/include/tirpc/rpc/rpc.h:85:16: note: expected 'xdrproc_t' {aka 'int (*)(struct __rpc_xdr *, ...)'} but argument is of type 'bool_t (*)(XDR *, int *)' {aka 'int (*)(struct __rpc_xdr *, int *)'} 85 | xdrproc_t, xdrproc_t); | ^~~~~~~~~ rpc_registerrpc.c:49:14: warning: unused parameter 'argn' [-Wunused-parameter] 49 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_regunreg_registerrpc/rpc_registerrpc rpc_svcerr_noprog.c: In function 'main': rpc_svcerr_noprog.c:37:14: warning: unused parameter 'argn' [-Wunused-parameter] 37 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_err_svcerr_noprog/rpc_svcerr_noprog rpc_svcraw_create_performance.c: In function 'main': rpc_svcraw_create_performance.c:79:14: warning: unused parameter 'argn' [-Wunused-parameter] 79 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_svcraw_create/rpc_svcraw_create CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_svcraw_create/rpc_svcraw_create_performance rpc_clntraw_create_performance.c: In function 'main': rpc_clntraw_create_performance.c:79:14: warning: unused parameter 'argn' [-Wunused-parameter] 79 | int main(int argn, char *argc[]) | ~~~~^~~~ rpc_clntraw_create_complex.c: In function 'main': rpc_clntraw_create_complex.c:40:14: warning: unused parameter 'argc' [-Wunused-parameter] 40 | int main(int argc, char **argv) | ~~~~^~~~ rpc_clntraw_create_complex.c: In function 'serverDisp': rpc_clntraw_create_complex.c:131:43: warning: cast between incompatible function types from 'bool_t (*)(void)' {aka 'int (*)(void)'} to 'bool_t (*)(XDR *, ...)' {aka 'int (*)(struct __rpc_xdr *, ...)'} [-Wcast-function-type] 131 | if (svc_sendreply(transp, (xdrproc_t) xdr_void, 0) == FALSE) { | ^ rpc_clntraw_create.c: In function 'main': rpc_clntraw_create.c:37:14: warning: unused parameter 'argn' [-Wunused-parameter] 37 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_clntraw_create/rpc_clntraw_create CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_clntraw_create/rpc_clntraw_create_performance CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_clntraw_create/rpc_clntraw_create_complex rpc_clnt_broadcast_dataint.c: In function 'main': rpc_clnt_broadcast_dataint.c:75:62: warning: passing argument 8 of 'clnt_broadcast' from incompatible pointer type [-Wincompatible-pointer-types] 75 | (xdrproc_t) xdr_int, (char *)&intRec, eachResult); | ^~~~~~~~~~ | | | int (*)(char *, struct sockaddr_in *) In file included from /home/thomas/autobuild/instance-0/output-1/host/bin/../x86_64-buildroot-linux-gnu/sysroot/usr/include/tirpc/rpc/rpc.h:66, from /home/thomas/autobuild/instance-0/output-1/build/ltp-testsuite-20220930/testcases/network/rpc/rpc-tirpc/tests_pack/lib/../include/rpc.h:11, from rpc_clnt_broadcast_dataint.c:32: /home/thomas/autobuild/instance-0/output-1/host/bin/../x86_64-buildroot-linux-gnu/sysroot/usr/include/tirpc/rpc/pmap_clnt.h:85:40: note: expected 'resultproc_t' {aka 'int (*)(char *, ...)'} but argument is of type 'int (*)(char *, struct sockaddr_in *)' 85 | resultproc_t); | ^~~~~~~~~~~~ rpc_clnt_broadcast_dataint.c:87:62: warning: passing argument 8 of 'clnt_broadcast' from incompatible pointer type [-Wincompatible-pointer-types] 87 | (xdrproc_t) xdr_int, (char *)&intRec, eachResult); | ^~~~~~~~~~ | | | int (*)(char *, struct sockaddr_in *) In file included from /home/thomas/autobuild/instance-0/output-1/host/bin/../x86_64-buildroot-linux-gnu/sysroot/usr/include/tirpc/rpc/rpc.h:66, from /home/thomas/autobuild/instance-0/output-1/build/ltp-testsuite-20220930/testcases/network/rpc/rpc-tirpc/tests_pack/lib/../include/rpc.h:11, from rpc_clnt_broadcast_dataint.c:32: /home/thomas/autobuild/instance-0/output-1/host/bin/../x86_64-buildroot-linux-gnu/sysroot/usr/include/tirpc/rpc/pmap_clnt.h:85:40: note: expected 'resultproc_t' {aka 'int (*)(char *, ...)'} but argument is of type 'int (*)(char *, struct sockaddr_in *)' 85 | resultproc_t); | ^~~~~~~~~~~~ rpc_clnt_broadcast_dataint.c:99:63: warning: passing argument 8 of 'clnt_broadcast' from incompatible pointer type [-Wincompatible-pointer-types] 99 | (xdrproc_t) xdr_long, (char *)&lngRec, eachResult); | ^~~~~~~~~~ | | | int (*)(char *, struct sockaddr_in *) In file included from /home/thomas/autobuild/instance-0/output-1/host/bin/../x86_64-buildroot-linux-gnu/sysroot/usr/include/tirpc/rpc/rpc.h:66, from /home/thomas/autobuild/instance-0/output-1/build/ltp-testsuite-20220930/testcases/network/rpc/rpc-tirpc/tests_pack/lib/../include/rpc.h:11, from rpc_clnt_broadcast_dataint.c:32: /home/thomas/autobuild/instance-0/output-1/host/bin/../x86_64-buildroot-linux-gnu/sysroot/usr/include/tirpc/rpc/pmap_clnt.h:85:40: note: expected 'resultproc_t' {aka 'int (*)(char *, ...)'} but argument is of type 'int (*)(char *, struct sockaddr_in *)' 85 | resultproc_t); | ^~~~~~~~~~~~ rpc_clnt_broadcast_dataint.c:111:65: warning: passing argument 8 of 'clnt_broadcast' from incompatible pointer type [-Wincompatible-pointer-types] 111 | (xdrproc_t) xdr_double, (char *)&dblRec, eachResult); | ^~~~~~~~~~ | | | int (*)(char *, struct sockaddr_in *) In file included from /home/thomas/autobuild/instance-0/output-1/host/bin/../x86_64-buildroot-linux-gnu/sysroot/usr/include/tirpc/rpc/rpc.h:66, from /home/thomas/autobuild/instance-0/output-1/build/ltp-testsuite-20220930/testcases/network/rpc/rpc-tirpc/tests_pack/lib/../include/rpc.h:11, from rpc_clnt_broadcast_dataint.c:32: /home/thomas/autobuild/instance-0/output-1/host/bin/../x86_64-buildroot-linux-gnu/sysroot/usr/include/tirpc/rpc/pmap_clnt.h:85:40: note: expected 'resultproc_t' {aka 'int (*)(char *, ...)'} but argument is of type 'int (*)(char *, struct sockaddr_in *)' 85 | resultproc_t); | ^~~~~~~~~~~~ rpc_clnt_broadcast_dataint.c:124:69: warning: passing argument 8 of 'clnt_broadcast' from incompatible pointer type [-Wincompatible-pointer-types] 124 | (xdrproc_t) xdr_wrapstring, (char *)&strRec, eachResult); | ^~~~~~~~~~ | | | int (*)(char *, struct sockaddr_in *) In file included from /home/thomas/autobuild/instance-0/output-1/host/bin/../x86_64-buildroot-linux-gnu/sysroot/usr/include/tirpc/rpc/rpc.h:66, from /home/thomas/autobuild/instance-0/output-1/build/ltp-testsuite-20220930/testcases/network/rpc/rpc-tirpc/tests_pack/lib/../include/rpc.h:11, from rpc_clnt_broadcast_dataint.c:32: /home/thomas/autobuild/instance-0/output-1/host/bin/../x86_64-buildroot-linux-gnu/sysroot/usr/include/tirpc/rpc/pmap_clnt.h:85:40: note: expected 'resultproc_t' {aka 'int (*)(char *, ...)'} but argument is of type 'int (*)(char *, struct sockaddr_in *)' 85 | resultproc_t); | ^~~~~~~~~~~~ rpc_clnt_broadcast_dataint.c:55:24: warning: unused variable 'cs' [-Wunused-variable] 55 | enum clnt_stat cs; | ^~ rpc_clnt_broadcast_dataint.c:43:14: warning: unused parameter 'argn' [-Wunused-parameter] 43 | int main(int argn, char *argc[]) | ~~~~^~~~ rpc_clnt_broadcast_dataint.c: In function 'eachResult': rpc_clnt_broadcast_dataint.c:138:47: warning: unused parameter 'addr' [-Wunused-parameter] 138 | int eachResult(char *out, struct sockaddr_in *addr) | ~~~~~~~~~~~~~~~~~~~~^~~~ rpc_clnt_broadcast_complex.c: In function 'eachResult': rpc_clnt_broadcast_complex.c:42:25: warning: unused parameter 'out' [-Wunused-parameter] 42 | bool_t eachResult(char *out, struct sockaddr_in *addr) | ~~~~~~^~~ rpc_clnt_broadcast_complex.c:42:50: warning: unused parameter 'addr' [-Wunused-parameter] 42 | bool_t eachResult(char *out, struct sockaddr_in *addr) | ~~~~~~~~~~~~~~~~~~~~^~~~ rpc_clnt_broadcast_complex.c: In function 'main': rpc_clnt_broadcast_complex.c:81:67: warning: passing argument 8 of 'clnt_broadcast' from incompatible pointer type [-Wincompatible-pointer-types] 81 | (xdrproc_t) xdr_int, (char *)&varRec, eachResult); | ^~~~~~~~~~ | | | bool_t (*)(char *, struct sockaddr_in *) {aka int (*)(char *, struct sockaddr_in *)} In file included from /home/thomas/autobuild/instance-0/output-1/host/bin/../x86_64-buildroot-linux-gnu/sysroot/usr/include/tirpc/rpc/rpc.h:66, from /home/thomas/autobuild/instance-0/output-1/build/ltp-testsuite-20220930/testcases/network/rpc/rpc-tirpc/tests_pack/lib/../include/rpc.h:11, from rpc_clnt_broadcast_complex.c:33: /home/thomas/autobuild/instance-0/output-1/host/bin/../x86_64-buildroot-linux-gnu/sysroot/usr/include/tirpc/rpc/pmap_clnt.h:85:40: note: expected 'resultproc_t' {aka 'int (*)(char *, ...)'} but argument is of type 'bool_t (*)(char *, struct sockaddr_in *)' {aka 'int (*)(char *, struct sockaddr_in *)'} 85 | resultproc_t); | ^~~~~~~~~~~~ rpc_clnt_broadcast_complex.c:52:14: warning: unused parameter 'argn' [-Wunused-parameter] 52 | int main(int argn, char *argc[]) | ~~~~^~~~ rpc_clnt_broadcast.c: In function 'main': rpc_clnt_broadcast.c:62:67: warning: passing argument 8 of 'clnt_broadcast' from incompatible pointer type [-Wincompatible-pointer-types] 62 | (xdrproc_t) xdr_int, (char *)&varRec, eachResult); | ^~~~~~~~~~ | | | int (*)(char *, struct sockaddr_in *) In file included from /home/thomas/autobuild/instance-0/output-1/host/bin/../x86_64-buildroot-linux-gnu/sysroot/usr/include/tirpc/rpc/rpc.h:66, from /home/thomas/autobuild/instance-0/output-1/build/ltp-testsuite-20220930/testcases/network/rpc/rpc-tirpc/tests_pack/lib/../include/rpc.h:11, from rpc_clnt_broadcast.c:31: /home/thomas/autobuild/instance-0/output-1/host/bin/../x86_64-buildroot-linux-gnu/sysroot/usr/include/tirpc/rpc/pmap_clnt.h:85:40: note: expected 'resultproc_t' {aka 'int (*)(char *, ...)'} but argument is of type 'int (*)(char *, struct sockaddr_in *)' 85 | resultproc_t); | ^~~~~~~~~~~~ rpc_clnt_broadcast.c:39:14: warning: unused parameter 'argn' [-Wunused-parameter] 39 | int main(int argn, char *argc[]) | ~~~~^~~~ rpc_clnt_broadcast.c: In function 'eachResult': rpc_clnt_broadcast.c:76:22: warning: unused parameter 'out' [-Wunused-parameter] 76 | int eachResult(char *out, struct sockaddr_in *addr) | ~~~~~~^~~ rpc_clnt_broadcast.c:76:47: warning: unused parameter 'addr' [-Wunused-parameter] 76 | int eachResult(char *out, struct sockaddr_in *addr) | ~~~~~~~~~~~~~~~~~~~~^~~~ rpc_clnt_broadcast_performance.c: In function 'main': rpc_clnt_broadcast_performance.c:117:37: warning: passing argument 8 of 'clnt_broadcast' from incompatible pointer type [-Wincompatible-pointer-types] 117 | eachResult); | ^~~~~~~~~~ | | | int (*)(char *, struct sockaddr_in *) In file included from /home/thomas/autobuild/instance-0/output-1/host/bin/../x86_64-buildroot-linux-gnu/sysroot/usr/include/tirpc/rpc/rpc.h:66, from /home/thomas/autobuild/instance-0/output-1/build/ltp-testsuite-20220930/testcases/network/rpc/rpc-tirpc/tests_pack/lib/../include/rpc.h:11, from rpc_clnt_broadcast_performance.c:31: /home/thomas/autobuild/instance-0/output-1/host/bin/../x86_64-buildroot-linux-gnu/sysroot/usr/include/tirpc/rpc/pmap_clnt.h:85:40: note: expected 'resultproc_t' {aka 'int (*)(char *, ...)'} but argument is of type 'int (*)(char *, struct sockaddr_in *)' 85 | resultproc_t); | ^~~~~~~~~~~~ rpc_clnt_broadcast_performance.c:81:14: warning: unused parameter 'argn' [-Wunused-parameter] 81 | int main(int argn, char *argc[]) | ~~~~^~~~ rpc_clnt_broadcast_performance.c: In function 'eachResult': rpc_clnt_broadcast_performance.c:153:22: warning: unused parameter 'out' [-Wunused-parameter] 153 | int eachResult(char *out, struct sockaddr_in *addr) | ~~~~~~^~~ rpc_clnt_broadcast_performance.c:153:47: warning: unused parameter 'addr' [-Wunused-parameter] 153 | int eachResult(char *out, struct sockaddr_in *addr) | ~~~~~~~~~~~~~~~~~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_broadc_clnt_broadcast/rpc_clnt_broadcast_dataint CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_broadc_clnt_broadcast/rpc_clnt_broadcast_complex CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_broadc_clnt_broadcast/rpc_clnt_broadcast rpc_clnt_broadcast_scalability.c: In function 'main': rpc_clnt_broadcast_scalability.c:117:37: warning: passing argument 8 of 'clnt_broadcast' from incompatible pointer type [-Wincompatible-pointer-types] 117 | eachResult); | ^~~~~~~~~~ | | | int (*)(char *, struct sockaddr_in *) In file included from /home/thomas/autobuild/instance-0/output-1/host/bin/../x86_64-buildroot-linux-gnu/sysroot/usr/include/tirpc/rpc/rpc.h:66, from /home/thomas/autobuild/instance-0/output-1/build/ltp-testsuite-20220930/testcases/network/rpc/rpc-tirpc/tests_pack/lib/../include/rpc.h:11, from rpc_clnt_broadcast_scalability.c:31: /home/thomas/autobuild/instance-0/output-1/host/bin/../x86_64-buildroot-linux-gnu/sysroot/usr/include/tirpc/rpc/pmap_clnt.h:85:40: note: expected 'resultproc_t' {aka 'int (*)(char *, ...)'} but argument is of type 'int (*)(char *, struct sockaddr_in *)' 85 | resultproc_t); | ^~~~~~~~~~~~ rpc_clnt_broadcast_scalability.c:81:14: warning: unused parameter 'argn' [-Wunused-parameter] 81 | int main(int argn, char *argc[]) | ~~~~^~~~ rpc_clnt_broadcast_scalability.c: In function 'eachResult': rpc_clnt_broadcast_scalability.c:150:22: warning: unused parameter 'out' [-Wunused-parameter] 150 | int eachResult(char *out, struct sockaddr_in *addr) | ~~~~~~^~~ rpc_clnt_broadcast_scalability.c:150:47: warning: unused parameter 'addr' [-Wunused-parameter] 150 | int eachResult(char *out, struct sockaddr_in *addr) | ~~~~~~~~~~~~~~~~~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_broadc_clnt_broadcast/rpc_clnt_broadcast_performance rpc_clnt_broadcast_stress.c: In function 'main': rpc_clnt_broadcast_stress.c:68:37: warning: passing argument 8 of 'clnt_broadcast' from incompatible pointer type [-Wincompatible-pointer-types] 68 | eachResult); | ^~~~~~~~~~ | | | void (*)(char *, struct sockaddr_in *) In file included from /home/thomas/autobuild/instance-0/output-1/host/bin/../x86_64-buildroot-linux-gnu/sysroot/usr/include/tirpc/rpc/rpc.h:66, from /home/thomas/autobuild/instance-0/output-1/build/ltp-testsuite-20220930/testcases/network/rpc/rpc-tirpc/tests_pack/lib/../include/rpc.h:11, from rpc_clnt_broadcast_stress.c:31: /home/thomas/autobuild/instance-0/output-1/host/bin/../x86_64-buildroot-linux-gnu/sysroot/usr/include/tirpc/rpc/pmap_clnt.h:85:40: note: expected 'resultproc_t' {aka 'int (*)(char *, ...)'} but argument is of type 'void (*)(char *, struct sockaddr_in *)' 85 | resultproc_t); | ^~~~~~~~~~~~ rpc_clnt_broadcast_stress.c:39:14: warning: unused parameter 'argn' [-Wunused-parameter] 39 | int main(int argn, char *argc[]) | ~~~~^~~~ rpc_clnt_broadcast_stress.c: In function 'eachResult': rpc_clnt_broadcast_stress.c:88:23: warning: unused parameter 'out' [-Wunused-parameter] 88 | void eachResult(char *out, struct sockaddr_in *addr) | ~~~~~~^~~ rpc_clnt_broadcast_stress.c:88:48: warning: unused parameter 'addr' [-Wunused-parameter] 88 | void eachResult(char *out, struct sockaddr_in *addr) | ~~~~~~~~~~~~~~~~~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_broadc_clnt_broadcast/rpc_clnt_broadcast_stress CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_broadc_clnt_broadcast/rpc_clnt_broadcast_scalability CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_auth_auth_destroy/rpc_auth_destroy rpc_svcerr_noproc.c: In function 'main': rpc_svcerr_noproc.c:40:14: warning: unused parameter 'argn' [-Wunused-parameter] 40 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_err_svcerr_noproc/rpc_svcerr_noproc rpc_clnttcp_create.c: In function 'main': rpc_clnttcp_create.c:42:14: warning: unused parameter 'argn' [-Wunused-parameter] 42 | int main(int argn, char *argc[]) | ~~~~^~~~ rpc_clnttcp_create_stress.c: In function 'main': rpc_clnttcp_create_stress.c:42:14: warning: unused parameter 'argn' [-Wunused-parameter] 42 | int main(int argn, char *argc[]) | ~~~~^~~~ rpc_clnttcp_create_limits.c: In function 'main': rpc_clnttcp_create_limits.c:51:14: warning: unused parameter 'argn' [-Wunused-parameter] 51 | int main(int argn, char *argc[]) | ~~~~^~~~ rpc_clnttcp_create_performance.c: In function 'main': rpc_clnttcp_create_performance.c:82:14: warning: unused parameter 'argn' [-Wunused-parameter] 82 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_clnttcp_create/rpc_clnttcp_create CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_clnttcp_create/rpc_clnttcp_create_stress CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_clnttcp_create/rpc_clnttcp_create_limits CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_clnttcp_create/rpc_clnttcp_create_performance rpc_svc_freeargs_svc.c: In function 'main': rpc_svc_freeargs_svc.c:47:14: warning: unused parameter 'argn' [-Wunused-parameter] 47 | int main(int argn, char *argc[]) | ~~~~^~~~ rpc_svc_freeargs_svc.c: In function 'simplePing': rpc_svc_freeargs_svc.c:87:39: warning: unused parameter 'transp' [-Wunused-parameter] 87 | char *simplePing(int inVar, SVCXPRT * transp) | ~~~~~~~~~~^~~~~~ rpc_svc_freeargs.c: In function 'main': rpc_svc_freeargs.c:47:13: warning: unused variable 'test_status' [-Wunused-variable] 47 | int test_status = 1; //Default test result set to FAILED | ^~~~~~~~~~~ rpc_svc_freeargs.c:37:14: warning: unused parameter 'argn' [-Wunused-parameter] 37 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_stdcall_svc_freeargs/rpc_svc_freeargs_svc CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_stdcall_svc_freeargs/rpc_svc_freeargs rpc_svc_unregister.c: In function 'main': rpc_svc_unregister.c:41:14: warning: unused parameter 'argn' [-Wunused-parameter] 41 | int main(int argn, char *argc[]) | ~~~~^~~~ rpc_svc_unregister.c: In function 'dispatch': rpc_svc_unregister.c:81:31: warning: unused parameter 'request' [-Wunused-parameter] 81 | void dispatch(struct svc_req *request, SVCXPRT * xprt) | ~~~~~~~~~~~~~~~~^~~~~~~ rpc_svc_unregister.c:81:50: warning: unused parameter 'xprt' [-Wunused-parameter] 81 | void dispatch(struct svc_req *request, SVCXPRT * xprt) | ~~~~~~~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_regunreg_svc_unregister/rpc_svc_unregister rpc_clnt_create.c: In function 'main': rpc_clnt_create.c:37:14: warning: unused parameter 'argn' [-Wunused-parameter] 37 | int main(int argn, char *argc[]) | ~~~~^~~~ rpc_clnt_create_stress.c: In function 'main': rpc_clnt_create_stress.c:37:14: warning: unused parameter 'argn' [-Wunused-parameter] 37 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_clnt_create/rpc_clnt_create CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_clnt_create/rpc_clnt_create_stress CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_auth_authunix_create/rpc_authunix_create rpc_pmap_rmtcall_performance.c: In function 'main': rpc_pmap_rmtcall_performance.c:84:14: warning: unused parameter 'argn' [-Wunused-parameter] 84 | int main(int argn, char *argc[]) | ~~~~^~~~ rpc_pmap_rmtcall_stress.c: In function 'main': rpc_pmap_rmtcall_stress.c:41:14: warning: unused parameter 'argn' [-Wunused-parameter] 41 | int main(int argn, char *argc[]) | ~~~~^~~~ rpc_pmap_rmtcall.c: In function 'main': rpc_pmap_rmtcall.c:41:14: warning: unused parameter 'argn' [-Wunused-parameter] 41 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_addrmanagmt_pmap_rmtcall/rpc_pmap_rmtcall CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_addrmanagmt_pmap_rmtcall/rpc_pmap_rmtcall_stress CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_addrmanagmt_pmap_rmtcall/rpc_pmap_rmtcall_performance rpc_pmap_set.c: In function 'main': rpc_pmap_set.c:49:18: warning: variable 'transp' set but not used [-Wunused-but-set-variable] 49 | SVCXPRT *transp = NULL; | ^~~~~~ rpc_pmap_set.c:36:14: warning: unused parameter 'argn' [-Wunused-parameter] 36 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_addrmanagmt_pmap_set/rpc_pmap_set rpc_clntudp_bufcreate_limits.c: In function 'main': rpc_clntudp_bufcreate_limits.c:51:14: warning: unused parameter 'argn' [-Wunused-parameter] 51 | int main(int argn, char *argc[]) | ~~~~^~~~ rpc_clntudp_bufcreate.c: In function 'main': rpc_clntudp_bufcreate.c:42:14: warning: unused parameter 'argn' [-Wunused-parameter] 42 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_clntudp_bufcreate/rpc_clntudp_bufcreate CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_clntudp_bufcreate/rpc_clntudp_bufcreate_limits rpc_svcerr_auth.c: In function 'main': rpc_svcerr_auth.c:37:14: warning: unused parameter 'argn' [-Wunused-parameter] 37 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_err_svcerr_auth/rpc_svcerr_auth rpc_svc_getcaller.c: In function 'main': rpc_svc_getcaller.c:37:14: warning: unused parameter 'argn' [-Wunused-parameter] 37 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_stdcall_svc_getcaller/rpc_svc_getcaller rpc_clnt_call_performance.c: In function 'main': rpc_clnt_call_performance.c:79:14: warning: unused parameter 'argn' [-Wunused-parameter] 79 | int main(int argn, char *argc[]) | ~~~~^~~~ rpc_clnt_call_complex.c: In function 'main': rpc_clnt_call_complex.c:61:14: warning: unused parameter 'argn' [-Wunused-parameter] 61 | int main(int argn, char *argc[]) | ~~~~^~~~ rpc_clnt_call.c: In function 'main': rpc_clnt_call.c:37:14: warning: unused parameter 'argn' [-Wunused-parameter] 37 | int main(int argn, char *argc[]) | ~~~~^~~~ rpc_clnt_call_dataint.c: In function 'main': rpc_clnt_call_dataint.c:55:24: warning: variable 'cs' set but not used [-Wunused-but-set-variable] 55 | enum clnt_stat cs; | ^~ rpc_clnt_call_dataint.c:41:14: warning: unused parameter 'argn' [-Wunused-parameter] 41 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_stdcall_clnt_call/rpc_clnt_call CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_stdcall_clnt_call/rpc_clnt_call_performance CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_stdcall_clnt_call/rpc_clnt_call_dataint CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_stdcall_clnt_call/rpc_clnt_call_complex rpc_clnt_call_scalability.c: In function 'main': rpc_clnt_call_scalability.c:53:14: warning: unused parameter 'argn' [-Wunused-parameter] 53 | int main(int argn, char *argc[]) | ~~~~^~~~ rpc_clnt_call_stress.c: In function 'main': rpc_clnt_call_stress.c:37:14: warning: unused parameter 'argn' [-Wunused-parameter] 37 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_stdcall_clnt_call/rpc_clnt_call_stress CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_stdcall_clnt_call/rpc_clnt_call_scalability rpc_clnt_spcreateerror.c: In function 'main': rpc_clnt_spcreateerror.c:45:17: warning: variable 'clnt' set but not used [-Wunused-but-set-variable] 45 | CLIENT *clnt = NULL; | ^~~~ rpc_clnt_spcreateerror.c:37:14: warning: unused parameter 'argn' [-Wunused-parameter] 37 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_err_clnt_spcreateerror/rpc_clnt_spcreateerror rpc_clnt_freeres.c: In function 'main': rpc_clnt_freeres.c:37:14: warning: unused parameter 'argn' [-Wunused-parameter] 37 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_stdcall_clnt_freeres/rpc_clnt_freeres CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_auth_authunix_create_default/rpc_authunix_create_default rpc_svcudp_bufcreate_limits.c: In function 'main': rpc_svcudp_bufcreate_limits.c:57:13: warning: unused variable 'progNum' [-Wunused-variable] 57 | int progNum = atoi(argc[2]); | ^~~~~~~ rpc_svcudp_bufcreate_limits.c:46:14: warning: unused parameter 'argn' [-Wunused-parameter] 46 | int main(int argn, char *argc[]) | ~~~~^~~~ rpc_svcudp_bufcreate.c: In function 'main': rpc_svcudp_bufcreate.c:48:13: warning: unused variable 'run_mode' [-Wunused-variable] 48 | int run_mode = 0; | ^~~~~~~~ rpc_svcudp_bufcreate.c:39:14: warning: unused parameter 'argn' [-Wunused-parameter] 39 | int main(int argn, char *argc[]) | ~~~~^~~~ rpc_svcudp_bufcreate.c:39:26: warning: unused parameter 'argc' [-Wunused-parameter] 39 | int main(int argn, char *argc[]) | ~~~~~~^~~~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_svcudp_bufcreate/rpc_svcudp_bufcreate_limits CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_svcudp_bufcreate/rpc_svcudp_bufcreate rpc_clnt_pcreateerror.c: In function 'main': rpc_clnt_pcreateerror.c:45:17: warning: variable 'clnt' set but not used [-Wunused-but-set-variable] 45 | CLIENT *clnt = NULL; | ^~~~ rpc_clnt_pcreateerror.c:37:14: warning: unused parameter 'argn' [-Wunused-parameter] 37 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_err_clnt_pcreateerror/rpc_clnt_pcreateerror rpc_xprt_unregister.c: In function 'main': rpc_xprt_unregister.c:48:13: warning: unused variable 'run_mode' [-Wunused-variable] 48 | int run_mode = 0; | ^~~~~~~~ rpc_xprt_unregister.c:39:14: warning: unused parameter 'argn' [-Wunused-parameter] 39 | int main(int argn, char *argc[]) | ~~~~^~~~ rpc_xprt_unregister.c:39:26: warning: unused parameter 'argc' [-Wunused-parameter] 39 | int main(int argn, char *argc[]) | ~~~~~~^~~~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_regunreg_xprt_unregister/rpc_xprt_unregister rpc_pmap_getport.c: In function 'main': rpc_pmap_getport.c:39:14: warning: unused parameter 'argn' [-Wunused-parameter] 39 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_addrmanagmt_pmap_getport/rpc_pmap_getport rpc_svcerr_systemerr.c: In function 'main': rpc_svcerr_systemerr.c:37:14: warning: unused parameter 'argn' [-Wunused-parameter] 37 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_err_svcerr_systemerr/rpc_svcerr_systemerr rpc_clnt_control.c: In function 'main': rpc_clnt_control.c:37:14: warning: unused parameter 'argn' [-Wunused-parameter] 37 | int main(int argn, char *argc[]) | ~~~~^~~~ rpc_clnt_control_dataint.c: In function 'main': rpc_clnt_control_dataint.c:37:14: warning: unused parameter 'argn' [-Wunused-parameter] 37 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_stdcall_clnt_control/rpc_clnt_control CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_stdcall_clnt_control/rpc_clnt_control_dataint rpc_svcerr_weakauth.c: In function 'main': rpc_svcerr_weakauth.c:37:14: warning: unused parameter 'argn' [-Wunused-parameter] 37 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_err_svcerr_weakauth/rpc_svcerr_weakauth rpc_clnt_sperrno.c: In function 'main': rpc_clnt_sperrno.c:38:14: warning: unused parameter 'argn' [-Wunused-parameter] 38 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_err_clnt_sperrno/rpc_clnt_sperrno rpc_svc_register.c: In function 'main': rpc_svc_register.c:41:14: warning: unused parameter 'argn' [-Wunused-parameter] 41 | int main(int argn, char *argc[]) | ~~~~^~~~ rpc_svc_register.c: In function 'dispatch': rpc_svc_register.c:77:31: warning: unused parameter 'request' [-Wunused-parameter] 77 | void dispatch(struct svc_req *request, SVCXPRT * xprt) | ~~~~~~~~~~~~~~~~^~~~~~~ rpc_svc_register.c:77:50: warning: unused parameter 'xprt' [-Wunused-parameter] 77 | void dispatch(struct svc_req *request, SVCXPRT * xprt) | ~~~~~~~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_regunreg_svc_register/rpc_svc_register rpc_svctcp_create_stress.c: In function 'main': rpc_svctcp_create_stress.c:39:14: warning: unused parameter 'argn' [-Wunused-parameter] 39 | int main(int argn, char *argc[]) | ~~~~^~~~ rpc_svctcp_create_performance.c: In function 'main': rpc_svctcp_create_performance.c:79:14: warning: unused parameter 'argn' [-Wunused-parameter] 79 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_svctcp_create/rpc_svctcp_create CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_svctcp_create/rpc_svctcp_create_stress CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_svctcp_create/rpc_svctcp_create_limits CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_svctcp_create/rpc_svctcp_create_performance rpc_pmap_unset.c: In function 'main': rpc_pmap_unset.c:49:18: warning: variable 'transp' set but not used [-Wunused-but-set-variable] 49 | SVCXPRT *transp = NULL; | ^~~~~~ rpc_pmap_unset.c:36:14: warning: unused parameter 'argn' [-Wunused-parameter] 36 | int main(int argn, char *argc[]) | ~~~~^~~~ rpc_pmap_unset.c:36:26: warning: unused parameter 'argc' [-Wunused-parameter] 36 | int main(int argn, char *argc[]) | ~~~~~~^~~~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_addrmanagmt_pmap_unset/rpc_pmap_unset CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_regunreg_xprt_register/rpc_xprt_register rpc_clntudp_create.c: In function 'main': rpc_clntudp_create.c:42:14: warning: unused parameter 'argn' [-Wunused-parameter] 42 | int main(int argn, char *argc[]) | ~~~~^~~~ rpc_clntudp_create_stress.c: In function 'main': rpc_clntudp_create_stress.c:42:14: warning: unused parameter 'argn' [-Wunused-parameter] 42 | int main(int argn, char *argc[]) | ~~~~^~~~ rpc_clntudp_create_performance.c: In function 'main': rpc_clntudp_create_performance.c:81:14: warning: unused parameter 'argn' [-Wunused-parameter] 81 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_clntudp_create/rpc_clntudp_create CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_clntudp_create/rpc_clntudp_create_stress CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_clntudp_create/rpc_clntudp_create_performance rpc_clnt_geterr.c: In function 'main': rpc_clnt_geterr.c:37:14: warning: unused parameter 'argn' [-Wunused-parameter] 37 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_stdcall_clnt_geterr/rpc_clnt_geterr CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_svcfd_create/rpc_svcfd_create_limits CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_svcfd_create/rpc_svcfd_create CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_auth_authnone_create/rpc_authnone_create rpc_pmap_getmaps.c: In function 'main': rpc_pmap_getmaps.c:39:14: warning: unused parameter 'argn' [-Wunused-parameter] 39 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_addrmanagmt_pmap_getmaps/rpc_pmap_getmaps CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_addrmanagmt_get_myaddress/rpc_get_myaddress rpc_svcerr_progvers.c: In function 'main': rpc_svcerr_progvers.c:37:14: warning: unused parameter 'argn' [-Wunused-parameter] 37 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_err_svcerr_progvers/rpc_svcerr_progvers rpc_svcudp_create_stress.c: In function 'main': rpc_svcudp_create_stress.c:39:14: warning: unused parameter 'argn' [-Wunused-parameter] 39 | int main(int argn, char *argc[]) | ~~~~^~~~ rpc_svcudp_create_performance.c: In function 'main': rpc_svcudp_create_performance.c:79:14: warning: unused parameter 'argn' [-Wunused-parameter] 79 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_svcudp_create/rpc_svcudp_create CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_svcudp_create/rpc_svcudp_create_stress CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_svcudp_create/rpc_svcudp_create_performance rpc_svc_sendreply.c: In function 'main': rpc_svc_sendreply.c:47:14: warning: unused parameter 'argn' [-Wunused-parameter] 47 | int main(int argn, char *argc[]) | ~~~~^~~~ rpc_svc_sendreply.c: In function 'simplePing': rpc_svc_sendreply.c:87:39: warning: unused parameter 'transp' [-Wunused-parameter] 87 | char *simplePing(int inVar, SVCXPRT * transp) | ~~~~~~~~~~^~~~~~ rpc_svc_sendreply_client.c: In function 'main': rpc_svc_sendreply_client.c:37:14: warning: unused parameter 'argn' [-Wunused-parameter] 37 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_stdcall_svc_sendreply/rpc_svc_sendreply_client CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_stdcall_svc_sendreply/rpc_svc_sendreply rpc_callrpc.c: In function 'main': rpc_callrpc.c:37:14: warning: unused parameter 'argn' [-Wunused-parameter] 37 | int main(int argn, char *argc[]) | ~~~~^~~~ rpc_callrpc_dataint.c: In function 'main': rpc_callrpc_dataint.c:41:14: warning: unused parameter 'argn' [-Wunused-parameter] 41 | int main(int argn, char *argc[]) | ~~~~^~~~ rpc_callrpc_performance.c: In function 'main': rpc_callrpc_performance.c:79:14: warning: unused parameter 'argn' [-Wunused-parameter] 79 | int main(int argn, char *argc[]) | ~~~~^~~~ rpc_callrpc_scalability.c: In function 'main': rpc_callrpc_scalability.c:79:14: warning: unused parameter 'argn' [-Wunused-parameter] 79 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_stdcall_callrpc/rpc_callrpc CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_stdcall_callrpc/rpc_callrpc_dataint CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_stdcall_callrpc/rpc_callrpc_performance rpc_callrpc_stress.c: In function 'main': rpc_callrpc_stress.c:37:14: warning: unused parameter 'argn' [-Wunused-parameter] 37 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_stdcall_callrpc/rpc_callrpc_scalability CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_stdcall_callrpc/rpc_callrpc_stress rpc_svc_destroy_stress.c: In function 'main': rpc_svc_destroy_stress.c:37:14: warning: unused parameter 'argn' [-Wunused-parameter] 37 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_svc_destroy/rpc_svc_destroy CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_svc_destroy/rpc_svc_destroy_stress tirpc_svc_2.c: In function 'main': tirpc_svc_2.c:51:16: warning: variable 'rslt' set but not used [-Wunused-but-set-variable] 51 | bool_t rslt; | ^~~~ tirpc_svc_2.c:44:14: warning: unused parameter 'argn' [-Wunused-parameter] 44 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_2/tirpc_svc_2 tirpc_svc_3.c: In function 'main': tirpc_svc_3.c:43:14: warning: unused parameter 'argn' [-Wunused-parameter] 43 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_3/tirpc_svc_3 tirpc_svc_4.c: In function 'main': tirpc_svc_4.c:53:23: warning: unused variable 'svcaddr' [-Wunused-variable] 53 | struct netbuf svcaddr; | ^~~~~~~ tirpc_svc_4.c:49:16: warning: unused variable 'rslt' [-Wunused-variable] 49 | bool_t rslt; | ^~~~ tirpc_svc_4.c:47:13: warning: unused variable 'run_mode' [-Wunused-variable] 47 | int run_mode = 0; | ^~~~~~~~ tirpc_svc_4.c:43:14: warning: unused parameter 'argn' [-Wunused-parameter] 43 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_4/tirpc_svc_4 tirpc_svc_5.c: In function 'main': tirpc_svc_5.c:60:14: warning: unused parameter 'argn' [-Wunused-parameter] 60 | int main(int argn, char *argc[]) | ~~~~^~~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_5/tirpc_svc_5 rpc_svc_2.c: In function 'main': rpc_svc_2.c:56:14: warning: unused parameter 'argn' [-Wunused-parameter] 56 | int main(int argn, char *argc[]) | ~~~~^~~~ rpc_svc_2.c: In function 'calcProc': rpc_svc_2.c:99:44: warning: unused parameter 'svc' [-Wunused-parameter] 99 | char *calcProc(struct datas *dt, SVCXPRT * svc) | ~~~~~~~~~~^~~ CC testcases/network/rpc/rpc-tirpc/tests_pack/rpc_svc_2/rpc_svc_2 make[5]: Nothing to be done for 'all'. make[5]: Nothing to be done for 'all'. CC testcases/network/nfs/nfslock01/nfs_flock_func.o nfs_flock.c: In function 'main': nfs_flock.c:72:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 72 | write(fd, buf, BYTES); | ^~~~~~~~~~~~~~~~~~~~~ CC testcases/network/nfs/nfslock01/nfs_flock_dgen CC testcases/network/nfs/nfslock01/nfs_flock CC testcases/network/nfs/nfs_stress/nfs04_create_file CC testcases/network/nfs/nfs_stress/nfs01_open_files CC testcases/network/nfs/nfs_stress/nfs05_make_tree make[4]: Nothing to be done for 'all'. make[4]: Nothing to be done for 'all'. make[4]: Nothing to be done for 'all'. ltpServer.c: In function 'ltp_udp_server_queue': ltpServer.c:223:34: warning: unused parameter 'junk' [-Wunused-parameter] 223 | void *ltp_udp_server_queue(void *junk) | ~~~~~~^~~~ ltpServer.c: In function 'ltp_tcp_server_queue': ltpServer.c:263:34: warning: unused parameter 'junk' [-Wunused-parameter] 263 | void *ltp_tcp_server_queue(void *junk) | ~~~~~~^~~~ ltpServer.c: In function 'ltp_multi_server_queue': ltpServer.c:387:36: warning: unused parameter 'junk' [-Wunused-parameter] 387 | void *ltp_multi_server_queue(void *junk) | ~~~~~~^~~~ ltpClient.c: In function 'ping_network': ltpClient.c:530:31: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 530 | for (i = 0; i < sizeof(rawPacket.msg) - 1; i++) { | ^ ltpClient.c: In function 'ltp_traceroute': ltpClient.c:603:31: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 603 | for (i = 0; i < sizeof(rawTracePacket.msg) - 1; i++) { | ^ CC testcases/network/sockets/ltpServer In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/string.h:535, from ltpClient.c:43: In function 'strncpy', inlined from 'main' at ltpClient.c:110:2: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/string_fortified.h:95:10: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'main' at ltpClient.c:111:2: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/string_fortified.h:95:10: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'main' at ltpClient.c:112:2: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/string_fortified.h:95:10: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ CC testcases/network/sockets/ltpClient CC testcases/network/sockets/vsock01 make[4]: Nothing to be done for 'all'. make[4]: Nothing to be done for 'all'. make[4]: Nothing to be done for 'all'. CC testcases/network/sctp/sctp_big_chunk CC testcases/network/can/cve/can_bcm01 CC testcases/network/can/filter-tests/can_filter CC testcases/network/can/filter-tests/can_rcv_own_msgs make[4]: Nothing to be done for 'all'. CC testcases/network/netstress/netstress CC testcases/network/multicast/mc_opts/mc_verify_opts_error CC testcases/network/multicast/mc_opts/mc_verify_opts CC testcases/network/multicast/mc_commo/mc_recv CC testcases/network/multicast/mc_commo/mc_send make[5]: Nothing to be done for 'all'. CC testcases/network/multicast/mc_member/mc_member_test make[6]: Nothing to be done for 'all'. make[4]: Nothing to be done for 'all'. CC testcases/network/packet/fanout01 make[4]: Nothing to be done for 'all'. CC testcases/network/nfsv4/acl/acl1 In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/string.h:535, from locktests.h:37, from netsync.c:1: In function 'strncpy', inlined from 'getConfiguration' at netsync.c:189:2: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/string_fortified.h:95:10: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ netsync.c: In function 'getConfiguration': netsync.c:188:13: note: length computed here 188 | i = strlen(p); | ^~~~~~~~~ CC testcases/network/nfsv4/locks/netsync.o locktests.c: In function 'initClientFork': locktests.c:206:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 206 | write(0, ".", 1); | ^~~~~~~~~~~~~~~~ locktests.c: In function 'loadProcess': locktests.c:254:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 254 | write(0, ".", 1); | ^~~~~~~~~~~~~~~~ locktests.c: In function 'serverSendLocal': locktests.c:309:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 309 | write(dp.lclnt[i][1], message, M_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ locktests.c: In function 'serverReceiveLocal': locktests.c:334:17: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 334 | read(masterReader, message, M_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ locktests.c: In function 'clientReceiveLocal': locktests.c:340:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 340 | read(slaveReader, message, M_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ locktests.c: In function 'clientSend': locktests.c:346:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 346 | write(slaveWriter, message, M_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ locktests.c: In function 'getResults': locktests.c:473:17: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 473 | read(masterReader, message, M_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ locktests.c: In function 'masterClient': locktests.c:533:41: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 533 | write(dp.lclnt[i][1], message, M_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ locktests.c: In function 'master': locktests.c:609:33: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 609 | write(0, tmp, strlen(tmp)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ locktests.c:634:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 634 | write(dp.fd, phraseTest, strlen(phraseTest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ locktests.c:670:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 670 | write(dp.fd, buf, clnt); | ^~~~~~~~~~~~~~~~~~~~~~~ locktests.c: In function 'slave': locktests.c:905:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 905 | write(ftest, "=", 1); | ^~~~~~~~~~~~~~~~~~~~ locktests.c:912:33: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 912 | write(0, "=", 1); | ^~~~~~~~~~~~~~~~ locktests.c:914:33: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 914 | write(0, "x", 1); | ^~~~~~~~~~~~~~~~ CC testcases/network/nfsv4/locks/locktests.o LD testcases/network/nfsv4/locks/locktests CC testcases/kernel/syscalls/munlockall/munlockall01 CC testcases/kernel/syscalls/accept/accept01 CC testcases/kernel/syscalls/accept/accept02 nftw.c: In function 'setup': nftw.c:686:9: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] 686 | setuid(ltpuser->pw_uid); | ^~~~~~~~~~~~~~~~~~~~~~~ CC testcases/kernel/syscalls/nftw/nftw.o tools.c: In function 'nftw_fn': tools.c:158:25: warning: unused parameter 'path' [-Wunused-parameter] 158 | int nftw_fn(const char *path, const struct stat *st, int ival, struct FTW *FTWS) | ~~~~~~~~~~~~^~~~ tools.c:158:50: warning: unused parameter 'st' [-Wunused-parameter] 158 | int nftw_fn(const char *path, const struct stat *st, int ival, struct FTW *FTWS) | ~~~~~~~~~~~~~~~~~~~^~ tools.c:158:58: warning: unused parameter 'ival' [-Wunused-parameter] 158 | int nftw_fn(const char *path, const struct stat *st, int ival, struct FTW *FTWS) | ~~~~^~~~ tools.c:158:76: warning: unused parameter 'FTWS' [-Wunused-parameter] 158 | int nftw_fn(const char *path, const struct stat *st, int ival, struct FTW *FTWS) | ~~~~~~~~~~~~^~~~ tools.c: In function 'do_info': tools.c:250:26: warning: unused parameter 'path_name' [-Wunused-parameter] 250 | void do_info(const char *path_name) | ~~~~~~~~~~~~^~~~~~~~~ tools.c: In function 'cleanup_function': tools.c:53:9: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 53 | system("rm -rf ./tmp"); | ^~~~~~~~~~~~~~~~~~~~~~ CC testcases/kernel/syscalls/nftw/tools.o test_func.c: In function 'test_func1': test_func.c:41:54: warning: unused parameter 'stat_pointer' [-Wunused-parameter] 41 | test_func1(const char *path_name, const struct stat *stat_pointer, | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ test_func.c:42:16: warning: unused parameter 'ftw_integer' [-Wunused-parameter] 42 | int ftw_integer, struct FTW *ftwp) | ~~~~^~~~~~~~~~~ test_func.c:42:41: warning: unused parameter 'ftwp' [-Wunused-parameter] 42 | int ftw_integer, struct FTW *ftwp) | ~~~~~~~~~~~~^~~~ test_func.c: In function 'test_func3': test_func.c:76:54: warning: unused parameter 'stat_pointer' [-Wunused-parameter] 76 | test_func3(const char *path_name, const struct stat *stat_pointer, | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ test_func.c:77:16: warning: unused parameter 'ftw_integer' [-Wunused-parameter] 77 | int ftw_integer, struct FTW *ftwp) | ~~~~^~~~~~~~~~~ test_func.c:77:41: warning: unused parameter 'ftwp' [-Wunused-parameter] 77 | int ftw_integer, struct FTW *ftwp) | ~~~~~~~~~~~~^~~~ test_func.c: In function 'test_func4': test_func.c:101:54: warning: unused parameter 'stat_pointer' [-Wunused-parameter] 101 | test_func4(const char *path_name, const struct stat *stat_pointer, | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ test_func.c:102:16: warning: unused parameter 'ftw_integer' [-Wunused-parameter] 102 | int ftw_integer, struct FTW *ftwp) | ~~~~^~~~~~~~~~~ test_func.c:102:41: warning: unused parameter 'ftwp' [-Wunused-parameter] 102 | int ftw_integer, struct FTW *ftwp) | ~~~~~~~~~~~~^~~~ test_func.c: In function 'test_func5': test_func.c:114:54: warning: unused parameter 'stat_pointer' [-Wunused-parameter] 114 | test_func5(const char *path_name, const struct stat *stat_pointer, | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ test_func.c:115:41: warning: unused parameter 'ftwp' [-Wunused-parameter] 115 | int ftw_integer, struct FTW *ftwp) | ~~~~~~~~~~~~^~~~ test_func.c: In function 'test_func7': test_func.c:137:54: warning: unused parameter 'stat_pointer' [-Wunused-parameter] 137 | test_func7(const char *path_name, const struct stat *stat_pointer, | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ test_func.c:138:16: warning: unused parameter 'ftw_integer' [-Wunused-parameter] 138 | int ftw_integer, struct FTW *ftwp) | ~~~~^~~~~~~~~~~ test_func.c:138:41: warning: unused parameter 'ftwp' [-Wunused-parameter] 138 | int ftw_integer, struct FTW *ftwp) | ~~~~~~~~~~~~^~~~ test_func.c: In function 'test_func8': test_func.c:168:41: warning: unused parameter 'ftwp' [-Wunused-parameter] 168 | int ftw_integer, struct FTW *ftwp) | ~~~~~~~~~~~~^~~~ test_func.c: In function 'test_func9': test_func.c:248:54: warning: unused parameter 'stat_pointer' [-Wunused-parameter] 248 | test_func9(const char *path_name, const struct stat *stat_pointer, | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ test_func.c:249:41: warning: unused parameter 'ftwp' [-Wunused-parameter] 249 | int ftw_integer, struct FTW *ftwp) | ~~~~~~~~~~~~^~~~ test_func.c: In function 'test_func10': test_func.c:283:55: warning: unused parameter 'stat_pointer' [-Wunused-parameter] 283 | test_func10(const char *path_name, const struct stat *stat_pointer, | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ test_func.c:284:42: warning: unused parameter 'ftwp' [-Wunused-parameter] 284 | int ftw_integer, struct FTW *ftwp) | ~~~~~~~~~~~~^~~~ test_func.c: In function 'test_func11': test_func.c:317:55: warning: unused parameter 'stat_pointer' [-Wunused-parameter] 317 | test_func11(const char *path_name, const struct stat *stat_pointer, | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ test_func.c:318:42: warning: unused parameter 'ftwp' [-Wunused-parameter] 318 | int ftw_integer, struct FTW *ftwp) | ~~~~~~~~~~~~^~~~ test_func.c: In function 'test_func12': test_func.c:351:55: warning: unused parameter 'stat_pointer' [-Wunused-parameter] 351 | test_func12(const char *path_name, const struct stat *stat_pointer, | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ test_func.c:352:42: warning: unused parameter 'ftwp' [-Wunused-parameter] 352 | int ftw_integer, struct FTW *ftwp) | ~~~~~~~~~~~~^~~~ test_func.c: In function 'test_func13': test_func.c:383:55: warning: unused parameter 'stat_pointer' [-Wunused-parameter] 383 | test_func13(const char *path_name, const struct stat *stat_pointer, | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ test_func.c:384:42: warning: unused parameter 'ftwp' [-Wunused-parameter] 384 | int ftw_integer, struct FTW *ftwp) | ~~~~~~~~~~~~^~~~ test_func.c: In function 'test_func14': test_func.c:418:55: warning: unused parameter 'stat_pointer' [-Wunused-parameter] 418 | test_func14(const char *path_name, const struct stat *stat_pointer, | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ test_func.c:419:42: warning: unused parameter 'ftwp' [-Wunused-parameter] 419 | int ftw_integer, struct FTW *ftwp) | ~~~~~~~~~~~~^~~~ test_func.c: In function 'test_func15': test_func.c:453:55: warning: unused parameter 'stat_pointer' [-Wunused-parameter] 453 | test_func15(const char *path_name, const struct stat *stat_pointer, | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ test_func.c:454:42: warning: unused parameter 'ftwp' [-Wunused-parameter] 454 | int ftw_integer, struct FTW *ftwp) | ~~~~~~~~~~~~^~~~ test_func.c: In function 'test_func16': test_func.c:468:55: warning: unused parameter 'stat_pointer' [-Wunused-parameter] 468 | test_func16(const char *path_name, const struct stat *stat_pointer, | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ test_func.c:469:17: warning: unused parameter 'ftw_integer' [-Wunused-parameter] 469 | int ftw_integer, struct FTW *ftwp) | ~~~~^~~~~~~~~~~ test_func.c: In function 'test_func17': test_func.c:497:55: warning: unused parameter 'stat_pointer' [-Wunused-parameter] 497 | test_func17(const char *path_name, const struct stat *stat_pointer, | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ test_func.c:498:42: warning: unused parameter 'ftwp' [-Wunused-parameter] 498 | int ftw_integer, struct FTW *ftwp) | ~~~~~~~~~~~~^~~~ test_func.c: In function 'test_func18': test_func.c:510:55: warning: unused parameter 'stat_pointer' [-Wunused-parameter] 510 | test_func18(const char *path_name, const struct stat *stat_pointer, | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ test_func.c:511:42: warning: unused parameter 'ftwp' [-Wunused-parameter] 511 | int ftw_integer, struct FTW *ftwp) | ~~~~~~~~~~~~^~~~ test_func.c: In function 'test_func19': test_func.c:522:55: warning: unused parameter 'stat_pointer' [-Wunused-parameter] 522 | test_func19(const char *path_name, const struct stat *stat_pointer, | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ test_func.c:523:42: warning: unused parameter 'ftwp' [-Wunused-parameter] 523 | int ftw_integer, struct FTW *ftwp) | ~~~~~~~~~~~~^~~~ test_func.c: In function 'test_func20': test_func.c:546:25: warning: unused parameter 'path_name' [-Wunused-parameter] 546 | test_func20(const char *path_name, const struct stat *stat_pointer, | ~~~~~~~~~~~~^~~~~~~~~ test_func.c:546:55: warning: unused parameter 'stat_pointer' [-Wunused-parameter] 546 | test_func20(const char *path_name, const struct stat *stat_pointer, | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ test_func.c:547:17: warning: unused parameter 'ftw_integer' [-Wunused-parameter] 547 | int ftw_integer, struct FTW *ftwp) | ~~~~^~~~~~~~~~~ test_func.c:547:42: warning: unused parameter 'ftwp' [-Wunused-parameter] 547 | int ftw_integer, struct FTW *ftwp) | ~~~~~~~~~~~~^~~~ test_func.c: In function 'test_func21': test_func.c:553:55: warning: unused parameter 'stat_pointer' [-Wunused-parameter] 553 | test_func21(const char *path_name, const struct stat *stat_pointer, | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ test_func.c:554:17: warning: unused parameter 'ftw_integer' [-Wunused-parameter] 554 | int ftw_integer, struct FTW *ftwp) | ~~~~^~~~~~~~~~~ test_func.c:554:42: warning: unused parameter 'ftwp' [-Wunused-parameter] 554 | int ftw_integer, struct FTW *ftwp) | ~~~~~~~~~~~~^~~~ test_func.c: In function 'test_func22': test_func.c:581:55: warning: unused parameter 'stat_pointer' [-Wunused-parameter] 581 | test_func22(const char *path_name, const struct stat *stat_pointer, | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ test_func.c:582:17: warning: unused parameter 'ftw_integer' [-Wunused-parameter] 582 | int ftw_integer, struct FTW *ftwp) | ~~~~^~~~~~~~~~~ test_func.c: In function 'test_func23': test_func.c:613:55: warning: unused parameter 'stat_pointer' [-Wunused-parameter] 613 | test_func23(const char *path_name, const struct stat *stat_pointer, | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ test_func.c:614:42: warning: unused parameter 'ftwp' [-Wunused-parameter] 614 | int ftw_integer, struct FTW *ftwp) | ~~~~~~~~~~~~^~~~ CC testcases/kernel/syscalls/nftw/test_func.o nftw64.c: In function 'setup': nftw64.c:713:9: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] 713 | setuid(ltpuser->pw_uid); | ^~~~~~~~~~~~~~~~~~~~~~~ CC testcases/kernel/syscalls/nftw/nftw64.o CC testcases/kernel/syscalls/nftw/test.o lib.c: In function 'get_long_name_buffer': lib.c:65:62: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 65 | if ((path_length = pathconf(tmp_path, _PC_PATH_MAX)) == -1) { | ^~ lib.c:72:62: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 72 | if ((name_length = pathconf(tmp_path, _PC_NAME_MAX)) == -1) { | ^~ lib.c: In function 'test_ENAMETOOLONG_path': lib.c:183:60: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 183 | if ((pcPathMax = pathconf(tmp_path, _PC_PATH_MAX)) == -1) { | ^~ lib.c:208:27: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 208 | while (pathLength < pcPathMax) { | ^ lib.c:219:27: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 219 | while (pathLength <= pcPathMax) { | ^~ lib.c:226:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 226 | if (pathLength != pcPathMax + 1) { | ^~ CC testcases/kernel/syscalls/nftw/lib.o tools64.c: In function 'nftw64_fn': tools64.c:158:23: warning: unused parameter 'path' [-Wunused-parameter] 158 | nftw64_fn(const char *path, const struct stat64 *st, int ival, struct FTW *FTWS) | ~~~~~~~~~~~~^~~~ tools64.c:158:50: warning: unused parameter 'st' [-Wunused-parameter] 158 | nftw64_fn(const char *path, const struct stat64 *st, int ival, struct FTW *FTWS) | ~~~~~~~~~~~~~~~~~~~~~^~ tools64.c:158:58: warning: unused parameter 'ival' [-Wunused-parameter] 158 | nftw64_fn(const char *path, const struct stat64 *st, int ival, struct FTW *FTWS) | ~~~~^~~~ tools64.c:158:76: warning: unused parameter 'FTWS' [-Wunused-parameter] 158 | nftw64_fn(const char *path, const struct stat64 *st, int ival, struct FTW *FTWS) | ~~~~~~~~~~~~^~~~ tools64.c: In function 'do_info': tools64.c:250:26: warning: unused parameter 'path_name' [-Wunused-parameter] 250 | void do_info(const char *path_name) | ~~~~~~~~~~~~^~~~~~~~~ tools64.c: In function 'cleanup_function': tools64.c:52:9: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 52 | system("rm -rf ./tmp"); | ^~~~~~~~~~~~~~~~~~~~~~ CC testcases/kernel/syscalls/nftw/tools64.o /home/thomas/autobuild/instance-0/output-1/host/bin/x86_64-buildroot-linux-gnu-gcc -L../../../../lib nftw.o tools.o test_func.o test.o lib.o -L/home/thomas/autobuild/instance-0/output-1/host/bin/../x86_64-buildroot-linux-gnu/sysroot/usr/lib -ltirpc -lltp -o nftw01 lib64.c: In function 'get_long_name_buffer': lib64.c:65:62: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 65 | if ((path_length = pathconf(tmp_path, _PC_PATH_MAX)) == -1) { | ^~ lib64.c:72:62: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 72 | if ((name_length = pathconf(tmp_path, _PC_NAME_MAX)) == -1) { | ^~ lib64.c: In function 'test_ENAMETOOLONG_path': lib64.c:183:60: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 183 | if ((pcPathMax = pathconf(tmp_path, _PC_PATH_MAX)) == -1) { | ^~ lib64.c:208:27: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 208 | while (pathLength < pcPathMax) { | ^ lib64.c:219:27: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 219 | while (pathLength <= pcPathMax) { | ^~ lib64.c:226:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 226 | if (pathLength != pcPathMax + 1) { | ^~ CC testcases/kernel/syscalls/nftw/lib64.o CC testcases/kernel/syscalls/nftw/test64.o test_func64.c: In function 'test_func1': test_func64.c:41:56: warning: unused parameter 'stat_pointer' [-Wunused-parameter] 41 | test_func1(const char *path_name, const struct stat64 *stat_pointer, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ test_func64.c:42:16: warning: unused parameter 'ftw_integer' [-Wunused-parameter] 42 | int ftw_integer, struct FTW *ftwp) | ~~~~^~~~~~~~~~~ test_func64.c:42:41: warning: unused parameter 'ftwp' [-Wunused-parameter] 42 | int ftw_integer, struct FTW *ftwp) | ~~~~~~~~~~~~^~~~ test_func64.c: In function 'test_func3': test_func64.c:75:56: warning: unused parameter 'stat_pointer' [-Wunused-parameter] 75 | test_func3(const char *path_name, const struct stat64 *stat_pointer, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ test_func64.c:76:16: warning: unused parameter 'ftw_integer' [-Wunused-parameter] 76 | int ftw_integer, struct FTW *ftwp) | ~~~~^~~~~~~~~~~ test_func64.c:76:41: warning: unused parameter 'ftwp' [-Wunused-parameter] 76 | int ftw_integer, struct FTW *ftwp) | ~~~~~~~~~~~~^~~~ test_func64.c: In function 'test_func4': test_func64.c:100:56: warning: unused parameter 'stat_pointer' [-Wunused-parameter] 100 | test_func4(const char *path_name, const struct stat64 *stat_pointer, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ test_func64.c:101:16: warning: unused parameter 'ftw_integer' [-Wunused-parameter] 101 | int ftw_integer, struct FTW *ftwp) | ~~~~^~~~~~~~~~~ test_func64.c:101:41: warning: unused parameter 'ftwp' [-Wunused-parameter] 101 | int ftw_integer, struct FTW *ftwp) | ~~~~~~~~~~~~^~~~ test_func64.c: In function 'test_func5': test_func64.c:113:56: warning: unused parameter 'stat_pointer' [-Wunused-parameter] 113 | test_func5(const char *path_name, const struct stat64 *stat_pointer, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ test_func64.c:114:41: warning: unused parameter 'ftwp' [-Wunused-parameter] 114 | int ftw_integer, struct FTW *ftwp) | ~~~~~~~~~~~~^~~~ test_func64.c: In function 'test_func7': test_func64.c:137:56: warning: unused parameter 'stat_pointer' [-Wunused-parameter] 137 | test_func7(const char *path_name, const struct stat64 *stat_pointer, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ test_func64.c:138:16: warning: unused parameter 'ftw_integer' [-Wunused-parameter] 138 | int ftw_integer, struct FTW *ftwp) | ~~~~^~~~~~~~~~~ test_func64.c:138:41: warning: unused parameter 'ftwp' [-Wunused-parameter] 138 | int ftw_integer, struct FTW *ftwp) | ~~~~~~~~~~~~^~~~ test_func64.c: In function 'test_func8': test_func64.c:169:41: warning: unused parameter 'ftwp' [-Wunused-parameter] 169 | int ftw_integer, struct FTW *ftwp) | ~~~~~~~~~~~~^~~~ test_func64.c: In function 'test_func9': test_func64.c:250:56: warning: unused parameter 'stat_pointer' [-Wunused-parameter] 250 | test_func9(const char *path_name, const struct stat64 *stat_pointer, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ test_func64.c:251:41: warning: unused parameter 'ftwp' [-Wunused-parameter] 251 | int ftw_integer, struct FTW *ftwp) | ~~~~~~~~~~~~^~~~ test_func64.c: In function 'test_func10': test_func64.c:286:57: warning: unused parameter 'stat_pointer' [-Wunused-parameter] 286 | test_func10(const char *path_name, const struct stat64 *stat_pointer, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ test_func64.c:287:42: warning: unused parameter 'ftwp' [-Wunused-parameter] 287 | int ftw_integer, struct FTW *ftwp) | ~~~~~~~~~~~~^~~~ test_func64.c: In function 'test_func11': test_func64.c:321:57: warning: unused parameter 'stat_pointer' [-Wunused-parameter] 321 | test_func11(const char *path_name, const struct stat64 *stat_pointer, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ test_func64.c:322:42: warning: unused parameter 'ftwp' [-Wunused-parameter] 322 | int ftw_integer, struct FTW *ftwp) | ~~~~~~~~~~~~^~~~ test_func64.c: In function 'test_func12': test_func64.c:356:57: warning: unused parameter 'stat_pointer' [-Wunused-parameter] 356 | test_func12(const char *path_name, const struct stat64 *stat_pointer, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ test_func64.c:357:42: warning: unused parameter 'ftwp' [-Wunused-parameter] 357 | int ftw_integer, struct FTW *ftwp) | ~~~~~~~~~~~~^~~~ test_func64.c: In function 'test_func13': test_func64.c:389:57: warning: unused parameter 'stat_pointer' [-Wunused-parameter] 389 | test_func13(const char *path_name, const struct stat64 *stat_pointer, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ test_func64.c:390:42: warning: unused parameter 'ftwp' [-Wunused-parameter] 390 | int ftw_integer, struct FTW *ftwp) | ~~~~~~~~~~~~^~~~ test_func64.c: In function 'test_func14': test_func64.c:425:57: warning: unused parameter 'stat_pointer' [-Wunused-parameter] 425 | test_func14(const char *path_name, const struct stat64 *stat_pointer, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ test_func64.c:426:42: warning: unused parameter 'ftwp' [-Wunused-parameter] 426 | int ftw_integer, struct FTW *ftwp) | ~~~~~~~~~~~~^~~~ test_func64.c: In function 'test_func15': test_func64.c:461:57: warning: unused parameter 'stat_pointer' [-Wunused-parameter] 461 | test_func15(const char *path_name, const struct stat64 *stat_pointer, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ test_func64.c:462:42: warning: unused parameter 'ftwp' [-Wunused-parameter] 462 | int ftw_integer, struct FTW *ftwp) | ~~~~~~~~~~~~^~~~ test_func64.c: In function 'test_func16': test_func64.c:478:57: warning: unused parameter 'stat_pointer' [-Wunused-parameter] 478 | test_func16(const char *path_name, const struct stat64 *stat_pointer, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ test_func64.c:479:17: warning: unused parameter 'ftw_integer' [-Wunused-parameter] 479 | int ftw_integer, struct FTW *ftwp) | ~~~~^~~~~~~~~~~ test_func64.c: In function 'test_func17': test_func64.c:508:57: warning: unused parameter 'stat_pointer' [-Wunused-parameter] 508 | test_func17(const char *path_name, const struct stat64 *stat_pointer, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ test_func64.c:509:42: warning: unused parameter 'ftwp' [-Wunused-parameter] 509 | int ftw_integer, struct FTW *ftwp) | ~~~~~~~~~~~~^~~~ test_func64.c: In function 'test_func18': test_func64.c:521:57: warning: unused parameter 'stat_pointer' [-Wunused-parameter] 521 | test_func18(const char *path_name, const struct stat64 *stat_pointer, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ test_func64.c:522:42: warning: unused parameter 'ftwp' [-Wunused-parameter] 522 | int ftw_integer, struct FTW *ftwp) | ~~~~~~~~~~~~^~~~ test_func64.c: In function 'test_func19': test_func64.c:533:57: warning: unused parameter 'stat_pointer' [-Wunused-parameter] 533 | test_func19(const char *path_name, const struct stat64 *stat_pointer, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ test_func64.c:534:42: warning: unused parameter 'ftwp' [-Wunused-parameter] 534 | int ftw_integer, struct FTW *ftwp) | ~~~~~~~~~~~~^~~~ test_func64.c: In function 'test_func20': test_func64.c:558:25: warning: unused parameter 'path_name' [-Wunused-parameter] 558 | test_func20(const char *path_name, const struct stat64 *stat_pointer, | ~~~~~~~~~~~~^~~~~~~~~ test_func64.c:558:57: warning: unused parameter 'stat_pointer' [-Wunused-parameter] 558 | test_func20(const char *path_name, const struct stat64 *stat_pointer, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ test_func64.c:559:17: warning: unused parameter 'ftw_integer' [-Wunused-parameter] 559 | int ftw_integer, struct FTW *ftwp) | ~~~~^~~~~~~~~~~ test_func64.c:559:42: warning: unused parameter 'ftwp' [-Wunused-parameter] 559 | int ftw_integer, struct FTW *ftwp) | ~~~~~~~~~~~~^~~~ test_func64.c: In function 'test_func21': test_func64.c:565:57: warning: unused parameter 'stat_pointer' [-Wunused-parameter] 565 | test_func21(const char *path_name, const struct stat64 *stat_pointer, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ test_func64.c:566:17: warning: unused parameter 'ftw_integer' [-Wunused-parameter] 566 | int ftw_integer, struct FTW *ftwp) | ~~~~^~~~~~~~~~~ test_func64.c:566:42: warning: unused parameter 'ftwp' [-Wunused-parameter] 566 | int ftw_integer, struct FTW *ftwp) | ~~~~~~~~~~~~^~~~ test_func64.c: In function 'test_func22': test_func64.c:594:57: warning: unused parameter 'stat_pointer' [-Wunused-parameter] 594 | test_func22(const char *path_name, const struct stat64 *stat_pointer, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ test_func64.c:595:17: warning: unused parameter 'ftw_integer' [-Wunused-parameter] 595 | int ftw_integer, struct FTW *ftwp) | ~~~~^~~~~~~~~~~ test_func64.c: In function 'test_func23': test_func64.c:626:57: warning: unused parameter 'stat_pointer' [-Wunused-parameter] 626 | test_func23(const char *path_name, const struct stat64 *stat_pointer, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ test_func64.c:627:42: warning: unused parameter 'ftwp' [-Wunused-parameter] 627 | int ftw_integer, struct FTW *ftwp) | ~~~~~~~~~~~~^~~~ CC testcases/kernel/syscalls/nftw/test_func64.o /home/thomas/autobuild/instance-0/output-1/host/bin/x86_64-buildroot-linux-gnu-gcc -L../../../../lib nftw64.o tools64.o test_func64.o test64.o lib64.o -L/home/thomas/autobuild/instance-0/output-1/host/bin/../x86_64-buildroot-linux-gnu/sysroot/usr/lib -ltirpc -lltp -o nftw6401 In file included from quotactl02.h:15, from quotactl02.c:28: quotactl_syscall_var.h:24:13: warning: 'quotactl_info' defined but not used [-Wunused-function] 24 | static void quotactl_info(void) | ^~~~~~~~~~~~~ quotactl_syscall_var.h:17:12: warning: 'do_quotactl' defined but not used [-Wunused-function] 17 | static int do_quotactl(int fd, int cmd, const char *special, int id, caddr_t addr) | ^~~~~~~~~~~ quotactl_syscall_var.h:15:12: warning: 'fd' defined but not used [-Wunused-variable] 15 | static int fd = -1; | ^~ In file included from quotactl03.c:32: quotactl_syscall_var.h:24:13: warning: 'quotactl_info' defined but not used [-Wunused-function] 24 | static void quotactl_info(void) | ^~~~~~~~~~~~~ quotactl_syscall_var.h:17:12: warning: 'do_quotactl' defined but not used [-Wunused-function] 17 | static int do_quotactl(int fd, int cmd, const char *special, int id, caddr_t addr) | ^~~~~~~~~~~ quotactl_syscall_var.h:15:12: warning: 'fd' defined but not used [-Wunused-variable] 15 | static int fd = -1; | ^~ CC testcases/kernel/syscalls/quotactl/quotactl02 CC testcases/kernel/syscalls/quotactl/quotactl03 CC testcases/kernel/syscalls/quotactl/quotactl01 CC testcases/kernel/syscalls/quotactl/quotactl04 In file included from quotactl02.h:15, from quotactl05.c:21: quotactl_syscall_var.h:24:13: warning: 'quotactl_info' defined but not used [-Wunused-function] 24 | static void quotactl_info(void) | ^~~~~~~~~~~~~ quotactl_syscall_var.h:17:12: warning: 'do_quotactl' defined but not used [-Wunused-function] 17 | static int do_quotactl(int fd, int cmd, const char *special, int id, caddr_t addr) | ^~~~~~~~~~~ quotactl_syscall_var.h:15:12: warning: 'fd' defined but not used [-Wunused-variable] 15 | static int fd = -1; | ^~ In file included from quotactl07.c:22: quotactl_syscall_var.h:24:13: warning: 'quotactl_info' defined but not used [-Wunused-function] 24 | static void quotactl_info(void) | ^~~~~~~~~~~~~ quotactl_syscall_var.h:17:12: warning: 'do_quotactl' defined but not used [-Wunused-function] 17 | static int do_quotactl(int fd, int cmd, const char *special, int id, caddr_t addr) | ^~~~~~~~~~~ quotactl_syscall_var.h:15:12: warning: 'fd' defined but not used [-Wunused-variable] 15 | static int fd = -1; | ^~ CC testcases/kernel/syscalls/quotactl/quotactl05 CC testcases/kernel/syscalls/quotactl/quotactl07 CC testcases/kernel/syscalls/quotactl/quotactl06 CC testcases/kernel/syscalls/quotactl/quotactl08 CC testcases/kernel/syscalls/quotactl/quotactl09 CC testcases/kernel/syscalls/setreuid/setreuid04.o CC testcases/kernel/syscalls/setreuid/setreuid01.o CC testcases/kernel/syscalls/setreuid/setreuid02.o CC testcases/kernel/syscalls/setreuid/setreuid03.o CC testcases/kernel/syscalls/setreuid/setreuid01_16.o CC testcases/kernel/syscalls/setreuid/setreuid05.o CC testcases/kernel/syscalls/setreuid/setreuid02_16.o CC testcases/kernel/syscalls/setreuid/setreuid07.o CC testcases/kernel/syscalls/setreuid/setreuid03_16.o CC testcases/kernel/syscalls/setreuid/setreuid06.o CC testcases/kernel/syscalls/setreuid/setreuid04_16.o CC testcases/kernel/syscalls/setreuid/setreuid05_16.o CC testcases/kernel/syscalls/setreuid/setreuid06_16.o CC testcases/kernel/syscalls/setreuid/setreuid07_16.o LD testcases/kernel/syscalls/setreuid/setreuid01 LD testcases/kernel/syscalls/setreuid/setreuid02 LD testcases/kernel/syscalls/setreuid/setreuid03 LD testcases/kernel/syscalls/setreuid/setreuid04 LD testcases/kernel/syscalls/setreuid/setreuid05 LD testcases/kernel/syscalls/setreuid/setreuid06 LD testcases/kernel/syscalls/setreuid/setreuid07 LD testcases/kernel/syscalls/setreuid/setreuid02_16 LD testcases/kernel/syscalls/setreuid/setreuid03_16 LD testcases/kernel/syscalls/setreuid/setreuid01_16 LD testcases/kernel/syscalls/setreuid/setreuid04_16 LD testcases/kernel/syscalls/setreuid/setreuid05_16 LD testcases/kernel/syscalls/setreuid/setreuid07_16 LD testcases/kernel/syscalls/setreuid/setreuid06_16 rm setreuid01_16.o setreuid03.o setreuid01.o setreuid02_16.o setreuid05.o setreuid07.o setreuid03_16.o setreuid05_16.o setreuid07_16.o setreuid04.o setreuid04_16.o setreuid06.o setreuid02.o setreuid06_16.o CC testcases/kernel/syscalls/fchmod/fchmod03 CC testcases/kernel/syscalls/fchmod/fchmod02 CC testcases/kernel/syscalls/fchmod/fchmod01 CC testcases/kernel/syscalls/fchmod/fchmod04 CC testcases/kernel/syscalls/fchmod/fchmod05 CC testcases/kernel/syscalls/fchmod/fchmod06 CC testcases/kernel/syscalls/sched_get_priority_max/sched_get_priority_max02 CC testcases/kernel/syscalls/sched_get_priority_max/sched_get_priority_max01 CC testcases/kernel/syscalls/lchown/lchown01_16.o CC testcases/kernel/syscalls/lchown/lchown01.o CC testcases/kernel/syscalls/lchown/lchown02_16.o CC testcases/kernel/syscalls/lchown/lchown02.o CC testcases/kernel/syscalls/lchown/lchown03_16.o CC testcases/kernel/syscalls/lchown/lchown03.o LD testcases/kernel/syscalls/lchown/lchown01 LD testcases/kernel/syscalls/lchown/lchown02 LD testcases/kernel/syscalls/lchown/lchown03 LD testcases/kernel/syscalls/lchown/lchown01_16 LD testcases/kernel/syscalls/lchown/lchown02_16 LD testcases/kernel/syscalls/lchown/lchown03_16 rm lchown01_16.o lchown03.o lchown02_16.o lchown03_16.o lchown01.o lchown02.o CC testcases/kernel/syscalls/umask/umask01 BUILD libltpnewipc.a make[7]: Nothing to be done for 'all'. CC testcases/kernel/syscalls/ipc/shmdt/shmdt01 CC testcases/kernel/syscalls/ipc/shmdt/shmdt02 BUILD libltpipc.a BUILD libltpnewipc.a make[7]: Nothing to be done for 'all'. make[7]: Nothing to be done for 'all'. CC testcases/kernel/syscalls/ipc/semctl/semctl04 CC testcases/kernel/syscalls/ipc/semctl/semctl02 CC testcases/kernel/syscalls/ipc/semctl/semctl03 semctl06.c: In function 'term': semctl06.c:288:22: warning: unused parameter 'sig' [-Wunused-parameter] 288 | static void term(int sig) | ~~~~^~~ CC testcases/kernel/syscalls/ipc/semctl/semctl01 CC testcases/kernel/syscalls/ipc/semctl/semctl05 CC testcases/kernel/syscalls/ipc/semctl/semctl07 CC testcases/kernel/syscalls/ipc/semctl/semctl06 CC testcases/kernel/syscalls/ipc/semctl/semctl08 CC testcases/kernel/syscalls/ipc/semctl/semctl09 BUILD libltpnewipc.a make[7]: Nothing to be done for 'all'. CC testcases/kernel/syscalls/ipc/msgsnd/msgsnd06 CC testcases/kernel/syscalls/ipc/msgsnd/msgsnd01 CC testcases/kernel/syscalls/ipc/msgsnd/msgsnd02 CC testcases/kernel/syscalls/ipc/msgsnd/msgsnd05 BUILD libltpnewipc.a make[7]: Nothing to be done for 'all'. CC testcases/kernel/syscalls/ipc/shmat/shmat03 CC testcases/kernel/syscalls/ipc/shmat/shmat01 CC testcases/kernel/syscalls/ipc/shmat/shmat02 BUILD libltpnewipc.a make[7]: Nothing to be done for 'all'. CC testcases/kernel/syscalls/ipc/msgrcv/msgrcv03 CC testcases/kernel/syscalls/ipc/msgrcv/msgrcv05 CC testcases/kernel/syscalls/ipc/msgrcv/msgrcv01 CC testcases/kernel/syscalls/ipc/msgrcv/msgrcv02 CC testcases/kernel/syscalls/ipc/msgrcv/msgrcv06 CC testcases/kernel/syscalls/ipc/msgrcv/msgrcv08 CC testcases/kernel/syscalls/ipc/msgrcv/msgrcv07 BUILD libltpnewipc.a make[7]: Nothing to be done for 'all'. CC testcases/kernel/syscalls/ipc/semop/semop01 CC testcases/kernel/syscalls/ipc/semop/semop03 CC testcases/kernel/syscalls/ipc/semop/semop02 BUILD libltpnewipc.a make[7]: Nothing to be done for 'all'. CC testcases/kernel/syscalls/ipc/msgctl/msgctl03 CC testcases/kernel/syscalls/ipc/msgctl/msgctl02 CC testcases/kernel/syscalls/ipc/msgctl/msgctl01 CC testcases/kernel/syscalls/ipc/msgctl/msgctl04 CC testcases/kernel/syscalls/ipc/msgctl/msgctl05 CC testcases/kernel/syscalls/ipc/msgctl/msgctl12 CC testcases/kernel/syscalls/ipc/msgctl/msgctl06 BUILD libltpipc.a make[7]: Nothing to be done for 'all'. CC testcases/kernel/syscalls/ipc/semget/semget03 CC testcases/kernel/syscalls/ipc/semget/semget02 CC testcases/kernel/syscalls/ipc/semget/semget01 CC testcases/kernel/syscalls/ipc/semget/semget05 CC testcases/kernel/syscalls/ipc/semget/semget06 BUILD libltpnewipc.a make[7]: Nothing to be done for 'all'. CC testcases/kernel/syscalls/ipc/shmget/shmget05 CC testcases/kernel/syscalls/ipc/shmget/shmget03 CC testcases/kernel/syscalls/ipc/shmget/shmget02 CC testcases/kernel/syscalls/ipc/shmget/shmget04 CC testcases/kernel/syscalls/ipc/shmget/shmget06 BUILD libltpipc.a make[7]: Nothing to be done for 'all'. msgstress03.c: In function 'dotest': msgstress03.c:212:9: warning: 'sighold' is deprecated: Use the sigprocmask function instead [-Wdeprecated-declarations] 212 | sighold(SIGTERM); | ^~~~~~~ In file included from msgstress03.c:28: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/signal.h:355:12: note: declared here 355 | extern int sighold (int __sig) __THROW | ^~~~~~~ msgstress03.c:220:9: warning: 'sigrelse' is deprecated: Use the sigprocmask function instead [-Wdeprecated-declarations] 220 | sigrelse(SIGTERM); | ^~~~~~~~ In file included from msgstress03.c:28: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/signal.h:359:12: note: declared here 359 | extern int sigrelse (int __sig) __THROW | ^~~~~~~~ msgstress01.c: In function 'dotest': msgstress01.c:207:9: warning: 'sighold' is deprecated: Use the sigprocmask function instead [-Wdeprecated-declarations] 207 | sighold(SIGTERM); | ^~~~~~~ In file included from msgstress01.c:27: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/signal.h:355:12: note: declared here 355 | extern int sighold (int __sig) __THROW | ^~~~~~~ msgstress04.c: In function 'main': msgstress01.c:216:9: warning: 'sigrelse' is deprecated: Use the sigprocmask function instead [-Wdeprecated-declarations] 216 | sigrelse(SIGTERM); | ^~~~~~~~ In file included from msgstress01.c:27: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/signal.h:359:12: note: declared here 359 | extern int sigrelse (int __sig) __THROW | ^~~~~~~~ msgstress04.c:139:9: warning: 'sigset' is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 139 | if (sigset(SIGTERM, term) == SIG_ERR) | ^~ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/sys/wait.h:36, from msgstress04.c:32: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/signal.h:367:23: note: declared here 367 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ msgstress04.c: In function 'dotest': msgstress04.c:266:9: warning: 'sighold' is deprecated: Use the sigprocmask function instead [-Wdeprecated-declarations] 266 | sighold(SIGTERM); | ^~~~~~~ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/sys/wait.h:36, from msgstress04.c:32: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/signal.h:355:12: note: declared here 355 | extern int sighold (int __sig) __THROW | ^~~~~~~ msgstress04.c:273:9: warning: 'sigrelse' is deprecated: Use the sigprocmask function instead [-Wdeprecated-declarations] 273 | sigrelse(SIGTERM); | ^~~~~~~~ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/sys/wait.h:36, from msgstress04.c:32: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/signal.h:359:12: note: declared here 359 | extern int sigrelse (int __sig) __THROW | ^~~~~~~~ msgstress02.c: In function 'main': msgstress02.c:134:9: warning: 'sigset' is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 134 | if (sigset(SIGTERM, term) == SIG_ERR) { | ^~ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/sys/wait.h:36, from msgstress02.c:31: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/signal.h:367:23: note: declared here 367 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ msgstress02.c: In function 'dotest': msgstress02.c:239:9: warning: 'sighold' is deprecated: Use the sigprocmask function instead [-Wdeprecated-declarations] 239 | sighold(SIGTERM); | ^~~~~~~ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/sys/wait.h:36, from msgstress02.c:31: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/signal.h:355:12: note: declared here 355 | extern int sighold (int __sig) __THROW | ^~~~~~~ msgstress02.c:246:9: warning: 'sigrelse' is deprecated: Use the sigprocmask function instead [-Wdeprecated-declarations] 246 | sigrelse(SIGTERM); | ^~~~~~~~ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/sys/wait.h:36, from msgstress02.c:31: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/signal.h:359:12: note: declared here 359 | extern int sigrelse (int __sig) __THROW | ^~~~~~~~ CC testcases/kernel/syscalls/ipc/msgstress/msgstress01 CC testcases/kernel/syscalls/ipc/msgstress/msgstress03 CC testcases/kernel/syscalls/ipc/msgstress/msgstress04 CC testcases/kernel/syscalls/ipc/msgstress/msgstress02 BUILD libltpnewipc.a make[7]: Nothing to be done for 'all'. CC testcases/kernel/syscalls/ipc/msgget/msgget02 CC testcases/kernel/syscalls/ipc/msgget/msgget01 CC testcases/kernel/syscalls/ipc/msgget/msgget04 CC testcases/kernel/syscalls/ipc/msgget/msgget03 CC testcases/kernel/syscalls/ipc/msgget/msgget05 BUILD libltpnewipc.a make[7]: Nothing to be done for 'all'. CC testcases/kernel/syscalls/ipc/shmctl/shmctl03 CC testcases/kernel/syscalls/ipc/shmctl/shmctl02 CC testcases/kernel/syscalls/ipc/shmctl/shmctl04 CC testcases/kernel/syscalls/ipc/shmctl/shmctl01 shmctl08.c: In function 'check_mode': shmctl08.c:41:31: warning: comparison of integer expressions of different signedness: '__mode_t' {aka 'unsigned int'} and 'short int' [-Wsign-compare] 41 | if (ds->shm_perm.mode == exp_mode) { | ^~ CC testcases/kernel/syscalls/ipc/shmctl/shmctl06 CC testcases/kernel/syscalls/ipc/shmctl/shmctl07 CC testcases/kernel/syscalls/ipc/shmctl/shmctl08 CC testcases/kernel/syscalls/ipc/shmctl/shmctl05 CC testcases/kernel/syscalls/statvfs/statvfs01 CC testcases/kernel/syscalls/statvfs/statvfs02 CC testcases/kernel/syscalls/sched_getaffinity/sched_getaffinity01 CC testcases/kernel/syscalls/mallinfo2/mallinfo2_01 CC testcases/kernel/syscalls/signal/signal02 CC testcases/kernel/syscalls/signal/signal03 CC testcases/kernel/syscalls/signal/signal04 CC testcases/kernel/syscalls/signal/signal01 CC testcases/kernel/syscalls/signal/signal05 CC testcases/kernel/syscalls/signal/signal06 CC testcases/kernel/syscalls/getpgrp/getpgrp01 CC testcases/kernel/syscalls/ustat/ustat01 CC testcases/kernel/syscalls/ustat/ustat02 CC testcases/kernel/syscalls/removexattr/removexattr01 CC testcases/kernel/syscalls/removexattr/removexattr02 CC testcases/kernel/syscalls/mmap/mmap02 CC testcases/kernel/syscalls/mmap/mmap01 CC testcases/kernel/syscalls/mmap/mmap03 CC testcases/kernel/syscalls/mmap/mmap001 mmap05.c: In function 'main': mmap05.c:70:14: warning: variable 'file_content' set but not used [-Wunused-but-set-variable] 70 | char file_content; | ^~~~~~~~~~~~ CC testcases/kernel/syscalls/mmap/mmap04 CC testcases/kernel/syscalls/mmap/mmap05 CC testcases/kernel/syscalls/mmap/mmap06 CC testcases/kernel/syscalls/mmap/mmap07 mmap11.c: In function 'wait_thread': mmap11.c:128:25: warning: unused parameter 'args' [-Wunused-parameter] 128 | void *wait_thread(void *args) | ~~~~~~^~~~ mmap11.c: In function 'wait_thread2': mmap11.c:139:26: warning: unused parameter 'args' [-Wunused-parameter] 139 | void *wait_thread2(void *args) | ~~~~~~^~~~ CC testcases/kernel/syscalls/mmap/mmap08 CC testcases/kernel/syscalls/mmap/mmap09 CC testcases/kernel/syscalls/mmap/mmap11 CC testcases/kernel/syscalls/mmap/mmap10 CC testcases/kernel/syscalls/mmap/mmap13 CC testcases/kernel/syscalls/mmap/mmap14 CC testcases/kernel/syscalls/mmap/mmap12 CC testcases/kernel/syscalls/mmap/mmap15 CC testcases/kernel/syscalls/mmap/mmap17 CC testcases/kernel/syscalls/mmap/mmap18 CC testcases/kernel/syscalls/mmap/mmap16 CC testcases/kernel/syscalls/mmap/mmap19 CC testcases/kernel/syscalls/close/close02 CC testcases/kernel/syscalls/close/close01 CC testcases/kernel/syscalls/mknodat/mknodat01 CC testcases/kernel/syscalls/mknodat/mknodat02 CC testcases/kernel/syscalls/name_to_handle_at/name_to_handle_at01 CC testcases/kernel/syscalls/name_to_handle_at/name_to_handle_at02 BUILD libltpswap.a make[6]: Nothing to be done for 'all'. CC testcases/kernel/syscalls/swapon/swapon01 CC testcases/kernel/syscalls/swapon/swapon02 CC testcases/kernel/syscalls/swapon/swapon03 /home/thomas/autobuild/instance-0/output-1/host/bin/x86_64-buildroot-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -Og -g0 -D_FORTIFY_SOURCE=1 -I/home/thomas/autobuild/instance-0/output-1/host/bin/../x86_64-buildroot-linux-gnu/sysroot/usr/include/tirpc -g -O2 -fno-strict-aliasing -pipe -Wall -W -Wold-style-definition -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DTEST_SETHOSTNAME -I../../../../include -I../../../../include -I../../../../include/old/ -L../../../../lib /home/thomas/autobuild/instance-0/output-1/build/ltp-testsuite-20220930/testcases/kernel/syscalls/sethostname/../setdomainname/setdomainname01.c -L/home/thomas/autobuild/instance-0/output-1/host/bin/../x86_64-buildroot-linux-gnu/sysroot/usr/lib -ltirpc -lltp -o sethostname01 /home/thomas/autobuild/instance-0/output-1/host/bin/x86_64-buildroot-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -Og -g0 -D_FORTIFY_SOURCE=1 -I/home/thomas/autobuild/instance-0/output-1/host/bin/../x86_64-buildroot-linux-gnu/sysroot/usr/include/tirpc -g -O2 -fno-strict-aliasing -pipe -Wall -W -Wold-style-definition -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DTEST_SETHOSTNAME -I../../../../include -I../../../../include -I../../../../include/old/ -L../../../../lib /home/thomas/autobuild/instance-0/output-1/build/ltp-testsuite-20220930/testcases/kernel/syscalls/sethostname/../setdomainname/setdomainname02.c -L/home/thomas/autobuild/instance-0/output-1/host/bin/../x86_64-buildroot-linux-gnu/sysroot/usr/lib -ltirpc -lltp -o sethostname02 /home/thomas/autobuild/instance-0/output-1/host/bin/x86_64-buildroot-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -Og -g0 -D_FORTIFY_SOURCE=1 -I/home/thomas/autobuild/instance-0/output-1/host/bin/../x86_64-buildroot-linux-gnu/sysroot/usr/include/tirpc -g -O2 -fno-strict-aliasing -pipe -Wall -W -Wold-style-definition -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DTEST_SETHOSTNAME -I../../../../include -I../../../../include -I../../../../include/old/ -L../../../../lib /home/thomas/autobuild/instance-0/output-1/build/ltp-testsuite-20220930/testcases/kernel/syscalls/sethostname/../setdomainname/setdomainname03.c -L/home/thomas/autobuild/instance-0/output-1/host/bin/../x86_64-buildroot-linux-gnu/sysroot/usr/lib -ltirpc -lltp -o sethostname03 CC testcases/kernel/syscalls/exit_group/exit_group01 CC testcases/kernel/syscalls/tgkill/tgkill02 CC testcases/kernel/syscalls/tgkill/tgkill03 CC testcases/kernel/syscalls/tgkill/tgkill01 CC testcases/kernel/syscalls/pwritev2/pwritev201_64.o CC testcases/kernel/syscalls/pwritev2/pwritev202_64.o CC testcases/kernel/syscalls/pwritev2/pwritev202 CC testcases/kernel/syscalls/pwritev2/pwritev201 LD testcases/kernel/syscalls/pwritev2/pwritev202_64 LD testcases/kernel/syscalls/pwritev2/pwritev201_64 rm pwritev201_64.o pwritev202_64.o CC testcases/kernel/syscalls/profil/profil01 CC testcases/kernel/syscalls/setfsuid/setfsuid03.o CC testcases/kernel/syscalls/setfsuid/setfsuid01_16.o CC testcases/kernel/syscalls/setfsuid/setfsuid02.o CC testcases/kernel/syscalls/setfsuid/setfsuid02_16.o CC testcases/kernel/syscalls/setfsuid/setfsuid01.o CC testcases/kernel/syscalls/setfsuid/setfsuid03_16.o CC testcases/kernel/syscalls/setfsuid/setfsuid04.o CC testcases/kernel/syscalls/setfsuid/setfsuid04_16.o LD testcases/kernel/syscalls/setfsuid/setfsuid01 LD testcases/kernel/syscalls/setfsuid/setfsuid03 LD testcases/kernel/syscalls/setfsuid/setfsuid02 LD testcases/kernel/syscalls/setfsuid/setfsuid04 LD testcases/kernel/syscalls/setfsuid/setfsuid01_16 LD testcases/kernel/syscalls/setfsuid/setfsuid02_16 LD testcases/kernel/syscalls/setfsuid/setfsuid04_16 LD testcases/kernel/syscalls/setfsuid/setfsuid03_16 rm setfsuid04_16.o setfsuid01.o setfsuid02.o setfsuid01_16.o setfsuid03.o setfsuid02_16.o setfsuid03_16.o setfsuid04.o CC testcases/kernel/syscalls/getuid/getuid01_16.o CC testcases/kernel/syscalls/getuid/getuid03_16.o CC testcases/kernel/syscalls/getuid/getuid01.o CC testcases/kernel/syscalls/getuid/getuid03.o LD testcases/kernel/syscalls/getuid/getuid01 LD testcases/kernel/syscalls/getuid/getuid03_16 LD testcases/kernel/syscalls/getuid/getuid01_16 LD testcases/kernel/syscalls/getuid/getuid03 rm getuid01_16.o getuid03.o getuid03_16.o getuid01.o CC testcases/kernel/syscalls/setdomainname/setdomainname01 CC testcases/kernel/syscalls/setdomainname/setdomainname03 CC testcases/kernel/syscalls/setdomainname/setdomainname02 CC testcases/kernel/syscalls/io_submit/io_submit01 CC testcases/kernel/syscalls/io_submit/io_submit02 CC testcases/kernel/syscalls/io_submit/io_submit03 CC testcases/kernel/syscalls/pipe2/pipe2_02_child CC testcases/kernel/syscalls/pipe2/pipe2_01 CC testcases/kernel/syscalls/pipe2/pipe2_02 CC testcases/kernel/syscalls/pipe2/pipe2_04 mlockall02.c: In function 'cleanup_test': mlockall02.c:238:25: warning: ignoring return value of 'seteuid' declared with attribute 'warn_unused_result' [-Wunused-result] 238 | seteuid(0); | ^~~~~~~~~~ CC testcases/kernel/syscalls/mlockall/mlockall01 CC testcases/kernel/syscalls/mlockall/mlockall02 CC testcases/kernel/syscalls/mlockall/mlockall03 CC testcases/kernel/syscalls/sched_yield/sched_yield01 CC testcases/kernel/syscalls/getdomainname/getdomainname01 CC testcases/kernel/syscalls/add_key/add_key02 CC testcases/kernel/syscalls/add_key/add_key01 CC testcases/kernel/syscalls/add_key/add_key03 CC testcases/kernel/syscalls/add_key/add_key04 CC testcases/kernel/syscalls/add_key/add_key05 fork01.c: In function 'child_pid': fork01.c:120:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 120 | write(fildes, tmp_line, LINE_SZ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fork04.c: In function 'child_environment': fork04.c:157:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 157 | write(fildes, msg, sizeof(msg)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC testcases/kernel/syscalls/fork/fork03 CC testcases/kernel/syscalls/fork/fork02 CC testcases/kernel/syscalls/fork/fork01 CC testcases/kernel/syscalls/fork/fork04 CC testcases/kernel/syscalls/fork/fork05 CC testcases/kernel/syscalls/fork/fork06 CC testcases/kernel/syscalls/fork/fork07 fork10.c: In function 'main': fork10.c:77:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 77 | write(fildes, "ABCDEFGHIJKLMNOPQRSTUVWXYZ\n", 27); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fork10.c:127:41: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 127 | write(fildes, parchar, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~ CC testcases/kernel/syscalls/fork/fork08 CC testcases/kernel/syscalls/fork/fork11 CC testcases/kernel/syscalls/fork/fork10 CC testcases/kernel/syscalls/fork/fork09 CC testcases/kernel/syscalls/fork/fork12 CC testcases/kernel/syscalls/fork/fork13 CC testcases/kernel/syscalls/fork/fork14 CC testcases/kernel/syscalls/sched_getscheduler/sched_getscheduler01 CC testcases/kernel/syscalls/sched_getscheduler/sched_getscheduler02 clone02.c: In function 'sig_child_defined_handler': clone02.c:456:43: warning: unused parameter 'pid' [-Wunused-parameter] 456 | static void sig_child_defined_handler(int pid) | ~~~~^~~ CC testcases/kernel/syscalls/clone/clone03 CC testcases/kernel/syscalls/clone/clone01 CC testcases/kernel/syscalls/clone/clone04 CC testcases/kernel/syscalls/clone/clone02 CC testcases/kernel/syscalls/clone/clone06 CC testcases/kernel/syscalls/clone/clone05 CC testcases/kernel/syscalls/clone/clone07 CC testcases/kernel/syscalls/clone/clone08 CC testcases/kernel/syscalls/clone/clone09 CC testcases/kernel/syscalls/getgid/getgid01_16.o CC testcases/kernel/syscalls/getgid/getgid03_16.o CC testcases/kernel/syscalls/getgid/getgid03.o CC testcases/kernel/syscalls/getgid/getgid01.o LD testcases/kernel/syscalls/getgid/getgid03 LD testcases/kernel/syscalls/getgid/getgid01_16 LD testcases/kernel/syscalls/getgid/getgid01 LD testcases/kernel/syscalls/getgid/getgid03_16 rm getgid03.o getgid03_16.o getgid01.o getgid01_16.o CC testcases/kernel/syscalls/io_getevents/io_getevents02 CC testcases/kernel/syscalls/io_getevents/io_getevents01 CC testcases/kernel/syscalls/confstr/confstr01 CC testcases/kernel/syscalls/execv/execv01 CC testcases/kernel/syscalls/execv/execv01_child fmtmsg01.c: In function 'main': fmtmsg01.c:103:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 103 | fread(buf, sizeof(buf[0]), strlen(str1), fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmtmsg01.c:112:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 112 | fread(&ch, sizeof(ch), 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmtmsg01.c:114:17: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 114 | fread(&ch, sizeof(ch), 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmtmsg01.c:118:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 118 | fread(buf, sizeof(buf[0]), strlen(str2), fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmtmsg01.c:169:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 169 | fread(buf, sizeof(buf[0]), strlen(str3), fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmtmsg01.c:178:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 178 | fread(&ch, sizeof(ch), 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmtmsg01.c:180:17: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 180 | fread(&ch, sizeof(ch), 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fmtmsg01.c:184:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 184 | fread(buf, sizeof(buf[0]), strlen(str4), fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC testcases/kernel/syscalls/fmtmsg/fmtmsg01 CC testcases/kernel/syscalls/fchown/fchown04.o CC testcases/kernel/syscalls/fchown/fchown01.o CC testcases/kernel/syscalls/fchown/fchown01_16.o CC testcases/kernel/syscalls/fchown/fchown02.o CC testcases/kernel/syscalls/fchown/fchown02_16.o CC testcases/kernel/syscalls/fchown/fchown03.o CC testcases/kernel/syscalls/fchown/fchown03_16.o CC testcases/kernel/syscalls/fchown/fchown05.o CC testcases/kernel/syscalls/fchown/fchown04_16.o CC testcases/kernel/syscalls/fchown/fchown05_16.o LD testcases/kernel/syscalls/fchown/fchown01 LD testcases/kernel/syscalls/fchown/fchown02 LD testcases/kernel/syscalls/fchown/fchown03 LD testcases/kernel/syscalls/fchown/fchown04 LD testcases/kernel/syscalls/fchown/fchown05 LD testcases/kernel/syscalls/fchown/fchown01_16 LD testcases/kernel/syscalls/fchown/fchown02_16 LD testcases/kernel/syscalls/fchown/fchown03_16 LD testcases/kernel/syscalls/fchown/fchown05_16 LD testcases/kernel/syscalls/fchown/fchown04_16 rm fchown03.o fchown01.o fchown05.o fchown02_16.o fchown05_16.o fchown04.o fchown04_16.o fchown03_16.o fchown02.o fchown01_16.o recvmsg01.c: In function 'do_child': recvmsg01.c:463:39: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 463 | (void)write(newfd, "hoser\n", 6); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ CC testcases/kernel/syscalls/recvmsg/recvmsg03 CC testcases/kernel/syscalls/recvmsg/recvmsg02 CC testcases/kernel/syscalls/recvmsg/recvmsg01 CC testcases/kernel/syscalls/io_setup/io_setup01 CC testcases/kernel/syscalls/io_setup/io_setup02 CC testcases/kernel/syscalls/setitimer/setitimer03 CC testcases/kernel/syscalls/setitimer/setitimer01 CC testcases/kernel/syscalls/setitimer/setitimer02 CC testcases/kernel/syscalls/setpgid/setpgid03_child CC testcases/kernel/syscalls/setpgid/setpgid03 CC testcases/kernel/syscalls/setpgid/setpgid02 CC testcases/kernel/syscalls/setpgid/setpgid01 CC testcases/kernel/syscalls/pathconf/pathconf01 CC testcases/kernel/syscalls/ioctl/ioctl03 CC testcases/kernel/syscalls/ioctl/ioctl04 CC testcases/kernel/syscalls/ioctl/ioctl01 CC testcases/kernel/syscalls/ioctl/ioctl02 CC testcases/kernel/syscalls/ioctl/ioctl07 CC testcases/kernel/syscalls/ioctl/ioctl06 CC testcases/kernel/syscalls/ioctl/ioctl05 CC testcases/kernel/syscalls/ioctl/ioctl08 CC testcases/kernel/syscalls/ioctl/ioctl09 CC testcases/kernel/syscalls/ioctl/ioctl_loop01 CC testcases/kernel/syscalls/ioctl/ioctl_loop02 CC testcases/kernel/syscalls/ioctl/ioctl_loop03 CC testcases/kernel/syscalls/ioctl/ioctl_loop04 CC testcases/kernel/syscalls/ioctl/ioctl_loop06 CC testcases/kernel/syscalls/ioctl/ioctl_loop05 CC testcases/kernel/syscalls/ioctl/ioctl_ns01 CC testcases/kernel/syscalls/ioctl/ioctl_loop07 CC testcases/kernel/syscalls/ioctl/ioctl_ns02 CC testcases/kernel/syscalls/ioctl/ioctl_ns03 CC testcases/kernel/syscalls/ioctl/ioctl_ns04 CC testcases/kernel/syscalls/ioctl/ioctl_ns07 CC testcases/kernel/syscalls/ioctl/ioctl_ns05 CC testcases/kernel/syscalls/ioctl/ioctl_ns06 CC testcases/kernel/syscalls/ioctl/ioctl_sg01 CC testcases/kernel/syscalls/symlinkat/symlinkat01 CC testcases/kernel/syscalls/gethostbyname_r/gethostbyname_r01 CC testcases/kernel/syscalls/pivot_root/pivot_root01 CC testcases/kernel/syscalls/llistxattr/llistxattr02 CC testcases/kernel/syscalls/llistxattr/llistxattr03 CC testcases/kernel/syscalls/llistxattr/llistxattr01 CC testcases/kernel/syscalls/fsopen/fsopen02 CC testcases/kernel/syscalls/fsopen/fsopen01 CC testcases/kernel/syscalls/timer_delete/timer_delete01 CC testcases/kernel/syscalls/timer_delete/timer_delete02 CC testcases/kernel/syscalls/futex/futex_wait01 CC testcases/kernel/syscalls/futex/futex_wait02 CC testcases/kernel/syscalls/futex/futex_cmp_requeue02 CC testcases/kernel/syscalls/futex/futex_cmp_requeue01 CC testcases/kernel/syscalls/futex/futex_wait03 CC testcases/kernel/syscalls/futex/futex_wait04 CC testcases/kernel/syscalls/futex/futex_wait05 CC testcases/kernel/syscalls/futex/futex_wait_bitset01 CC testcases/kernel/syscalls/futex/futex_waitv02 CC testcases/kernel/syscalls/futex/futex_waitv01 CC testcases/kernel/syscalls/futex/futex_waitv03 CC testcases/kernel/syscalls/futex/futex_wake01 CC testcases/kernel/syscalls/futex/futex_wake03 CC testcases/kernel/syscalls/futex/futex_wake04 CC testcases/kernel/syscalls/futex/futex_wake02 CC testcases/kernel/syscalls/time/time01 CC testcases/kernel/syscalls/execlp/execlp01_child CC testcases/kernel/syscalls/execlp/execlp01 CC testcases/kernel/syscalls/setfsgid/setfsgid01_16.o CC testcases/kernel/syscalls/setfsgid/setfsgid03.o CC testcases/kernel/syscalls/setfsgid/setfsgid02_16.o CC testcases/kernel/syscalls/setfsgid/setfsgid01.o CC testcases/kernel/syscalls/setfsgid/setfsgid03_16.o CC testcases/kernel/syscalls/setfsgid/setfsgid02.o LD testcases/kernel/syscalls/setfsgid/setfsgid01 LD testcases/kernel/syscalls/setfsgid/setfsgid03 LD testcases/kernel/syscalls/setfsgid/setfsgid01_16 LD testcases/kernel/syscalls/setfsgid/setfsgid02 LD testcases/kernel/syscalls/setfsgid/setfsgid03_16 LD testcases/kernel/syscalls/setfsgid/setfsgid02_16 rm setfsgid01.o setfsgid02.o setfsgid01_16.o setfsgid03.o setfsgid02_16.o setfsgid03_16.o CC testcases/kernel/syscalls/eventfd2/eventfd2_02 CC testcases/kernel/syscalls/eventfd2/eventfd2_03 CC testcases/kernel/syscalls/eventfd2/eventfd2_01 CC testcases/kernel/syscalls/newuname/newuname01 CC testcases/kernel/syscalls/getxattr/getxattr04 CC testcases/kernel/syscalls/getxattr/getxattr03 CC testcases/kernel/syscalls/getxattr/getxattr01 CC testcases/kernel/syscalls/getxattr/getxattr02 CC testcases/kernel/syscalls/getxattr/getxattr05 In file included from ../../../../include/tst_test.h:21, from write04.c:21: write04.c: In function 'verify_write': write04.c:31:22: warning: '' is used uninitialized [-Wuninitialized] 31 | TST_EXP_FAIL(write(wfd, wbuf, sizeof(wbuf)), EAGAIN); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../include/tst_test_macros.h:13:27: note: in definition of macro 'TEST' 13 | TST_RET = SCALL; \ | ^~~~~ ../../../../include/tst_test_macros.h:204:17: note: in expansion of macro 'TST_EXP_FAIL_SILENT_' 204 | TST_EXP_FAIL_SILENT_(TST_RET == 0, SCALL, #SCALL, \ | ^~~~~~~~~~~~~~~~~~~~ write04.c:31:9: note: in expansion of macro 'TST_EXP_FAIL' 31 | TST_EXP_FAIL(write(wfd, wbuf, sizeof(wbuf)), EAGAIN); | ^~~~~~~~~~~~ In file included from ../../../../include/tst_test.h:14, from write04.c:21: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/unistd.h:378:16: note: in a call to 'write' declared with attribute 'access (read_only, 2, 3)' here 378 | extern ssize_t write (int __fd, const void *__buf, size_t __n) __wur | ^~~~~ write04.c: In function 'setup': write04.c:40:27: warning: '%d' directive writing between 1 and 11 bytes into a region of size between 0 and 99 [-Wformat-overflow=] 40 | sprintf(fifo, "%s.%d", fifo, getpid()); | ^~ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/stdio.h:906, from write04.c:20: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 3 and 112 bytes into a destination of size 100 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ CC testcases/kernel/syscalls/write/write03 CC testcases/kernel/syscalls/write/write02 CC testcases/kernel/syscalls/write/write04 CC testcases/kernel/syscalls/write/write01 CC testcases/kernel/syscalls/write/write06 CC testcases/kernel/syscalls/write/write05 CC testcases/kernel/syscalls/tee/tee02 CC testcases/kernel/syscalls/tee/tee01 CC testcases/kernel/syscalls/clock_getres/clock_getres01 CC testcases/kernel/syscalls/getppid/getppid02 CC testcases/kernel/syscalls/getppid/getppid01 CC testcases/kernel/syscalls/set_thread_area/set_thread_area01 CC testcases/kernel/syscalls/sched_getparam/sched_getparam03 CC testcases/kernel/syscalls/sched_getparam/sched_getparam01 CC testcases/kernel/syscalls/ulimit/ulimit01 CC testcases/kernel/syscalls/fsync/fsync03 CC testcases/kernel/syscalls/fsync/fsync04 CC testcases/kernel/syscalls/fsync/fsync01 CC testcases/kernel/syscalls/fsync/fsync02 CC testcases/kernel/syscalls/io_pgetevents/io_pgetevents01 CC testcases/kernel/syscalls/io_pgetevents/io_pgetevents02 BUILD libltpipc.a BUILD libltpnewipc.a make[6]: Nothing to be done for 'all'. make[6]: Nothing to be done for 'all'. kill02.c: In function 'setup': kill02.c:694:13: warning: variable 'errno_buf' set but not used [-Wunused-but-set-variable] 694 | int errno_buf; /*indicates the errno if pipe set up fails. */ | ^~~~~~~~~ kill02.c: In function 'child1_rout': kill02.c:449:23: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 449 | (void)write(pipe1_fd[1], CHAR_SET_FAILED, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ kill02.c:481:31: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 481 | (void)write(pipe2_fd[1], CHAR_SET_FAILED, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ kill02.c:505:23: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 505 | (void)write(pipe1_fd[1], CHAR_SET_FAILED, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ kill02.c:515:23: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 515 | (void)write(pipe1_fd[1], CHAR_SET_FAILED, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ kill02.c:526:23: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 526 | (void)write(pipe1_fd[1], CHAR_SET_FAILED, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ kill02.c:554:23: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 554 | (void)write(pipe1_fd[1], CHAR_SET_FAILED, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ kill02.c:561:15: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 561 | (void)write(pipe1_fd[1], CHAR_SET_PASSED, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ kill02.c: In function 'child2_rout': kill02.c:597:23: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 597 | (void)write(pipe2_fd[1], CHAR_SET_FAILED, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ kill02.c:602:15: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 602 | (void)write(pipe2_fd[1], CHAR_SET_PASSED, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ kill02.c: In function 'childA_rout': kill02.c:618:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 618 | write(pipeA_fd[1], CHAR_SET_PASSED, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ kill02.c: In function 'childB_rout': kill02.c:660:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 660 | write(pipeB_fd[1], CHAR_SET_PASSED, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ kill02.c: In function 'chld1_kill': kill02.c:848:15: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 848 | (void)write(pipe1_fd[1], CHAR_SET_PASSED, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC testcases/kernel/syscalls/kill/kill03 CC testcases/kernel/syscalls/kill/kill06 In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/string.h:535, from kill02.c:136: In function 'strncpy', inlined from 'parent_rout' at kill02.c:315:2, inlined from 'parent_rout' at kill02.c:294:6: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/string_fortified.h:95:10: warning: '__builtin_strncpy' output may be truncated copying 1 byte from a string of length 9 [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'parent_rout' at kill02.c:321:2, inlined from 'parent_rout' at kill02.c:294:6: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/string_fortified.h:95:10: warning: '__builtin_strncpy' output may be truncated copying 1 byte from a string of length 9 [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'parent_rout' at kill02.c:435:3, inlined from 'parent_rout' at kill02.c:294:6: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/string_fortified.h:95:10: warning: '__builtin_strncpy' output may be truncated copying 1 byte from a string of length 9 [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ CC testcases/kernel/syscalls/kill/kill05 kill07.c: In function 'main': kill07.c:90:39: warning: variable 'ret' set but not used [-Wunused-but-set-variable] 90 | int exno, status, nsig, asig, ret; | ^~~ kill07.c:90:13: warning: variable 'exno' set but not used [-Wunused-but-set-variable] 90 | int exno, status, nsig, asig, ret; | ^~~~ kill07.c: In function 'sighandler': kill07.c:187:21: warning: unused parameter 'sig' [-Wunused-parameter] 187 | void sighandler(int sig) | ~~~~^~~ kill09.c: In function 'alarm_handler': kill09.c:206:24: warning: unused parameter 'sig' [-Wunused-parameter] 206 | void alarm_handler(int sig) | ~~~~^~~ CC testcases/kernel/syscalls/kill/kill02 CC testcases/kernel/syscalls/kill/kill07 CC testcases/kernel/syscalls/kill/kill08 CC testcases/kernel/syscalls/kill/kill09 kill10.c: In function 'ack_ready': kill10.c:365:47: warning: unused parameter 'data' [-Wunused-parameter] 365 | void ack_ready(int sig, siginfo_t * si, void *data) | ~~~~~~^~~~ kill10.c: In function 'ack_done': kill10.c:392:46: warning: unused parameter 'data' [-Wunused-parameter] 392 | void ack_done(int sig, siginfo_t * si, void *data) | ~~~~~~^~~~ kill10.c: In function 'set_create_procs': kill10.c:477:27: warning: unused parameter 'sig' [-Wunused-parameter] 477 | void set_create_procs(int sig) | ~~~~^~~ kill10.c: In function 'graceful_exit': kill10.c:608:24: warning: unused parameter 'sig' [-Wunused-parameter] 608 | void graceful_exit(int sig) | ~~~~^~~ kill10.c: In function 'set_signal_parents': kill10.c:613:29: warning: unused parameter 'sig' [-Wunused-parameter] 613 | void set_signal_parents(int sig) | ~~~~^~~ kill10.c: In function 'clear_signal_parents': kill10.c:620:31: warning: unused parameter 'sig' [-Wunused-parameter] 620 | void clear_signal_parents(int sig) | ~~~~^~~ kill10.c: In function 'set_confirmed_ready': kill10.c:627:30: warning: unused parameter 'sig' [-Wunused-parameter] 627 | void set_confirmed_ready(int sig) | ~~~~^~~ kill10.c: In function 'reset_counter': kill10.c:635:24: warning: unused parameter 'sig' [-Wunused-parameter] 635 | void reset_counter(int sig) | ~~~~^~~ kill10.c: In function 'reply_to_child': kill10.c:643:25: warning: unused parameter 'sig' [-Wunused-parameter] 643 | void reply_to_child(int sig, siginfo_t * si, void *data) | ~~~~^~~ kill10.c:643:52: warning: unused parameter 'data' [-Wunused-parameter] 643 | void reply_to_child(int sig, siginfo_t * si, void *data) | ~~~~~~^~~~ kill10.c: In function 'wakeup': kill10.c:670:17: warning: unused parameter 'sig' [-Wunused-parameter] 670 | void wakeup(int sig) | ~~~~^~~ kill12.c: In function 'main': kill12.c:89:9: warning: 'sigset' is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 89 | if (sigset(SIGCHLD, chsig) == SIG_ERR) { | ^~ In file included from kill12.c:43: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/signal.h:367:23: note: declared here 367 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ kill12.c:168:39: warning: suggest braces around empty body in an 'else' statement [-Wempty-body] 168 | } else; | ^ kill12.c:79:13: warning: variable 'core' set but not used [-Wunused-but-set-variable] 79 | int core; | ^~~~ kill12.c:77:19: warning: variable 'exno' set but not used [-Wunused-but-set-variable] 77 | int nsig, exno, nexno, status; | ^~~~ kill12.c: In function 'do_child': kill12.c:201:9: warning: 'sigset' is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 201 | sigset(sig, SIG_IGN); /* set to ignore signal */ | ^~~~~~ In file included from kill12.c:43: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/signal.h:367:23: note: declared here 367 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ CC testcases/kernel/syscalls/kill/kill11 CC testcases/kernel/syscalls/kill/kill12 CC testcases/kernel/syscalls/kill/kill13 CC testcases/kernel/syscalls/kill/kill10 BUILD libltpnuma.a make[6]: Nothing to be done for 'all'. CC testcases/kernel/syscalls/get_mempolicy/get_mempolicy01 CC testcases/kernel/syscalls/get_mempolicy/get_mempolicy02 CC testcases/kernel/syscalls/read/read03 CC testcases/kernel/syscalls/read/read02 CC testcases/kernel/syscalls/read/read01 CC testcases/kernel/syscalls/read/read04 CC testcases/kernel/syscalls/fdatasync/fdatasync02 CC testcases/kernel/syscalls/fdatasync/fdatasync01 CC testcases/kernel/syscalls/fdatasync/fdatasync03 CC testcases/kernel/syscalls/flistxattr/flistxattr02 CC testcases/kernel/syscalls/flistxattr/flistxattr01 CC testcases/kernel/syscalls/flistxattr/flistxattr03 CC testcases/kernel/syscalls/fcntl/fcntl04 CC testcases/kernel/syscalls/fcntl/fcntl02 CC testcases/kernel/syscalls/fcntl/fcntl03 fcntl06.c: In function 'main': fcntl06.c:74:13: warning: variable 'fail' set but not used [-Wunused-but-set-variable] 74 | int fail = 0; | ^~~~ CC testcases/kernel/syscalls/fcntl/fcntl01 CC testcases/kernel/syscalls/fcntl/fcntl05 CC testcases/kernel/syscalls/fcntl/fcntl06 CC testcases/kernel/syscalls/fcntl/fcntl07 CC testcases/kernel/syscalls/fcntl/fcntl08 CC testcases/kernel/syscalls/fcntl/fcntl09 CC testcases/kernel/syscalls/fcntl/fcntl10 CC testcases/kernel/syscalls/fcntl/fcntl12 fcntl14.c: In function 'run_test': fcntl14.c:826:17: warning: 'sighold' is deprecated: Use the sigprocmask function instead [-Wdeprecated-declarations] 826 | (void)sighold(SIGUSR1); | ^ In file included from fcntl14.c:46: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/signal.h:355:12: note: declared here 355 | extern int sighold (int __sig) __THROW | ^~~~~~~ fcntl14.c:854:25: warning: 'sigpause' is deprecated: Use the sigsuspend function instead [-Wdeprecated-declarations] 854 | sigpause(SIGUSR1); | ^~~~~~~~ In file included from fcntl14.c:46: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/signal.h:151:12: note: declared here 151 | extern int sigpause (int __sig) __asm__ ("__xpg_sigpause") | ^~~~~~~~ fcntl14.c: In function 'catch_alarm': fcntl14.c:902:22: warning: unused parameter 'sig' [-Wunused-parameter] 902 | void catch_alarm(int sig) | ~~~~^~~ fcntl14.c: In function 'catch1': fcntl14.c:917:17: warning: unused parameter 'sig' [-Wunused-parameter] 917 | void catch1(int sig) | ~~~~^~~ fcntl14.c: In function 'main': fcntl14.c:1079:17: warning: 'sighold' is deprecated: Use the sigprocmask function instead [-Wdeprecated-declarations] 1079 | if (sighold(SIGUSR1) < 0) | ^~ In file included from fcntl14.c:46: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/signal.h:355:12: note: declared here 355 | extern int sighold (int __sig) __THROW | ^~~~~~~ fcntl14.c:1105:17: warning: 'sigpause' is deprecated: Use the sigsuspend function instead [-Wdeprecated-declarations] 1105 | (void)sigpause(SIGUSR1); | ^ In file included from fcntl14.c:46: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/signal.h:151:12: note: declared here 151 | extern int sigpause (int __sig) __asm__ ("__xpg_sigpause") | ^~~~~~~~ CC testcases/kernel/syscalls/fcntl/fcntl13 CC testcases/kernel/syscalls/fcntl/fcntl11 fcntl16.c: In function 'catch_alarm': fcntl16.c:351:22: warning: unused parameter 'sig' [-Wunused-parameter] 351 | void catch_alarm(int sig) | ~~~~^~~ fcntl16.c: In function 'catch_usr1': fcntl16.c:356:21: warning: unused parameter 'sig' [-Wunused-parameter] 356 | void catch_usr1(int sig) | ~~~~^~~ fcntl16.c: In function 'catch_usr2': fcntl16.c:365:21: warning: unused parameter 'sig' [-Wunused-parameter] 365 | void catch_usr2(int sig) | ~~~~^~~ fcntl16.c: In function 'catch_int': fcntl16.c:374:20: warning: unused parameter 'sig' [-Wunused-parameter] 374 | void catch_int(int sig) | ~~~~^~~ fcntl16.c: In function 'run_test': fcntl16.c:458:23: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 458 | (void)write(fd, FILEDATA, 10); | ^~~~~~~~~~~~~~~~~~~~~~~ fcntl17.c: In function 'catch_alarm': fcntl17.c:414:9: warning: 'sighold' is deprecated: Use the sigprocmask function instead [-Wdeprecated-declarations] 414 | sighold(SIGCHLD); | ^~~~~~~ In file included from fcntl17.c:50: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/signal.h:355:12: note: declared here 355 | extern int sighold (int __sig) __THROW | ^~~~~~~ CC testcases/kernel/syscalls/fcntl/fcntl14 CC testcases/kernel/syscalls/fcntl/fcntl15 CC testcases/kernel/syscalls/fcntl/fcntl16 CC testcases/kernel/syscalls/fcntl/fcntl18 CC testcases/kernel/syscalls/fcntl/fcntl17 fcntl21.c: In function 'setup': fcntl21.c:93:9: warning: ignoring return value of 'pipe' declared with attribute 'warn_unused_result' [-Wunused-result] 93 | pipe(parent_pipe); | ^~~~~~~~~~~~~~~~~ fcntl21.c:94:9: warning: ignoring return value of 'pipe' declared with attribute 'warn_unused_result' [-Wunused-result] 94 | pipe(child_pipe); | ^~~~~~~~~~~~~~~~ CC testcases/kernel/syscalls/fcntl/fcntl22 CC testcases/kernel/syscalls/fcntl/fcntl19 CC testcases/kernel/syscalls/fcntl/fcntl20 CC testcases/kernel/syscalls/fcntl/fcntl23 CC testcases/kernel/syscalls/fcntl/fcntl24 CC testcases/kernel/syscalls/fcntl/fcntl25 CC testcases/kernel/syscalls/fcntl/fcntl21 CC testcases/kernel/syscalls/fcntl/fcntl26 CC testcases/kernel/syscalls/fcntl/fcntl27 CC testcases/kernel/syscalls/fcntl/fcntl28 CC testcases/kernel/syscalls/fcntl/fcntl29 CC testcases/kernel/syscalls/fcntl/fcntl30 CC testcases/kernel/syscalls/fcntl/fcntl32 CC testcases/kernel/syscalls/fcntl/fcntl33 CC testcases/kernel/syscalls/fcntl/fcntl31 CC testcases/kernel/syscalls/fcntl/fcntl35 CC testcases/kernel/syscalls/fcntl/fcntl34 CC testcases/kernel/syscalls/fcntl/fcntl37 CC testcases/kernel/syscalls/fcntl/fcntl01_64.o CC testcases/kernel/syscalls/fcntl/fcntl38 CC testcases/kernel/syscalls/fcntl/fcntl02_64.o CC testcases/kernel/syscalls/fcntl/fcntl39 CC testcases/kernel/syscalls/fcntl/fcntl03_64.o CC testcases/kernel/syscalls/fcntl/fcntl36 CC testcases/kernel/syscalls/fcntl/fcntl04_64.o CC testcases/kernel/syscalls/fcntl/fcntl05_64.o CC testcases/kernel/syscalls/fcntl/fcntl06_64.o CC testcases/kernel/syscalls/fcntl/fcntl07_64.o CC testcases/kernel/syscalls/fcntl/fcntl08_64.o CC testcases/kernel/syscalls/fcntl/fcntl09_64.o fcntl06.c: In function 'main': fcntl06.c:74:13: warning: variable 'fail' set but not used [-Wunused-but-set-variable] 74 | int fail = 0; | ^~~~ CC testcases/kernel/syscalls/fcntl/fcntl10_64.o CC testcases/kernel/syscalls/fcntl/fcntl11_64.o CC testcases/kernel/syscalls/fcntl/fcntl12_64.o CC testcases/kernel/syscalls/fcntl/fcntl13_64.o CC testcases/kernel/syscalls/fcntl/fcntl14_64.o CC testcases/kernel/syscalls/fcntl/fcntl15_64.o CC testcases/kernel/syscalls/fcntl/fcntl16_64.o fcntl14.c: In function 'run_test': fcntl14.c:826:17: warning: 'sighold' is deprecated: Use the sigprocmask function instead [-Wdeprecated-declarations] 826 | (void)sighold(SIGUSR1); | ^ In file included from fcntl14.c:46: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/signal.h:355:12: note: declared here 355 | extern int sighold (int __sig) __THROW | ^~~~~~~ fcntl14.c:854:25: warning: 'sigpause' is deprecated: Use the sigsuspend function instead [-Wdeprecated-declarations] 854 | sigpause(SIGUSR1); | ^~~~~~~~ In file included from fcntl14.c:46: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/signal.h:151:12: note: declared here 151 | extern int sigpause (int __sig) __asm__ ("__xpg_sigpause") | ^~~~~~~~ fcntl14.c: In function 'catch_alarm': fcntl14.c:902:22: warning: unused parameter 'sig' [-Wunused-parameter] 902 | void catch_alarm(int sig) | ~~~~^~~ fcntl14.c: In function 'catch1': fcntl14.c:917:17: warning: unused parameter 'sig' [-Wunused-parameter] 917 | void catch1(int sig) | ~~~~^~~ fcntl14.c: In function 'main': fcntl14.c:1079:17: warning: 'sighold' is deprecated: Use the sigprocmask function instead [-Wdeprecated-declarations] 1079 | if (sighold(SIGUSR1) < 0) | ^~ In file included from fcntl14.c:46: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/signal.h:355:12: note: declared here 355 | extern int sighold (int __sig) __THROW | ^~~~~~~ fcntl14.c:1105:17: warning: 'sigpause' is deprecated: Use the sigsuspend function instead [-Wdeprecated-declarations] 1105 | (void)sigpause(SIGUSR1); | ^ In file included from fcntl14.c:46: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/signal.h:151:12: note: declared here 151 | extern int sigpause (int __sig) __asm__ ("__xpg_sigpause") | ^~~~~~~~ CC testcases/kernel/syscalls/fcntl/fcntl17_64.o CC testcases/kernel/syscalls/fcntl/fcntl18_64.o CC testcases/kernel/syscalls/fcntl/fcntl19_64.o fcntl16.c: In function 'catch_alarm': fcntl16.c:351:22: warning: unused parameter 'sig' [-Wunused-parameter] 351 | void catch_alarm(int sig) | ~~~~^~~ fcntl16.c: In function 'catch_usr1': fcntl16.c:356:21: warning: unused parameter 'sig' [-Wunused-parameter] 356 | void catch_usr1(int sig) | ~~~~^~~ fcntl16.c: In function 'catch_usr2': fcntl16.c:365:21: warning: unused parameter 'sig' [-Wunused-parameter] 365 | void catch_usr2(int sig) | ~~~~^~~ fcntl16.c: In function 'catch_int': fcntl16.c:374:20: warning: unused parameter 'sig' [-Wunused-parameter] 374 | void catch_int(int sig) | ~~~~^~~ fcntl16.c: In function 'run_test': fcntl16.c:458:23: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 458 | (void)write(fd, FILEDATA, 10); | ^~~~~~~~~~~~~~~~~~~~~~~ CC testcases/kernel/syscalls/fcntl/fcntl20_64.o CC testcases/kernel/syscalls/fcntl/fcntl21_64.o fcntl17.c: In function 'catch_alarm': fcntl17.c:414:9: warning: 'sighold' is deprecated: Use the sigprocmask function instead [-Wdeprecated-declarations] 414 | sighold(SIGCHLD); | ^~~~~~~ In file included from fcntl17.c:50: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/signal.h:355:12: note: declared here 355 | extern int sighold (int __sig) __THROW | ^~~~~~~ CC testcases/kernel/syscalls/fcntl/fcntl22_64.o CC testcases/kernel/syscalls/fcntl/fcntl23_64.o CC testcases/kernel/syscalls/fcntl/fcntl24_64.o CC testcases/kernel/syscalls/fcntl/fcntl25_64.o fcntl21.c: In function 'setup': fcntl21.c:93:9: warning: ignoring return value of 'pipe' declared with attribute 'warn_unused_result' [-Wunused-result] 93 | pipe(parent_pipe); | ^~~~~~~~~~~~~~~~~ fcntl21.c:94:9: warning: ignoring return value of 'pipe' declared with attribute 'warn_unused_result' [-Wunused-result] 94 | pipe(child_pipe); | ^~~~~~~~~~~~~~~~ CC testcases/kernel/syscalls/fcntl/fcntl26_64.o CC testcases/kernel/syscalls/fcntl/fcntl27_64.o CC testcases/kernel/syscalls/fcntl/fcntl28_64.o CC testcases/kernel/syscalls/fcntl/fcntl29_64.o CC testcases/kernel/syscalls/fcntl/fcntl30_64.o CC testcases/kernel/syscalls/fcntl/fcntl31_64.o CC testcases/kernel/syscalls/fcntl/fcntl32_64.o CC testcases/kernel/syscalls/fcntl/fcntl33_64.o CC testcases/kernel/syscalls/fcntl/fcntl34_64.o CC testcases/kernel/syscalls/fcntl/fcntl35_64.o CC testcases/kernel/syscalls/fcntl/fcntl36_64.o CC testcases/kernel/syscalls/fcntl/fcntl37_64.o CC testcases/kernel/syscalls/fcntl/fcntl38_64.o CC testcases/kernel/syscalls/fcntl/fcntl39_64.o LD testcases/kernel/syscalls/fcntl/fcntl02_64 LD testcases/kernel/syscalls/fcntl/fcntl01_64 LD testcases/kernel/syscalls/fcntl/fcntl03_64 LD testcases/kernel/syscalls/fcntl/fcntl05_64 LD testcases/kernel/syscalls/fcntl/fcntl06_64 LD testcases/kernel/syscalls/fcntl/fcntl04_64 LD testcases/kernel/syscalls/fcntl/fcntl07_64 LD testcases/kernel/syscalls/fcntl/fcntl08_64 LD testcases/kernel/syscalls/fcntl/fcntl09_64 LD testcases/kernel/syscalls/fcntl/fcntl10_64 LD testcases/kernel/syscalls/fcntl/fcntl11_64 LD testcases/kernel/syscalls/fcntl/fcntl12_64 LD testcases/kernel/syscalls/fcntl/fcntl14_64 LD testcases/kernel/syscalls/fcntl/fcntl13_64 LD testcases/kernel/syscalls/fcntl/fcntl15_64 LD testcases/kernel/syscalls/fcntl/fcntl16_64 LD testcases/kernel/syscalls/fcntl/fcntl17_64 LD testcases/kernel/syscalls/fcntl/fcntl18_64 LD testcases/kernel/syscalls/fcntl/fcntl19_64 LD testcases/kernel/syscalls/fcntl/fcntl20_64 LD testcases/kernel/syscalls/fcntl/fcntl22_64 LD testcases/kernel/syscalls/fcntl/fcntl21_64 LD testcases/kernel/syscalls/fcntl/fcntl23_64 LD testcases/kernel/syscalls/fcntl/fcntl24_64 LD testcases/kernel/syscalls/fcntl/fcntl25_64 LD testcases/kernel/syscalls/fcntl/fcntl27_64 LD testcases/kernel/syscalls/fcntl/fcntl26_64 LD testcases/kernel/syscalls/fcntl/fcntl28_64 LD testcases/kernel/syscalls/fcntl/fcntl29_64 LD testcases/kernel/syscalls/fcntl/fcntl31_64 LD testcases/kernel/syscalls/fcntl/fcntl30_64 LD testcases/kernel/syscalls/fcntl/fcntl32_64 LD testcases/kernel/syscalls/fcntl/fcntl34_64 LD testcases/kernel/syscalls/fcntl/fcntl33_64 LD testcases/kernel/syscalls/fcntl/fcntl35_64 LD testcases/kernel/syscalls/fcntl/fcntl36_64 LD testcases/kernel/syscalls/fcntl/fcntl37_64 LD testcases/kernel/syscalls/fcntl/fcntl38_64 LD testcases/kernel/syscalls/fcntl/fcntl39_64 rm fcntl22_64.o fcntl27_64.o fcntl08_64.o fcntl19_64.o fcntl34_64.o fcntl15_64.o fcntl23_64.o fcntl39_64.o fcntl09_64.o fcntl30_64.o fcntl04_64.o fcntl35_64.o fcntl28_64.o fcntl14_64.o fcntl25_64.o fcntl36_64.o fcntl32_64.o fcntl06_64.o fcntl18_64.o fcntl38_64.o fcntl01_64.o fcntl24_64.o fcntl37_64.o fcntl05_64.o fcntl10_64.o fcntl33_64.o fcntl16_64.o fcntl02_64.o fcntl11_64.o fcntl17_64.o fcntl31_64.o fcntl20_64.o fcntl29_64.o fcntl03_64.o fcntl07_64.o fcntl12_64.o fcntl21_64.o fcntl26_64.o fcntl13_64.o /usr/bin/make -C /home/thomas/autobuild/instance-0/output-1/build/ltp-testsuite-20220930/testcases/kernel/lib -f "/home/thomas/autobuild/instance-0/output-1/build/ltp-testsuite-20220930/testcases/kernel/lib/Makefile" all BUILD libltpnuma.a make[6]: Nothing to be done for 'all'. CC testcases/kernel/lib/ksm_helper.o numa_helper.c: In function 'get_allowed_nodes_arr': numa_helper.c:152:31: warning: unused parameter 'flag' [-Wunused-parameter] 152 | int get_allowed_nodes_arr(int flag, int *num_nodes, int **nodes) | ~~~~^~~~ CC testcases/kernel/lib/numa_helper.o AR libkerntest.a RANLIB libkerntest.a CC testcases/kernel/syscalls/mbind/mbind02 CC testcases/kernel/syscalls/mbind/mbind04 CC testcases/kernel/syscalls/mbind/mbind03 CC testcases/kernel/syscalls/mbind/mbind01 In file included from signalfd01.c:40: signalfd01.c: In function 'do_test2': ../../../../include/old/test.h:123:19: warning: format '%s' expects a matching 'char *' argument [-Wformat=] 123 | (arg_fmt), ##__VA_ARGS__) | ^~~~~~~~~ signalfd01.c:251:17: note: in expansion of macro 'tst_resm' 251 | tst_resm(TFAIL, "got unexpected signal: signal=%d : %s", | ^~~~~~~~ CC testcases/kernel/syscalls/signalfd/signalfd01 CC testcases/kernel/syscalls/nice/nice02 CC testcases/kernel/syscalls/nice/nice03 CC testcases/kernel/syscalls/nice/nice01 CC testcases/kernel/syscalls/nice/nice04 CC testcases/kernel/syscalls/remap_file_pages/remap_file_pages01 CC testcases/kernel/syscalls/remap_file_pages/remap_file_pages02 sigaction02.c:53: warning: "_GNU_SOURCE" redefined 53 | #define _GNU_SOURCE | : note: this is the location of the previous definition sigaction01.c: In function 'handler': sigaction01.c:89:46: warning: unused parameter 'ucp' [-Wunused-parameter] 89 | void handler(int sig, siginfo_t * sip, void *ucp) | ~~~~~~^~~ CC testcases/kernel/syscalls/sigaction/sigaction02 CC testcases/kernel/syscalls/sigaction/sigaction01 CC testcases/kernel/syscalls/wait4/wait403 CC testcases/kernel/syscalls/wait4/wait402 CC testcases/kernel/syscalls/wait4/wait401 CC testcases/kernel/syscalls/settimeofday/settimeofday02 CC testcases/kernel/syscalls/settimeofday/settimeofday01 CC testcases/kernel/syscalls/sched_get_priority_min/sched_get_priority_min02 CC testcases/kernel/syscalls/sched_get_priority_min/sched_get_priority_min01 CC testcases/kernel/syscalls/migrate_pages/migrate_pages_common.o CC testcases/kernel/syscalls/migrate_pages/migrate_pages01 CC testcases/kernel/syscalls/migrate_pages/migrate_pages02 CC testcases/kernel/syscalls/migrate_pages/migrate_pages03 CC testcases/kernel/syscalls/chown/chown01.o CC testcases/kernel/syscalls/chown/chown04.o CC testcases/kernel/syscalls/chown/chown01_16.o CC testcases/kernel/syscalls/chown/chown03.o CC testcases/kernel/syscalls/chown/chown02_16.o CC testcases/kernel/syscalls/chown/chown02.o CC testcases/kernel/syscalls/chown/chown03_16.o CC testcases/kernel/syscalls/chown/chown04_16.o CC testcases/kernel/syscalls/chown/chown05.o CC testcases/kernel/syscalls/chown/chown05_16.o LD testcases/kernel/syscalls/chown/chown01 LD testcases/kernel/syscalls/chown/chown02 LD testcases/kernel/syscalls/chown/chown03 LD testcases/kernel/syscalls/chown/chown04 LD testcases/kernel/syscalls/chown/chown05 LD testcases/kernel/syscalls/chown/chown01_16 LD testcases/kernel/syscalls/chown/chown02_16 LD testcases/kernel/syscalls/chown/chown03_16 LD testcases/kernel/syscalls/chown/chown05_16 LD testcases/kernel/syscalls/chown/chown04_16 rm chown02.o chown03.o chown02_16.o chown05.o chown01_16.o chown03_16.o chown05_16.o chown04.o chown04_16.o chown01.o CC testcases/kernel/syscalls/clock_adjtime/clock_adjtime02 CC testcases/kernel/syscalls/clock_adjtime/clock_adjtime01 BUILD libltpsigwait.a make[6]: Nothing to be done for 'all'. CC testcases/kernel/syscalls/rt_sigtimedwait/rt_sigtimedwait01 CC testcases/kernel/syscalls/fsmount/fsmount01 CC testcases/kernel/syscalls/fsmount/fsmount02 CC testcases/kernel/syscalls/epoll_create/epoll_create01 CC testcases/kernel/syscalls/epoll_create/epoll_create02 CC testcases/kernel/syscalls/dup2/dup201 CC testcases/kernel/syscalls/dup2/dup204 CC testcases/kernel/syscalls/dup2/dup203 CC testcases/kernel/syscalls/dup2/dup202 CC testcases/kernel/syscalls/dup2/dup206 CC testcases/kernel/syscalls/dup2/dup207 CC testcases/kernel/syscalls/dup2/dup205 CC testcases/kernel/syscalls/waitpid/waitpid02 CC testcases/kernel/syscalls/waitpid/waitpid01 CC testcases/kernel/syscalls/waitpid/waitpid04 waitpid05.c: In function 'main': waitpid05.c:79:13: warning: variable 'exno' set but not used [-Wunused-but-set-variable] 79 | int exno, nexno, status; | ^~~~ CC testcases/kernel/syscalls/waitpid/waitpid03 CC testcases/kernel/syscalls/waitpid/waitpid05 CC testcases/kernel/syscalls/waitpid/waitpid06 CC testcases/kernel/syscalls/waitpid/waitpid07 CC testcases/kernel/syscalls/waitpid/waitpid08 CC testcases/kernel/syscalls/waitpid/waitpid09 CC testcases/kernel/syscalls/waitpid/waitpid11 CC testcases/kernel/syscalls/waitpid/waitpid10 CC testcases/kernel/syscalls/waitpid/waitpid12 CC testcases/kernel/syscalls/waitpid/waitpid13 CC testcases/kernel/syscalls/sched_setattr/sched_setattr01 CC testcases/kernel/syscalls/mount_setattr/mount_setattr01 CC testcases/kernel/syscalls/uname/uname04 CC testcases/kernel/syscalls/uname/uname02 CC testcases/kernel/syscalls/uname/uname01 CC testcases/kernel/syscalls/utime/utime01 CC testcases/kernel/syscalls/utime/utime03 CC testcases/kernel/syscalls/utime/utime04 CC testcases/kernel/syscalls/utime/utime02 CC testcases/kernel/syscalls/utime/utime05 CC testcases/kernel/syscalls/utime/utime06 sendmsg02.c: In function 'server': sendmsg02.c:115:17: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 115 | read(pipefd[0], &fd, 1); | ^~~~~~~~~~~~~~~~~~~~~~~ sendmsg02.c: In function 'client': sendmsg02.c:92:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 92 | write(pipefd[1], &fd, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~ CC testcases/kernel/syscalls/sendmsg/sendmsg02 CC testcases/kernel/syscalls/sendmsg/sendmsg01 CC testcases/kernel/syscalls/sendmsg/sendmsg03 CC testcases/kernel/syscalls/open/open02 CC testcases/kernel/syscalls/open/open04 CC testcases/kernel/syscalls/open/open01 CC testcases/kernel/syscalls/open/open03 CC testcases/kernel/syscalls/open/open09 CC testcases/kernel/syscalls/open/open06 CC testcases/kernel/syscalls/open/open08 CC testcases/kernel/syscalls/open/open07 CC testcases/kernel/syscalls/open/open12_child CC testcases/kernel/syscalls/open/open11 CC testcases/kernel/syscalls/open/open10 CC testcases/kernel/syscalls/open/open12 In file included from ../../../../include/old/test.h:21, from open13.c:38: open13.c: In function 'verify_fgetxattr': open13.c:141:14: warning: argument 3 is null but the corresponding size argument 4 value is 1 [-Wnonnull] 141 | TEST(fgetxattr(fd, "tkey", NULL, 1)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../include/old/usctest.h:67:31: note: in definition of macro 'TEST' 67 | TEST_RETURN = SCALL; \ | ^~~~~ In file included from open13.c:35: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/sys/xattr.h:73:16: note: in a call to function 'fgetxattr' declared with attribute 'access (write_only, 3, 4)' 73 | extern ssize_t fgetxattr (int __fd, const char *__name, void *__value, | ^~~~~~~~~ CC testcases/kernel/syscalls/open/open13 CC testcases/kernel/syscalls/open/open14 CC testcases/kernel/syscalls/ppoll/ppoll01 CC testcases/kernel/syscalls/iopl/iopl02 CC testcases/kernel/syscalls/iopl/iopl01 pause02.c: In function 'sig_handle': pause02.c:115:28: warning: unused parameter 'sig' [-Wunused-parameter] 115 | static void sig_handle(int sig) | ~~~~^~~ CC testcases/kernel/syscalls/pause/pause01 CC testcases/kernel/syscalls/pause/pause02 CC testcases/kernel/syscalls/pause/pause03 process_vm01.c: In function 'setup': process_vm01.c:97:25: warning: unused parameter 'argv' [-Wunused-parameter] 97 | static void setup(char *argv[]) | ~~~~~~^~~~~~ CC testcases/kernel/syscalls/cma/process_vm_readv02 CC testcases/kernel/syscalls/cma/process_vm_writev02 CC testcases/kernel/syscalls/cma/process_vm_readv03 CC testcases/kernel/syscalls/cma/process_vm01 CC testcases/kernel/syscalls/rmdir/rmdir01 CC testcases/kernel/syscalls/rmdir/rmdir02 CC testcases/kernel/syscalls/rmdir/rmdir03 CC testcases/kernel/syscalls/abort/abort01 BUILD libltpsigwait.a make[6]: Nothing to be done for 'all'. CC testcases/kernel/syscalls/sigtimedwait/sigtimedwait01 CC testcases/kernel/syscalls/epoll/epoll-ltp CC testcases/kernel/syscalls/execvp/execvp01 CC testcases/kernel/syscalls/execvp/execvp01_child CC testcases/kernel/syscalls/pidfd_open/pidfd_open01 CC testcases/kernel/syscalls/pidfd_open/pidfd_open02 CC testcases/kernel/syscalls/pidfd_open/pidfd_open03 CC testcases/kernel/syscalls/pidfd_open/pidfd_open04 CC testcases/kernel/syscalls/gethostid/gethostid01 CC testcases/kernel/syscalls/llseek/llseek02 CC testcases/kernel/syscalls/llseek/llseek03 CC testcases/kernel/syscalls/llseek/llseek01 CC testcases/kernel/syscalls/delete_module/delete_module01 CC testcases/kernel/syscalls/delete_module/delete_module03 CC testcases/kernel/syscalls/delete_module/delete_module02 mallinfo02.c: In function 'test_mallinfo': mallinfo02.c:26:9: warning: 'mallinfo' is deprecated [-Wdeprecated-declarations] 26 | info = mallinfo(); | ^~~~ In file included from mallinfo_common.h:11, from mallinfo02.c:14: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/malloc.h:114:24: note: declared here 114 | extern struct mallinfo mallinfo (void) __THROW __MALLOC_DEPRECATED; | ^~~~~~~~ mallinfo02.c:35:9: warning: 'mallinfo' is deprecated [-Wdeprecated-declarations] 35 | info = mallinfo(); | ^~~~ In file included from mallinfo_common.h:11, from mallinfo02.c:14: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/malloc.h:114:24: note: declared here 114 | extern struct mallinfo mallinfo (void) __THROW __MALLOC_DEPRECATED; | ^~~~~~~~ mallinfo02.c:39:9: warning: 'mallinfo' is deprecated [-Wdeprecated-declarations] 39 | info = mallinfo(); | ^~~~ In file included from mallinfo_common.h:11, from mallinfo02.c:14: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/malloc.h:114:24: note: declared here 114 | extern struct mallinfo mallinfo (void) __THROW __MALLOC_DEPRECATED; | ^~~~~~~~ mallinfo01.c: In function 'test_mallinfo': mallinfo01.c:43:9: warning: 'mallinfo' is deprecated [-Wdeprecated-declarations] 43 | info2 = mallinfo(); | ^~~~~ In file included from mallinfo_common.h:11, from mallinfo01.c:13: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/malloc.h:114:24: note: declared here 114 | extern struct mallinfo mallinfo (void) __THROW __MALLOC_DEPRECATED; | ^~~~~~~~ mallinfo01.c:53:9: warning: 'mallinfo' is deprecated [-Wdeprecated-declarations] 53 | info2 = mallinfo(); | ^~~~~ In file included from mallinfo_common.h:11, from mallinfo01.c:13: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/malloc.h:114:24: note: declared here 114 | extern struct mallinfo mallinfo (void) __THROW __MALLOC_DEPRECATED; | ^~~~~~~~ mallinfo01.c: In function 'setup': mallinfo01.c:68:9: warning: 'mallinfo' is deprecated [-Wdeprecated-declarations] 68 | info1 = mallinfo(); | ^~~~~ In file included from mallinfo_common.h:11, from mallinfo01.c:13: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/malloc.h:114:24: note: declared here 114 | extern struct mallinfo mallinfo (void) __THROW __MALLOC_DEPRECATED; | ^~~~~~~~ CC testcases/kernel/syscalls/mallinfo/mallinfo02 CC testcases/kernel/syscalls/mallinfo/mallinfo01 CC testcases/kernel/syscalls/bpf/bpf_common.o CC testcases/kernel/syscalls/bpf/bpf_prog03 CC testcases/kernel/syscalls/bpf/bpf_prog01 CC testcases/kernel/syscalls/bpf/bpf_prog02 CC testcases/kernel/syscalls/bpf/bpf_map01 CC testcases/kernel/syscalls/bpf/bpf_prog06 CC testcases/kernel/syscalls/bpf/bpf_prog04 CC testcases/kernel/syscalls/bpf/bpf_prog05 CC testcases/kernel/syscalls/bpf/bpf_prog07 make[5]: Nothing to be done for 'all'. CC testcases/kernel/syscalls/mkdir/mkdir02 CC testcases/kernel/syscalls/mkdir/mkdir04 CC testcases/kernel/syscalls/mkdir/mkdir05 CC testcases/kernel/syscalls/mkdir/mkdir03 CC testcases/kernel/syscalls/mkdir/mkdir09 CC testcases/kernel/syscalls/fstatat/fstatat01 CC testcases/kernel/syscalls/umount2/umount2_02 CC testcases/kernel/syscalls/umount2/umount2_01 CC testcases/kernel/syscalls/clock_nanosleep/clock_nanosleep02 CC testcases/kernel/syscalls/clock_nanosleep/clock_nanosleep04 CC testcases/kernel/syscalls/clock_nanosleep/clock_nanosleep01 CC testcases/kernel/syscalls/clock_nanosleep/clock_nanosleep03 CC testcases/kernel/syscalls/realpath/realpath01 CC testcases/kernel/syscalls/lseek/lseek07 CC testcases/kernel/syscalls/lseek/lseek01 CC testcases/kernel/syscalls/lseek/lseek02 CC testcases/kernel/syscalls/lseek/lseek11 mallopt01.c: In function 'test_mallopt': mallopt01.c:31:9: warning: 'mallinfo' is deprecated [-Wdeprecated-declarations] 31 | info = mallinfo(); | ^~~~ In file included from ../mallinfo/mallinfo_common.h:11, from mallopt01.c:16: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/malloc.h:114:24: note: declared here 114 | extern struct mallinfo mallinfo (void) __THROW __MALLOC_DEPRECATED; | ^~~~~~~~ CC testcases/kernel/syscalls/mallopt/mallopt01 move_pages_support.c: In function 'free_pages': move_pages_support.c:37:24: warning: unused parameter 'pages' [-Wunused-parameter] 37 | void free_pages(void **pages, unsigned int num) | ~~~~~~~^~~~~ move_pages_support.c:37:44: warning: unused parameter 'num' [-Wunused-parameter] 37 | void free_pages(void **pages, unsigned int num) | ~~~~~~~~~~~~~^~~ move_pages_support.c: In function 'verify_pages_on_nodes': move_pages_support.c:169:30: warning: unused parameter 'pages' [-Wunused-parameter] 169 | verify_pages_on_nodes(void **pages, int *status, unsigned int num, int *nodes) | ~~~~~~~^~~~~ move_pages_support.c:169:42: warning: unused parameter 'status' [-Wunused-parameter] 169 | verify_pages_on_nodes(void **pages, int *status, unsigned int num, int *nodes) | ~~~~~^~~~~~ move_pages_support.c:169:63: warning: unused parameter 'num' [-Wunused-parameter] 169 | verify_pages_on_nodes(void **pages, int *status, unsigned int num, int *nodes) | ~~~~~~~~~~~~~^~~ move_pages_support.c:169:73: warning: unused parameter 'nodes' [-Wunused-parameter] 169 | verify_pages_on_nodes(void **pages, int *status, unsigned int num, int *nodes) | ~~~~~^~~~~ move_pages_support.c: In function 'verify_pages_linear': move_pages_support.c:215:33: warning: unused parameter 'pages' [-Wunused-parameter] 215 | void verify_pages_linear(void **pages, int *status, unsigned int num) | ~~~~~~~^~~~~ move_pages_support.c:215:45: warning: unused parameter 'status' [-Wunused-parameter] 215 | void verify_pages_linear(void **pages, int *status, unsigned int num) | ~~~~~^~~~~~ move_pages_support.c:215:66: warning: unused parameter 'num' [-Wunused-parameter] 215 | void verify_pages_linear(void **pages, int *status, unsigned int num) | ~~~~~~~~~~~~~^~~ move_pages_support.c: In function 'alloc_shared_pages_on_node': move_pages_support.c:270:39: warning: unused parameter 'pages' [-Wunused-parameter] 270 | int alloc_shared_pages_on_node(void **pages, unsigned int num, int node) | ~~~~~~~^~~~~ move_pages_support.c:270:59: warning: unused parameter 'num' [-Wunused-parameter] 270 | int alloc_shared_pages_on_node(void **pages, unsigned int num, int node) | ~~~~~~~~~~~~~^~~ move_pages_support.c:270:68: warning: unused parameter 'node' [-Wunused-parameter] 270 | int alloc_shared_pages_on_node(void **pages, unsigned int num, int node) | ~~~~^~~~ move_pages_support.c: In function 'check_config': move_pages_support.c:393:32: warning: unused parameter 'min_nodes' [-Wunused-parameter] 393 | void check_config(unsigned int min_nodes) | ~~~~~~~~~~~~~^~~~~~~~~ CC testcases/kernel/syscalls/move_pages/move_pages_support.o CC testcases/kernel/syscalls/move_pages/move_pages04 CC testcases/kernel/syscalls/move_pages/move_pages02 CC testcases/kernel/syscalls/move_pages/move_pages03 CC testcases/kernel/syscalls/move_pages/move_pages01 CC testcases/kernel/syscalls/move_pages/move_pages05 CC testcases/kernel/syscalls/move_pages/move_pages06 CC testcases/kernel/syscalls/move_pages/move_pages07 CC testcases/kernel/syscalls/move_pages/move_pages09 CC testcases/kernel/syscalls/move_pages/move_pages12 CC testcases/kernel/syscalls/move_pages/move_pages11 CC testcases/kernel/syscalls/move_pages/move_pages10 CC testcases/kernel/syscalls/readlink/readlink03 CC testcases/kernel/syscalls/readlink/readlink01 CC testcases/kernel/syscalls/getcwd/getcwd01 CC testcases/kernel/syscalls/getcwd/getcwd03 CC testcases/kernel/syscalls/getcwd/getcwd04 CC testcases/kernel/syscalls/getcwd/getcwd02 sigprocmask01.c: In function 'sig_handler': sigprocmask01.c:254:22: warning: unused parameter 'sig' [-Wunused-parameter] 254 | void sig_handler(int sig) | ~~~~^~~ CC testcases/kernel/syscalls/sigprocmask/sigprocmask01 CC testcases/kernel/syscalls/epoll_pwait/epoll_pwait02 CC testcases/kernel/syscalls/epoll_pwait/epoll_pwait03 CC testcases/kernel/syscalls/epoll_pwait/epoll_pwait04 CC testcases/kernel/syscalls/epoll_pwait/epoll_pwait01 CC testcases/kernel/syscalls/epoll_pwait/epoll_pwait05 CC testcases/kernel/syscalls/fgetxattr/fgetxattr03 CC testcases/kernel/syscalls/fgetxattr/fgetxattr02 CC testcases/kernel/syscalls/fgetxattr/fgetxattr01 CC testcases/kernel/syscalls/getpagesize/getpagesize01 CC testcases/kernel/syscalls/memcpy/memcpy01 CC testcases/kernel/syscalls/epoll_create1/epoll_create1_01 CC testcases/kernel/syscalls/epoll_create1/epoll_create1_02 CC testcases/kernel/syscalls/linkat/linkat01 CC testcases/kernel/syscalls/linkat/linkat02 BUILD libltpsigwait.a make[6]: Nothing to be done for 'all'. CC testcases/kernel/syscalls/sigwaitinfo/sigwaitinfo01 CC testcases/kernel/syscalls/sched_rr_get_interval/sched_rr_get_interval03 CC testcases/kernel/syscalls/sched_rr_get_interval/sched_rr_get_interval01 CC testcases/kernel/syscalls/sched_rr_get_interval/sched_rr_get_interval02 CC testcases/kernel/syscalls/pidfd_send_signal/pidfd_send_signal02 CC testcases/kernel/syscalls/pidfd_send_signal/pidfd_send_signal03 CC testcases/kernel/syscalls/pidfd_send_signal/pidfd_send_signal01 CC testcases/kernel/syscalls/poll/poll01 CC testcases/kernel/syscalls/poll/poll02 CC testcases/kernel/syscalls/fspick/fspick02 CC testcases/kernel/syscalls/fspick/fspick01 CC testcases/kernel/syscalls/setegid/setegid01 CC testcases/kernel/syscalls/setegid/setegid02 CC testcases/kernel/syscalls/dup3/dup3_02 CC testcases/kernel/syscalls/dup3/dup3_01 CC testcases/kernel/syscalls/writev/writev01 CC testcases/kernel/syscalls/writev/writev02 CC testcases/kernel/syscalls/writev/writev05 CC testcases/kernel/syscalls/writev/writev07 CC testcases/kernel/syscalls/writev/writev06 CC testcases/kernel/syscalls/writev/writev03 CC testcases/kernel/syscalls/get_robust_list/get_robust_list01 CC testcases/kernel/syscalls/statx/statx03 CC testcases/kernel/syscalls/statx/statx02 CC testcases/kernel/syscalls/statx/statx04 CC testcases/kernel/syscalls/statx/statx01 CC testcases/kernel/syscalls/statx/statx05 CC testcases/kernel/syscalls/statx/statx07 CC testcases/kernel/syscalls/statx/statx06 CC testcases/kernel/syscalls/statx/statx09 CC testcases/kernel/syscalls/statx/statx08 CC testcases/kernel/syscalls/ioprio/ioprio_get01 CC testcases/kernel/syscalls/ioprio/ioprio_set03 CC testcases/kernel/syscalls/ioprio/ioprio_set02 CC testcases/kernel/syscalls/ioprio/ioprio_set01 CC testcases/kernel/syscalls/stat/stat01_64.o CC testcases/kernel/syscalls/stat/stat02_64.o CC testcases/kernel/syscalls/stat/stat03 CC testcases/kernel/syscalls/stat/stat03_64.o CC testcases/kernel/syscalls/stat/stat01 CC testcases/kernel/syscalls/stat/stat02 LD testcases/kernel/syscalls/stat/stat01_64 LD testcases/kernel/syscalls/stat/stat03_64 LD testcases/kernel/syscalls/stat/stat02_64 rm stat01_64.o stat02_64.o stat03_64.o CC testcases/kernel/syscalls/getpid/getpid01 CC testcases/kernel/syscalls/getpid/getpid02 CC testcases/kernel/syscalls/init_module/init_module02 CC testcases/kernel/syscalls/init_module/init_module01 CC testcases/kernel/syscalls/ssetmask/ssetmask01 CC testcases/kernel/syscalls/setgroups/setgroups02.o CC testcases/kernel/syscalls/setgroups/setgroups01_16.o CC testcases/kernel/syscalls/setgroups/setgroups04.o CC testcases/kernel/syscalls/setgroups/setgroups02_16.o CC testcases/kernel/syscalls/setgroups/setgroups01.o CC testcases/kernel/syscalls/setgroups/setgroups03_16.o CC testcases/kernel/syscalls/setgroups/setgroups03.o CC testcases/kernel/syscalls/setgroups/setgroups04_16.o LD testcases/kernel/syscalls/setgroups/setgroups01 LD testcases/kernel/syscalls/setgroups/setgroups02 LD testcases/kernel/syscalls/setgroups/setgroups03 LD testcases/kernel/syscalls/setgroups/setgroups04 LD testcases/kernel/syscalls/setgroups/setgroups01_16 LD testcases/kernel/syscalls/setgroups/setgroups03_16 LD testcases/kernel/syscalls/setgroups/setgroups02_16 LD testcases/kernel/syscalls/setgroups/setgroups04_16 rm setgroups01_16.o setgroups03.o setgroups02_16.o setgroups03_16.o setgroups04.o setgroups04_16.o setgroups01.o setgroups02.o CC testcases/kernel/syscalls/setns/setns01 CC testcases/kernel/syscalls/setns/setns02 CC testcases/kernel/syscalls/syscall/syscall01 CC testcases/kernel/syscalls/unlink/unlink07 CC testcases/kernel/syscalls/unlink/unlink08 CC testcases/kernel/syscalls/unlink/unlink05 CC testcases/kernel/syscalls/readv/readv02 CC testcases/kernel/syscalls/readv/readv01 CC testcases/kernel/syscalls/sendmmsg/sendmmsg02 CC testcases/kernel/syscalls/sendmmsg/sendmmsg01 CC testcases/kernel/syscalls/futimesat/futimesat01 CC testcases/kernel/syscalls/utimes/utimes01 CC testcases/kernel/syscalls/membarrier/membarrier01 eventfd01.c:62:17: warning: 'cleanup' declared 'static' but never defined [-Wunused-function] 62 | #define CLEANUP cleanup | ^~~~~~~ ../../../../include/old/cleanup.c:38:13: note: in expansion of macro 'CLEANUP' 38 | static void CLEANUP(void) __attribute__ ((unused)); | ^~~~~~~ CC testcases/kernel/syscalls/eventfd/eventfd01 CC testcases/kernel/syscalls/getresgid/getresgid01_16.o CC testcases/kernel/syscalls/getresgid/getresgid02_16.o CC testcases/kernel/syscalls/getresgid/getresgid03.o CC testcases/kernel/syscalls/getresgid/getresgid03_16.o CC testcases/kernel/syscalls/getresgid/getresgid02.o CC testcases/kernel/syscalls/getresgid/getresgid01.o LD testcases/kernel/syscalls/getresgid/getresgid02 LD testcases/kernel/syscalls/getresgid/getresgid03 LD testcases/kernel/syscalls/getresgid/getresgid01_16 LD testcases/kernel/syscalls/getresgid/getresgid01 LD testcases/kernel/syscalls/getresgid/getresgid02_16 LD testcases/kernel/syscalls/getresgid/getresgid03_16 rm getresgid01_16.o getresgid01.o getresgid02.o getresgid03.o getresgid02_16.o getresgid03_16.o sighold02.c: In function 'do_child': sighold02.c:71:17: warning: 'sighold' is deprecated: Use the sigprocmask function instead [-Wdeprecated-declarations] 71 | if (sighold(sig)) | ^~ In file included from sighold02.c:20: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/signal.h:355:12: note: declared here 355 | extern int sighold (int __sig) __THROW | ^~~~~~~ CC testcases/kernel/syscalls/sighold/sighold02 In file included from rt_sigprocmask01.c:48: ../../../../include/lapi/rt_sigaction.h: In function 'handler_h': ../../../../include/lapi/rt_sigaction.h:59:27: warning: unused parameter 'signal' [-Wunused-parameter] 59 | static void handler_h(int signal) | ~~~~^~~~~~ rt_sigprocmask01.c: In function 'sig_handler': rt_sigprocmask01.c:69:22: warning: unused parameter 'sig' [-Wunused-parameter] 69 | void sig_handler(int sig) | ~~~~^~~ CC testcases/kernel/syscalls/rt_sigprocmask/rt_sigprocmask02 CC testcases/kernel/syscalls/rt_sigprocmask/rt_sigprocmask01 CC testcases/kernel/syscalls/mq_notify/mq_notify02 CC testcases/kernel/syscalls/mq_notify/mq_notify01 CC testcases/kernel/syscalls/setpriority/setpriority02 CC testcases/kernel/syscalls/setpriority/setpriority01 sigrelse01.c: In function 'timeout': sigrelse01.c:683:25: warning: unused parameter 'sig' [-Wunused-parameter] 683 | static void timeout(int sig) | ~~~~^~~ In function 'write_pipe', inlined from 'parent' at sigrelse01.c:286:6: sigrelse01.c:639:13: warning: 'write' reading 512 bytes from a region of size 6 [-Wstringop-overread] 639 | if (write(fd, msg, MAXMESG) < 0) { | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from sigrelse01.c:109: sigrelse01.c: In function 'parent': /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/unistd.h:378:16: note: in a call to function 'write' declared with attribute 'access (read_only, 2, 3)' 378 | extern ssize_t write (int __fd, const void *__buf, size_t __n) __wur | ^~~~~ CC testcases/kernel/syscalls/sigrelse/sigrelse01 CC testcases/kernel/syscalls/splice/splice03 CC testcases/kernel/syscalls/splice/splice04 CC testcases/kernel/syscalls/splice/splice01 CC testcases/kernel/syscalls/splice/splice02 CC testcases/kernel/syscalls/splice/splice05 CC testcases/kernel/syscalls/socketpair/socketpair01 CC testcases/kernel/syscalls/socketpair/socketpair02 BUILD libltpnuma.a make[6]: Nothing to be done for 'all'. CC testcases/kernel/syscalls/set_mempolicy/set_mempolicy01 CC testcases/kernel/syscalls/set_mempolicy/set_mempolicy04 CC testcases/kernel/syscalls/set_mempolicy/set_mempolicy03 CC testcases/kernel/syscalls/set_mempolicy/set_mempolicy02 set_mempolicy05.c: In function 'run': set_mempolicy05.c:57:19: warning: unused variable 'node_mask_sz' [-Wunused-variable] 57 | const int node_mask_sz = UINT_MAX; | ^~~~~~~~~~~~ set_mempolicy05.c:56:19: warning: unused variable 'node_mask_ptr' [-Wunused-variable] 56 | const int node_mask_ptr = UINT_MAX; | ^~~~~~~~~~~~~ set_mempolicy05.c:55:19: warning: unused variable 'mode' [-Wunused-variable] 55 | const int mode; | ^~~~ set_mempolicy05.c:54:19: warning: unused variable 'sys_num' [-Wunused-variable] 54 | const int sys_num = 276; | ^~~~~~~ CC testcases/kernel/syscalls/set_mempolicy/set_mempolicy05 CC testcases/kernel/syscalls/close_range/close_range02 CC testcases/kernel/syscalls/close_range/close_range01 CC testcases/kernel/syscalls/fpathconf/fpathconf01 In file included from ../../../../include/old/test.h:21, from sysinfo02.c:71: sysinfo02.c: In function 'main': sysinfo02.c:100:22: warning: implicit declaration of function 'sysinfo' [-Wimplicit-function-declaration] 100 | TEST(sysinfo(sysinfo_buf)); | ^~~~~~~ ../../../../include/old/usctest.h:67:31: note: in definition of macro 'TEST' 67 | TEST_RETURN = SCALL; \ | ^~~~~ sysinfo03.c: In function 'verify_sysinfo': sysinfo03.c:47:9: warning: implicit declaration of function 'sysinfo' [-Wimplicit-function-declaration] 47 | sysinfo(&si); | ^~~~~~~ In file included from ../../../../include/old/test.h:21, from sysinfo01.c:74: sysinfo01.c: In function 'main': sysinfo01.c:101:22: warning: implicit declaration of function 'sysinfo' [-Wimplicit-function-declaration] 101 | TEST(sysinfo(sys_buf)); | ^~~~~~~ ../../../../include/old/usctest.h:67:31: note: in definition of macro 'TEST' 67 | TEST_RETURN = SCALL; \ | ^~~~~ CC testcases/kernel/syscalls/sysinfo/sysinfo02 CC testcases/kernel/syscalls/sysinfo/sysinfo03 CC testcases/kernel/syscalls/sysinfo/sysinfo01 CC testcases/kernel/syscalls/timerfd/timerfd02 CC testcases/kernel/syscalls/timerfd/timerfd03 CC testcases/kernel/syscalls/timerfd/timerfd04 CC testcases/kernel/syscalls/timerfd/timerfd_create01 CC testcases/kernel/syscalls/timerfd/timerfd01 CC testcases/kernel/syscalls/timerfd/timerfd_gettime01 CC testcases/kernel/syscalls/timerfd/timerfd_settime01 CC testcases/kernel/syscalls/timerfd/timerfd_settime02 BUILD libltpswap.a make[6]: Nothing to be done for 'all'. CC testcases/kernel/syscalls/swapoff/swapoff01 CC testcases/kernel/syscalls/swapoff/swapoff02 CC testcases/kernel/syscalls/readlinkat/readlinkat02 CC testcases/kernel/syscalls/readlinkat/readlinkat01 CC testcases/kernel/syscalls/waitid/waitid04 CC testcases/kernel/syscalls/waitid/waitid03 CC testcases/kernel/syscalls/waitid/waitid01 CC testcases/kernel/syscalls/waitid/waitid02 CC testcases/kernel/syscalls/waitid/waitid06 CC testcases/kernel/syscalls/waitid/waitid07 CC testcases/kernel/syscalls/waitid/waitid05 CC testcases/kernel/syscalls/waitid/waitid08 CC testcases/kernel/syscalls/waitid/waitid09 CC testcases/kernel/syscalls/waitid/waitid11 CC testcases/kernel/syscalls/waitid/waitid10 CC testcases/kernel/syscalls/ioperm/ioperm01 CC testcases/kernel/syscalls/ioperm/ioperm02 CC testcases/kernel/syscalls/getsid/getsid02 CC testcases/kernel/syscalls/getsid/getsid01 CC testcases/kernel/syscalls/getsockopt/getsockopt02 CC testcases/kernel/syscalls/getsockopt/getsockopt01 CC testcases/kernel/syscalls/tkill/tkill01 CC testcases/kernel/syscalls/tkill/tkill02 link03.c: In function 'main': link03.c:104:43: warning: '%d' directive writing between 1 and 10 bytes into a region of size between 1 and 255 [-Wformat-overflow=] 104 | sprintf(lname, "%s%d", fname, i); | ^~ link03.c:104:40: note: directive argument in the range [1, 2147483646] 104 | sprintf(lname, "%s%d", fname, i); | ^~~~~~ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/stdio.h:906, from ../../../../include/old/test.h:14, from link03.c:47: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 2 and 265 bytes into a destination of size 255 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ link03.c:123:43: warning: '%d' directive writing between 1 and 10 bytes into a region of size between 1 and 255 [-Wformat-overflow=] 123 | sprintf(lname, "%s%d", fname, i); | ^~ link03.c:123:40: note: directive argument in the range [1, 2147483646] 123 | sprintf(lname, "%s%d", fname, i); | ^~~~~~ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/stdio.h:906, from ../../../../include/old/test.h:14, from link03.c:47: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 2 and 265 bytes into a destination of size 255 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ link03.c:138:43: warning: '%d' directive writing between 1 and 10 bytes into a region of size between 1 and 255 [-Wformat-overflow=] 138 | sprintf(lname, "%s%d", fname, i); | ^~ link03.c:138:40: note: directive argument in the range [1, 2147483646] 138 | sprintf(lname, "%s%d", fname, i); | ^~~~~~ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/stdio.h:906, from ../../../../include/old/test.h:14, from link03.c:47: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 2 and 265 bytes into a destination of size 255 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ CC testcases/kernel/syscalls/link/link02 CC testcases/kernel/syscalls/link/link05 CC testcases/kernel/syscalls/link/link04 CC testcases/kernel/syscalls/link/link03 CC testcases/kernel/syscalls/link/link08 CC testcases/kernel/syscalls/userfaultfd/userfaultfd01 CC testcases/kernel/syscalls/sendfile/sendfile02 CC testcases/kernel/syscalls/sendfile/sendfile05 CC testcases/kernel/syscalls/sendfile/sendfile03 CC testcases/kernel/syscalls/sendfile/sendfile04 CC testcases/kernel/syscalls/sendfile/sendfile08 CC testcases/kernel/syscalls/sendfile/sendfile02_64.o CC testcases/kernel/syscalls/sendfile/sendfile07 CC testcases/kernel/syscalls/sendfile/sendfile03_64.o CC testcases/kernel/syscalls/sendfile/sendfile09 CC testcases/kernel/syscalls/sendfile/sendfile04_64.o CC testcases/kernel/syscalls/sendfile/sendfile06 CC testcases/kernel/syscalls/sendfile/sendfile05_64.o CC testcases/kernel/syscalls/sendfile/sendfile06_64.o CC testcases/kernel/syscalls/sendfile/sendfile07_64.o CC testcases/kernel/syscalls/sendfile/sendfile08_64.o CC testcases/kernel/syscalls/sendfile/sendfile09_64.o LD testcases/kernel/syscalls/sendfile/sendfile02_64 LD testcases/kernel/syscalls/sendfile/sendfile03_64 LD testcases/kernel/syscalls/sendfile/sendfile04_64 LD testcases/kernel/syscalls/sendfile/sendfile05_64 LD testcases/kernel/syscalls/sendfile/sendfile07_64 LD testcases/kernel/syscalls/sendfile/sendfile06_64 LD testcases/kernel/syscalls/sendfile/sendfile08_64 LD testcases/kernel/syscalls/sendfile/sendfile09_64 rm sendfile02_64.o sendfile08_64.o sendfile09_64.o sendfile03_64.o sendfile05_64.o sendfile04_64.o sendfile07_64.o sendfile06_64.o CC testcases/kernel/syscalls/string/string01 execve03.c: In function 'setup': execve03.c:97:32: warning: '/fake' directive writing 5 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] 97 | sprintf(test_name3, "%s/fake", test_name5); | ^~~~~ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/stdio.h:906, from execve03.c:47: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 6 and 1029 bytes into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ CC testcases/kernel/syscalls/execve/execve02 CC testcases/kernel/syscalls/execve/execve01 CC testcases/kernel/syscalls/execve/execve01_child CC testcases/kernel/syscalls/execve/execve03 CC testcases/kernel/syscalls/execve/execve06 CC testcases/kernel/syscalls/execve/execve04 CC testcases/kernel/syscalls/execve/execve06_child CC testcases/kernel/syscalls/execve/execve05 CC testcases/kernel/syscalls/execve/execve_child CC testcases/kernel/syscalls/sysctl/sysctl04 CC testcases/kernel/syscalls/sysctl/sysctl01 CC testcases/kernel/syscalls/sysctl/sysctl03 CC testcases/kernel/syscalls/pidfd_getfd/pidfd_getfd01 CC testcases/kernel/syscalls/pidfd_getfd/pidfd_getfd02 CC testcases/kernel/syscalls/getresuid/getresuid01_16.o CC testcases/kernel/syscalls/getresuid/getresuid02_16.o CC testcases/kernel/syscalls/getresuid/getresuid01.o CC testcases/kernel/syscalls/getresuid/getresuid03_16.o CC testcases/kernel/syscalls/getresuid/getresuid03.o CC testcases/kernel/syscalls/getresuid/getresuid02.o LD testcases/kernel/syscalls/getresuid/getresuid01 LD testcases/kernel/syscalls/getresuid/getresuid03 LD testcases/kernel/syscalls/getresuid/getresuid01_16 LD testcases/kernel/syscalls/getresuid/getresuid02 LD testcases/kernel/syscalls/getresuid/getresuid02_16 LD testcases/kernel/syscalls/getresuid/getresuid03_16 rm getresuid02_16.o getresuid03_16.o getresuid01.o getresuid02.o getresuid01_16.o getresuid03.o CC testcases/kernel/syscalls/fsetxattr/fsetxattr02 CC testcases/kernel/syscalls/fsetxattr/fsetxattr01 CC testcases/kernel/syscalls/capget/capget02 CC testcases/kernel/syscalls/capget/capget01 CC testcases/kernel/syscalls/umount/umount03 CC testcases/kernel/syscalls/umount/umount01 CC testcases/kernel/syscalls/umount/umount02 CC testcases/kernel/syscalls/exit/exit01 CC testcases/kernel/syscalls/exit/exit02 CC testcases/kernel/syscalls/setresgid/setresgid03.o CC testcases/kernel/syscalls/setresgid/setresgid01_16.o CC testcases/kernel/syscalls/setresgid/setresgid02.o CC testcases/kernel/syscalls/setresgid/setresgid02_16.o CC testcases/kernel/syscalls/setresgid/setresgid04.o CC testcases/kernel/syscalls/setresgid/setresgid03_16.o CC testcases/kernel/syscalls/setresgid/setresgid01.o CC testcases/kernel/syscalls/setresgid/setresgid04_16.o LD testcases/kernel/syscalls/setresgid/setresgid02 LD testcases/kernel/syscalls/setresgid/setresgid01 LD testcases/kernel/syscalls/setresgid/setresgid03 LD testcases/kernel/syscalls/setresgid/setresgid04 LD testcases/kernel/syscalls/setresgid/setresgid01_16 LD testcases/kernel/syscalls/setresgid/setresgid02_16 LD testcases/kernel/syscalls/setresgid/setresgid03_16 LD testcases/kernel/syscalls/setresgid/setresgid04_16 rm setresgid01_16.o setresgid02_16.o setresgid03_16.o setresgid04.o setresgid04_16.o setresgid03.o setresgid01.o setresgid02.o CC testcases/kernel/syscalls/getpgid/getpgid01 CC testcases/kernel/syscalls/getpgid/getpgid02 symlink01.c: In function 'creat_symlink': symlink01.c:650:51: warning: unused parameter '_path3' [-Wunused-parameter] 650 | int creat_symlink(char *path1, char *path2, char *_path3) | ~~~~~~^~~~~~ symlink01.c: In function 'creat_object': symlink01.c:678:37: warning: unused parameter '_path2' [-Wunused-parameter] 678 | int creat_object(char *path1, char *_path2, char *_path3) | ~~~~~~^~~~~~ symlink01.c:678:51: warning: unused parameter '_path3' [-Wunused-parameter] 678 | int creat_object(char *path1, char *_path2, char *_path3) | ~~~~~~^~~~~~ symlink01.c: In function 'ck_object': symlink01.c:859:34: warning: unused parameter 'path2' [-Wunused-parameter] 859 | int ck_object(char *path1, char *path2, char *path3) | ~~~~~~^~~~~ symlink01.c:859:47: warning: unused parameter 'path3' [-Wunused-parameter] 859 | int ck_object(char *path1, char *path2, char *path3) | ~~~~~~^~~~~ In file included from symlink01.c:219: symlink01.c: In function 'do_link': ../../../../include/old/test.h:123:19: warning: format '%d' expects argument of type 'int', but argument 8 has type '__nlink_t' {aka 'long unsigned int'} [-Wformat=] 123 | (arg_fmt), ##__VA_ARGS__) | ^~~~~~~~~ symlink01.c:1563:41: note: in expansion of macro 'tst_resm' 1563 | tst_resm(TFAIL, | ^~~~~~~~ ../../../../include/old/test.h:123:19: warning: format '%d' expects argument of type 'int', but argument 10 has type '__nlink_t' {aka 'long unsigned int'} [-Wformat=] 123 | (arg_fmt), ##__VA_ARGS__) | ^~~~~~~~~ symlink01.c:1563:41: note: in expansion of macro 'tst_resm' 1563 | tst_resm(TFAIL, | ^~~~~~~~ ../../../../include/old/test.h:123:19: warning: format '%d' expects argument of type 'int', but argument 12 has type '__nlink_t' {aka 'long unsigned int'} [-Wformat=] 123 | (arg_fmt), ##__VA_ARGS__) | ^~~~~~~~~ symlink01.c:1563:41: note: in expansion of macro 'tst_resm' 1563 | tst_resm(TFAIL, | ^~~~~~~~ symlink01.c: In function 'do_ENOENT': symlink01.c:1095:25: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 1095 | chdir(tst_get_tmpdir()); | ^~~~~~~~~~~~~~~~~~~~~~~ symlink01.c: In function 'do_ELOOP': symlink01.c:1177:25: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 1177 | chdir(tst_get_tmpdir()); | ^~~~~~~~~~~~~~~~~~~~~~~ symlink01.c: In function 'do_chdir': symlink01.c:1517:25: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 1517 | chdir(tst_get_tmpdir()); | ^~~~~~~~~~~~~~~~~~~~~~~ CC testcases/kernel/syscalls/symlink/symlink02 CC testcases/kernel/syscalls/symlink/symlink03 CC testcases/kernel/syscalls/symlink/symlink04 In function 'delete_files', inlined from 'do_ENOENT' at symlink01.c:1107:4: symlink01.c:639:9: warning: argument 1 null where non-null expected [-Wnonnull] 639 | unlink(path2); | ^~~~~~~~~~~~~ In file included from symlink01.c:217: symlink01.c: In function 'do_ENOENT': /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/unistd.h:858:12: note: in a call to function 'unlink' declared 'nonnull' 858 | extern int unlink (const char *__name) __THROW __nonnull ((1)); | ^~~~~~ CC testcases/kernel/syscalls/symlink/symlink05 In function 'delete_files', inlined from 'do_EXDEV' at symlink01.c:1290:4, inlined from 'do_EXDEV' at symlink01.c:1269:6: symlink01.c:639:9: warning: argument 1 null where non-null expected [-Wnonnull] 639 | unlink(path2); | ^~~~~~~~~~~~~ In file included from symlink01.c:217: symlink01.c: In function 'do_EXDEV': /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/unistd.h:858:12: note: in a call to function 'unlink' declared 'nonnull' 858 | extern int unlink (const char *__name) __THROW __nonnull ((1)); | ^~~~~~ In function 'delete_files', inlined from 'do_link' at symlink01.c:1576:3: symlink01.c:639:9: warning: argument 1 null where non-null expected [-Wnonnull] 639 | unlink(path2); | ^~~~~~~~~~~~~ In file included from symlink01.c:217: symlink01.c: In function 'do_link': /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/unistd.h:858:12: note: in a call to function 'unlink' declared 'nonnull' 858 | extern int unlink (const char *__name) __THROW __nonnull ((1)); | ^~~~~~ CC testcases/kernel/syscalls/symlink/symlink01 CC testcases/kernel/syscalls/lstat/lstat01_64.o CC testcases/kernel/syscalls/lstat/lstat02_64.o CC testcases/kernel/syscalls/lstat/lstat01 CC testcases/kernel/syscalls/lstat/lstat02 LD testcases/kernel/syscalls/lstat/lstat01_64 LD testcases/kernel/syscalls/lstat/lstat02_64 rm lstat01_64.o lstat02_64.o CC testcases/kernel/syscalls/request_key/request_key01 CC testcases/kernel/syscalls/request_key/request_key04 CC testcases/kernel/syscalls/request_key/request_key03 CC testcases/kernel/syscalls/request_key/request_key02 CC testcases/kernel/syscalls/request_key/request_key05 CC testcases/kernel/syscalls/io_cancel/io_cancel01 CC testcases/kernel/syscalls/io_cancel/io_cancel02 CC testcases/kernel/syscalls/epoll_ctl/epoll_ctl03 CC testcases/kernel/syscalls/epoll_ctl/epoll_ctl02 CC testcases/kernel/syscalls/epoll_ctl/epoll_ctl04 CC testcases/kernel/syscalls/epoll_ctl/epoll_ctl01 CC testcases/kernel/syscalls/epoll_ctl/epoll_ctl05 madvise06.c: In function 'setup': madvise06.c:108:9: warning: implicit declaration of function 'sysinfo' [-Wimplicit-function-declaration] 108 | sysinfo(&sys_buf_start); | ^~~~~~~ CC testcases/kernel/syscalls/madvise/madvise05 CC testcases/kernel/syscalls/madvise/madvise01 CC testcases/kernel/syscalls/madvise/madvise02 CC testcases/kernel/syscalls/madvise/madvise06 madvise08.c: In function 'find_sequence': madvise08.c:136:28: warning: this statement may fall through [-Wimplicit-fallthrough=] 136 | if (expectc == 'z') { | ^ madvise08.c:140:17: note: here 140 | default: | ^~~~~~~ madvise09.c: In function 'setup_cgroup_paths': madvise09.c:97:53: warning: '/tasks' directive output may be truncated writing 6 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 97 | snprintf(tasks_path, sizeof(tasks_path), "%s/tasks", cgroup_path); | ^~~~~~ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/stdio.h:906, from madvise09.c:42: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/stdio2.h:54:10: note: '__builtin_snprintf' output between 7 and 4102 bytes into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ madvise09.c:99:21: warning: '/memory.limit_in_bytes' directive output may be truncated writing 22 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 99 | "%s/memory.limit_in_bytes", cgroup_path); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/stdio.h:906, from madvise09.c:42: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/stdio2.h:54:10: note: '__builtin_snprintf' output between 23 and 4118 bytes into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ madvise09.c:101:21: warning: '/memory.memsw.limit_in_bytes' directive output may be truncated writing 28 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 101 | "%s/memory.memsw.limit_in_bytes", cgroup_path); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/stdio.h:906, from madvise09.c:42: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/stdio2.h:54:10: note: '__builtin_snprintf' output between 29 and 4124 bytes into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ CC testcases/kernel/syscalls/madvise/madvise07 CC testcases/kernel/syscalls/madvise/madvise08 CC testcases/kernel/syscalls/madvise/madvise10 CC testcases/kernel/syscalls/madvise/madvise09 In file included from execveat01.c:28: execveat.h: In function 'check_execveat': execveat.h:11:15: warning: argument 3 null where non-null expected [-Wnonnull] 11 | ret = execveat(-1, "", NULL, NULL, AT_EMPTY_PATH); | ^~~~~~~~ In file included from ../../../../include/tst_test.h:14, from execveat01.c:25: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/unistd.h:300:12: note: in a call to function 'execveat' declared 'nonnull' 300 | extern int execveat (int __fd, const char *__path, char *const __argv[], | ^~~~~~~~ In file included from execveat03.c:35: execveat.h: In function 'check_execveat': execveat.h:11:15: warning: argument 3 null where non-null expected [-Wnonnull] 11 | ret = execveat(-1, "", NULL, NULL, AT_EMPTY_PATH); | ^~~~~~~~ In file included from ../../../../include/tst_test.h:14, from execveat03.c:32: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/unistd.h:300:12: note: in a call to function 'execveat' declared 'nonnull' 300 | extern int execveat (int __fd, const char *__path, char *const __argv[], | ^~~~~~~~ In file included from execveat02.c:26: execveat.h: In function 'check_execveat': execveat.h:11:15: warning: argument 3 null where non-null expected [-Wnonnull] 11 | ret = execveat(-1, "", NULL, NULL, AT_EMPTY_PATH); | ^~~~~~~~ In file included from ../../../../include/tst_test.h:14, from execveat02.c:23: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/unistd.h:300:12: note: in a call to function 'execveat' declared 'nonnull' 300 | extern int execveat (int __fd, const char *__path, char *const __argv[], | ^~~~~~~~ execveat01.c: In function 'setup': execveat01.c:72:35: warning: '%s' directive writing 22 bytes into a region of size between 0 and 511 [-Wformat-overflow=] 72 | sprintf(app_abs_path, "%s/%s", cur_dir_path, TEST_REL_APP); | ^~ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/stdio.h:906, from execveat01.c:22: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 24 and 535 bytes into a destination of size 512 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ CC testcases/kernel/syscalls/execveat/execveat_child execveat02.c: In function 'setup': execveat02.c:80:35: warning: '%s' directive writing 22 bytes into a region of size between 0 and 511 [-Wformat-overflow=] 80 | sprintf(app_abs_path, "%s/%s", cur_dir_path, TEST_REL_APP); | ^~ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/stdio.h:906, from execveat02.c:20: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 24 and 535 bytes into a destination of size 512 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ execveat02.c:81:35: warning: '%s' directive writing 24 bytes into a region of size between 0 and 511 [-Wformat-overflow=] 81 | sprintf(app_sym_path, "%s/%s", cur_dir_path, TEST_ERL_SYMLINK); | ^~ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/stdio.h:906, from execveat02.c:20: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 26 and 537 bytes into a destination of size 512 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ CC testcases/kernel/syscalls/execveat/execveat03 CC testcases/kernel/syscalls/execveat/execveat01 CC testcases/kernel/syscalls/execveat/execveat02 CC testcases/kernel/syscalls/execveat/execveat_errno CC testcases/kernel/syscalls/brk/brk01 CC testcases/kernel/syscalls/brk/brk02 CC testcases/kernel/syscalls/lremovexattr/lremovexattr01 CC testcases/kernel/syscalls/fstatfs/fstatfs01_64.o CC testcases/kernel/syscalls/fstatfs/fstatfs02_64.o CC testcases/kernel/syscalls/fstatfs/fstatfs01 CC testcases/kernel/syscalls/fstatfs/fstatfs02 LD testcases/kernel/syscalls/fstatfs/fstatfs02_64 LD testcases/kernel/syscalls/fstatfs/fstatfs01_64 rm fstatfs01_64.o fstatfs02_64.o CC testcases/kernel/syscalls/utimensat/utimensat01 CC testcases/kernel/syscalls/sendto/sendto02 CC testcases/kernel/syscalls/sendto/sendto03 CC testcases/kernel/syscalls/sendto/sendto01 CC testcases/kernel/syscalls/prctl/prctl01 CC testcases/kernel/syscalls/prctl/prctl03 CC testcases/kernel/syscalls/prctl/prctl02 CC testcases/kernel/syscalls/prctl/prctl04 CC testcases/kernel/syscalls/prctl/prctl05 CC testcases/kernel/syscalls/prctl/prctl06 CC testcases/kernel/syscalls/prctl/prctl06_execve CC testcases/kernel/syscalls/prctl/prctl07 CC testcases/kernel/syscalls/prctl/prctl09 CC testcases/kernel/syscalls/prctl/prctl08 CC testcases/kernel/syscalls/chroot/chroot04 CC testcases/kernel/syscalls/chroot/chroot03 CC testcases/kernel/syscalls/chroot/chroot02 CC testcases/kernel/syscalls/chroot/chroot01 CC testcases/kernel/syscalls/fadvise/posix_fadvise04 CC testcases/kernel/syscalls/fadvise/posix_fadvise01_64.o CC testcases/kernel/syscalls/fadvise/posix_fadvise03 CC testcases/kernel/syscalls/fadvise/posix_fadvise02_64.o CC testcases/kernel/syscalls/fadvise/posix_fadvise01 CC testcases/kernel/syscalls/fadvise/posix_fadvise03_64.o CC testcases/kernel/syscalls/fadvise/posix_fadvise02 CC testcases/kernel/syscalls/fadvise/posix_fadvise04_64.o LD testcases/kernel/syscalls/fadvise/posix_fadvise02_64 LD testcases/kernel/syscalls/fadvise/posix_fadvise01_64 LD testcases/kernel/syscalls/fadvise/posix_fadvise03_64 LD testcases/kernel/syscalls/fadvise/posix_fadvise04_64 rm posix_fadvise01_64.o posix_fadvise02_64.o posix_fadvise03_64.o posix_fadvise04_64.o CC testcases/kernel/syscalls/vmsplice/vmsplice03 CC testcases/kernel/syscalls/vmsplice/vmsplice01 CC testcases/kernel/syscalls/vmsplice/vmsplice04 CC testcases/kernel/syscalls/vmsplice/vmsplice02 CC testcases/kernel/syscalls/finit_module/finit_module01 CC testcases/kernel/syscalls/finit_module/finit_module02 CC testcases/kernel/syscalls/preadv2/preadv201_64.o CC testcases/kernel/syscalls/preadv2/preadv202 CC testcases/kernel/syscalls/preadv2/preadv202_64.o CC testcases/kernel/syscalls/preadv2/preadv201 CC testcases/kernel/syscalls/preadv2/preadv203_64.o LD testcases/kernel/syscalls/preadv2/preadv201_64 CC testcases/kernel/syscalls/preadv2/preadv203 LD testcases/kernel/syscalls/preadv2/preadv202_64 LD testcases/kernel/syscalls/preadv2/preadv203_64 rm preadv201_64.o preadv202_64.o preadv203_64.o CC testcases/kernel/syscalls/flock/flock03 CC testcases/kernel/syscalls/flock/flock02 CC testcases/kernel/syscalls/flock/flock01 CC testcases/kernel/syscalls/flock/flock04 CC testcases/kernel/syscalls/flock/flock06 CC testcases/kernel/syscalls/alarm/alarm05 CC testcases/kernel/syscalls/alarm/alarm03 CC testcases/kernel/syscalls/alarm/alarm02 CC testcases/kernel/syscalls/alarm/alarm06 CC testcases/kernel/syscalls/alarm/alarm07 CC testcases/kernel/syscalls/getrlimit/getrlimit02 CC testcases/kernel/syscalls/getrlimit/getrlimit01 CC testcases/kernel/syscalls/getrlimit/getrlimit03 CC testcases/kernel/syscalls/open_by_handle_at/open_by_handle_at01 CC testcases/kernel/syscalls/open_by_handle_at/open_by_handle_at02 CC testcases/kernel/syscalls/fanotify/fanotify02 CC testcases/kernel/syscalls/fanotify/fanotify04 CC testcases/kernel/syscalls/fanotify/fanotify01 CC testcases/kernel/syscalls/fanotify/fanotify03 CC testcases/kernel/syscalls/fanotify/fanotify05 CC testcases/kernel/syscalls/fanotify/fanotify06 CC testcases/kernel/syscalls/fanotify/fanotify08 CC testcases/kernel/syscalls/fanotify/fanotify07 CC testcases/kernel/syscalls/fanotify/fanotify12 CC testcases/kernel/syscalls/fanotify/fanotify11 CC testcases/kernel/syscalls/fanotify/fanotify10 CC testcases/kernel/syscalls/fanotify/fanotify09 CC testcases/kernel/syscalls/fanotify/fanotify13 CC testcases/kernel/syscalls/fanotify/fanotify14 CC testcases/kernel/syscalls/fanotify/fanotify15 CC testcases/kernel/syscalls/fanotify/fanotify18 CC testcases/kernel/syscalls/fanotify/fanotify17 CC testcases/kernel/syscalls/fanotify/fanotify20 CC testcases/kernel/syscalls/fanotify/fanotify16 CC testcases/kernel/syscalls/fanotify/fanotify19 CC testcases/kernel/syscalls/fanotify/fanotify_child CC testcases/kernel/syscalls/fanotify/fanotify21 CC testcases/kernel/syscalls/fanotify/fanotify23 CC testcases/kernel/syscalls/fanotify/fanotify22 CC testcases/kernel/syscalls/timer_getoverrun/timer_getoverrun01 CC testcases/kernel/syscalls/pipe/pipe03 CC testcases/kernel/syscalls/pipe/pipe01 CC testcases/kernel/syscalls/pipe/pipe02 CC testcases/kernel/syscalls/pipe/pipe04 CC testcases/kernel/syscalls/pipe/pipe06 CC testcases/kernel/syscalls/pipe/pipe05 CC testcases/kernel/syscalls/pipe/pipe08 CC testcases/kernel/syscalls/pipe/pipe07 CC testcases/kernel/syscalls/pipe/pipe09 CC testcases/kernel/syscalls/pipe/pipe10 CC testcases/kernel/syscalls/pipe/pipe11 CC testcases/kernel/syscalls/pipe/pipe12 CC testcases/kernel/syscalls/pipe/pipe13 CC testcases/kernel/syscalls/fremovexattr/fremovexattr01 CC testcases/kernel/syscalls/fremovexattr/fremovexattr02 CC testcases/kernel/syscalls/connect/connect02 CC testcases/kernel/syscalls/connect/connect01 CC testcases/kernel/syscalls/io_uring/io_uring01 CC testcases/kernel/syscalls/io_uring/io_uring02 CC testcases/kernel/syscalls/epoll_wait/epoll_wait04 CC testcases/kernel/syscalls/epoll_wait/epoll_wait02 CC testcases/kernel/syscalls/epoll_wait/epoll_wait03 CC testcases/kernel/syscalls/epoll_wait/epoll_wait01 CC testcases/kernel/syscalls/bind/bind02 CC testcases/kernel/syscalls/bind/bind01 CC testcases/kernel/syscalls/bind/bind04 CC testcases/kernel/syscalls/bind/bind03 CC testcases/kernel/syscalls/bind/bind05 CC testcases/kernel/syscalls/bind/bind06 CC testcases/kernel/syscalls/sync/sync01 CC testcases/kernel/syscalls/mprotect/mprotect01 CC testcases/kernel/syscalls/mprotect/mprotect02 CC testcases/kernel/syscalls/mprotect/mprotect03 CC testcases/kernel/syscalls/mprotect/mprotect04 CC testcases/kernel/syscalls/mincore/mincore03 CC testcases/kernel/syscalls/mincore/mincore02 CC testcases/kernel/syscalls/mincore/mincore01 CC testcases/kernel/syscalls/mincore/mincore04 CC testcases/kernel/syscalls/openat/openat02_child openat01.c: In function 'setup': openat01.c:87:49: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 256 [-Wformat-truncation=] 87 | snprintf(glob_path, sizeof(glob_path), "%s/" TEST_DIR TEST_FILE, buf); | ^~ ~~~ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/stdio.h:906, from openat01.c:34: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/stdio2.h:54:10: note: '__builtin_snprintf' output between 20 and 4115 bytes into a destination of size 256 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ CC testcases/kernel/syscalls/openat/openat01 CC testcases/kernel/syscalls/openat/openat02 CC testcases/kernel/syscalls/openat/openat03 CC testcases/kernel/syscalls/modify_ldt/modify_ldt03 CC testcases/kernel/syscalls/modify_ldt/modify_ldt02 CC testcases/kernel/syscalls/modify_ldt/modify_ldt01 CC testcases/kernel/syscalls/fstat/fstat03_64.o CC testcases/kernel/syscalls/fstat/fstat02_64.o CC testcases/kernel/syscalls/fstat/fstat02 CC testcases/kernel/syscalls/fstat/fstat03 LD testcases/kernel/syscalls/fstat/fstat03_64 LD testcases/kernel/syscalls/fstat/fstat02_64 rm fstat02_64.o fstat03_64.o CC testcases/kernel/syscalls/capset/capset01 CC testcases/kernel/syscalls/capset/capset04 CC testcases/kernel/syscalls/capset/capset02 CC testcases/kernel/syscalls/capset/capset03 CC testcases/kernel/syscalls/getsockname/getsockname01 CC testcases/kernel/syscalls/adjtimex/adjtimex01 CC testcases/kernel/syscalls/adjtimex/adjtimex03 CC testcases/kernel/syscalls/adjtimex/adjtimex02 CC testcases/kernel/syscalls/memset/memset01 CC testcases/kernel/syscalls/syncfs/syncfs01 CC testcases/kernel/syscalls/keyctl/keyctl04 CC testcases/kernel/syscalls/keyctl/keyctl03 CC testcases/kernel/syscalls/keyctl/keyctl02 CC testcases/kernel/syscalls/keyctl/keyctl01 CC testcases/kernel/syscalls/keyctl/keyctl07 CC testcases/kernel/syscalls/keyctl/keyctl05 CC testcases/kernel/syscalls/keyctl/keyctl06 CC testcases/kernel/syscalls/keyctl/keyctl08 CC testcases/kernel/syscalls/keyctl/keyctl09 memfd_create_common.c: In function 'check_mfd_growable_by_write': memfd_create_common.c:446:13: warning: 'buf' is used uninitialized [-Wuninitialized] 446 | if (pwrite(fd, buf, sizeof(buf), 0) != sizeof(buf)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from memfd_create_common.c:15: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/unistd.h:398:16: note: in a call to 'pwrite' declared with attribute 'access (read_only, 2, 3)' here 398 | extern ssize_t pwrite (int __fd, const void *__buf, size_t __n, | ^~~~~~ memfd_create_common.c:444:14: note: 'buf' declared here 444 | char buf[MFD_DEF_SIZE * 8]; | ^~~ memfd_create_common.c: In function 'check_mfd_non_growable_by_write': memfd_create_common.c:465:13: warning: 'buf' is used uninitialized [-Wuninitialized] 465 | if (pwrite(fd, buf, sizeof(buf), 0) == sizeof(buf)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from memfd_create_common.c:15: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/unistd.h:398:16: note: in a call to 'pwrite' declared with attribute 'access (read_only, 2, 3)' here 398 | extern ssize_t pwrite (int __fd, const void *__buf, size_t __n, | ^~~~~~ memfd_create_common.c:463:14: note: 'buf' declared here 463 | char buf[MFD_DEF_SIZE * 8]; | ^~~ CC testcases/kernel/syscalls/memfd_create/memfd_create_common.o memfd_create04.c:28: warning: "PATH_HUGEPAGES" redefined 28 | #define PATH_HUGEPAGES "/sys/kernel/mm/hugepages" | In file included from ../../../../include/tst_test.h:40, from memfd_create04.c:22: ../../../../include/tst_hugepage.h:9: note: this is the location of the previous definition 9 | #define PATH_HUGEPAGES "/sys/kernel/mm/hugepages/" | CC testcases/kernel/syscalls/memfd_create/memfd_create04 CC testcases/kernel/syscalls/memfd_create/memfd_create02 CC testcases/kernel/syscalls/memfd_create/memfd_create03 CC testcases/kernel/syscalls/memfd_create/memfd_create01 CC testcases/kernel/syscalls/times/times01 CC testcases/kernel/syscalls/times/times03 CC testcases/kernel/syscalls/sbrk/sbrk01 CC testcases/kernel/syscalls/sbrk/sbrk02 CC testcases/kernel/syscalls/sbrk/sbrk03 CC testcases/kernel/syscalls/getitimer/getitimer03 CC testcases/kernel/syscalls/getitimer/getitimer01 CC testcases/kernel/syscalls/getitimer/getitimer02 CC testcases/kernel/syscalls/mkdirat/mkdirat02 CC testcases/kernel/syscalls/mkdirat/mkdirat01 CC testcases/kernel/syscalls/fchmodat/fchmodat01 CC testcases/kernel/syscalls/sched_setparam/sched_setparam01 CC testcases/kernel/syscalls/sched_setparam/sched_setparam04 CC testcases/kernel/syscalls/sched_setparam/sched_setparam02 CC testcases/kernel/syscalls/sched_setparam/sched_setparam03 CC testcases/kernel/syscalls/sched_setparam/sched_setparam05 CC testcases/kernel/syscalls/timer_create/timer_create02 CC testcases/kernel/syscalls/timer_create/timer_create01 CC testcases/kernel/syscalls/timer_create/timer_create03 CC testcases/kernel/syscalls/truncate/truncate02_64.o CC testcases/kernel/syscalls/truncate/truncate03_64.o CC testcases/kernel/syscalls/truncate/truncate03 CC testcases/kernel/syscalls/truncate/truncate02 LD testcases/kernel/syscalls/truncate/truncate03_64 LD testcases/kernel/syscalls/truncate/truncate02_64 rm truncate02_64.o truncate03_64.o CC testcases/kernel/syscalls/move_mount/move_mount02 CC testcases/kernel/syscalls/move_mount/move_mount01 CC testcases/kernel/syscalls/access/access03 CC testcases/kernel/syscalls/access/access04 CC testcases/kernel/syscalls/access/access01 CC testcases/kernel/syscalls/access/access02 CC testcases/kernel/syscalls/lgetxattr/lgetxattr02 CC testcases/kernel/syscalls/lgetxattr/lgetxattr01 CC testcases/kernel/syscalls/perf_event_open/perf_event_open03 CC testcases/kernel/syscalls/perf_event_open/perf_event_open01 CC testcases/kernel/syscalls/perf_event_open/perf_event_open02 CC testcases/kernel/syscalls/pwritev/pwritev01_64.o CC testcases/kernel/syscalls/pwritev/pwritev02 CC testcases/kernel/syscalls/pwritev/pwritev02_64.o CC testcases/kernel/syscalls/pwritev/pwritev01 CC testcases/kernel/syscalls/pwritev/pwritev03_64.o CC testcases/kernel/syscalls/pwritev/pwritev03 LD testcases/kernel/syscalls/pwritev/pwritev01_64 LD testcases/kernel/syscalls/pwritev/pwritev02_64 LD testcases/kernel/syscalls/pwritev/pwritev03_64 rm pwritev01_64.o pwritev02_64.o pwritev03_64.o CC testcases/kernel/syscalls/syslog/syslog12 CC testcases/kernel/syscalls/syslog/syslog11 CC testcases/kernel/syscalls/mlock/mlock04 CC testcases/kernel/syscalls/mlock/mlock03 CC testcases/kernel/syscalls/mlock/mlock01 CC testcases/kernel/syscalls/mlock/mlock02 recvfrom01.c: In function 'do_child': recvfrom01.c:323:39: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 323 | (void)write(newfd, "hoser\n", 6); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ CC testcases/kernel/syscalls/recvfrom/recvfrom01 CC testcases/kernel/syscalls/select/select04 In file included from ../../../../include/tst_test.h:98, from ../../../../include/tst_timer.h:19, from select_var.h:8, from select01.c:19: select01.c: In function 'run': ../../../../include/tst_safe_macros.h:181:9: warning: 'buf' may be used uninitialized [-Wmaybe-uninitialized] 181 | safe_write(__FILE__, __LINE__, NULL, (len_strict), (fildes), (buf), (nbyte)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ select01.c:48:17: note: in expansion of macro 'SAFE_WRITE' 48 | SAFE_WRITE(0, *tc->writefd, &buf, sizeof(buf)); | ^~~~~~~~~~ In file included from ../../../../include/tst_safe_macros.h:24, from ../../../../include/tst_test.h:98, from ../../../../include/tst_timer.h:19, from select_var.h:8, from select01.c:19: ../../../../include/safe_macros_fn.h:113:9: note: by argument 6 of type 'const void *' to 'safe_write' declared here 113 | ssize_t safe_write(const char *file, const int lineno, | ^~~~~~~~~~ select01.c:41:14: note: 'buf' declared here 41 | char buf; | ^~~ CC testcases/kernel/syscalls/select/select03 CC testcases/kernel/syscalls/select/select02 CC testcases/kernel/syscalls/select/select01 CC testcases/kernel/syscalls/setsockopt/setsockopt03 CC testcases/kernel/syscalls/setsockopt/setsockopt02 CC testcases/kernel/syscalls/setsockopt/setsockopt04 CC testcases/kernel/syscalls/setsockopt/setsockopt01 CC testcases/kernel/syscalls/setsockopt/setsockopt05 CC testcases/kernel/syscalls/setsockopt/setsockopt08 CC testcases/kernel/syscalls/setsockopt/setsockopt09 CC testcases/kernel/syscalls/setsockopt/setsockopt06 CC testcases/kernel/syscalls/setsockopt/setsockopt07 inotify02.c: In function 'verify_inotify': inotify02.c:99:39: warning: '.rename1' directive output may be truncated writing 8 bytes into a region of size between 1 and 256 [-Wformat-truncation=] 99 | snprintf(fname2, BUF_SIZE, "%s.rename1", fname1); | ^~~~~~~~ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/stdio.h:906, from inotify02.c:15: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/stdio2.h:54:10: note: '__builtin_snprintf' output between 9 and 264 bytes into a destination of size 256 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ inotify02.c:116:39: warning: '.rename2' directive output may be truncated writing 8 bytes into a region of size between 1 and 256 [-Wformat-truncation=] 116 | snprintf(fname3, BUF_SIZE, "%s.rename2", fname1); | ^~~~~~~~ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/stdio.h:906, from inotify02.c:15: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/stdio2.h:54:10: note: '__builtin_snprintf' output between 9 and 264 bytes into a destination of size 256 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ CC testcases/kernel/syscalls/inotify/inotify04 CC testcases/kernel/syscalls/inotify/inotify01 CC testcases/kernel/syscalls/inotify/inotify03 CC testcases/kernel/syscalls/inotify/inotify02 CC testcases/kernel/syscalls/inotify/inotify06 CC testcases/kernel/syscalls/inotify/inotify05 CC testcases/kernel/syscalls/inotify/inotify08 CC testcases/kernel/syscalls/inotify/inotify07 CC testcases/kernel/syscalls/inotify/inotify11 CC testcases/kernel/syscalls/inotify/inotify10 CC testcases/kernel/syscalls/inotify/inotify12 CC testcases/kernel/syscalls/inotify/inotify09 CC testcases/kernel/syscalls/getcpu/getcpu01 vfork02.c: In function 'setup': vfork02.c:183:9: warning: 'sighold' is deprecated: Use the sigprocmask function instead [-Wdeprecated-declarations] 183 | if (sighold(SIGUSR1) == -1) { | ^~ In file included from vfork02.c:76: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/signal.h:355:12: note: declared here 355 | extern int sighold (int __sig) __THROW | ^~~~~~~ vfork02.c: In function 'cleanup': vfork02.c:225:9: warning: 'sigrelse' is deprecated: Use the sigprocmask function instead [-Wdeprecated-declarations] 225 | if (sigrelse(SIGUSR1) == -1) { | ^~ In file included from vfork02.c:76: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/signal.h:359:12: note: declared here 359 | extern int sigrelse (int __sig) __THROW | ^~~~~~~~ CC testcases/kernel/syscalls/vfork/vfork01 CC testcases/kernel/syscalls/vfork/vfork02 CC testcases/kernel/syscalls/mq_open/mq_open01 CC testcases/kernel/syscalls/setgid/setgid01_16.o CC testcases/kernel/syscalls/setgid/setgid01.o CC testcases/kernel/syscalls/setgid/setgid02_16.o CC testcases/kernel/syscalls/setgid/setgid02.o CC testcases/kernel/syscalls/setgid/setgid03_16.o CC testcases/kernel/syscalls/setgid/setgid03.o LD testcases/kernel/syscalls/setgid/setgid01 LD testcases/kernel/syscalls/setgid/setgid02 LD testcases/kernel/syscalls/setgid/setgid03 LD testcases/kernel/syscalls/setgid/setgid01_16 LD testcases/kernel/syscalls/setgid/setgid02_16 LD testcases/kernel/syscalls/setgid/setgid03_16 rm setgid01.o setgid01_16.o setgid03.o setgid02_16.o setgid03_16.o setgid02.o CC testcases/kernel/syscalls/setpgrp/setpgrp01 CC testcases/kernel/syscalls/setpgrp/setpgrp02 CC testcases/kernel/syscalls/set_robust_list/set_robust_list01 BUILD libltpipc.a make[6]: Nothing to be done for 'all'. CC testcases/kernel/syscalls/mremap/mremap02 CC testcases/kernel/syscalls/mremap/mremap03 CC testcases/kernel/syscalls/mremap/mremap04 CC testcases/kernel/syscalls/mremap/mremap01 CC testcases/kernel/syscalls/mremap/mremap05 CC testcases/kernel/syscalls/cacheflush/cacheflush01 CC testcases/kernel/syscalls/fallocate/fallocate02 CC testcases/kernel/syscalls/fallocate/fallocate03 CC testcases/kernel/syscalls/fallocate/fallocate01 CC testcases/kernel/syscalls/fallocate/fallocate04 CC testcases/kernel/syscalls/fallocate/fallocate05 CC testcases/kernel/syscalls/fallocate/fallocate06 CC testcases/kernel/syscalls/socket/socket02 CC testcases/kernel/syscalls/socket/socket01 CC testcases/kernel/syscalls/ftruncate/ftruncate01_64.o CC testcases/kernel/syscalls/ftruncate/ftruncate01 CC testcases/kernel/syscalls/ftruncate/ftruncate03 CC testcases/kernel/syscalls/ftruncate/ftruncate03_64.o CC testcases/kernel/syscalls/ftruncate/ftruncate04_64.o CC testcases/kernel/syscalls/ftruncate/ftruncate04 LD testcases/kernel/syscalls/ftruncate/ftruncate01_64 LD testcases/kernel/syscalls/ftruncate/ftruncate03_64 LD testcases/kernel/syscalls/ftruncate/ftruncate04_64 rm ftruncate03_64.o ftruncate04_64.o ftruncate01_64.o clock_settime02.c:17: warning: "NSEC_PER_SEC" redefined 17 | #define NSEC_PER_SEC (1000000000L) | In file included from ../../../../include/tst_timer.h:20, from ../../../../include/time64_variants.h:20, from clock_settime02.c:12: ../../../../include/lapi/common_timers.h:15: note: this is the location of the previous definition 15 | #define NSEC_PER_SEC (1000000000LL) | CC testcases/kernel/syscalls/clock_settime/clock_settime03 CC testcases/kernel/syscalls/clock_settime/clock_settime02 CC testcases/kernel/syscalls/clock_settime/clock_settime01 CC testcases/kernel/syscalls/fchdir/fchdir03 CC testcases/kernel/syscalls/fchdir/fchdir02 CC testcases/kernel/syscalls/fchdir/fchdir01 CC testcases/kernel/syscalls/copy_file_range/copy_file_range03 CC testcases/kernel/syscalls/copy_file_range/copy_file_range02 CC testcases/kernel/syscalls/copy_file_range/copy_file_range01 CC testcases/kernel/syscalls/statfs/statfs01_64.o statfs03.c: In function 'setup': statfs03.c:126:28: warning: '%d' directive writing between 1 and 11 bytes into a region of size between 0 and 29 [-Wformat-overflow=] 126 | sprintf(fname, "%s.%d", fname, getpid()); | ^~ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/stdio.h:906, from statfs03.c:55: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 3 and 42 bytes into a destination of size 30 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ statfs03.c:130:35: warning: '%s' directive writing up to 29 bytes into a region of size between 20 and 49 [-Wformat-overflow=] 130 | sprintf(path, "%s/%s", fname, fname); | ^~ ~~~~~ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/stdio.h:906, from statfs03.c:55: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 2 and 60 bytes into a destination of size 50 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ CC testcases/kernel/syscalls/statfs/statfs01 CC testcases/kernel/syscalls/statfs/statfs02_64.o CC testcases/kernel/syscalls/statfs/statfs03_64.o CC testcases/kernel/syscalls/statfs/statfs03 CC testcases/kernel/syscalls/statfs/statfs02 LD testcases/kernel/syscalls/statfs/statfs01_64 statfs03.c: In function 'setup': statfs03.c:126:28: warning: '%d' directive writing between 1 and 11 bytes into a region of size between 0 and 29 [-Wformat-overflow=] 126 | sprintf(fname, "%s.%d", fname, getpid()); | ^~ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/stdio.h:906, from statfs03.c:55: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 3 and 42 bytes into a destination of size 30 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ statfs03.c:130:35: warning: '%s' directive writing up to 29 bytes into a region of size between 20 and 49 [-Wformat-overflow=] 130 | sprintf(path, "%s/%s", fname, fname); | ^~ ~~~~~ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/stdio.h:906, from statfs03.c:55: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 2 and 60 bytes into a destination of size 50 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ LD testcases/kernel/syscalls/statfs/statfs02_64 LD testcases/kernel/syscalls/statfs/statfs03_64 rm statfs01_64.o statfs02_64.o statfs03_64.o CC testcases/kernel/syscalls/vhangup/vhangup02 CC testcases/kernel/syscalls/vhangup/vhangup01 CC testcases/kernel/syscalls/execl/execl01_child CC testcases/kernel/syscalls/execl/execl01 CC testcases/kernel/syscalls/getrusage/getrusage03_child CC testcases/kernel/syscalls/getrusage/getrusage01 CC testcases/kernel/syscalls/getrusage/getrusage02 CC testcases/kernel/syscalls/getrusage/getrusage03 CC testcases/kernel/syscalls/getrusage/getrusage04 In file included from ../../../../include/lapi/safe_rt_signal.h:9, from rt_sigsuspend01.c:16: ../../../../include/lapi/rt_sigaction.h: In function 'handler_h': ../../../../include/lapi/rt_sigaction.h:59:27: warning: unused parameter 'signal' [-Wunused-parameter] 59 | static void handler_h(int signal) | ~~~~^~~~~~ CC testcases/kernel/syscalls/rt_sigsuspend/rt_sigsuspend01 BUILD libltpsigwait.a make[6]: Nothing to be done for 'all'. CC testcases/kernel/syscalls/sigwait/sigwait01 CC testcases/kernel/syscalls/sockioctl/sockioctl01 CC testcases/kernel/syscalls/chmod/chmod01 CC testcases/kernel/syscalls/chmod/chmod03 CC testcases/kernel/syscalls/chmod/chmod06 CC testcases/kernel/syscalls/chmod/chmod05 CC testcases/kernel/syscalls/chmod/chmod07 CC testcases/kernel/syscalls/renameat2/renameat201 CC testcases/kernel/syscalls/renameat2/renameat202 CC testcases/kernel/syscalls/acct/acct02_helper CC testcases/kernel/syscalls/acct/acct01 CC testcases/kernel/syscalls/acct/acct02 CC testcases/kernel/syscalls/listxattr/listxattr02 CC testcases/kernel/syscalls/listxattr/listxattr01 CC testcases/kernel/syscalls/listxattr/listxattr03 CC testcases/kernel/syscalls/socketcall/socketcall01 CC testcases/kernel/syscalls/socketcall/socketcall03 CC testcases/kernel/syscalls/socketcall/socketcall02 CC testcases/kernel/syscalls/rt_tgsigqueueinfo/rt_tgsigqueueinfo01 CC testcases/kernel/syscalls/setrlimit/setrlimit02 CC testcases/kernel/syscalls/setrlimit/setrlimit04 CC testcases/kernel/syscalls/setrlimit/setrlimit03 CC testcases/kernel/syscalls/setrlimit/setrlimit01 CC testcases/kernel/syscalls/setrlimit/setrlimit05 CC testcases/kernel/syscalls/setrlimit/setrlimit06 CC testcases/kernel/syscalls/munlock/munlock02 CC testcases/kernel/syscalls/munlock/munlock01 CC testcases/kernel/syscalls/getpriority/getpriority01 CC testcases/kernel/syscalls/getpriority/getpriority02 ptrace04.c: In function 'compare_registers': ptrace04.c:50:38: warning: unused parameter 'poison' [-Wunused-parameter] 50 | void compare_registers(unsigned char poison) | ~~~~~~~~~~~~~~^~~~~~ CC testcases/kernel/syscalls/ptrace/ptrace04 CC testcases/kernel/syscalls/ptrace/ptrace03 CC testcases/kernel/syscalls/ptrace/ptrace02 CC testcases/kernel/syscalls/ptrace/ptrace01 CC testcases/kernel/syscalls/ptrace/ptrace05 CC testcases/kernel/syscalls/ptrace/ptrace08 CC testcases/kernel/syscalls/ptrace/ptrace09 CC testcases/kernel/syscalls/ptrace/ptrace07 CC testcases/kernel/syscalls/ptrace/ptrace10 CC testcases/kernel/syscalls/ptrace/ptrace11 CC testcases/kernel/syscalls/pkeys/pkey01 CC testcases/kernel/syscalls/mq_timedsend/mq_timedsend01 CC testcases/kernel/syscalls/getdtablesize/getdtablesize01 CC testcases/kernel/syscalls/memcmp/memcmp01 CC testcases/kernel/syscalls/mq_timedreceive/mq_timedreceive01 CC testcases/kernel/syscalls/faccessat/faccessat01 CC testcases/kernel/syscalls/renameat/renameat01 CC testcases/kernel/syscalls/open_tree/open_tree01 CC testcases/kernel/syscalls/open_tree/open_tree02 CC testcases/kernel/syscalls/gettimeofday/gettimeofday01 CC testcases/kernel/syscalls/gettimeofday/gettimeofday02 CC testcases/kernel/syscalls/readdir/readdir21 CC testcases/kernel/syscalls/readdir/readdir01 CC testcases/kernel/syscalls/setsid/setsid01 CC testcases/kernel/syscalls/send/send02 CC testcases/kernel/syscalls/send/send01 BUILD libltpvdso.a make[6]: Nothing to be done for 'all'. CC testcases/kernel/syscalls/clock_gettime/clock_gettime02 CC testcases/kernel/syscalls/clock_gettime/clock_gettime01 CC testcases/kernel/syscalls/clock_gettime/clock_gettime04 CC testcases/kernel/syscalls/clock_gettime/clock_gettime03 CC testcases/kernel/syscalls/clock_gettime/leapsec01 CC testcases/kernel/syscalls/sync_file_range/sync_file_range02 CC testcases/kernel/syscalls/sync_file_range/sync_file_range01 getpeername01.c: In function 'cleanup4': getpeername01.c:174:26: warning: unused parameter 'i' [-Wunused-parameter] 174 | static void cleanup4(int i) | ~~~~^ CC testcases/kernel/syscalls/getpeername/getpeername01 CC testcases/kernel/syscalls/set_tid_address/set_tid_address01 CC testcases/kernel/syscalls/unshare/unshare01 CC testcases/kernel/syscalls/unshare/unshare02 CC testcases/kernel/syscalls/listen/listen01 CC testcases/kernel/syscalls/dup/dup02 CC testcases/kernel/syscalls/dup/dup01 CC testcases/kernel/syscalls/dup/dup03 CC testcases/kernel/syscalls/dup/dup04 CC testcases/kernel/syscalls/dup/dup05 CC testcases/kernel/syscalls/dup/dup07 CC testcases/kernel/syscalls/dup/dup06 CC testcases/kernel/syscalls/gettid/gettid01 CC testcases/kernel/syscalls/setresuid/setresuid03.o CC testcases/kernel/syscalls/setresuid/setresuid02.o CC testcases/kernel/syscalls/setresuid/setresuid01_16.o CC testcases/kernel/syscalls/setresuid/setresuid04.o CC testcases/kernel/syscalls/setresuid/setresuid02_16.o CC testcases/kernel/syscalls/setresuid/setresuid01.o CC testcases/kernel/syscalls/setresuid/setresuid03_16.o CC testcases/kernel/syscalls/setresuid/setresuid04_16.o CC testcases/kernel/syscalls/setresuid/setresuid05_16.o CC testcases/kernel/syscalls/setresuid/setresuid05.o LD testcases/kernel/syscalls/setresuid/setresuid01 LD testcases/kernel/syscalls/setresuid/setresuid02 LD testcases/kernel/syscalls/setresuid/setresuid03 LD testcases/kernel/syscalls/setresuid/setresuid04 LD testcases/kernel/syscalls/setresuid/setresuid05 LD testcases/kernel/syscalls/setresuid/setresuid01_16 LD testcases/kernel/syscalls/setresuid/setresuid02_16 LD testcases/kernel/syscalls/setresuid/setresuid05_16 LD testcases/kernel/syscalls/setresuid/setresuid03_16 LD testcases/kernel/syscalls/setresuid/setresuid04_16 rm setresuid01.o setresuid02.o setresuid01_16.o setresuid03.o setresuid03_16.o setresuid02_16.o setresuid05.o setresuid04.o setresuid05_16.o setresuid04_16.o CC testcases/kernel/syscalls/timer_gettime/timer_gettime01 CC testcases/kernel/syscalls/kcmp/kcmp02 CC testcases/kernel/syscalls/kcmp/kcmp01 CC testcases/kernel/syscalls/kcmp/kcmp03 CC testcases/kernel/syscalls/openat2/openat203 CC testcases/kernel/syscalls/openat2/openat201 CC testcases/kernel/syscalls/openat2/openat202 CC testcases/kernel/syscalls/wait/wait01 CC testcases/kernel/syscalls/wait/wait02 CC testcases/kernel/syscalls/unlinkat/unlinkat01 CC testcases/kernel/syscalls/accept4/accept4_01 CC testcases/kernel/syscalls/chdir/chdir04 CC testcases/kernel/syscalls/chdir/chdir01 CC testcases/kernel/syscalls/mlock2/mlock201 CC testcases/kernel/syscalls/mlock2/mlock203 CC testcases/kernel/syscalls/mlock2/mlock202 CC testcases/kernel/syscalls/rt_sigqueueinfo/rt_sigqueueinfo01 CC testcases/kernel/syscalls/mknod/mknod02 CC testcases/kernel/syscalls/mknod/mknod01 CC testcases/kernel/syscalls/mknod/mknod03 CC testcases/kernel/syscalls/mknod/mknod04 CC testcases/kernel/syscalls/mknod/mknod06 CC testcases/kernel/syscalls/mknod/mknod05 CC testcases/kernel/syscalls/mknod/mknod08 CC testcases/kernel/syscalls/mknod/mknod07 CC testcases/kernel/syscalls/mknod/mknod09 CC testcases/kernel/syscalls/gethostname/gethostname01 CC testcases/kernel/syscalls/timer_settime/timer_settime03 CC testcases/kernel/syscalls/timer_settime/timer_settime02 CC testcases/kernel/syscalls/timer_settime/timer_settime01 CC testcases/kernel/syscalls/pwrite/pwrite02 CC testcases/kernel/syscalls/pwrite/pwrite01_64.o CC testcases/kernel/syscalls/pwrite/pwrite04 CC testcases/kernel/syscalls/pwrite/pwrite02_64.o CC testcases/kernel/syscalls/pwrite/pwrite03 CC testcases/kernel/syscalls/pwrite/pwrite03_64.o CC testcases/kernel/syscalls/pwrite/pwrite01 CC testcases/kernel/syscalls/pwrite/pwrite04_64.o LD testcases/kernel/syscalls/pwrite/pwrite02_64 LD testcases/kernel/syscalls/pwrite/pwrite03_64 LD testcases/kernel/syscalls/pwrite/pwrite01_64 LD testcases/kernel/syscalls/pwrite/pwrite04_64 rm pwrite03_64.o pwrite04_64.o pwrite01_64.o pwrite02_64.o CC testcases/kernel/syscalls/recvmmsg/recvmmsg01 CC testcases/kernel/syscalls/getdents/getdents02 CC testcases/kernel/syscalls/getdents/getdents01 CC testcases/kernel/syscalls/munmap/munmap02 CC testcases/kernel/syscalls/munmap/munmap03 CC testcases/kernel/syscalls/munmap/munmap01 CC testcases/kernel/syscalls/nanosleep/nanosleep04 CC testcases/kernel/syscalls/nanosleep/nanosleep01 CC testcases/kernel/syscalls/nanosleep/nanosleep02 CC testcases/kernel/syscalls/sysconf/sysconf01 CC testcases/kernel/syscalls/geteuid/geteuid01_16.o CC testcases/kernel/syscalls/geteuid/geteuid02_16.o CC testcases/kernel/syscalls/geteuid/geteuid02.o CC testcases/kernel/syscalls/geteuid/geteuid01.o LD testcases/kernel/syscalls/geteuid/geteuid02 LD testcases/kernel/syscalls/geteuid/geteuid01 LD testcases/kernel/syscalls/geteuid/geteuid02_16 LD testcases/kernel/syscalls/geteuid/geteuid01_16 rm geteuid01.o geteuid02.o geteuid01_16.o geteuid02_16.o CC testcases/kernel/syscalls/preadv/preadv01_64.o CC testcases/kernel/syscalls/preadv/preadv01 CC testcases/kernel/syscalls/preadv/preadv02_64.o CC testcases/kernel/syscalls/preadv/preadv02 CC testcases/kernel/syscalls/preadv/preadv03_64.o CC testcases/kernel/syscalls/preadv/preadv03 LD testcases/kernel/syscalls/preadv/preadv01_64 LD testcases/kernel/syscalls/preadv/preadv02_64 LD testcases/kernel/syscalls/preadv/preadv03_64 rm preadv01_64.o preadv02_64.o preadv03_64.o CC testcases/kernel/syscalls/sched_setaffinity/sched_setaffinity01 CC testcases/kernel/syscalls/pread/pread01_64.o CC testcases/kernel/syscalls/pread/pread02_64.o CC testcases/kernel/syscalls/pread/pread02 CC testcases/kernel/syscalls/pread/pread01 LD testcases/kernel/syscalls/pread/pread02_64 LD testcases/kernel/syscalls/pread/pread01_64 rm pread01_64.o pread02_64.o recv01.c: In function 'do_child': recv01.c:294:39: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 294 | (void)write(newfd, "hoser\n", 6); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ CC testcases/kernel/syscalls/recv/recv01 CC testcases/kernel/syscalls/sysfs/sysfs04 CC testcases/kernel/syscalls/sysfs/sysfs02 CC testcases/kernel/syscalls/sysfs/sysfs03 CC testcases/kernel/syscalls/sysfs/sysfs01 CC testcases/kernel/syscalls/sysfs/sysfs05 CC testcases/kernel/syscalls/msync/msync01 CC testcases/kernel/syscalls/msync/msync02 CC testcases/kernel/syscalls/msync/msync04 CC testcases/kernel/syscalls/msync/msync03 CC testcases/kernel/syscalls/inotify_init/inotify_init1_02 CC testcases/kernel/syscalls/inotify_init/inotify_init1_01 CC testcases/kernel/syscalls/sigaltstack/sigaltstack01 CC testcases/kernel/syscalls/sigaltstack/sigaltstack02 CC testcases/kernel/syscalls/reboot/reboot01 CC testcases/kernel/syscalls/reboot/reboot02 CC testcases/kernel/syscalls/setregid/setregid04.o CC testcases/kernel/syscalls/setregid/setregid01_16.o CC testcases/kernel/syscalls/setregid/setregid03.o CC testcases/kernel/syscalls/setregid/setregid02_16.o CC testcases/kernel/syscalls/setregid/setregid01.o CC testcases/kernel/syscalls/setregid/setregid03_16.o CC testcases/kernel/syscalls/setregid/setregid02.o CC testcases/kernel/syscalls/setregid/setregid04_16.o LD testcases/kernel/syscalls/setregid/setregid01 LD testcases/kernel/syscalls/setregid/setregid02 LD testcases/kernel/syscalls/setregid/setregid03 LD testcases/kernel/syscalls/setregid/setregid04 LD testcases/kernel/syscalls/setregid/setregid01_16 LD testcases/kernel/syscalls/setregid/setregid02_16 LD testcases/kernel/syscalls/setregid/setregid04_16 LD testcases/kernel/syscalls/setregid/setregid03_16 rm setregid04_16.o setregid01.o setregid02.o setregid01_16.o setregid03.o setregid02_16.o setregid03_16.o setregid04.o CC testcases/kernel/syscalls/stime/stime02 CC testcases/kernel/syscalls/stime/stime01 CC testcases/kernel/syscalls/mount/mount03_setuid_test mount03.c: In function 'setup': mount03.c:366:43: warning: '%s' directive output may be truncated writing 8 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 366 | snprintf(path_name, PATH_MAX, "%s/%s/", path, mntpoint); | ^~ ~~~~~~~~ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/stdio.h:906, from ../../../../include/old/test.h:14, from mount03.c:47: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/stdio2.h:54:10: note: '__builtin_snprintf' output between 11 and 4106 bytes into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ mount03.c:371:37: warning: 'mount03_setuid_test' directive output may be truncated writing 19 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 371 | snprintf(file, PATH_MAX, "%smount03_setuid_test", path_name); | ^~~~~~~~~~~~~~~~~~~ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/stdio.h:906, from ../../../../include/old/test.h:14, from mount03.c:47: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/stdio2.h:54:10: note: '__builtin_snprintf' output between 20 and 4115 bytes into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ mount03.c: In function 'main': mount03.c:292:45: warning: 'atime' directive output may be truncated writing 5 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 292 | snprintf(file, PATH_MAX, "%satime", path_name); | ^~~~~ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/stdio.h:906, from ../../../../include/old/test.h:14, from mount03.c:47: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/stdio2.h:54:10: note: '__builtin_snprintf' output between 6 and 4101 bytes into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ mount03.c:264:45: warning: 'mount03_setuid_test' directive output may be truncated writing 19 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 264 | snprintf(file, PATH_MAX, "%smount03_setuid_test", path_name); | ^~~~~~~~~~~~~~~~~~~ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/stdio.h:906, from ../../../../include/old/test.h:14, from mount03.c:47: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/stdio2.h:54:10: note: '__builtin_snprintf' output between 20 and 4115 bytes into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ mount03.c:250:53: warning: 'tmp2' directive output may be truncated writing 4 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 250 | snprintf(file, PATH_MAX, "%stmp2", path_name); | ^~~~ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/stdio.h:906, from ../../../../include/old/test.h:14, from mount03.c:47: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/stdio2.h:54:10: note: '__builtin_snprintf' output between 5 and 4100 bytes into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ mount03.c:200:45: warning: '%s' directive output may be truncated writing 9 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 200 | snprintf(file, PATH_MAX, "%s%s", path_name, TEMP_FILE); | ^~ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/stdio.h:906, from ../../../../include/old/test.h:14, from mount03.c:47: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/stdio2.h:54:10: note: '__builtin_snprintf' output between 10 and 4105 bytes into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ mount03.c:180:45: warning: 'tmp1' directive output may be truncated writing 4 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 180 | snprintf(file, PATH_MAX, "%stmp1", path_name); | ^~~~ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/stdio.h:906, from ../../../../include/old/test.h:14, from mount03.c:47: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/stdio2.h:54:10: note: '__builtin_snprintf' output between 5 and 4100 bytes into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ mount03.c:157:45: warning: 'mynod_' directive output may be truncated writing 6 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 157 | snprintf(file, PATH_MAX, "%smynod_%d_%d", path_name, getpid(), | ^~~~~~ mount03.c:157:42: note: directive argument in the range [0, 2147483647] 157 | snprintf(file, PATH_MAX, "%smynod_%d_%d", path_name, getpid(), | ^~~~~~~~~~~~~~~ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/stdio.h:906, from ../../../../include/old/test.h:14, from mount03.c:47: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/stdio2.h:54:10: note: '__builtin_snprintf' output between 10 and 4124 bytes into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ mount03.c:141:45: warning: 'tmp' directive output may be truncated writing 3 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 141 | snprintf(file, PATH_MAX, "%stmp", path_name); | ^~~ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/stdio.h:906, from ../../../../include/old/test.h:14, from mount03.c:47: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/stdio2.h:54:10: note: '__builtin_snprintf' output between 4 and 4099 bytes into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ CC testcases/kernel/syscalls/mount/mount01 CC testcases/kernel/syscalls/mount/mount02 CC testcases/kernel/syscalls/mount/mount03 CC testcases/kernel/syscalls/mount/mount04 mount06.c: In function 'main': mount06.c:145:46: warning: '%s' directive output may be truncated writing 7 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 145 | snprintf(mntpoint_src, PATH_MAX, "%s/%s", path_name, MNTPOINT_SRC); | ^~ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/stdio.h:906, from ../../../../include/old/test.h:14, from mount06.c:30: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/stdio2.h:54:10: note: '__builtin_snprintf' output between 9 and 4104 bytes into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ mount06.c:146:46: warning: '%s' directive output may be truncated writing 7 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 146 | snprintf(mntpoint_des, PATH_MAX, "%s/%s", path_name, MNTPOINT_DES); | ^~ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/stdio.h:906, from ../../../../include/old/test.h:14, from mount06.c:30: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/stdio2.h:54:10: note: '__builtin_snprintf' output between 9 and 4104 bytes into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ CC testcases/kernel/syscalls/mount/mount05 CC testcases/kernel/syscalls/mount/mount06 CC testcases/kernel/syscalls/setuid/setuid01_16.o CC testcases/kernel/syscalls/setuid/setuid03.o CC testcases/kernel/syscalls/setuid/setuid01.o CC testcases/kernel/syscalls/setuid/setuid03_16.o CC testcases/kernel/syscalls/setuid/setuid04_16.o CC testcases/kernel/syscalls/setuid/setuid04.o LD testcases/kernel/syscalls/setuid/setuid01 LD testcases/kernel/syscalls/setuid/setuid03 LD testcases/kernel/syscalls/setuid/setuid01_16 LD testcases/kernel/syscalls/setuid/setuid04 LD testcases/kernel/syscalls/setuid/setuid03_16 LD testcases/kernel/syscalls/setuid/setuid04_16 rm setuid04_16.o setuid01.o setuid01_16.o setuid03.o setuid03_16.o setuid04.o CC testcases/kernel/syscalls/setxattr/setxattr01 CC testcases/kernel/syscalls/setxattr/setxattr02 CC testcases/kernel/syscalls/setxattr/setxattr03 CC testcases/kernel/syscalls/getrandom/getrandom04 CC testcases/kernel/syscalls/getrandom/getrandom01 CC testcases/kernel/syscalls/getrandom/getrandom03 CC testcases/kernel/syscalls/getrandom/getrandom02 CC testcases/kernel/syscalls/signalfd4/signalfd4_02 CC testcases/kernel/syscalls/signalfd4/signalfd4_01 CC testcases/kernel/syscalls/fsconfig/fsconfig02 CC testcases/kernel/syscalls/fsconfig/fsconfig01 CC testcases/kernel/syscalls/sigpending/sigpending02 CC testcases/kernel/syscalls/pselect/pselect01_64.o CC testcases/kernel/syscalls/pselect/pselect03 CC testcases/kernel/syscalls/pselect/pselect02_64.o CC testcases/kernel/syscalls/pselect/pselect02 CC testcases/kernel/syscalls/pselect/pselect03_64.o CC testcases/kernel/syscalls/pselect/pselect01 LD testcases/kernel/syscalls/pselect/pselect01_64 LD testcases/kernel/syscalls/pselect/pselect02_64 LD testcases/kernel/syscalls/pselect/pselect03_64 rm pselect01_64.o pselect02_64.o pselect03_64.o CC testcases/kernel/syscalls/getgroups/getgroups01_16.o CC testcases/kernel/syscalls/getgroups/getgroups03_16.o CC testcases/kernel/syscalls/getgroups/getgroups03.o LD testcases/kernel/syscalls/getgroups/getgroups03_16 LD testcases/kernel/syscalls/getgroups/getgroups03 CC testcases/kernel/syscalls/getgroups/getgroups01.o LD testcases/kernel/syscalls/getgroups/getgroups01_16 LD testcases/kernel/syscalls/getgroups/getgroups01 rm getgroups03_16.o getgroups01.o getgroups01_16.o getgroups03.o CC testcases/kernel/syscalls/sgetmask/sgetmask01 CC testcases/kernel/syscalls/mq_unlink/mq_unlink01 CC testcases/kernel/syscalls/getcontext/getcontext01 CC testcases/kernel/syscalls/personality/personality01 CC testcases/kernel/syscalls/personality/personality02 CC testcases/kernel/syscalls/rename/rename04 CC testcases/kernel/syscalls/rename/rename05 CC testcases/kernel/syscalls/rename/rename03 CC testcases/kernel/syscalls/rename/rename01 CC testcases/kernel/syscalls/rename/rename06 CC testcases/kernel/syscalls/rename/rename08 CC testcases/kernel/syscalls/rename/rename07 CC testcases/kernel/syscalls/rename/rename09 CC testcases/kernel/syscalls/rename/rename10 CC testcases/kernel/syscalls/rename/rename13 CC testcases/kernel/syscalls/rename/rename11 CC testcases/kernel/syscalls/rename/rename12 rename14.c: In function 'main': rename14.c:75:26: warning: cast between incompatible function types from 'int (*)(void)' to 'void (*)()' [-Wcast-function-type] 75 | act.sa_handler = (void (*)())term; | ^ rename14.c:83:26: warning: cast between incompatible function types from 'int (*)(void)' to 'void (*)()' [-Wcast-function-type] 83 | act.sa_handler = (void (*)())al; | ^ CC testcases/kernel/syscalls/rename/rename14 CC testcases/kernel/syscalls/readahead/readahead01 CC testcases/kernel/syscalls/readahead/readahead02 CC testcases/kernel/syscalls/sched_setscheduler/sched_setscheduler02 CC testcases/kernel/syscalls/sched_setscheduler/sched_setscheduler01 CC testcases/kernel/syscalls/sched_setscheduler/sched_setscheduler03 CC testcases/kernel/syscalls/clone3/clone301 CC testcases/kernel/syscalls/clone3/clone302 CC testcases/kernel/syscalls/creat/creat04 CC testcases/kernel/syscalls/creat/creat01 CC testcases/kernel/syscalls/creat/creat03 CC testcases/kernel/syscalls/creat/creat05 CC testcases/kernel/syscalls/creat/creat07_child CC testcases/kernel/syscalls/creat/creat06 CC testcases/kernel/syscalls/creat/creat07 CC testcases/kernel/syscalls/creat/creat08 CC testcases/kernel/syscalls/creat/creat09 CC testcases/kernel/syscalls/switch/endian_switch01 CC testcases/kernel/syscalls/getegid/getegid01_16.o CC testcases/kernel/syscalls/getegid/getegid02_16.o CC testcases/kernel/syscalls/getegid/getegid01.o CC testcases/kernel/syscalls/getegid/getegid02.o LD testcases/kernel/syscalls/getegid/getegid01 LD testcases/kernel/syscalls/getegid/getegid02 LD testcases/kernel/syscalls/getegid/getegid02_16 LD testcases/kernel/syscalls/getegid/getegid01_16 rm getegid01.o getegid02.o getegid01_16.o getegid02_16.o CC testcases/kernel/syscalls/sigsuspend/sigsuspend01 CC testcases/kernel/syscalls/sched_getattr/sched_getattr01 CC testcases/kernel/syscalls/sched_getattr/sched_getattr02 CC testcases/kernel/syscalls/io_destroy/io_destroy01 CC testcases/kernel/syscalls/io_destroy/io_destroy02 CC testcases/kernel/syscalls/fchownat/fchownat01 CC testcases/kernel/syscalls/fchownat/fchownat02 CC testcases/kernel/syscalls/execle/execle01_child CC testcases/kernel/syscalls/execle/execle01 In file included from rt_sigaction01.c:42: ../../../../include/lapi/rt_sigaction.h: In function 'handler_h': ../../../../include/lapi/rt_sigaction.h:59:27: warning: unused parameter 'signal' [-Wunused-parameter] 59 | static void handler_h(int signal) | ~~~~^~~~~~ rt_sigaction01.c: In function 'set_handler': rt_sigaction01.c:72:37: warning: unused parameter 'sig_to_mask' [-Wunused-parameter] 72 | static int set_handler(int sig, int sig_to_mask, int mask_flags) | ~~~~^~~~~~~~~~~ In file included from rt_sigaction02.c:38: ../../../../include/lapi/rt_sigaction.h: In function 'handler_h': ../../../../include/lapi/rt_sigaction.h:59:27: warning: unused parameter 'signal' [-Wunused-parameter] 59 | static void handler_h(int signal) | ~~~~^~~~~~ In file included from rt_sigaction03.c:38: ../../../../include/lapi/rt_sigaction.h: In function 'handler_h': ../../../../include/lapi/rt_sigaction.h:59:27: warning: unused parameter 'signal' [-Wunused-parameter] 59 | static void handler_h(int signal) | ~~~~^~~~~~ CC testcases/kernel/syscalls/rt_sigaction/rt_sigaction01 CC testcases/kernel/syscalls/rt_sigaction/rt_sigaction02 CC testcases/kernel/syscalls/rt_sigaction/rt_sigaction03 make[4]: Nothing to be done for 'all'. CC testcases/kernel/connectors/pec/event_generator CC testcases/kernel/connectors/pec/pec_listener /usr/bin/make -C ../libclone -f "/home/thomas/autobuild/instance-0/output-1/build/ltp-testsuite-20220930/testcases/kernel/containers/userns/../libclone/Makefile" all ../../../../include/mk/sparse.mk:6: warning: overriding recipe for target '/home/thomas/autobuild/instance-0/output-1/build/ltp-testsuite-20220930/tools/sparse/sparse-ltp' ../../../../include/mk/sparse.mk:6: warning: ignoring old recipe for target '/home/thomas/autobuild/instance-0/output-1/build/ltp-testsuite-20220930/tools/sparse/sparse-ltp' ../../../../include/mk/sparse.mk:9: warning: overriding recipe for target '/home/thomas/autobuild/instance-0/output-1/build/ltp-testsuite-20220930/tools/sparse' ../../../../include/mk/sparse.mk:9: warning: ignoring old recipe for target '/home/thomas/autobuild/instance-0/output-1/build/ltp-testsuite-20220930/tools/sparse' CC testcases/kernel/containers/libclone/libclone.o AR libclone.a RANLIB libclone.a CC testcases/kernel/containers/userns/userns01 CC testcases/kernel/containers/userns/userns02 CC testcases/kernel/containers/userns/userns04 CC testcases/kernel/containers/userns/userns03 CC testcases/kernel/containers/userns/userns05 CC testcases/kernel/containers/userns/userns06 CC testcases/kernel/containers/userns/userns06_capcheck CC testcases/kernel/containers/userns/userns07 CC testcases/kernel/containers/userns/userns08 CC testcases/kernel/containers/share/setns_check CC testcases/kernel/containers/share/ns_create CC testcases/kernel/containers/share/ns_ifmove CC testcases/kernel/containers/share/ns_exec CC testcases/kernel/containers/netns/netns_netlink CC testcases/kernel/containers/sysvipc/sem_nstest CC testcases/kernel/containers/sysvipc/msg_comm CC testcases/kernel/containers/sysvipc/sem_comm CC testcases/kernel/containers/sysvipc/mesgq_nstest CC testcases/kernel/containers/sysvipc/shm_comm CC testcases/kernel/containers/sysvipc/shmnstest CC testcases/kernel/containers/sysvipc/semtest_2ns CC testcases/kernel/containers/sysvipc/shmem_2nstest utstest.c: In function 'P1': utstest.c:120:13: warning: variable 'len' set but not used [-Wunused-but-set-variable] 120 | int len; | ^~~ utstest.c: In function 'main': utstest.c:289:13: warning: variable 'r' set but not used [-Wunused-but-set-variable] 289 | int r, pid, use_clone = T_UNSHARE; | ^ utstest.c: In function 'P1': utstest.c:144:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 144 | write(p2fd[1], "1", 1); | ^~~~~~~~~~~~~~~~~~~~~~ utstest.c:163:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 163 | write(p2fd[1], "1", 1); | ^~~~~~~~~~~~~~~~~~~~~~ utstest.c:189:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 189 | write(p2fd[1], "1", 1); /* tell p2 to go ahead and sethostname */ | ^~~~~~~~~~~~~~~~~~~~~~ utstest.c:208:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 208 | write(p2fd[1], "1", 1); /* tell p2 to go ahead and sethostname */ | ^~~~~~~~~~~~~~~~~~~~~~ utstest.c: In function 'P2': utstest.c:240:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 240 | write(p1fd[1], hostname, strlen(hostname)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ utstest.c:249:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 249 | write(p1fd[1], hostname, strlen(hostname)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ utstest.c:263:17: warning: ignoring return value of 'sethostname' declared with attribute 'warn_unused_result' [-Wunused-result] 263 | sethostname(newhostname, strlen(newhostname)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ utstest.c:264:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 264 | write(p1fd[1], newhostname, strlen(newhostname)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ utstest.c: In function 'main': utstest.c:342:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 342 | write(p2fd[1], "0", 1); /* don't let p2 hang */ | ^~~~~~~~~~~~~~~~~~~~~~ utstest.c: In function 'cleanup': utstest.c:282:9: warning: ignoring return value of 'sethostname' declared with attribute 'warn_unused_result' [-Wunused-result] 282 | sethostname(oldhost, strlen(oldhost)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC testcases/kernel/containers/utsname/utstest pidns04.c: In function 'child_fn1': pidns04.c:74:28: warning: unused parameter 'ttype' [-Wunused-parameter] 74 | static int child_fn1(void *ttype) | ~~~~~~^~~~~ pidns04.c: In function 'main': pidns04.c:115:9: warning: ignoring return value of 'pipe' declared with attribute 'warn_unused_result' [-Wunused-result] 115 | pipe(fd); | ^~~~~~~~ pidns04.c: In function 'child_fn1': pidns04.c:92:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 92 | write(fd[1], mesg, (strlen(mesg) + 1)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC testcases/kernel/containers/pidns/pidns04 CC testcases/kernel/containers/pidns/pidns01 CC testcases/kernel/containers/pidns/pidns03 CC testcases/kernel/containers/pidns/pidns02 pidns05.c: In function 'kill_nested_containers': pidns05.c:153:6: warning: old-style function definition [-Wold-style-definition] 153 | void kill_nested_containers() | ^~~~~~~~~~~~~~~~~~~~~~ pidns05.c: In function 'main': pidns05.c:199:20: warning: variable 'pgid' set but not used [-Wunused-but-set-variable] 199 | pid_t pid, pgid; | ^~~~ pidns05.c:197:13: warning: unused variable 'ret' [-Wunused-variable] 197 | int ret, nbytes, status; | ^~~ pidns05.c: In function 'max_pid': pidns05.c:70:17: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 70 | fscanf(fp, "%d", &ret); | ^~~~~~~~~~~~~~~~~~~~~~ pidns05.c: In function 'create_nested_container': pidns05.c:143:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 143 | write(fd[1], mesg, (strlen(mesg) + 1)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pidns12.c: In function 'child_signal_handler': pidns12.c:58:38: warning: unused parameter 'sig' [-Wunused-parameter] 58 | static void child_signal_handler(int sig, siginfo_t * si, void *unused) | ~~~~^~~ pidns12.c:58:65: warning: unused parameter 'unused' [-Wunused-parameter] 58 | static void child_signal_handler(int sig, siginfo_t * si, void *unused) | ~~~~~~^~~~~~ pidns12.c: In function 'child_fn': pidns12.c:72:20: warning: unused parameter 'arg' [-Wunused-parameter] 72 | int child_fn(void *arg) | ~~~~~~^~~ pidns12.c: In function 'main': pidns12.c:145:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 145 | read(pipefd[0], buf, 5); | ^~~~~~~~~~~~~~~~~~~~~~~ pidns10.c: In function 'child_fn': pidns10.c:58:20: warning: unused parameter 'arg' [-Wunused-parameter] 58 | int child_fn(void *arg) | ~~~~~~^~~ pidns10.c: In function 'main': pidns10.c:92:15: warning: variable 'pid' set but not used [-Wunused-but-set-variable] 92 | pid_t pid; | ^~~ CC testcases/kernel/containers/pidns/pidns06 CC testcases/kernel/containers/pidns/pidns12 CC testcases/kernel/containers/pidns/pidns05 CC testcases/kernel/containers/pidns/pidns10 pidns16.c: In function 'child_signal_handler': pidns16.c:58:31: warning: unused parameter 'sig' [-Wunused-parameter] 58 | void child_signal_handler(int sig, siginfo_t * si, void *unused) | ~~~~^~~ pidns16.c:58:58: warning: unused parameter 'unused' [-Wunused-parameter] 58 | void child_signal_handler(int sig, siginfo_t * si, void *unused) | ~~~~~~^~~~~~ pidns16.c: In function 'child_fn': pidns16.c:90:20: warning: unused parameter 'ttype' [-Wunused-parameter] 90 | int child_fn(void *ttype) | ~~~~~~^~~~~ pidns16.c: In function 'main': pidns16.c:129:5: warning: old-style function definition [-Wold-style-definition] 129 | int main() | ^~~~ pidns17.c: In function 'child_fn': pidns17.c:75:23: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 75 | for (i = 0; i < ARRAY_SIZE(children); i++) { | ^ pidns17.c:99:23: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 99 | for (i = 0; i < ARRAY_SIZE(children); i++) { | ^ pidns17.c:59:20: warning: unused parameter 'arg' [-Wunused-parameter] 59 | int child_fn(void *arg) | ~~~~~~^~~ pidns17.c: In function 'main': pidns17.c:137:15: warning: variable 'pid' set but not used [-Wunused-but-set-variable] 137 | pid_t pid; | ^~~ CC testcases/kernel/containers/pidns/pidns16 CC testcases/kernel/containers/pidns/pidns20 CC testcases/kernel/containers/pidns/pidns17 CC testcases/kernel/containers/pidns/pidns13 pidns30.c: In function 'child_signal_handler': pidns30.c:123:38: warning: unused parameter 'sig' [-Wunused-parameter] 123 | static void child_signal_handler(int sig, siginfo_t * si, void *unused) | ~~~~^~~ pidns30.c:123:65: warning: unused parameter 'unused' [-Wunused-parameter] 123 | static void child_signal_handler(int sig, siginfo_t * si, void *unused) | ~~~~~~^~~~~~ pidns30.c: In function 'child_fn': pidns30.c:162:20: warning: unused parameter 'arg' [-Wunused-parameter] 162 | int child_fn(void *arg) | ~~~~~~^~~ pidns30.c:221:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 221 | read(father_to_child[0], buf, 5); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pidns30.c: In function 'main': pidns30.c:274:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 274 | read(child_to_father[0], buf, 5); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pidns31.c: In function 'cleanup_mqueue': pidns31.c:138:25: warning: unused parameter 'result' [-Wunused-parameter] 138 | void cleanup_mqueue(int result, int step, mqd_t mqd) | ~~~~^~~~~~ pidns31.c: In function 'child_fn': pidns31.c:149:20: warning: unused parameter 'arg' [-Wunused-parameter] 149 | int child_fn(void *arg) | ~~~~~~^~~ pidns31.c: In function 'father_signal_handler': pidns31.c:198:39: warning: unused parameter 'sig' [-Wunused-parameter] 198 | static void father_signal_handler(int sig, siginfo_t * si, void *unused) | ~~~~^~~ pidns31.c:198:66: warning: unused parameter 'unused' [-Wunused-parameter] 198 | static void father_signal_handler(int sig, siginfo_t * si, void *unused) | ~~~~~~^~~~~~ pidns31.c: In function 'child_fn': pidns31.c:168:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 168 | read(father_to_child[0], buf, 5); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC testcases/kernel/containers/pidns/pidns32 CC testcases/kernel/containers/pidns/pidns30 CC testcases/kernel/containers/pidns/pidns31 mqns_04.c: In function 'check_mqueue': mqns_04.c:65:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 65 | read(p1[0], buf, 3); /* go */ | ^~~~~~~~~~~~~~~~~~~ mqns_04.c:70:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 70 | write(p2[1], "mqfail", 7); | ^~~~~~~~~~~~~~~~~~~~~~~~~ mqns_04.c:79:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 79 | write(p2[1], "mount", 6); | ^~~~~~~~~~~~~~~~~~~~~~~~ mqns_04.c:83:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 83 | write(p2[1], "go", 3); | ^~~~~~~~~~~~~~~~~~~~~ mqns_04.c:84:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 84 | read(p1[0], buf, 3); | ^~~~~~~~~~~~~~~~~~~ mqns_04.c: In function 'main': mqns_04.c:135:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 135 | write(p1[1], "go", 3); | ^~~~~~~~~~~~~~~~~~~~~ mqns_04.c:137:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 137 | read(p2[0], buf, 7); | ^~~~~~~~~~~~~~~~~~~ mqns_04.c:149:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 149 | write(p1[1], "go", 3); | ^~~~~~~~~~~~~~~~~~~~~ mqns_04.c:153:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 153 | write(p1[1], "go", 3); | ^~~~~~~~~~~~~~~~~~~~~ mqns_03.c: In function 'check_mqueue': mqns_03.c:77:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 77 | write(p2[1], "mqfail", 7); | ^~~~~~~~~~~~~~~~~~~~~~~~~ mqns_03.c:85:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 85 | write(p2[1], "mount1", 7); | ^~~~~~~~~~~~~~~~~~~~~~~~~ mqns_03.c:91:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 91 | write(p2[1], "stat1", 6); | ^~~~~~~~~~~~~~~~~~~~~~~~ mqns_03.c:97:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 97 | write(p2[1], "creat", 6); | ^~~~~~~~~~~~~~~~~~~~~~~~ mqns_03.c:105:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 105 | write(p2[1], "umount", 7); | ^~~~~~~~~~~~~~~~~~~~~~~~~ mqns_03.c:111:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 111 | write(p2[1], "mount2", 7); | ^~~~~~~~~~~~~~~~~~~~~~~~~ mqns_03.c:117:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 117 | write(p2[1], "stat2", 7); | ^~~~~~~~~~~~~~~~~~~~~~~~ mqns_03.c:123:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 123 | write(p2[1], "stat3", 7); | ^~~~~~~~~~~~~~~~~~~~~~~~ mqns_03.c:127:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 127 | write(p2[1], "done", 5); | ^~~~~~~~~~~~~~~~~~~~~~~ mqns_03.c: In function 'main': mqns_03.c:168:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 168 | write(p1[1], "go", 3); | ^~~~~~~~~~~~~~~~~~~~~ mqns_03.c:170:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 170 | read(p2[0], buf, 7); | ^~~~~~~~~~~~~~~~~~~ mqns_02.c: In function 'main': mqns_02.c:176:17: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 176 | read(p2[0], buf, 7); | ^~~~~~~~~~~~~~~~~~~ mqns_03.c: In function 'check_mqueue': mqns_03.c:117:17: warning: 'write' reading 7 bytes from a region of size 6 [-Wstringop-overread] 117 | write(p2[1], "stat2", 7); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/sigstksz.h:24, from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/signal.h:328, from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/sys/wait.h:36, from mqns_03.c:38: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/unistd.h:378:16: note: in a call to function 'write' declared with attribute 'access (read_only, 2, 3)' 378 | extern ssize_t write (int __fd, const void *__buf, size_t __n) __wur | ^~~~~ mqns_03.c:123:17: warning: 'write' reading 7 bytes from a region of size 6 [-Wstringop-overread] 123 | write(p2[1], "stat3", 7); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/sigstksz.h:24, from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/signal.h:328, from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/sys/wait.h:36, from mqns_03.c:38: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/unistd.h:378:16: note: in a call to function 'write' declared with attribute 'access (read_only, 2, 3)' 378 | extern ssize_t write (int __fd, const void *__buf, size_t __n) __wur | ^~~~~ CC testcases/kernel/containers/mqns/mqns_04 CC testcases/kernel/containers/mqns/mqns_01 CC testcases/kernel/containers/mqns/mqns_03 CC testcases/kernel/containers/mqns/mqns_02 CC testcases/kernel/containers/mountns/mountns04 CC testcases/kernel/containers/mountns/mountns02 CC testcases/kernel/containers/mountns/mountns03 CC testcases/kernel/containers/mountns/mountns01 CC testcases/kernel/containers/timens/timens01 CC testcases/kernel/controllers/cgroup_xattr/cgroup_xattr CC testcases/kernel/controllers/memcg/memcontrol01 CC testcases/kernel/controllers/memcg/memcontrol02 CC testcases/kernel/controllers/memcg/memcontrol03 CC testcases/kernel/controllers/memcg/memcontrol04 CC testcases/kernel/controllers/memcg/stress/memcg_process_stress memcg_test_1.c: In function 'main': memcg_test_1.c:45:33: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 45 | write(fd, buf, 10); | ^~~~~~~~~~~~~~~~~~ CC testcases/kernel/controllers/memcg/regression/memcg_test_1 CC testcases/kernel/controllers/memcg/regression/memcg_test_2 CC testcases/kernel/controllers/memcg/regression/memcg_test_4 CC testcases/kernel/controllers/memcg/regression/memcg_test_3 CC testcases/kernel/controllers/memcg/functional/memcg_process CC testcases/kernel/controllers/memcg/control/mem_process /usr/bin/make -C ../libcontrollers -f "/home/thomas/autobuild/instance-0/output-1/build/ltp-testsuite-20220930/testcases/kernel/controllers/cpuctl_fj/../libcontrollers/Makefile" all ../../../../include/mk/sparse.mk:6: warning: overriding recipe for target '/home/thomas/autobuild/instance-0/output-1/build/ltp-testsuite-20220930/tools/sparse/sparse-ltp' ../../../../include/mk/sparse.mk:6: warning: ignoring old recipe for target '/home/thomas/autobuild/instance-0/output-1/build/ltp-testsuite-20220930/tools/sparse/sparse-ltp' ../../../../include/mk/sparse.mk:9: warning: overriding recipe for target '/home/thomas/autobuild/instance-0/output-1/build/ltp-testsuite-20220930/tools/sparse' ../../../../include/mk/sparse.mk:9: warning: ignoring old recipe for target '/home/thomas/autobuild/instance-0/output-1/build/ltp-testsuite-20220930/tools/sparse' libcontrollers.c: In function 'signal_handler_alarm': libcontrollers.c:221:31: warning: unused parameter 'signal' [-Wunused-parameter] 221 | void signal_handler_alarm(int signal) | ~~~~^~~~~~ libcontrollers.c: In function 'read_shares_file': libcontrollers.c:192:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 192 | fscanf(fp, "%u", &shares); | ^~~~~~~~~~~~~~~~~~~~~~~~~ CC testcases/kernel/controllers/libcontrollers/libcontrollers.o AR libcontrollers.a RANLIB libcontrollers.a CC testcases/kernel/controllers/cpuctl_fj/cpuctl_fj_simple_echo CC testcases/kernel/controllers/cpuctl_fj/cpuctl_fj_cpu-hog /usr/bin/make -C ../libcontrollers -f "/home/thomas/autobuild/instance-0/output-1/build/ltp-testsuite-20220930/testcases/kernel/controllers/cgroup/../libcontrollers/Makefile" all ../../../../include/mk/sparse.mk:6: warning: overriding recipe for target '/home/thomas/autobuild/instance-0/output-1/build/ltp-testsuite-20220930/tools/sparse/sparse-ltp' ../../../../include/mk/sparse.mk:6: warning: ignoring old recipe for target '/home/thomas/autobuild/instance-0/output-1/build/ltp-testsuite-20220930/tools/sparse/sparse-ltp' ../../../../include/mk/sparse.mk:9: warning: overriding recipe for target '/home/thomas/autobuild/instance-0/output-1/build/ltp-testsuite-20220930/tools/sparse' ../../../../include/mk/sparse.mk:9: warning: ignoring old recipe for target '/home/thomas/autobuild/instance-0/output-1/build/ltp-testsuite-20220930/tools/sparse' make[6]: Nothing to be done for 'all'. CC testcases/kernel/controllers/cgroup/cgroup_regression_fork_processes CC testcases/kernel/controllers/cgroup/cgroup_regression_6_2 In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/string.h:535, from cgroup_regression_getdelays.c:16: In function 'strncpy', inlined from 'main' at cgroup_regression_getdelays.c:314:4: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/string_fortified.h:95:10: warning: '__builtin_strncpy' specified bound 292 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'main' at cgroup_regression_getdelays.c:300:4: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/string_fortified.h:95:10: warning: '__builtin___strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ cgroup_regression_getdelays.c: In function 'main': cgroup_regression_getdelays.c:300:56: note: length computed here 300 | strncpy(containerpath, optarg, strlen(optarg) + 1); | ^~~~~~~~~~~~~~ CC testcases/kernel/controllers/cgroup/cgroup_core01 CC testcases/kernel/controllers/cgroup/cgroup_regression_getdelays CC testcases/kernel/controllers/io/io_control01 timed_forkbomb.c: In function 'main': timed_forkbomb.c:58:32: warning: format '%a' expects argument of type 'float *', but argument 2 has type 'char **' [-Wformat=] 58 | while (scanf("%as", &word) < 1) { | ~^ ~~~~~ | | | | | char ** | float * vfork.c: In function '_parse_opts': vfork.c:169:51: warning: format '%a' expects argument of type 'float *', but argument 4 has type 'char **' [-Wformat=] 169 | opt = sscanf(optarg, "%Ld%as", &duration, &units); | ~^ ~~~~~~ | | | | float * char ** CC testcases/kernel/controllers/freezer/fork_exec_loop vfork.c: In function 'do_vfork': vfork.c:97:18: warning: argument 'count' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] 97 | int do_vfork(int count) | ~~~~^~~~~ CC testcases/kernel/controllers/freezer/timed_forkbomb CC testcases/kernel/controllers/freezer/vfork /usr/bin/make -C ../cpuset_lib -f "/home/thomas/autobuild/instance-0/output-1/build/ltp-testsuite-20220930/testcases/kernel/controllers/cpuset/cpuset_memory_pressure_test/../cpuset_lib/Makefile" all ../../../../../include/mk/sparse.mk:6: warning: overriding recipe for target '/home/thomas/autobuild/instance-0/output-1/build/ltp-testsuite-20220930/tools/sparse/sparse-ltp' ../../../../../include/mk/sparse.mk:6: warning: ignoring old recipe for target '/home/thomas/autobuild/instance-0/output-1/build/ltp-testsuite-20220930/tools/sparse/sparse-ltp' ../../../../../include/mk/sparse.mk:9: warning: overriding recipe for target '/home/thomas/autobuild/instance-0/output-1/build/ltp-testsuite-20220930/tools/sparse' ../../../../../include/mk/sparse.mk:9: warning: ignoring old recipe for target '/home/thomas/autobuild/instance-0/output-1/build/ltp-testsuite-20220930/tools/sparse' CC testcases/kernel/controllers/cpuset/cpuset_lib/meminfo.o CC testcases/kernel/controllers/cpuset/cpuset_lib/cpuinfo.o CC testcases/kernel/controllers/cpuset/cpuset_lib/libbitmask.o libcpuset.c: In function 'cpuset_migrate_all': libcpuset.c:492:41: warning: '%s' directive output may be truncated writing 14 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 492 | (void)snprintf(buf, buflen, "%s/%s", name1, name2); | ^~ ...... 2917 | if (load_flag(buf2, &memory_migrate_flag, "memory_migrate") < 0) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/stdio.h:906, from libcpuset.c:36: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/stdio2.h:54:10: note: '__builtin_snprintf' output between 16 and 4111 bytes into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ libcpuset.c:492:41: warning: '%s' directive output may be truncated writing 14 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 492 | (void)snprintf(buf, buflen, "%s/%s", name1, name2); | ^~ ...... 2919 | if (store_flag(buf2, "memory_migrate", 1) < 0) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/stdio.h:906, from libcpuset.c:36: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/stdio2.h:54:10: note: '__builtin_snprintf' output between 16 and 4111 bytes into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ libcpuset.c:492:41: warning: '%s' directive output may be truncated writing 14 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 492 | (void)snprintf(buf, buflen, "%s/%s", name1, name2); | ^~ ...... 2929 | if (store_flag(buf2, "memory_migrate", memory_migrate_flag) < 0) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/stdio.h:906, from libcpuset.c:36: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/stdio2.h:54:10: note: '__builtin_snprintf' output between 16 and 4111 bytes into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ libcpuset.c: In function 'cpuset_migrate': libcpuset.c:492:41: warning: '%s' directive output may be truncated writing 14 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 492 | (void)snprintf(buf, buflen, "%s/%s", name1, name2); | ^~ ...... 2890 | if (load_flag(buf2, &memory_migrate_flag, "memory_migrate") < 0) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/stdio.h:906, from libcpuset.c:36: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/stdio2.h:54:10: note: '__builtin_snprintf' output between 16 and 4111 bytes into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ libcpuset.c:492:41: warning: '%s' directive output may be truncated writing 14 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 492 | (void)snprintf(buf, buflen, "%s/%s", name1, name2); | ^~ ...... 2892 | if (store_flag(buf2, "memory_migrate", 1) < 0) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/stdio.h:906, from libcpuset.c:36: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/stdio2.h:54:10: note: '__builtin_snprintf' output between 16 and 4111 bytes into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ libcpuset.c:492:41: warning: '%s' directive output may be truncated writing 14 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 492 | (void)snprintf(buf, buflen, "%s/%s", name1, name2); | ^~ ...... 2899 | store_flag(buf2, "memory_migrate", memory_migrate_flag); | ~~~~~~~~~~~~~~~~ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/stdio.h:906, from libcpuset.c:36: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/stdio2.h:54:10: note: '__builtin_snprintf' output between 16 and 4111 bytes into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ libcpuset.c: In function 'cpuset_query': libcpuset.c:492:41: warning: '%s' directive output may be truncated writing 20 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 492 | (void)snprintf(buf, buflen, "%s/%s", name1, name2); | ^~ ...... 2096 | if (load_flag(buf, &cp->cpu_exclusive, "cpuset.cpu_exclusive") < 0) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/stdio.h:906, from libcpuset.c:36: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/stdio2.h:54:10: note: '__builtin_snprintf' output between 22 and 4117 bytes into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ libcpuset.c:492:41: warning: '%s' directive output may be truncated writing 20 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 492 | (void)snprintf(buf, buflen, "%s/%s", name1, name2); | ^~ ...... 2100 | if (load_flag(buf, &cp->mem_exclusive, "cpuset.mem_exclusive") < 0) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/stdio.h:906, from libcpuset.c:36: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/stdio2.h:54:10: note: '__builtin_snprintf' output between 22 and 4117 bytes into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ libcpuset.c:492:41: warning: '%s' directive output may be truncated writing 17 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 492 | (void)snprintf(buf, buflen, "%s/%s", name1, name2); | ^~ ...... 2104 | if (load_flag(buf, &cp->notify_on_release, "notify_on_release") < 0) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/stdio.h:906, from libcpuset.c:36: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/stdio2.h:54:10: note: '__builtin_snprintf' output between 19 and 4114 bytes into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ libcpuset.c:492:41: warning: '%s' directive output may be truncated writing 21 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 492 | (void)snprintf(buf, buflen, "%s/%s", name1, name2); | ^~ ...... 2109 | if (load_flag(buf, &cp->memory_migrate, "cpuset.memory_migrate") < 0) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/stdio.h:906, from libcpuset.c:36: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/stdio2.h:54:10: note: '__builtin_snprintf' output between 23 and 4118 bytes into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ libcpuset.c:492:41: warning: '%s' directive output may be truncated writing 19 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 492 | (void)snprintf(buf, buflen, "%s/%s", name1, name2); | ^~ ...... 2115 | if (load_flag(buf, &cp->mem_hardwall, "cpuset.mem_hardwall") < 0) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/stdio.h:906, from libcpuset.c:36: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/stdio2.h:54:10: note: '__builtin_snprintf' output between 21 and 4116 bytes into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ libcpuset.c:492:41: warning: '%s' directive output may be truncated writing 30 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 492 | (void)snprintf(buf, buflen, "%s/%s", name1, name2); | ^~ ...... 2121 | if (load_flag | ~~~~~~~~~ 2122 | (buf, &cp->memory_pressure_enabled, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2123 | "cpuset.memory_pressure_enabled") < 0) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/stdio.h:906, from libcpuset.c:36: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/stdio2.h:54:10: note: '__builtin_snprintf' output between 32 and 4127 bytes into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ libcpuset.c:492:41: warning: '%s' directive output may be truncated writing 25 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 492 | (void)snprintf(buf, buflen, "%s/%s", name1, name2); | ^~ ...... 2129 | if (load_flag | ~~~~~~~~~ 2130 | (buf, &cp->memory_spread_page, "cpuset.memory_spread_page") < 0) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/stdio.h:906, from libcpuset.c:36: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/stdio2.h:54:10: note: '__builtin_snprintf' output between 27 and 4122 bytes into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ libcpuset.c:492:41: warning: '%s' directive output may be truncated writing 25 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 492 | (void)snprintf(buf, buflen, "%s/%s", name1, name2); | ^~ ...... 2136 | if (load_flag | ~~~~~~~~~ 2137 | (buf, &cp->memory_spread_slab, "cpuset.memory_spread_slab") < 0) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/stdio.h:906, from libcpuset.c:36: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/stdio2.h:54:10: note: '__builtin_snprintf' output between 27 and 4122 bytes into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ libcpuset.c:492:41: warning: '%s' directive output may be truncated writing 25 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 492 | (void)snprintf(buf, buflen, "%s/%s", name1, name2); | ^~ ...... 2143 | if (load_flag | ~~~~~~~~~ 2144 | (buf, &cp->sched_load_balance, "cpuset.sched_load_balance") < 0) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/stdio.h:906, from libcpuset.c:36: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/stdio2.h:54:10: note: '__builtin_snprintf' output between 27 and 4122 bytes into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ libcpuset.c:492:41: warning: '%s' directive output may be truncated writing 31 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 492 | (void)snprintf(buf, buflen, "%s/%s", name1, name2); | ^~ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/stdio.h:906, from libcpuset.c:36: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/stdio2.h:54:10: note: '__builtin_snprintf' output between 33 and 4128 bytes into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ libcpuset.c:492:41: warning: '%s' directive output may be truncated writing 11 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 492 | (void)snprintf(buf, buflen, "%s/%s", name1, name2); | ^~ ...... 2157 | if (load_mask(buf, &cp->cpus, cpuset_cpus_nbits(), "cpuset.cpus") < 0) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/stdio.h:906, from libcpuset.c:36: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/stdio2.h:54:10: note: '__builtin_snprintf' output between 13 and 4108 bytes into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ libcpuset.c:492:41: warning: '%s' directive output may be truncated writing 11 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 492 | (void)snprintf(buf, buflen, "%s/%s", name1, name2); | ^~ ...... 2161 | if (load_mask(buf, &cp->mems, cpuset_mems_nbits(), "cpuset.mems") < 0) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/stdio.h:906, from libcpuset.c:36: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/stdio2.h:54:10: note: '__builtin_snprintf' output between 13 and 4108 bytes into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ libcpuset.c: In function 'cpuset_collides_exclusive': libcpuset.c:492:41: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 492 | (void)snprintf(buf, buflen, "%s/%s", name1, name2); | ^~ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/stdio.h:906, from libcpuset.c:36: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/stdio2.h:54:10: note: '__builtin_snprintf' output between 2 and 4352 bytes into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ CC testcases/kernel/controllers/cpuset/cpuset_lib/libcpuset.o AR libcpu_set.a RANLIB libcpu_set.a CC testcases/kernel/controllers/cpuset/cpuset_memory_pressure_test/cpuset_memory_pressure CC testcases/kernel/controllers/cpuset/cpuset_hotplug_test/cpuset_list_compute CC testcases/kernel/controllers/cpuset/cpuset_memory_test/cpuset_memory_test CC testcases/kernel/controllers/cpuset/cpuset_load_balance_test/cpuset_sched_domains_check CC testcases/kernel/controllers/cpuset/cpuset_load_balance_test/cpuset_cpu_hog make[6]: Nothing to be done for 'all'. make[6]: Nothing to be done for 'all'. make[6]: Nothing to be done for 'all'. CC testcases/kernel/controllers/cpuset/cpuset_memory_spread_test/cpuset_mem_hog CC testcases/kernel/controllers/cpuset/cpuset_syscall_test/cpuset_syscall_test make[6]: Nothing to be done for 'all'. /usr/bin/make -C ../libcontrollers -f "/home/thomas/autobuild/instance-0/output-1/build/ltp-testsuite-20220930/testcases/kernel/controllers/cpuctl/../libcontrollers/Makefile" all ../../../../include/mk/sparse.mk:6: warning: overriding recipe for target '/home/thomas/autobuild/instance-0/output-1/build/ltp-testsuite-20220930/tools/sparse/sparse-ltp' ../../../../include/mk/sparse.mk:6: warning: ignoring old recipe for target '/home/thomas/autobuild/instance-0/output-1/build/ltp-testsuite-20220930/tools/sparse/sparse-ltp' ../../../../include/mk/sparse.mk:9: warning: overriding recipe for target '/home/thomas/autobuild/instance-0/output-1/build/ltp-testsuite-20220930/tools/sparse' ../../../../include/mk/sparse.mk:9: warning: ignoring old recipe for target '/home/thomas/autobuild/instance-0/output-1/build/ltp-testsuite-20220930/tools/sparse' make[6]: Nothing to be done for 'all'. In file included from cpuctl_def_task04.c:62: ../libcontrollers/libcontrollers.h:61:20: warning: 'error_function' declared 'static' but never defined [-Wunused-function] 61 | static inline void error_function(char *msg1, char *msg2); | ^~~~~~~~~~~~~~ In file included from cpuctl_def_task03.c:62: ../libcontrollers/libcontrollers.h:61:20: warning: 'error_function' declared 'static' but never defined [-Wunused-function] 61 | static inline void error_function(char *msg1, char *msg2); | ^~~~~~~~~~~~~~ cpuctl_def_task04.c: In function 'main': cpuctl_def_task04.c:158:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 158 | read(fd, &ch, 1); /* Block task here to synchronize */ | ^~~~~~~~~~~~~~~~ cpuctl_def_task03.c: In function 'main': cpuctl_def_task03.c:148:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 148 | read(fd, &ch, 1); /* Block task here to synchronize */ | ^~~~~~~~~~~~~~~~ In file included from cpuctl_def_task01.c:58: ../libcontrollers/libcontrollers.h:61:20: warning: 'error_function' declared 'static' but never defined [-Wunused-function] 61 | static inline void error_function(char *msg1, char *msg2); | ^~~~~~~~~~~~~~ cpuctl_def_task01.c: In function 'main': cpuctl_def_task01.c:141:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 141 | read(fd, &ch, 1); /* To fire all the tasks up at the same time */ | ^~~~~~~~~~~~~~~~ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/string.h:535, from cpuctl_def_task04.c:52: In function 'strncpy', inlined from 'main' at cpuctl_def_task04.c:169:7: In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/string.h:535, from cpuctl_def_task03.c:53: In function 'strncpy', inlined from 'main' at cpuctl_def_task03.c:159:7: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/string_fortified.h:95:10: warning: '__builtin___strncpy_chk' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ cpuctl_def_task04.c: In function 'main': cpuctl_def_task04.c:168:15: note: length computed here 168 | len = strlen(path); | ^~~~~~~~~~~~ /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/string_fortified.h:95:10: warning: '__builtin___strncpy_chk' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ cpuctl_def_task03.c: In function 'main': cpuctl_def_task03.c:158:15: note: length computed here 158 | len = strlen(path); | ^~~~~~~~~~~~ In file included from cpuctl_def_task02.c:61: ../libcontrollers/libcontrollers.h:61:20: warning: 'error_function' declared 'static' but never defined [-Wunused-function] 61 | static inline void error_function(char *msg1, char *msg2); | ^~~~~~~~~~~~~~ cpuctl_def_task02.c: In function 'main': cpuctl_def_task02.c:152:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 152 | read(fd, &ch, 1); /* Block task here to synchronize */ | ^~~~~~~~~~~~~~~~ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/string.h:535, from cpuctl_def_task01.c:49: In function 'strncpy', inlined from 'main' at cpuctl_def_task01.c:152:7: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/string_fortified.h:95:10: warning: '__builtin___strncpy_chk' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ cpuctl_def_task01.c: In function 'main': cpuctl_def_task01.c:151:15: note: length computed here 151 | len = strlen(path); | ^~~~~~~~~~~~ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/string.h:535, from cpuctl_def_task02.c:52: In function 'strncpy', inlined from 'main' at cpuctl_def_task02.c:163:7: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/string_fortified.h:95:10: warning: '__builtin___strncpy_chk' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ cpuctl_def_task02.c: In function 'main': cpuctl_def_task02.c:162:15: note: length computed here 162 | len = strlen(path); | ^~~~~~~~~~~~ CC testcases/kernel/controllers/cpuctl/cpuctl_def_task04 CC testcases/kernel/controllers/cpuctl/cpuctl_def_task03 CC testcases/kernel/controllers/cpuctl/cpuctl_def_task01 CC testcases/kernel/controllers/cpuctl/cpuctl_def_task02 cpuctl_latency_test.c: In function 'sighandler': cpuctl_latency_test.c:57:21: warning: unused parameter 'i' [-Wunused-parameter] 57 | void sighandler(int i) | ~~~~^ In file included from cpuctl_latency_test.c:52: cpuctl_latency_test.c: At top level: ../libcontrollers/libcontrollers.h:61:20: warning: 'error_function' declared 'static' but never defined [-Wunused-function] 61 | static inline void error_function(char *msg1, char *msg2); | ^~~~~~~~~~~~~~ cpuctl_latency_check_task.c: In function 'main': cpuctl_latency_check_task.c:131:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 131 | if (delta > ALLOWED) | ^ In file included from cpuctl_latency_check_task.c:51: cpuctl_latency_check_task.c: At top level: ../libcontrollers/libcontrollers.h:61:20: warning: 'error_function' declared 'static' but never defined [-Wunused-function] 61 | static inline void error_function(char *msg1, char *msg2); | ^~~~~~~~~~~~~~ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/string.h:535, from cpuctl_latency_test.c:49: In function 'strncpy', inlined from 'main' at cpuctl_latency_test.c:89:3: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/string_fortified.h:95:10: warning: '__builtin_strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/string.h:535, from cpuctl_latency_check_task.c:49: In function 'strncpy', inlined from 'main' at cpuctl_latency_check_task.c:97:3: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/string_fortified.h:95:10: warning: '__builtin_strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from cpuctl_test01.c:63: ../libcontrollers/libcontrollers.h:61:20: warning: 'error_function' declared 'static' but never defined [-Wunused-function] 61 | static inline void error_function(char *msg1, char *msg2); | ^~~~~~~~~~~~~~ cpuctl_test01.c: In function 'main': cpuctl_test01.c:144:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 144 | read(fd, &ch, 1); /* To block all tasks here and fire them up at the same time */ | ^~~~~~~~~~~~~~~~ CC testcases/kernel/controllers/cpuctl/cpuctl_latency_test CC testcases/kernel/controllers/cpuctl/cpuctl_latency_check_task In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/string.h:535, from cpuctl_test01.c:53: In function 'strncpy', inlined from 'main' at cpuctl_test01.c:155:7: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/string_fortified.h:95:10: warning: '__builtin___strncpy_chk' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ cpuctl_test01.c: In function 'main': cpuctl_test01.c:154:15: note: length computed here 154 | len = strlen(path); | ^~~~~~~~~~~~ In file included from cpuctl_test02.c:62: ../libcontrollers/libcontrollers.h:61:20: warning: 'error_function' declared 'static' but never defined [-Wunused-function] 61 | static inline void error_function(char *msg1, char *msg2); | ^~~~~~~~~~~~~~ cpuctl_test02.c: In function 'main': cpuctl_test02.c:156:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 156 | read(fd, &ch, 1); /* To block all tasks here and fire them up at the same time */ | ^~~~~~~~~~~~~~~~ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/string.h:535, from cpuctl_test02.c:52: In function 'strncpy', inlined from 'main' at cpuctl_test02.c:167:7: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/string_fortified.h:95:10: warning: '__builtin___strncpy_chk' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ cpuctl_test02.c: In function 'main': cpuctl_test02.c:166:15: note: length computed here 166 | len = strlen(path); | ^~~~~~~~~~~~ In file included from cpuctl_test03.c:62: ../libcontrollers/libcontrollers.h:61:20: warning: 'error_function' declared 'static' but never defined [-Wunused-function] 61 | static inline void error_function(char *msg1, char *msg2); | ^~~~~~~~~~~~~~ cpuctl_test03.c: In function 'main': cpuctl_test03.c:151:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 151 | read(fd, &ch, 1); /* To block all tasks here and fire them up at the same time */ | ^~~~~~~~~~~~~~~~ In file included from cpuctl_test04.c:62: ../libcontrollers/libcontrollers.h:61:20: warning: 'error_function' declared 'static' but never defined [-Wunused-function] 61 | static inline void error_function(char *msg1, char *msg2); | ^~~~~~~~~~~~~~ cpuctl_test04.c: In function 'main': cpuctl_test04.c:162:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 162 | read(fd, &ch, 1); /* To block all tasks here and fire them up at the same time */ | ^~~~~~~~~~~~~~~~ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/string.h:535, from cpuctl_test03.c:53: In function 'strncpy', inlined from 'main' at cpuctl_test03.c:162:7: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/string_fortified.h:95:10: warning: '__builtin___strncpy_chk' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ cpuctl_test03.c: In function 'main': cpuctl_test03.c:161:15: note: length computed here 161 | len = strlen(path); | ^~~~~~~~~~~~ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/string.h:535, from cpuctl_test04.c:52: In function 'strncpy', inlined from 'main' at cpuctl_test04.c:173:7: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/string_fortified.h:95:10: warning: '__builtin___strncpy_chk' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ cpuctl_test04.c: In function 'main': cpuctl_test04.c:172:15: note: length computed here 172 | len = strlen(path); | ^~~~~~~~~~~~ CC testcases/kernel/controllers/cpuctl/cpuctl_test01 CC testcases/kernel/controllers/cpuctl/cpuctl_test03 CC testcases/kernel/controllers/cpuctl/cpuctl_test02 CC testcases/kernel/controllers/cpuctl/cpuctl_test04 /usr/bin/make -C ../libcontrollers -f "/home/thomas/autobuild/instance-0/output-1/build/ltp-testsuite-20220930/testcases/kernel/controllers/memctl/../libcontrollers/Makefile" all ../../../../include/mk/sparse.mk:6: warning: overriding recipe for target '/home/thomas/autobuild/instance-0/output-1/build/ltp-testsuite-20220930/tools/sparse/sparse-ltp' ../../../../include/mk/sparse.mk:6: warning: ignoring old recipe for target '/home/thomas/autobuild/instance-0/output-1/build/ltp-testsuite-20220930/tools/sparse/sparse-ltp' ../../../../include/mk/sparse.mk:9: warning: overriding recipe for target '/home/thomas/autobuild/instance-0/output-1/build/ltp-testsuite-20220930/tools/sparse' ../../../../include/mk/sparse.mk:9: warning: ignoring old recipe for target '/home/thomas/autobuild/instance-0/output-1/build/ltp-testsuite-20220930/tools/sparse' make[6]: Nothing to be done for 'all'. memctl_test01.c: In function 'main': memctl_test01.c:68:13: warning: variable 'ret' set but not used [-Wunused-but-set-variable] 68 | int ret; | ^~~ In file included from memctl_test01.c:49: memctl_test01.c: At top level: /home/thomas/autobuild/instance-0/output-1/build/ltp-testsuite-20220930/testcases/kernel/controllers/memctl/../libcontrollers/libcontrollers.h:61:20: warning: 'error_function' declared 'static' but never defined [-Wunused-function] 61 | static inline void error_function(char *msg1, char *msg2); | ^~~~~~~~~~~~~~ CC testcases/kernel/controllers/memctl/memctl_test01 /usr/bin/make -C ../libcontrollers -f "/home/thomas/autobuild/instance-0/output-1/build/ltp-testsuite-20220930/testcases/kernel/controllers/pids/../libcontrollers/Makefile" all ../../../../include/mk/sparse.mk:6: warning: overriding recipe for target '/home/thomas/autobuild/instance-0/output-1/build/ltp-testsuite-20220930/tools/sparse/sparse-ltp' ../../../../include/mk/sparse.mk:6: warning: ignoring old recipe for target '/home/thomas/autobuild/instance-0/output-1/build/ltp-testsuite-20220930/tools/sparse/sparse-ltp' ../../../../include/mk/sparse.mk:9: warning: overriding recipe for target '/home/thomas/autobuild/instance-0/output-1/build/ltp-testsuite-20220930/tools/sparse' ../../../../include/mk/sparse.mk:9: warning: ignoring old recipe for target '/home/thomas/autobuild/instance-0/output-1/build/ltp-testsuite-20220930/tools/sparse' make[6]: Nothing to be done for 'all'. CC testcases/kernel/controllers/pids/pids_task2 CC testcases/kernel/controllers/pids/pids_task1 /usr/bin/make -C ../libcontrollers -f "/home/thomas/autobuild/instance-0/output-1/build/ltp-testsuite-20220930/testcases/kernel/controllers/cgroup_fj/../libcontrollers/Makefile" all ../../../../include/mk/sparse.mk:6: warning: overriding recipe for target '/home/thomas/autobuild/instance-0/output-1/build/ltp-testsuite-20220930/tools/sparse/sparse-ltp' ../../../../include/mk/sparse.mk:6: warning: ignoring old recipe for target '/home/thomas/autobuild/instance-0/output-1/build/ltp-testsuite-20220930/tools/sparse/sparse-ltp' ../../../../include/mk/sparse.mk:9: warning: overriding recipe for target '/home/thomas/autobuild/instance-0/output-1/build/ltp-testsuite-20220930/tools/sparse' ../../../../include/mk/sparse.mk:9: warning: ignoring old recipe for target '/home/thomas/autobuild/instance-0/output-1/build/ltp-testsuite-20220930/tools/sparse' make[6]: Nothing to be done for 'all'. CC testcases/kernel/controllers/cgroup_fj/cgroup_fj_proc /usr/bin/make -C ../libcontrollers -f "/home/thomas/autobuild/instance-0/output-1/build/ltp-testsuite-20220930/testcases/kernel/controllers/cpuacct/../libcontrollers/Makefile" all ../../../../include/mk/sparse.mk:6: warning: overriding recipe for target '/home/thomas/autobuild/instance-0/output-1/build/ltp-testsuite-20220930/tools/sparse/sparse-ltp' ../../../../include/mk/sparse.mk:6: warning: ignoring old recipe for target '/home/thomas/autobuild/instance-0/output-1/build/ltp-testsuite-20220930/tools/sparse/sparse-ltp' ../../../../include/mk/sparse.mk:9: warning: overriding recipe for target '/home/thomas/autobuild/instance-0/output-1/build/ltp-testsuite-20220930/tools/sparse' ../../../../include/mk/sparse.mk:9: warning: ignoring old recipe for target '/home/thomas/autobuild/instance-0/output-1/build/ltp-testsuite-20220930/tools/sparse' make[6]: Nothing to be done for 'all'. cpuacct_task.c: In function 'sig_handler': cpuacct_task.c:32:29: warning: unused parameter 'signo' [-Wunused-parameter] 32 | static void sig_handler(int signo) | ~~~~^~~~~ CC testcases/kernel/controllers/cpuacct/cpuacct_task CC testcases/kernel/crypto/af_alg02 CC testcases/kernel/crypto/af_alg01 CC testcases/kernel/crypto/af_alg03 CC testcases/kernel/crypto/af_alg04 CC testcases/kernel/crypto/af_alg05 CC testcases/kernel/crypto/af_alg06 CC testcases/kernel/crypto/crypto_user01 CC testcases/kernel/crypto/pcrypt_aead01 CC testcases/kernel/crypto/crypto_user02 CC testcases/kernel/crypto/af_alg07 CC testcases/kernel/device-drivers/acpi/ltp_acpi make[6]: Nothing to be done for 'all'. CC testcases/kernel/device-drivers/block/block_dev_user/block_dev CC testcases/kernel/device-drivers/cpufreq/cpufreq_boost make[5]: Nothing to be done for 'all'. CC testcases/kernel/device-drivers/pci/tpci_user/tpci make[6]: Nothing to be done for 'all'. make[5]: Nothing to be done for 'all'. CC testcases/kernel/device-drivers/rtc/rtc02 CC testcases/kernel/device-drivers/rtc/rtc01 make[6]: Nothing to be done for 'all'. CC testcases/kernel/device-drivers/tbio/tbio_user/tbio CC testcases/kernel/device-drivers/uaccess/uaccess CC testcases/kernel/device-drivers/zram/zram03 CC testcases/kernel/firmware/fw_load_user/fw_load make[5]: Nothing to be done for 'all'. fs_perms.c: In function 'cleanup': fs_perms.c:55:9: warning: ignoring return value of 'seteuid' declared with attribute 'warn_unused_result' [-Wunused-result] 55 | seteuid(0); | ^~~~~~~~~~ fs_perms.c:56:9: warning: ignoring return value of 'setegid' declared with attribute 'warn_unused_result' [-Wunused-result] 56 | setegid(0); | ^~~~~~~~~~ CC testcases/kernel/fs/fs_perms/fs_perms CC testcases/kernel/fs/fs-bench/boxmuler.o create-files.c: In function 'main': create-files.c:63:62: warning: '%s' directive writing up to 4095 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] 63 | sprintf(filename, "%s%s%s%2.2x", dir1, | ^~ 64 | dir2, dir3, l); | ~~~~ create-files.c:63:59: note: directive argument in the range [0, 254] 63 | sprintf(filename, "%s%s%s%2.2x", dir1, | ^~~~~~~~~~~~~ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/stdio.h:906, from create-files.c:3: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 3 and 12288 bytes into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ CC testcases/kernel/fs/fs-bench/create-files.o CC testcases/kernel/fs/fs-bench/random-access CC testcases/kernel/fs/fs-bench/random-access-del-create.o LD testcases/kernel/fs/fs-bench/create-files LD testcases/kernel/fs/fs-bench/random-access-del-create make[6]: Nothing to be done for 'all'. make[6]: Nothing to be done for 'all'. make[6]: Nothing to be done for 'all'. make[6]: Nothing to be done for 'all'. CC testcases/kernel/fs/doio/dataascii.o CC testcases/kernel/fs/doio/forker.o CC testcases/kernel/fs/doio/file_lock.o CC testcases/kernel/fs/doio/databin.o datapid.c: In function 'datapidgen': datapid.c:84:20: warning: unused parameter 'pid' [-Wunused-parameter] 84 | int datapidgen(int pid, char *buffer, int bsize, int offset) | ~~~~^~~ datapid.c:84:31: warning: unused parameter 'buffer' [-Wunused-parameter] 84 | int datapidgen(int pid, char *buffer, int bsize, int offset) | ~~~~~~^~~~~~ datapid.c:84:43: warning: unused parameter 'bsize' [-Wunused-parameter] 84 | int datapidgen(int pid, char *buffer, int bsize, int offset) | ~~~~^~~~~ datapid.c:84:54: warning: unused parameter 'offset' [-Wunused-parameter] 84 | int datapidgen(int pid, char *buffer, int bsize, int offset) | ~~~~^~~~~~ datapid.c: In function 'datapidchk': datapid.c:181:20: warning: unused parameter 'pid' [-Wunused-parameter] 181 | int datapidchk(int pid, char *buffer, int bsize, int offset, char **errmsg) | ~~~~^~~ datapid.c:181:31: warning: unused parameter 'buffer' [-Wunused-parameter] 181 | int datapidchk(int pid, char *buffer, int bsize, int offset, char **errmsg) | ~~~~~~^~~~~~ datapid.c:181:43: warning: unused parameter 'bsize' [-Wunused-parameter] 181 | int datapidchk(int pid, char *buffer, int bsize, int offset, char **errmsg) | ~~~~^~~~~ datapid.c:181:54: warning: unused parameter 'offset' [-Wunused-parameter] 181 | int datapidchk(int pid, char *buffer, int bsize, int offset, char **errmsg) | ~~~~^~~~~~ CC testcases/kernel/fs/doio/datapid.o CC testcases/kernel/fs/doio/open_flags.o CC testcases/kernel/fs/doio/pattern.o CC testcases/kernel/fs/doio/string_to_tokens.o CC testcases/kernel/fs/doio/bytes_by_prefix.o write_log.c: In function 'wlog_open': write_log.c:145:58: warning: '%s' directive writing up to 1023 bytes into a region of size 224 [-Wformat-overflow=] 145 | "Could not open write log - open(%s, %#o) failed: %s\n", | ^~ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/stdio.h:906, from write_log.c:66: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 49 or more bytes (assuming 1072) into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ write_log.c:133:58: warning: '%s' directive writing up to 1023 bytes into a region of size 224 [-Wformat-overflow=] 133 | "Could not open write_log - open(%s, %#o, %#o) failed: %s\n", | ^~ write_log.c:133:25: note: directive argument in the range [1089, 2047] 133 | "Could not open write_log - open(%s, %#o, %#o) failed: %s\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ write_log.c:133:25: note: assuming directive output of 2 bytes write_log.c:133:25: note: using the range [0, 4294967295] for directive argument In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/stdio.h:906, from write_log.c:66: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 55 or more bytes (assuming 1079) into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ write_log.c: In function 'wlog_record_write': write_log.c:243:70: warning: '%s' directive writing up to 1023 bytes into a region of size 228 [-Wformat-overflow=] 243 | "Could not write log - write(%s, %s, %d) failed: %s\n", | ^~ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/stdio.h:906, from write_log.c:66: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 47 or more bytes (assuming 1521) into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ write_log.c:237:76: warning: '%s' directive writing up to 1023 bytes into a region of size 214 [-Wformat-overflow=] 237 | "Could not reposition file pointer - lseek(%s, %ld, SEEK_SET) failed: %s\n", | ^~ write_log.c:237:33: note: directive argument in the range [0, 9223372036854775807] 237 | "Could not reposition file pointer - lseek(%s, %ld, SEEK_SET) failed: %s\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/stdio.h:906, from write_log.c:66: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 68 or more bytes (assuming 1109) into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ write_log.c:229:84: warning: '%s' directive writing up to 1023 bytes into a region of size 214 [-Wformat-overflow=] 229 | "Could not reposition file pointer - lseek(%s, 0, SEEK_CUR) failed: %s\n", | ^~ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/stdio.h:906, from write_log.c:66: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 68 or more bytes (assuming 1091) into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ write_log.c:222:62: warning: '%s' directive writing up to 1023 bytes into a region of size 228 [-Wformat-overflow=] 222 | "Could not write log - write(%s, %s, %d) failed: %s\n", | ^~ write_log.c:222:33: note: directive argument in the range [30, 235] 222 | "Could not write log - write(%s, %s, %d) failed: %s\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/stdio.h:906, from write_log.c:66: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 47 or more bytes (assuming 1522) into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ write_log.c: In function 'wlog_scan_backward': write_log.c:313:76: warning: '%s' directive writing up to 1023 bytes into a region of size 214 [-Wformat-overflow=] 313 | "Could not reposition file pointer - lseek(%s, %d, SEEK_SET) failed: %s\n", | ^~ write_log.c:313:33: note: using the range [-2147483648, 2147483647] for directive argument 313 | "Could not reposition file pointer - lseek(%s, %d, SEEK_SET) failed: %s\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/stdio.h:906, from write_log.c:66: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 68 or more bytes (assuming 1091) into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ write_log.c:285:68: warning: '%s' directive writing up to 1023 bytes into a region of size 214 [-Wformat-overflow=] 285 | "Could not reposition file pointer - lseek(%s, 0, SEEK_CUR) failed: %s\n", | ^~ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/stdio.h:906, from write_log.c:66: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 68 or more bytes (assuming 1091) into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ write_log.c:278:68: warning: '%s' directive writing up to 1023 bytes into a region of size 214 [-Wformat-overflow=] 278 | "Could not reposition file pointer - lseek(%s, 0, SEEK_END) failed: %s\n", | ^~ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/stdio.h:906, from write_log.c:66: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 68 or more bytes (assuming 1091) into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ CC testcases/kernel/fs/doio/write_log.o growfiles.c: In function 'growfile': growfiles.c:1949:44: warning: unused parameter 'file' [-Wunused-parameter] 1949 | int /* BUG:14136 */ growfile(int fd, char *file, int grow_incr, char *buf, | ~~~~~~^~~~ growfiles.c: In function 'shrinkfile': growfiles.c:2353:26: warning: unused parameter 'filename' [-Wunused-parameter] 2353 | shrinkfile(int fd, char *filename, int trunc_incr, int trunc_inter, | ~~~~~~^~~~~~~~ growfiles.c:2354:16: warning: unused parameter 'just_trunc' [-Wunused-parameter] 2354 | int just_trunc) | ~~~~^~~~~~~~~~ iogen.c:190:9: warning: missing initializer for field 'm_flags' of 'struct strmap' [-Wmissing-field-initializers] 190 | {"none", 0}, | ^ iogen.c:113:13: note: 'm_flags' declared here 113 | int m_flags; | ^~~~~~~ iogen.c:207:9: warning: missing initializer for field 'm_flags' of 'struct strmap' [-Wmissing-field-initializers] 207 | {NULL, -1} | ^ iogen.c:113:13: note: 'm_flags' declared here 113 | int m_flags; | ^~~~~~~ iogen.c:223:9: warning: missing initializer for field 'm_flags' of 'struct strmap' [-Wmissing-field-initializers] 223 | {"random", M_RANDOM}, | ^ iogen.c:113:13: note: 'm_flags' declared here 113 | int m_flags; | ^~~~~~~ iogen.c:224:9: warning: missing initializer for field 'm_flags' of 'struct strmap' [-Wmissing-field-initializers] 224 | {"sequential", M_SEQUENTIAL}, | ^ iogen.c:113:13: note: 'm_flags' declared here 113 | int m_flags; | ^~~~~~~ iogen.c:225:9: warning: missing initializer for field 'm_flags' of 'struct strmap' [-Wmissing-field-initializers] 225 | {"reverse", M_REVERSE}, | ^ iogen.c:113:13: note: 'm_flags' declared here 113 | int m_flags; | ^~~~~~~ iogen.c:226:9: warning: missing initializer for field 'm_flags' of 'struct strmap' [-Wmissing-field-initializers] 226 | {NULL, -1} | ^ iogen.c:113:13: note: 'm_flags' declared here 113 | int m_flags; | ^~~~~~~ iogen.c:305:9: warning: missing initializer for field 'm_flags' of 'struct strmap' [-Wmissing-field-initializers] 305 | {"readv", READV}, | ^ iogen.c:113:13: note: 'm_flags' declared here 113 | int m_flags; | ^~~~~~~ iogen.c:307:9: warning: missing initializer for field 'm_flags' of 'struct strmap' [-Wmissing-field-initializers] 307 | {"mmread", MMAPR}, | ^ iogen.c:113:13: note: 'm_flags' declared here 113 | int m_flags; | ^~~~~~~ iogen.c:313:9: warning: missing initializer for field 'm_flags' of 'struct strmap' [-Wmissing-field-initializers] 313 | {NULL, -1} | ^ iogen.c:113:13: note: 'm_flags' declared here 113 | int m_flags; | ^~~~~~~ iogen.c:354:9: warning: missing initializer for field 'm_flags' of 'struct strmap' [-Wmissing-field-initializers] 354 | {NULL, -1} | ^ iogen.c:113:13: note: 'm_flags' declared here 113 | int m_flags; | ^~~~~~~ iogen.c:362:9: warning: missing initializer for field 'm_flags' of 'struct strmap' [-Wmissing-field-initializers] 362 | {"regular", S_IFREG}, | ^ iogen.c:113:13: note: 'm_flags' declared here 113 | int m_flags; | ^~~~~~~ iogen.c:363:9: warning: missing initializer for field 'm_flags' of 'struct strmap' [-Wmissing-field-initializers] 363 | {"blk-spec", S_IFBLK}, | ^ iogen.c:113:13: note: 'm_flags' declared here 113 | int m_flags; | ^~~~~~~ iogen.c:364:9: warning: missing initializer for field 'm_flags' of 'struct strmap' [-Wmissing-field-initializers] 364 | {"chr-spec", S_IFCHR}, | ^ iogen.c:113:13: note: 'm_flags' declared here 113 | int m_flags; | ^~~~~~~ iogen.c:365:9: warning: missing initializer for field 'm_flags' of 'struct strmap' [-Wmissing-field-initializers] 365 | {NULL, 0} | ^ iogen.c:113:13: note: 'm_flags' declared here 113 | int m_flags; | ^~~~~~~ doio.c: In function 'do_write': doio.c:1601:33: warning: variable 'signo' set but not used [-Wunused-but-set-variable] 1601 | int fd, nbytes, oflags, signo; | ^~~~~ doio.c: In function 'do_listio': doio.c:2078:30: warning: unused parameter 'req' [-Wunused-parameter] 2078 | int do_listio(struct io_req *req) | ~~~~~~~~~~~~~~~^~~ doio.c: In function 'sy_rwv': doio.c:2728:64: warning: unused parameter 'sysc' [-Wunused-parameter] 2728 | struct status *sy_rwv(struct io_req *req, struct syscall_info *sysc, int fd, | ~~~~~~~~~~~~~~~~~~~~~^~~~ doio.c: In function 'fmt_readv': doio.c:2763:32: warning: unused parameter 'req' [-Wunused-parameter] 2763 | char *fmt_readv(struct io_req *req, struct syscall_info *sy, int fd, char *addr) | ~~~~~~~~~~~~~~~^~~ doio.c:2763:76: warning: unused parameter 'addr' [-Wunused-parameter] 2763 | char *fmt_readv(struct io_req *req, struct syscall_info *sy, int fd, char *addr) | ~~~~~~^~~~ doio.c: In function 'sy_mmrw': doio.c:2895:13: warning: variable 'rc' set but not used [-Wunused-but-set-variable] 2895 | int rc; | ^~ doio.c:2883:65: warning: unused parameter 'sysc' [-Wunused-parameter] 2883 | struct status *sy_mmrw(struct io_req *req, struct syscall_info *sysc, int fd, | ~~~~~~~~~~~~~~~~~~~~~^~~~ doio.c: At top level: doio.c:3038:10: warning: missing initializer for field 'sy_bits' of 'struct syscall_info' [-Wmissing-field-initializers] 3038 | 0}, | ^ doio.c:192:13: note: 'sy_bits' declared here 192 | int sy_bits; | ^~~~~~~ growfiles.c: In function 'main': growfiles.c:130:17: warning: this statement may fall through [-Wimplicit-fallthrough=] 130 | #define exit(x) myexit(x) | ^~~~~~~~~ growfiles.c:453:25: note: in expansion of macro 'exit' 453 | exit(0); | ^~~~ growfiles.c:455:17: note: here 455 | case 'b': /* batch */ | ^~~~ doio.c:3041:10: warning: missing initializer for field 'sy_bits' of 'struct syscall_info' [-Wmissing-field-initializers] 3041 | SY_WRITE}, | ^~~~~~~~ doio.c:192:13: note: 'sy_bits' declared here 192 | int sy_bits; | ^~~~~~~ doio.c:3044:10: warning: missing initializer for field 'sy_bits' of 'struct syscall_info' [-Wmissing-field-initializers] 3044 | 0}, | ^ doio.c:192:13: note: 'sy_bits' declared here 192 | int sy_bits; | ^~~~~~~ doio.c:3047:10: warning: missing initializer for field 'sy_bits' of 'struct syscall_info' [-Wmissing-field-initializers] 3047 | SY_WRITE}, | ^~~~~~~~ doio.c:192:13: note: 'sy_bits' declared here 192 | int sy_bits; | ^~~~~~~ doio.c:3052:10: warning: missing initializer for field 'sy_bits' of 'struct syscall_info' [-Wmissing-field-initializers] 3052 | 0}, | ^ doio.c:192:13: note: 'sy_bits' declared here 192 | int sy_bits; | ^~~~~~~ iogen.c: In function 'parse_cmdline': iogen.c:1384:13: warning: variable 'nopenargs' set but not used [-Wunused-but-set-variable] 1384 | int nopenargs; | ^~~~~~~~~ doio.c: In function 'doio_pat_fill': doio.c:3638:19: warning: unused parameter 'shift' [-Wunused-parameter] 3638 | int shift) | ~~~~^~~~~ doio.c: In function 'cleanup_handler': doio.c:4536:26: warning: unused parameter 'sig' [-Wunused-parameter] 4536 | void cleanup_handler(int sig) | ~~~~^~~ doio.c: In function 'noop_handler': doio.c:4566:23: warning: unused parameter 'sig' [-Wunused-parameter] 4566 | void noop_handler(int sig) | ~~~~^~~ doio.c: In function 'sigint_handler': doio.c:4577:25: warning: unused parameter 'sig' [-Wunused-parameter] 4577 | void sigint_handler(int sig) | ~~~~^~~ doio.c: In function 'aio_done': doio.c:4880:31: warning: unused parameter 'ainfo' [-Wunused-parameter] 4880 | int aio_done(struct aio_info *ainfo) | ~~~~~~~~~~~~~~~~~^~~~~ iogen.c:1522:49: warning: ')' directive writing 1 byte into a region of size between 0 and 39 [-Wformat-overflow=] 1522 | sprintf(TagName, "(%.39s)", optarg); | ^ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/stdio.h:906, from iogen.c:36: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 3 and 42 bytes into a destination of size 40 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ growfiles.c:938:49: warning: ')' directive writing 1 byte into a region of size between 0 and 39 [-Wformat-overflow=] 938 | sprintf(TagName, "(%.39s)", optarg); | ^ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/stdio.h:906, from growfiles.c:69: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 3 and 42 bytes into a destination of size 40 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ CC testcases/kernel/fs/doio/iogen CC testcases/kernel/fs/doio/growfiles doio.c: In function 'parse_cmdline': doio.c:5052:49: warning: ')' directive writing 1 byte into a region of size between 0 and 39 [-Wformat-overflow=] 5052 | sprintf(TagName, "(%.39s)", optarg); | ^ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/stdio.h:906, from doio.c:50: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 3 and 42 bytes into a destination of size 40 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ CC testcases/kernel/fs/doio/doio make[5]: Nothing to be done for 'all'. make[5]: Nothing to be done for 'all'. fs_fill.c: In function 'worker': fs_fill.c:50:58: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 50 | snprintf(file, sizeof(file), "%s/%s", | ^~ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/stdio.h:906, from fs_fill.c:12: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/stdio2.h:54:10: note: '__builtin_snprintf' output between 2 and 4352 bytes into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ CC testcases/kernel/fs/fs_fill/fs_fill CC testcases/kernel/fs/lftest/lftest inode02.c: In function 'main': inode02.c:124:29: warning: cast between incompatible function types from 'int (*)()' to 'void (*)()' [-Wcast-function-type] 124 | if (sigset(SIGTERM, (void (*)())term) == SIG_ERR) { | ^ inode02.c: In function 'tree': inode02.c:285:36: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 285 | if (snp_ret < 0 || snp_ret >= sizeof(path_list_string)) { | ^~ inode02.c: In function 'generate': inode02.c:427:52: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 427 | if (snp_ret < 0 || snp_ret >= sizeof(new_string)) { | ^~ inode01.c: In function 'main': inode01.c:122:29: warning: cast between incompatible function types from 'int (*)()' to 'void (*)()' [-Wcast-function-type] 122 | if (signal(SIGTERM, (void (*)())term) == SIG_ERR) { | ^ inode01.c:161:36: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 161 | if (snp_ret < 0 || snp_ret >= sizeof(path_list_string)) { | ^~ inode01.c: In function 'generate': inode01.c:330:52: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 330 | if (snp_ret < 0 || snp_ret >= sizeof(new_string)) { | ^~ CC testcases/kernel/fs/inode/inode01 CC testcases/kernel/fs/inode/inode02 CC testcases/kernel/fs/openfile/openfile make[5]: Nothing to be done for 'all'. CC testcases/kernel/fs/read_all/read_all make[5]: Nothing to be done for 'all'. fsstress.c: In function 'creat_f': fsstress.c:1684:13: warning: variable 'extsize' set but not used [-Wunused-but-set-variable] 1684 | int extsize; | ^~~~~~~ fsstress.c: In function 'dread_f': fsstress.c:1850:22: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 1850 | else if (len > diob.d_maxiosz) | ^ In file included from global.h:39, from fsstress.c:34: fsstress.c: In function 'dwrite_f': xfscompat.h:6:22: warning: comparison of integer expressions of different signedness: '__off_t' {aka 'long int'} and 'long long unsigned int' [-Wsign-compare] 6 | #define MIN(a,b) ((a)<(b) ? (a):(b)) | ^ fsstress.c:1933:31: note: in expansion of macro 'MIN' 1933 | off = (off64_t) (lr % MIN(stb.st_size + (1024 * 1024), MAXFSIZE)); | ^~~ xfscompat.h:6:29: warning: operand of '?:' changes signedness from '__off_t' {aka 'long int'} to 'long long unsigned int' due to unsignedness of other operand [-Wsign-compare] 6 | #define MIN(a,b) ((a)<(b) ? (a):(b)) | ^~~ fsstress.c:1933:31: note: in expansion of macro 'MIN' 1933 | off = (off64_t) (lr % MIN(stb.st_size + (1024 * 1024), MAXFSIZE)); | ^~~ fsstress.c:1940:22: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 1940 | else if (len > diob.d_maxiosz) | ^ In file included from global.h:39, from fsstress.c:34: fsstress.c: In function 'truncate_f': xfscompat.h:6:22: warning: comparison of integer expressions of different signedness: '__off_t' {aka 'long int'} and 'long long unsigned int' [-Wsign-compare] 6 | #define MIN(a,b) ((a)<(b) ? (a):(b)) | ^ fsstress.c:2537:20: note: in expansion of macro 'MIN' 2537 | off = lr % MIN(stb.st_size + (1024 * 1024), MAXFSIZE); | ^~~ xfscompat.h:6:29: warning: operand of '?:' changes signedness from '__off_t' {aka 'long int'} to 'long long unsigned int' due to unsignedness of other operand [-Wsign-compare] 6 | #define MIN(a,b) ((a)<(b) ? (a):(b)) | ^~~ fsstress.c:2537:20: note: in expansion of macro 'MIN' 2537 | off = lr % MIN(stb.st_size + (1024 * 1024), MAXFSIZE); | ^~~ fsstress.c: In function 'write_f': xfscompat.h:6:22: warning: comparison of integer expressions of different signedness: '__off_t' {aka 'long int'} and 'long long unsigned int' [-Wsign-compare] 6 | #define MIN(a,b) ((a)<(b) ? (a):(b)) | ^ fsstress.c:2663:31: note: in expansion of macro 'MIN' 2663 | off = (off64_t) (lr % MIN(stb.st_size + (1024 * 1024), MAXFSIZE)); | ^~~ xfscompat.h:6:29: warning: operand of '?:' changes signedness from '__off_t' {aka 'long int'} to 'long long unsigned int' due to unsignedness of other operand [-Wsign-compare] 6 | #define MIN(a,b) ((a)<(b) ? (a):(b)) | ^~~ fsstress.c:2663:31: note: in expansion of macro 'MIN' 2663 | off = (off64_t) (lr % MIN(stb.st_size + (1024 * 1024), MAXFSIZE)); | ^~~ fsstress.c: In function 'main': fsstress.c:544:25: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 544 | system(cmd); | ^~~~~~~~~~~ fsstress.c: In function 'creat_path': fsstress.c:678:17: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 678 | chdir(".."); | ^~~~~~~~~~~ fsstress.c: In function 'lchown_path': fsstress.c:932:17: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 932 | chdir(".."); | ^~~~~~~~~~~ fsstress.c: In function 'link_path': fsstress.c:955:25: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 955 | chdir(".."); | ^~~~~~~~~~~ fsstress.c:975:33: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 975 | chdir(".."); | ^~~~~~~~~~~ fsstress.c:983:33: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 983 | chdir(".."); | ^~~~~~~~~~~ fsstress.c: In function 'lstat64_path': fsstress.c:1004:17: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 1004 | chdir(".."); | ^~~~~~~~~~~ fsstress.c: In function 'mkdir_path': fsstress.c:1038:17: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 1038 | chdir(".."); | ^~~~~~~~~~~ fsstress.c: In function 'mknod_path': fsstress.c:1056:17: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 1056 | chdir(".."); | ^~~~~~~~~~~ fsstress.c: In function 'open_path': fsstress.c:1094:17: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 1094 | chdir(".."); | ^~~~~~~~~~~ fsstress.c: In function 'opendir_path': fsstress.c:1112:17: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 1112 | chdir(".."); | ^~~~~~~~~~~ fsstress.c: In function 'readlink_path': fsstress.c:1153:17: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 1153 | chdir(".."); | ^~~~~~~~~~~ fsstress.c: In function 'rename_path': fsstress.c:1176:25: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 1176 | chdir(".."); | ^~~~~~~~~~~ fsstress.c:1196:33: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 1196 | chdir(".."); | ^~~~~~~~~~~ fsstress.c:1204:33: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 1204 | chdir(".."); | ^~~~~~~~~~~ fsstress.c: In function 'rmdir_path': fsstress.c:1225:17: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 1225 | chdir(".."); | ^~~~~~~~~~~ fsstress.c: In function 'stat64_path': fsstress.c:1297:17: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 1297 | chdir(".."); | ^~~~~~~~~~~ fsstress.c: In function 'symlink_path': fsstress.c:1320:17: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 1320 | chdir(".."); | ^~~~~~~~~~~ fsstress.c: In function 'truncate64_path': fsstress.c:1338:17: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 1338 | chdir(".."); | ^~~~~~~~~~~ fsstress.c: In function 'unlink_path': fsstress.c:1356:17: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 1356 | chdir(".."); | ^~~~~~~~~~~ CC testcases/kernel/fs/fsstress/fsstress CC testcases/kernel/fs/ftest/libftest.o ftest03.c: In function 'setup': ftest03.c:164:9: warning: 'sigset' is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 164 | if (sigset(SIGTERM, term) == SIG_ERR) { | ^~ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/sys/param.h:28, from ftest03.c:57: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/signal.h:367:23: note: declared here 367 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ In file included from ftest03.c:66: ftest03.c: In function 'dotest': ../../../../include/old/test.h:123:19: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 5 has type '__off_t' {aka 'long int'} [-Wformat=] 123 | (arg_fmt), ##__VA_ARGS__) | ^~~~~~~~~ ftest03.c:437:49: note: in expansion of macro 'tst_resm' 437 | tst_resm(TINFO, | ^~~~~~~~ ../../../../include/old/test.h:123:19: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 5 has type '__off_t' {aka 'long int'} [-Wformat=] 123 | (arg_fmt), ##__VA_ARGS__) | ^~~~~~~~~ ftest03.c:475:49: note: in expansion of macro 'tst_resm' 475 | tst_resm(TINFO, | ^~~~~~~~ ftest02.c: In function 'main': ftest02.c:197:9: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 197 | chdir(startdir); | ^~~~~~~~~~~~~~~ ftest03.c: In function 'runtest': ftest03.c:230:9: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 230 | chdir(homedir); | ^~~~~~~~~~~~~~ ftest03.c: In function 'dotest': ftest03.c:374:17: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 374 | ftruncate(fd, 0); | ^~~~~~~~~~~~~~~~ ftest04.c: In function 'setup': ftest04.c:136:9: warning: 'sigset' is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 136 | if (sigset(SIGTERM, term) == SIG_ERR) { | ^~ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/sys/param.h:28, from ftest04.c:42: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/signal.h:367:23: note: declared here 367 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ In file included from ftest04.c:50: ftest04.c: In function 'dotest': ../../../../include/old/test.h:123:19: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 5 has type '__off_t' {aka 'long int'} [-Wformat=] 123 | (arg_fmt), ##__VA_ARGS__) | ^~~~~~~~~ ftest04.c:356:49: note: in expansion of macro 'tst_resm' 356 | tst_resm(TINFO, | ^~~~~~~~ ../../../../include/old/test.h:123:19: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 5 has type '__off_t' {aka 'long int'} [-Wformat=] 123 | (arg_fmt), ##__VA_ARGS__) | ^~~~~~~~~ ftest04.c:385:49: note: in expansion of macro 'tst_resm' 385 | tst_resm(TINFO, | ^~~~~~~~ ftest01.c: In function 'setup': ftest01.c:143:9: warning: 'sigset' is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 143 | if (sigset(SIGTERM, term) == SIG_ERR) { | ^~ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/sys/wait.h:36, from ftest01.c:53: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/signal.h:367:23: note: declared here 367 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ In file included from ftest01.c:61: ftest01.c: In function 'dotest': ../../../../include/old/test.h:123:19: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 5 has type '__off_t' {aka 'long int'} [-Wformat=] 123 | (arg_fmt), ##__VA_ARGS__) | ^~~~~~~~~ ftest01.c:372:41: note: in expansion of macro 'tst_resm' 372 | tst_resm(TINFO, | ^~~~~~~~ ../../../../include/old/test.h:123:19: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 5 has type '__off_t' {aka 'long int'} [-Wformat=] 123 | (arg_fmt), ##__VA_ARGS__) | ^~~~~~~~~ ftest01.c:405:41: note: in expansion of macro 'tst_resm' 405 | tst_resm(TINFO, | ^~~~~~~~ ftest01.c: In function 'setup': ftest01.c:125:9: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result] 125 | getcwd(homedir, sizeof(homedir)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ftest01.c: In function 'runtest': ftest01.c:212:9: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 212 | chdir(homedir); | ^~~~~~~~~~~~~~ ftest01.c: In function 'dotest': ftest01.c:322:17: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 322 | ftruncate(fd, 0); | ^~~~~~~~~~~~~~~~ CC testcases/kernel/fs/ftest/ftest02 CC testcases/kernel/fs/ftest/ftest01 ftest05.c: In function 'setup': ftest05.c:151:9: warning: 'sigset' is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 151 | if (sigset(SIGTERM, term) == SIG_ERR) { | ^~ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/sys/wait.h:36, from ftest05.c:57: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/signal.h:367:23: note: declared here 367 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ In file included from ftest05.c:65: ftest05.c: In function 'dotest': ftest05.c:332:42: warning: format '%Lx' expects argument of type 'long long unsigned int', but argument 7 has type 'long int' [-Wformat=] 332 | "\tTest[%d]: lseek64(0) fail at %Lx", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../include/old/test.h:153:64: note: in definition of macro 'tst_brkm' 153 | tst_brkm__(__FILE__, __LINE__, flags, cleanup, fmt, ##__VA_ARGS__); \ | ^~~ ftest05.c:332:76: note: format string is defined here 332 | "\tTest[%d]: lseek64(0) fail at %Lx", | ~~^ | | | long long unsigned int | %lx In file included from ftest05.c:65: ftest05.c:337:42: warning: format '%Lx' expects argument of type 'long long unsigned int', but argument 7 has type 'long int' [-Wformat=] 337 | "\tTest[%d]: read fail at %Lx", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../include/old/test.h:153:64: note: in definition of macro 'tst_brkm' 153 | tst_brkm__(__FILE__, __LINE__, flags, cleanup, fmt, ##__VA_ARGS__); \ | ^~~ ftest05.c:337:70: note: format string is defined here 337 | "\tTest[%d]: read fail at %Lx", | ~~^ | | | long long unsigned int | %lx In file included from ftest05.c:65: ../../../../include/old/test.h:123:19: warning: format '%Lx' expects argument of type 'long long unsigned int', but argument 6 has type 'long int' [-Wformat=] 123 | (arg_fmt), ##__VA_ARGS__) | ^~~~~~~~~ ftest05.c:356:41: note: in expansion of macro 'tst_resm' 356 | tst_resm(TFAIL, | ^~~~~~~~ ../../../../include/old/test.h:123:19: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 5 has type '__off_t' {aka 'long int'} [-Wformat=] 123 | (arg_fmt), ##__VA_ARGS__) | ^~~~~~~~~ ftest05.c:364:41: note: in expansion of macro 'tst_resm' 364 | tst_resm(TINFO, | ^~~~~~~~ ../../../../include/old/test.h:123:19: warning: format '%Lx' expects argument of type 'long long unsigned int', but argument 6 has type 'long int' [-Wformat=] 123 | (arg_fmt), ##__VA_ARGS__) | ^~~~~~~~~ ftest05.c:387:41: note: in expansion of macro 'tst_resm' 387 | tst_resm(TFAIL, | ^~~~~~~~ ../../../../include/old/test.h:123:19: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 5 has type '__off_t' {aka 'long int'} [-Wformat=] 123 | (arg_fmt), ##__VA_ARGS__) | ^~~~~~~~~ ftest05.c:395:41: note: in expansion of macro 'tst_resm' 395 | tst_resm(TINFO, | ^~~~~~~~ ftest05.c:414:42: warning: format '%Lx' expects argument of type 'long long unsigned int', but argument 7 has type 'long int' [-Wformat=] 414 | "\tTest[%d]: lseek64(1) fail at %Lx", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../include/old/test.h:153:64: note: in definition of macro 'tst_brkm' 153 | tst_brkm__(__FILE__, __LINE__, flags, cleanup, fmt, ##__VA_ARGS__); \ | ^~~ ftest05.c:414:76: note: format string is defined here 414 | "\tTest[%d]: lseek64(1) fail at %Lx", | ~~^ | | | long long unsigned int | %lx In file included from ftest05.c:65: ../../../../include/old/test.h:123:19: warning: format '%Lx' expects argument of type 'long long unsigned int', but argument 6 has type 'long int' [-Wformat=] 123 | (arg_fmt), ##__VA_ARGS__) | ^~~~~~~~~ ftest05.c:424:41: note: in expansion of macro 'tst_resm' 424 | tst_resm(TFAIL | TERRNO, | ^~~~~~~~ ftest05.c: In function 'setup': ftest05.c:133:9: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result] 133 | getcwd(homedir, sizeof(homedir)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ftest05.c: In function 'runtest': ftest05.c:212:9: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 212 | chdir(homedir); | ^~~~~~~~~~~~~~ ftest05.c: In function 'dotest': ftest05.c:317:17: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 317 | ftruncate(fd, 0); | ^~~~~~~~~~~~~~~~ CC testcases/kernel/fs/ftest/ftest03 CC testcases/kernel/fs/ftest/ftest04 ftest08.c: In function 'init': ftest08.c:141:9: warning: 'sigset' is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 141 | if (sigset(SIGTERM, term) == SIG_ERR) { | ^~ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/sys/param.h:28, from ftest08.c:47: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/signal.h:367:23: note: declared here 367 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ In file included from ftest08.c:57: ftest08.c: In function 'dotest': ../../../../include/old/test.h:123:19: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 5 has type '__off_t' {aka 'long int'} [-Wformat=] 123 | (arg_fmt), ##__VA_ARGS__) | ^~~~~~~~~ ftest08.c:371:49: note: in expansion of macro 'tst_resm' 371 | tst_resm(TINFO, | ^~~~~~~~ ../../../../include/old/test.h:123:19: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 5 has type '__off_t' {aka 'long int'} [-Wformat=] 123 | (arg_fmt), ##__VA_ARGS__) | ^~~~~~~~~ ftest08.c:402:49: note: in expansion of macro 'tst_resm' 402 | tst_resm(TINFO, | ^~~~~~~~ ftest07.c: In function 'setup': ftest07.c:168:9: warning: 'sigset' is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 168 | if (sigset(SIGTERM, term) == SIG_ERR) { | ^~ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/sys/param.h:28, from ftest07.c:62: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/signal.h:367:23: note: declared here 367 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ In file included from ftest07.c:72: ftest07.c: In function 'dotest': ../../../../include/old/test.h:123:19: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 5 has type '__off_t' {aka 'long int'} [-Wformat=] 123 | (arg_fmt), ##__VA_ARGS__) | ^~~~~~~~~ ftest07.c:432:49: note: in expansion of macro 'tst_resm' 432 | tst_resm(TINFO, | ^~~~~~~~ ../../../../include/old/test.h:123:19: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 5 has type '__off_t' {aka 'long int'} [-Wformat=] 123 | (arg_fmt), ##__VA_ARGS__) | ^~~~~~~~~ ftest07.c:470:49: note: in expansion of macro 'tst_resm' 470 | tst_resm(TINFO, | ^~~~~~~~ ftest07.c: In function 'domisc': ftest07.c:590:32: warning: comparison of integer expressions of different signedness: '__off_t' {aka 'long int'} and 'long long unsigned int' [-Wsign-compare] 590 | if (sb.st_size != file_max) { | ^~ ftest07.c: In function 'runtest': ftest07.c:232:9: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 232 | chdir(homedir); | ^~~~~~~~~~~~~~ ftest07.c: In function 'dotest': ftest07.c:371:17: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 371 | ftruncate(fd, 0); | ^~~~~~~~~~~~~~~~ ftest06.c: In function 'main': ftest06.c:141:29: warning: '/ftest06.' directive output may be truncated writing 9 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 141 | "%s/ftest06.%d", cwd, getpid()); | ^~~~~~~~~ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/stdio.h:906, from ftest06.c:50: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/stdio2.h:54:10: note: '__builtin_snprintf' output between 11 and 4116 bytes into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ CC testcases/kernel/fs/ftest/ftest05 CC testcases/kernel/fs/ftest/ftest06 CC testcases/kernel/fs/ftest/ftest08 CC testcases/kernel/fs/ftest/ftest07 CC testcases/kernel/fs/squashfs/squashfs01 fsx-linux.c: In function 'doread': fsx-linux.c:628:26: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 628 | if (iret == -1) | ^~ fsx-linux.c: In function 'dowrite': fsx-linux.c:766:26: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 766 | if (iret == -1) | ^~ fsx-linux.c: In function 'test': fsx-linux.c:1023:51: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'off_t' {aka 'long int'} [-Wsign-compare] 1023 | if (offset + size > file_size) | ^ fsx-linux.c:1034:36: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 1034 | if (closeprob && (rv >> 3) < (1 << 28) / closeprob) | ^ fsx-linux.c: In function 'main': fsx-linux.c:1179:46: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits] 1179 | if (progressinterval < 0) | ^ fsx-linux.c:1308:23: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 1308 | for (i = 0; i < maxfilelen; i++) | ^ fsx-linux.c:1326:29: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'long unsigned int' [-Wsign-compare] 1326 | if (written != maxfilelen) { | ^~ fsx-linux.c: In function 'check_trunc_hack': fsx-linux.c:497:9: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 497 | ftruncate(fd, (off_t) 0); | ^~~~~~~~~~~~~~~~~~~~~~~~ fsx-linux.c:498:9: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 498 | ftruncate(fd, (off_t) 100000); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fsx-linux.c:507:9: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 507 | ftruncate(fd, 0); | ^~~~~~~~~~~~~~~~ fsx-linux.c: In function 'main': fsx-linux.c:1168:31: warning: this statement may fall through [-Wimplicit-fallthrough=] 1168 | debug = 1; | ~~~~~~^~~ fsx-linux.c:1169:17: note: here 1169 | case 'n': | ^~~~ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/string.h:535, from fsx-linux.c:46: In function 'strncpy', inlined from 'main' at fsx-linux.c:1225:4: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/string_fortified.h:95:10: warning: '__builtin_strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'main' at fsx-linux.c:1227:4: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/string_fortified.h:95:10: warning: '__builtin_strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ CC testcases/kernel/fs/fsx-linux/fsx-linux CC testcases/kernel/fs/proc/proc01 make[6]: Nothing to be done for 'all'. stream03.c: In function 'main': stream03.c:94:25: warning: comparison of integer expressions of different signedness: 'long int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 94 | if (pos != strlen(junk)) { | ^~ stream03.c:120:25: warning: comparison of integer expressions of different signedness: 'long int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 120 | if (pos != strlen(junk)) { | ^~ stream03.c:135:25: warning: comparison of integer expressions of different signedness: 'long int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 135 | if (pos != strlen(junk)) { | ^~ stream03.c:163:25: warning: comparison of integer expressions of different signedness: 'long int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 163 | if (pos != strlen(junk)) { | ^~ stream03.c:207:26: warning: comparison of integer expressions of different signedness: 'off_t' {aka 'long int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 207 | if (opos != strlen(junk)) { | ^~ stream03.c:233:26: warning: comparison of integer expressions of different signedness: 'off_t' {aka 'long int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 233 | if (opos != strlen(junk)) { | ^~ stream03.c:248:26: warning: comparison of integer expressions of different signedness: 'off_t' {aka 'long int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 248 | if (opos != strlen(junk)) { | ^~ stream03.c:277:26: warning: comparison of integer expressions of different signedness: 'off_t' {aka 'long int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 277 | if (opos != strlen(junk)) { | ^~ stream01.c: In function 'main': stream01.c:90:25: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 90 | fread(buf, 1, 1, stream); | ^~~~~~~~~~~~~~~~~~~~~~~~ stream01.c:104:25: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 104 | fread(buf, 1, 1, stream); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from stream04.c:38: stream04.c: In function 'main': ../../../../include/old/test.h:123:19: warning: format '%zi' expects argument of type 'signed size_t', but argument 6 has type 'int' [-Wformat=] 123 | (arg_fmt), ##__VA_ARGS__) | ^~~~~~~~~ stream04.c:87:25: note: in expansion of macro 'tst_resm' 87 | tst_resm(TFAIL, | ^~~~~~~~ ../../../../include/old/test.h:123:19: warning: format '%zi' expects argument of type 'signed size_t', but argument 6 has type 'int' [-Wformat=] 123 | (arg_fmt), ##__VA_ARGS__) | ^~~~~~~~~ stream04.c:108:25: note: in expansion of macro 'tst_resm' 108 | tst_resm(TFAIL, | ^~~~~~~~ CC testcases/kernel/fs/stream/stream04 CC testcases/kernel/fs/stream/stream03 CC testcases/kernel/fs/stream/stream01 CC testcases/kernel/fs/stream/stream02 stream05.c: In function 'main': stream05.c:146:17: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 146 | fread(buf, 1, 2, stream); /* read to EOF */ | ^~~~~~~~~~~~~~~~~~~~~~~~ CC testcases/kernel/fs/stream/stream05 CC testcases/kernel/fs/fs_di/frag CC testcases/kernel/fs/fs_di/create_datafile make[5]: Nothing to be done for 'all'. make[5]: Nothing to be done for 'all'. make[6]: Nothing to be done for 'all'. make[6]: Nothing to be done for 'all'. make[6]: Nothing to be done for 'all'. CC testcases/kernel/hotplug/memory_hotplug/segment.o CC testcases/kernel/hotplug/memory_hotplug/commands.o CC testcases/kernel/hotplug/memory_hotplug/memtoy.o LD testcases/kernel/hotplug/memory_hotplug/memtoy CC testcases/kernel/input/input_helper.o CC testcases/kernel/input/input02 CC testcases/kernel/input/input01 CC testcases/kernel/input/input03 CC testcases/kernel/input/input04 CC testcases/kernel/input/input05 CC testcases/kernel/input/input06 CC testcases/kernel/io/aio/aio01 CC testcases/kernel/io/aio/aio02 CC testcases/kernel/io/ltp-aiodio/aio-stress CC testcases/kernel/io/ltp-aiodio/aiocp CC testcases/kernel/io/ltp-aiodio/aiodio_append CC testcases/kernel/io/ltp-aiodio/aiodio_sparse CC testcases/kernel/io/ltp-aiodio/dio_append CC testcases/kernel/io/ltp-aiodio/dio_read dirty.c: In function 'main': dirty.c:52:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 52 | write(fd, buf, sizeof(buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ CC testcases/kernel/io/ltp-aiodio/dio_truncate CC testcases/kernel/io/ltp-aiodio/dio_sparse CC testcases/kernel/io/ltp-aiodio/dirty CC testcases/kernel/io/direct_io/diotest_routines.o diotest2.c: In function 'runtest': diotest2.c:81:63: warning: unused parameter 'action' [-Wunused-parameter] 81 | int runtest(int fd_r, int fd_w, int iter, off64_t offset, int action) | ~~~~^~~~~~ diotest4.c: In function 'runtest_f': diotest4.c:97:69: warning: unused parameter 'testnum' [-Wunused-parameter] 97 | runtest_f(int fd, char *buf, int offset, int count, int errnum, int testnum, | ~~~~^~~~~~~ diotest4.c: In function 'runtest_s': diotest4.c:139:61: warning: unused parameter 'testnum' [-Wunused-parameter] 139 | int runtest_s(int fd, char *buf, int offset, int count, int testnum, char *msg) | ~~~~^~~~~~~ CC testcases/kernel/io/direct_io/diotest3 CC testcases/kernel/io/direct_io/diotest1 CC testcases/kernel/io/direct_io/diotest2 diotest5.c: In function 'runtest': diotest5.c:85:63: warning: unused parameter 'action' [-Wunused-parameter] 85 | int runtest(int fd_r, int fd_w, int iter, off64_t offset, int action) | ~~~~^~~~~~ CC testcases/kernel/io/direct_io/diotest4 CC testcases/kernel/io/direct_io/diotest5 CC testcases/kernel/io/direct_io/dma_thread_diotest CC testcases/kernel/io/direct_io/diotest6 writetest.c: In function 'setup': writetest.c:212:6: warning: old-style function definition [-Wold-style-definition] 212 | void setup() | ^~~~~ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/string.h:535, from writetest.c:41: In function 'strncpy', inlined from 'parse_args' at writetest.c:196:4: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/string_fortified.h:95:10: warning: '__builtin_strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ CC testcases/kernel/io/writetest/writetest sem01.c: In function 'delayloop': sem01.c:77:6: warning: old-style function definition [-Wold-style-definition] 77 | void delayloop() | ^~~~~~~~~ sem02.c: In function 'main': sem02.c:74:16: warning: variable 'rc' set but not used [-Wunused-but-set-variable] 74 | int i, rc; | ^~ sem02.c: In function 'waiter': sem02.c:123:20: warning: unused parameter 'foo' [-Wunused-parameter] 123 | void *waiter(void *foo) | ~~~~~~^~~ sem02.c: In function 'poster': sem02.c:142:20: warning: unused parameter 'foo' [-Wunused-parameter] 142 | void *poster(void *foo) | ~~~~~~^~~ CC testcases/kernel/ipc/semaphore/sem01 CC testcases/kernel/ipc/semaphore/sem02 pipeio.c: In function 'sig_child': pipeio.c:852:27: warning: unused parameter 'sig' [-Wunused-parameter] 852 | static void sig_child(int sig) | ~~~~^~~ CC testcases/kernel/ipc/pipeio/pipeio CC testcases/kernel/irq/irqbalance01 In file included from kmsg01.c:27: kmsg01.c: In function 'timed_read_kmsg': ../../../../include/tst_test.h:81:17: warning: this statement may fall through [-Wimplicit-fallthrough=] 81 | tst_brk_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ kmsg01.c:185:17: note: in expansion of macro 'tst_brk' 185 | tst_brk(TBROK|TERRNO, "failed to fork"); | ^~~~~~~ kmsg01.c:186:9: note: here 186 | case 0: | ^~~~ In file included from kmsg01.c:27: kmsg01.c: In function 'timed_read': ../../../../include/tst_test.h:81:17: warning: this statement may fall through [-Wimplicit-fallthrough=] 81 | tst_brk_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ kmsg01.c:152:17: note: in expansion of macro 'tst_brk' 152 | tst_brk(TBROK|TERRNO, "select failed"); | ^~~~~~~ kmsg01.c:153:9: note: here 153 | case 0: | ^~~~ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/string.h:535, from kmsg01.c:24: In function 'strncpy', inlined from 'find_msg.constprop' at kmsg01.c:97:5: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/string_fortified.h:95:10: warning: '__builtin_strncpy' output may be truncated copying 4096 bytes from a string of length 4096 [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ kmsg01.c: In function 'test_inject': kmsg01.c:291:45: warning: '%s' directive writing up to 4095 bytes into a region of size between 4091 and 4093 [-Wformat-overflow=] 291 | sprintf(imsg_prefixed, "<%d>%s", i, imsg); | ^~ ~~~~ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/stdio.h:906, from kmsg01.c:22: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 4 and 4101 bytes into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ CC testcases/kernel/logging/kmsg/kmsg01 /usr/bin/make -C ../../../../testcases/kernel/mem/lib -f "/home/thomas/autobuild/instance-0/output-1/build/ltp-testsuite-20220930/testcases/kernel/mem/lib/Makefile" all In file included from /home/thomas/autobuild/instance-0/output-1/build/ltp-testsuite-20220930/testcases/kernel/mem/lib/../include/mem.h:8, from mem.c:25: mem.c: In function 'get_a_numa_node': ../../../../include/tst_test.h:81:17: warning: this statement may fall through [-Wimplicit-fallthrough=] 81 | tst_brk_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mem.c:609:17: note: in expansion of macro 'tst_brk' 609 | tst_brk(TCONF, "requires a NUMA system."); | ^~~~~~~ mem.c:610:9: note: here 610 | default: | ^~~~~~~ In file included from /home/thomas/autobuild/instance-0/output-1/build/ltp-testsuite-20220930/testcases/kernel/mem/lib/../include/mem.h:8, from mem.c:25: ../../../../include/tst_test.h:81:17: warning: this statement may fall through [-Wimplicit-fallthrough=] 81 | tst_brk_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mem.c:620:17: note: in expansion of macro 'tst_brk' 620 | tst_brk(TCONF, "requires a NUMA system that has " | ^~~~~~~ mem.c:623:9: note: here 623 | default: | ^~~~~~~ mem.c: In function 'write_cpusets': mem.c:557:52: warning: '/online' directive output may be truncated writing 7 bytes into a region of size between 1 and 8192 [-Wformat-truncation=] 557 | snprintf(path1, BUFSIZ, "%s/online", path); | ^~~~~~~ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/stdio.h:906, from mem.c:20: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/stdio2.h:54:10: note: '__builtin_snprintf' output between 8 and 8199 bytes into a destination of size 8192 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ CC testcases/kernel/mem/lib/mem.o AR libmem.a RANLIB libmem.a CC testcases/kernel/mem/oom/oom03 CC testcases/kernel/mem/oom/oom02 CC testcases/kernel/mem/oom/oom04 CC testcases/kernel/mem/oom/oom01 CC testcases/kernel/mem/oom/oom05 BUILD libltpnuma.a make[6]: Nothing to be done for 'all'. CC testcases/kernel/mem/ksm/ksm02 CC testcases/kernel/mem/ksm/ksm01 CC testcases/kernel/mem/ksm/ksm03 CC testcases/kernel/mem/ksm/ksm04 ksm05.c:46:12: warning: 'ksm_run_orig' defined but not used [-Wunused-variable] 46 | static int ksm_run_orig = -1; | ^~~~~~~~~~~~ CC testcases/kernel/mem/ksm/ksm06 CC testcases/kernel/mem/ksm/ksm05 CC testcases/kernel/mem/thp/thp01 CC testcases/kernel/mem/thp/thp03 CC testcases/kernel/mem/thp/thp02 CC testcases/kernel/mem/thp/thp04 shm_test.c: In function 'noprintf': shm_test.c:60:21: warning: unused parameter 'string' [-Wunused-parameter] 60 | void noprintf(char *string, ...) | ~~~~~~^~~~~~ shm_test.c: In function 'shmat_rd_wr': shm_test.c:187:14: warning: variable 'buff' set but not used [-Wunused-but-set-variable] 187 | char buff; /* temporary buffer */ | ^~~~ CC testcases/kernel/mem/mtest07/shm_test CC testcases/kernel/mem/mtest07/mallocstress shmat1.c: In function 'sig_handler': shmat1.c:112:29: warning: unused parameter 'code' [-Wunused-parameter] 112 | int code, ucontext_t *ut) | ~~~~^~~~ shmat1.c:112:47: warning: unused parameter 'ut' [-Wunused-parameter] 112 | int code, ucontext_t *ut) | ~~~~~~~~~~~~^~ shmat1.c: In function 'main': shmat1.c:448:29: warning: cast between incompatible function types from 'void (*)(int, int, ucontext_t *)' to 'void (*)(int)' [-Wcast-function-type] 448 | sigptr.sa_handler = (void (*)(int signal))sig_handler; | ^ CC testcases/kernel/mem/mtest06/shmat1 CC testcases/kernel/mem/mtest06/mmap2 CC testcases/kernel/mem/mtest06/mmap3 CC testcases/kernel/mem/mtest06/mmap1 CC testcases/kernel/mem/mtest05/mmstress_dummy CC testcases/kernel/mem/mtest05/mmstress page01.c: In function 'main': page01.c:69:5: warning: old-style function definition [-Wold-style-definition] 69 | int main(argc, argv) | ^~~~ page01.c: In function 'bd_arg': page01.c:195:5: warning: old-style function definition [-Wold-style-definition] 195 | int bd_arg(str) | ^~~~~~ page01.c: In function 'setup': page01.c:208:6: warning: old-style function definition [-Wold-style-definition] 208 | void setup() | ^~~~~ page01.c: In function 'blenter': page02.c: In function 'main': page01.c:219:6: warning: old-style function definition [-Wold-style-definition] 219 | void blenter() | ^~~~~~~ page01.c: In function 'anyfail': page02.c:68:5: warning: old-style function definition [-Wold-style-definition] 68 | int main(argc, argv) | ^~~~ page01.c:231:6: warning: old-style function definition [-Wold-style-definition] 231 | void anyfail() | ^~~~~~~ page02.c:83:29: warning: cast between incompatible function types from 'int (*)()' to 'void (*)()' [-Wcast-function-type] 83 | if (signal(SIGUSR1, (void (*)())chld) == SIG_ERR) { | ^ page01.c: In function 'ok_exit': page01.c:244:6: warning: old-style function definition [-Wold-style-definition] 244 | void ok_exit() | ^~~~~~~ page01.c: In function 'forkfail': page01.c:255:6: warning: old-style function definition [-Wold-style-definition] 255 | void forkfail() | ^~~~~~~~ page01.c: In function 'instress': page01.c:279:5: warning: old-style function definition [-Wold-style-definition] 279 | int instress() | ^~~~~~~~ page02.c: In function 'bd_arg': page02.c:224:5: warning: old-style function definition [-Wold-style-definition] 224 | int bd_arg(str) | ^~~~~~ page02.c: In function 'chld': page02.c:230:5: warning: old-style function definition [-Wold-style-definition] 230 | int chld() | ^~~~ page02.c:232:29: warning: cast between incompatible function types from 'int (*)()' to 'void (*)()' [-Wcast-function-type] 232 | if (signal(SIGUSR1, (void (*)())chld) == SIG_ERR) { | ^ CC testcases/kernel/mem/page/page01 CC testcases/kernel/mem/page/page02 In file included from /home/thomas/autobuild/instance-0/output-1/build/ltp-testsuite-20220930/testcases/kernel/mem/include/mem.h:8, from min_free_kbytes.c:38: min_free_kbytes.c: In function 'test_tune': ../../../../include/tst_test.h:81:17: warning: this statement may fall through [-Wimplicit-fallthrough=] 81 | tst_brk_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ min_free_kbytes.c:115:25: note: in expansion of macro 'tst_brk' 115 | tst_brk(TBROK | TERRNO, "fork"); | ^~~~~~~ min_free_kbytes.c:116:17: note: here 116 | case 0: | ^~~~ CC testcases/kernel/mem/tunable/max_map_count CC testcases/kernel/mem/tunable/overcommit_memory CC testcases/kernel/mem/tunable/min_free_kbytes CC testcases/kernel/mem/shmt/shmt03 CC testcases/kernel/mem/shmt/shmt02 CC testcases/kernel/mem/shmt/shmt04 CC testcases/kernel/mem/shmt/shmt05 CC testcases/kernel/mem/shmt/shmt06 CC testcases/kernel/mem/shmt/shmt07 CC testcases/kernel/mem/shmt/shmt09 CC testcases/kernel/mem/shmt/shmt08 shmt10.c: In function 'fini': shmt10.c:163:22: warning: unused parameter 'sig' [-Wunused-parameter] 163 | static void fini(int sig) | ~~~~^~~ CC testcases/kernel/mem/shmt/shmt10 /usr/bin/make -C "../lib" -f "/home/thomas/autobuild/instance-0/output-1/build/ltp-testsuite-20220930/testcases/kernel/mem/hugetlb/hugeshmat/../lib/Makefile" all CC testcases/kernel/mem/hugetlb/lib/hugetlb.o AR libhugetlb.a RANLIB libhugetlb.a CC testcases/kernel/mem/hugetlb/hugeshmat/hugeshmat03 CC testcases/kernel/mem/hugetlb/hugeshmat/hugeshmat02 CC testcases/kernel/mem/hugetlb/hugeshmat/hugeshmat04 CC testcases/kernel/mem/hugetlb/hugeshmat/hugeshmat01 CC testcases/kernel/mem/hugetlb/hugeshmat/hugeshmat05 CC testcases/kernel/mem/hugetlb/hugeshmctl/hugeshmctl03 CC testcases/kernel/mem/hugetlb/hugeshmctl/hugeshmctl01 CC testcases/kernel/mem/hugetlb/hugeshmctl/hugeshmctl02 CC testcases/kernel/mem/hugetlb/hugeshmget/hugeshmget05 CC testcases/kernel/mem/hugetlb/hugeshmget/hugeshmget01 CC testcases/kernel/mem/hugetlb/hugeshmget/hugeshmget02 CC testcases/kernel/mem/hugetlb/hugeshmget/hugeshmget03 CC testcases/kernel/mem/hugetlb/hugeshmdt/hugeshmdt01 hugemmap05.c: In function 'setup': hugemmap05.c:216:20: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'long int' [-Wsign-compare] 216 | if (hpages != size) | ^~ hugemmap05.c:288:38: warning: '/nr_overcommit_hugepages' directive writing 24 bytes into a region of size between 1 and 8192 [-Wformat-overflow=] 288 | sprintf(path_sys_sz_over, "%s/nr_overcommit_hugepages", path_sys_sz); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/stdio.h:906, from hugemmap05.c:19: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 25 and 8216 bytes into a destination of size 8192 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ hugemmap05.c:289:38: warning: '/free_hugepages' directive writing 15 bytes into a region of size between 1 and 8192 [-Wformat-overflow=] 289 | sprintf(path_sys_sz_free, "%s/free_hugepages", path_sys_sz); | ^~~~~~~~~~~~~~~ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/stdio.h:906, from hugemmap05.c:19: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 16 and 8207 bytes into a destination of size 8192 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ hugemmap05.c:290:38: warning: '/resv_hugepages' directive writing 15 bytes into a region of size between 1 and 8192 [-Wformat-overflow=] 290 | sprintf(path_sys_sz_resv, "%s/resv_hugepages", path_sys_sz); | ^~~~~~~~~~~~~~~ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/stdio.h:906, from hugemmap05.c:19: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 16 and 8207 bytes into a destination of size 8192 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ hugemmap05.c:291:38: warning: '/surplus_hugepages' directive writing 18 bytes into a region of size between 1 and 8192 [-Wformat-overflow=] 291 | sprintf(path_sys_sz_surp, "%s/surplus_hugepages", path_sys_sz); | ^~~~~~~~~~~~~~~~~~ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/stdio.h:906, from hugemmap05.c:19: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 19 and 8210 bytes into a destination of size 8192 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ hugemmap05.c:292:38: warning: '/nr_hugepages' directive writing 13 bytes into a region of size between 1 and 8192 [-Wformat-overflow=] 292 | sprintf(path_sys_sz_huge, "%s/nr_hugepages", path_sys_sz); | ^~~~~~~~~~~~~ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/stdio.h:906, from hugemmap05.c:19: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 14 and 8205 bytes into a destination of size 8192 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ CC testcases/kernel/mem/hugetlb/hugemmap/hugemmap04 CC testcases/kernel/mem/hugetlb/hugemmap/hugemmap01 CC testcases/kernel/mem/hugetlb/hugemmap/hugemmap02 CC testcases/kernel/mem/hugetlb/hugemmap/hugemmap05 CC testcases/kernel/mem/hugetlb/hugemmap/hugemmap06 vma03.c: In function 'main': vma03.c:145:14: warning: unused parameter 'argc' [-Wunused-parameter] 145 | int main(int argc, char *argv[]) | ~~~~^~~~ vma03.c:145:26: warning: unused parameter 'argv' [-Wunused-parameter] 145 | int main(int argc, char *argv[]) | ~~~~~~^~~~~~ CC testcases/kernel/mem/vma/vma03 CC testcases/kernel/mem/vma/vma04 CC testcases/kernel/mem/vma/vma02 CC testcases/kernel/mem/vma/vma05_vdso CC testcases/kernel/mem/vma/vma01 data_space.c: In function 'usage': data_space.c:93:5: warning: old-style function definition [-Wold-style-definition] 93 | int usage(prog) | ^~~~~ data_space.c: In function 'main': data_space.c:101:5: warning: old-style function definition [-Wold-style-definition] 101 | int main(argc, argv) | ^~~~ data_space.c:137:9: warning: 'sigset' is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 137 | if (sigset(SIGTERM, (void (*)())term) == SIG_ERR) { | ^~ In file included from data_space.c:37: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/signal.h:367:23: note: declared here 367 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ data_space.c:137:29: warning: cast between incompatible function types from 'int (*)()' to 'void (*)()' [-Wcast-function-type] 137 | if (sigset(SIGTERM, (void (*)())term) == SIG_ERR) { | ^ data_space.c:140:9: warning: 'sigset' is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 140 | if (sigset(SIGUSR1, (void (*)())chld) == SIG_ERR) { | ^~ In file included from data_space.c:37: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/signal.h:367:23: note: declared here 367 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ data_space.c:140:29: warning: cast between incompatible function types from 'int (*)()' to 'void (*)()' [-Wcast-function-type] 140 | if (sigset(SIGUSR1, (void (*)())chld) == SIG_ERR) { | ^ data_space.c: In function 'runtest': data_space.c:148:5: warning: old-style function definition [-Wold-style-definition] 148 | int runtest() | ^~~~~~~ data_space.c: In function 'dotest': data_space.c:218:5: warning: old-style function definition [-Wold-style-definition] 218 | int dotest(testers, me) | ^~~~~~ data_space.c: In function 'bfill': data_space.c:360:6: warning: old-style function definition [-Wold-style-definition] 360 | void bfill(buf, val, size) | ^~~~~ data_space.c: In function 'dumpbuf': data_space.c:376:5: warning: old-style function definition [-Wold-style-definition] 376 | int dumpbuf(buf) | ^~~~~~~ data_space.c:381:13: warning: variable 'idx' set but not used [-Wunused-but-set-variable] 381 | int idx; | ^~~ data_space.c: In function 'dumpbits': data_space.c:428:6: warning: old-style function definition [-Wold-style-definition] 428 | void dumpbits(bits, size) | ^~~~~~~~ data_space.c:429:7: warning: unused parameter 'bits' [-Wunused-parameter] 429 | char *bits; | ^~~~ data_space.c:430:14: warning: unused parameter 'size' [-Wunused-parameter] 430 | register int size; | ^~~~ data_space.c: In function 'term': data_space.c:450:5: warning: old-style function definition [-Wold-style-definition] 450 | int term() | ^~~~ data_space.c: In function 'chld': data_space.c:464:5: warning: old-style function definition [-Wold-style-definition] 464 | int chld() | ^~~~ data_space.c:466:9: warning: 'sigset' is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 466 | if (sigset(SIGUSR1, (void (*)())chld) == SIG_ERR) { | ^~ In file included from data_space.c:37: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/signal.h:367:23: note: declared here 367 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ data_space.c:466:29: warning: cast between incompatible function types from 'int (*)()' to 'void (*)()' [-Wcast-function-type] 466 | if (sigset(SIGUSR1, (void (*)())chld) == SIG_ERR) { | ^ data_space.c: In function 'massmurder': data_space.c:474:5: warning: old-style function definition [-Wold-style-definition] 474 | int massmurder() | ^~~~~~~~~~ data_space.c: In function 'okexit': data_space.c:485:5: warning: old-style function definition [-Wold-style-definition] 485 | int okexit(me) | ^~~~~~ stack_space.c: In function 'main': stack_space.c:81:5: warning: old-style function definition [-Wold-style-definition] 81 | int main(argc, argv) | ^~~~ stack_space.c: In function 'bd_arg': stack_space.c:128:5: warning: old-style function definition [-Wold-style-definition] 128 | int bd_arg(str) | ^~~~~~ stack_space.c: In function 'runtest': stack_space.c:136:5: warning: old-style function definition [-Wold-style-definition] 136 | int runtest() | ^~~~~~~ stack_space.c: In function 'bfill': stack_space.c:327:5: warning: old-style function definition [-Wold-style-definition] 327 | int bfill(buf, val, size) | ^~~~~ stack_space.c: In function 'dumpbuf': stack_space.c:344:5: warning: old-style function definition [-Wold-style-definition] 344 | int dumpbuf(buf) | ^~~~~~~ stack_space.c:349:13: warning: variable 'idx' set but not used [-Wunused-but-set-variable] 349 | int idx; | ^~~ stack_space.c: In function 'dumpbits': stack_space.c:397:6: warning: old-style function definition [-Wold-style-definition] 397 | void dumpbits(bits, size) | ^~~~~~~~ stack_space.c:398:7: warning: unused parameter 'bits' [-Wunused-parameter] 398 | char *bits; | ^~~~ stack_space.c:399:14: warning: unused parameter 'size' [-Wunused-parameter] 399 | register int size; | ^~~~ stack_space.c: In function 'term': stack_space.c:415:6: warning: old-style function definition [-Wold-style-definition] 415 | void term() | ^~~~ CC testcases/kernel/mem/vmtests/data_space CC testcases/kernel/mem/vmtests/stack_space CC testcases/kernel/mem/cpuset/cpuset01 mmap-corruption01.c: In function 'finish': mmap-corruption01.c:177:17: warning: unused parameter 'sig' [-Wunused-parameter] 177 | void finish(int sig) | ~~~~^~~ mmap-corruption01.c: In function 'main': mmap-corruption01.c:150:17: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 150 | ftruncate(fd, kMemSize); | ^~~~~~~~~~~~~~~~~~~~~~~ mmapstress02.c: In function 'cleanup': mmapstress02.c:68:18: warning: unused parameter 'sig' [-Wunused-parameter] 68 | void cleanup(int sig) | ~~~~^~~ mmapstress02.c: In function 'main': mmapstress02.c:125:62: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 125 | if (write(fd, (char *)mmapaddr - pagesize, pagesize) != pagesize) { | ^~ mmapstress01.c:112: warning: "SIZE_MAX" redefined 112 | #define SIZE_MAX UINT_MAX | In file included from /home/thomas/autobuild/instance-0/output-1/host/lib/gcc/x86_64-buildroot-linux-gnu/11.3.0/include/stdint.h:9, from ../../../../include/old/test.h:19, from mmapstress01.c:36: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/stdint.h:227: note: this is the location of the previous definition 227 | # define SIZE_MAX (18446744073709551615UL) | mmapstress01.c: In function 'main': mmapstress01.c:299:33: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 299 | for (i = 0, data = 0; i < pagesize; i++) { | ^ mmapstress01.c:340:38: warning: passing argument 1 of 'child_mapper' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 340 | child_mapper(filename, procno, nprocs); | ^~~~~~~~ mmapstress01.c:116:25: note: expected 'char *' but argument is of type 'const char *' 116 | void child_mapper(char *file, unsigned procno, unsigned nprocs); | ~~~~~~^~~~ mmapstress01.c:358:17: warning: 'sighold' is deprecated: Use the sigprocmask function instead [-Wdeprecated-declarations] 358 | if (sighold(SIGALRM) || sighold(SIGINT)) { | ^~ In file included from mmapstress01.c:26: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/signal.h:355:12: note: declared here 355 | extern int sighold (int __sig) __THROW | ^~~~~~~ mmapstress01.c:358:17: warning: 'sighold' is deprecated: Use the sigprocmask function instead [-Wdeprecated-declarations] 358 | if (sighold(SIGALRM) || sighold(SIGINT)) { | ^~ In file included from mmapstress01.c:26: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/signal.h:355:12: note: declared here 355 | extern int sighold (int __sig) __THROW | ^~~~~~~ mmapstress01.c:388:46: warning: passing argument 1 of 'child_mapper' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 388 | child_mapper(filename, i, nprocs); | ^~~~~~~~ mmapstress01.c:116:25: note: expected 'char *' but argument is of type 'const char *' 116 | void child_mapper(char *file, unsigned procno, unsigned nprocs); | ~~~~~~^~~~ mmapstress01.c:403:17: warning: 'sigrelse' is deprecated: Use the sigprocmask function instead [-Wdeprecated-declarations] 403 | if (sigrelse(SIGALRM) || sigrelse(SIGINT)) { | ^~ In file included from mmapstress01.c:26: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/signal.h:359:12: note: declared here 359 | extern int sigrelse (int __sig) __THROW | ^~~~~~~~ mmapstress01.c:403:17: warning: 'sigrelse' is deprecated: Use the sigprocmask function instead [-Wdeprecated-declarations] 403 | if (sigrelse(SIGALRM) || sigrelse(SIGINT)) { | ^~ In file included from mmapstress01.c:26: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/signal.h:359:12: note: declared here 359 | extern int sigrelse (int __sig) __THROW | ^~~~~~~~ mmapstress01.c:414:9: warning: 'sighold' is deprecated: Use the sigprocmask function instead [-Wdeprecated-declarations] 414 | if (sighold(SIGALRM)) { | ^~ In file included from mmapstress01.c:26: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/signal.h:355:12: note: declared here 355 | extern int sighold (int __sig) __THROW | ^~~~~~~ mmapstress01.c:429:31: warning: passing argument 1 of 'fileokay' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 429 | if (!fileokay(filename, buf)) { | ^~~~~~~~ mmapstress01.c:117:20: note: expected 'char *' but argument is of type 'const char *' 117 | int fileokay(char *file, uchar_t * expbuf); | ~~~~~~^~~~ mmapstress01.c: In function 'fileokay': mmapstress01.c:660:32: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 660 | } else if (cnt != pagesize) { | ^~ mmapstress01.c:675:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 675 | for (j = 0; j < cnt; j++) { | ^ mmapstress01.c: In function 'finish': mmapstress01.c:699:31: warning: unused parameter 'sig' [-Wunused-parameter] 699 | /*ARGSUSED*/ void finish(int sig) | ~~~~^~~ CC testcases/kernel/mem/mmapstress/mmap-corruption01 CC testcases/kernel/mem/mmapstress/mmapstress03 CC testcases/kernel/mem/mmapstress/mmapstress02 mmapstress05.c: In function 'cleanup': mmapstress05.c:93:18: warning: unused parameter 'sig' [-Wunused-parameter] 93 | void cleanup(int sig) | ~~~~^~~ mmapstress05.c: In function 'main': mmapstress05.c:153:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 153 | for (i = 0; i < pagesize; i++) | ^ mmapstress05.c:155:38: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 155 | if (write(fd, buf, pagesize) != pagesize) { | ^~ mmapstress05.c:163:38: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 163 | if (write(fd, buf, pagesize) != pagesize) { | ^~ mmapstress05.c:171:38: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 171 | if (write(fd, buf, pagesize) != pagesize) { | ^~ CC testcases/kernel/mem/mmapstress/mmapstress01 CC testcases/kernel/mem/mmapstress/mmapstress06 CC testcases/kernel/mem/mmapstress/mmapstress04 mmapstress07.c: In function 'cleanup': mmapstress07.c:75:18: warning: unused parameter 'sig' [-Wunused-parameter] 75 | void cleanup(int sig) | ~~~~^~~ mmapstress07.c: In function 'main': mmapstress07.c:178:18: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 178 | while (i < pagesize && write(rwfd, "a", 1) == 1) | ^ mmapstress07.c:180:15: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 180 | if (i != pagesize) { | ^~ mmapstress07.c:194:18: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 194 | while (i < (pagesize >> 1) && write(rwfd, "b", 1) == 1) | ^ mmapstress07.c:196:15: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 196 | if (i != (pagesize >> 1)) { | ^~ mmapstress07.c:217:18: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 217 | while (i < 2 * pagesize && write(rwfd, "c", 1) == 1) | ^ mmapstress07.c:219:15: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 219 | if (i != 2 * pagesize) { | ^~ mmapstress07.c:237:18: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 237 | while (i < pagesize && write(rwfd, "e", 1) == 1) | ^ mmapstress07.c:239:15: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 239 | if (i != pagesize) { | ^~ mmapstress08.c: In function 'main': mmapstress08.c:62:28: warning: unused parameter 'argc' [-Wunused-parameter] 62 | /*ARGSUSED*/ int main(int argc, char *argv[]) | ~~~~^~~~ mmapstress09.c: In function 'main': mmapstress09.c:138:54: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 138 | while ((c = getopt(argc, argv, "mdrp:t:s:")) != -1) { | ^~ mmapstress09.c:212:33: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 212 | for (i = 0, data = 0; i < pagesize; i++) { | ^ mmapstress09.c:222:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 222 | for (j = 0; j < pagesize; j++) | ^ mmapstress09.c:282:17: warning: 'sighold' is deprecated: Use the sigprocmask function instead [-Wdeprecated-declarations] 282 | if (sighold(SIGALRM) || sighold(SIGINT)) { | ^~ In file included from mmapstress09.c:24: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/signal.h:355:12: note: declared here 355 | extern int sighold (int __sig) __THROW | ^~~~~~~ mmapstress09.c:282:17: warning: 'sighold' is deprecated: Use the sigprocmask function instead [-Wdeprecated-declarations] 282 | if (sighold(SIGALRM) || sighold(SIGINT)) { | ^~ In file included from mmapstress09.c:24: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/signal.h:355:12: note: declared here 355 | extern int sighold (int __sig) __THROW | ^~~~~~~ mmapstress09.c:328:17: warning: 'sigrelse' is deprecated: Use the sigprocmask function instead [-Wdeprecated-declarations] 328 | if (sigrelse(SIGALRM) || sigrelse(SIGINT)) { | ^~ In file included from mmapstress09.c:24: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/signal.h:359:12: note: declared here 359 | extern int sigrelse (int __sig) __THROW | ^~~~~~~~ mmapstress09.c:328:17: warning: 'sigrelse' is deprecated: Use the sigprocmask function instead [-Wdeprecated-declarations] 328 | if (sigrelse(SIGALRM) || sigrelse(SIGINT)) { | ^~ In file included from mmapstress09.c:24: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/signal.h:359:12: note: declared here 359 | extern int sigrelse (int __sig) __THROW | ^~~~~~~~ mmapstress09.c:339:9: warning: 'sighold' is deprecated: Use the sigprocmask function instead [-Wdeprecated-declarations] 339 | if (sighold(SIGALRM)) { | ^~ In file included from mmapstress09.c:24: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/signal.h:355:12: note: declared here 355 | extern int sighold (int __sig) __THROW | ^~~~~~~ mmapstress09.c: In function 'child_mapper': mmapstress09.c:399:36: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 399 | for (i = procno; i < pagesize; i += nprocs) { | ^ mmapstress09.c: In function 'mapokay': mmapstress09.c:446:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 446 | for (j = 0; j < pagesize; j++) { | ^ mmapstress09.c: In function 'finish': mmapstress09.c:461:31: warning: unused parameter 'sig' [-Wunused-parameter] 461 | /*ARGSUSED*/ void finish(int sig) | ~~~~^~~ CC testcases/kernel/mem/mmapstress/mmapstress08 CC testcases/kernel/mem/mmapstress/mmapstress05 mmapstress10.c:110: warning: "SIZE_MAX" redefined 110 | #define SIZE_MAX UINT_MAX | In file included from /home/thomas/autobuild/instance-0/output-1/host/lib/gcc/x86_64-buildroot-linux-gnu/11.3.0/include/stdint.h:9, from ../../../../include/old/test.h:19, from mmapstress10.c:33: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/stdint.h:227: note: this is the location of the previous definition 227 | # define SIZE_MAX (18446744073709551615UL) | mmapstress10.c: In function 'main': mmapstress10.c:342:33: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 342 | for (i = 0, data = 0; i < pagesize; i++) { | ^ mmapstress10.c:347:26: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 347 | for (data = 0; i < pagesize + growsize; i++) { | ^ mmapstress10.c:390:38: warning: passing argument 1 of 'child_mapper' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 390 | child_mapper(filename, procno, nprocs); | ^~~~~~~~ mmapstress10.c:127:25: note: expected 'char *' but argument is of type 'const char *' 127 | void child_mapper(char *file, unsigned procno, unsigned nprocs); | ~~~~~~^~~~ mmapstress10.c:406:30: warning: passing argument 1 of 'child_writer' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 406 | child_writer(filename, buf); | ^~~~~~~~ mmapstress10.c:128:25: note: expected 'char *' but argument is of type 'const char *' 128 | void child_writer(char *file, uchar_t * buf); | ~~~~~~^~~~ mmapstress10.c:420:17: warning: 'sighold' is deprecated: Use the sigprocmask function instead [-Wdeprecated-declarations] 420 | if (sighold(SIGALRM) || sighold(SIGINT)) { | ^~ In file included from mmapstress10.c:23: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/signal.h:355:12: note: declared here 355 | extern int sighold (int __sig) __THROW | ^~~~~~~ mmapstress10.c:420:17: warning: 'sighold' is deprecated: Use the sigprocmask function instead [-Wdeprecated-declarations] 420 | if (sighold(SIGALRM) || sighold(SIGINT)) { | ^~ In file included from mmapstress10.c:23: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/signal.h:355:12: note: declared here 355 | extern int sighold (int __sig) __THROW | ^~~~~~~ mmapstress10.c:457:46: warning: passing argument 1 of 'child_mapper' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 457 | child_mapper(filename, i, nprocs); | ^~~~~~~~ mmapstress10.c:127:25: note: expected 'char *' but argument is of type 'const char *' 127 | void child_mapper(char *file, unsigned procno, unsigned nprocs); | ~~~~~~^~~~ mmapstress10.c:472:17: warning: 'sigrelse' is deprecated: Use the sigprocmask function instead [-Wdeprecated-declarations] 472 | if (sigrelse(SIGALRM) || sigrelse(SIGINT)) { | ^~ In file included from mmapstress10.c:23: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/signal.h:359:12: note: declared here 359 | extern int sigrelse (int __sig) __THROW | ^~~~~~~~ mmapstress10.c:472:17: warning: 'sigrelse' is deprecated: Use the sigprocmask function instead [-Wdeprecated-declarations] 472 | if (sigrelse(SIGALRM) || sigrelse(SIGINT)) { | ^~ In file included from mmapstress10.c:23: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/signal.h:359:12: note: declared here 359 | extern int sigrelse (int __sig) __THROW | ^~~~~~~~ mmapstress10.c:495:31: warning: passing argument 1 of 'fileokay' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 495 | if (!fileokay(filename, buf)) { | ^~~~~~~~ mmapstress10.c:129:20: note: expected 'char *' but argument is of type 'const char *' 129 | int fileokay(char *file, uchar_t * expbuf); | ~~~~~~^~~~ mmapstress10.c: In function 'fileokay': mmapstress10.c:839:32: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 839 | } else if (cnt != pagesize) { | ^~ mmapstress10.c:855:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 855 | for (j = 0; j < cnt; j++) { | ^ mmapstress10.c: In function 'finish': mmapstress10.c:879:31: warning: unused parameter 'sig' [-Wunused-parameter] 879 | /*ARGSUSED*/ void finish(int sig) | ~~~~^~~ mmapstress10.c: In function 'clean_up_file': mmapstress10.c:885:38: warning: unused parameter 'sig' [-Wunused-parameter] 885 | /*ARGSUSED*/ void clean_up_file(int sig) | ~~~~^~~ mmapstress10.c: In function 'clean_mapper': mmapstress10.c:892:23: warning: unused parameter 'sig' [-Wunused-parameter] 892 | void clean_mapper(int sig) | ~~~~^~~ mmapstress10.c: In function 'clean_writer': mmapstress10.c:900:23: warning: unused parameter 'sig' [-Wunused-parameter] 900 | void clean_writer(int sig) | ~~~~^~~ CC testcases/kernel/mem/mmapstress/mmapstress07 CC testcases/kernel/mem/mmapstress/mmapstress09 CC testcases/kernel/mem/mmapstress/mmapstress10 mtest01.c: In function 'setup': mtest01.c:112:9: warning: implicit declaration of function 'sysinfo' [-Wimplicit-function-declaration] 112 | sysinfo(&sstats); | ^~~~~~~ CC testcases/kernel/mem/mtest01/mtest01 CC testcases/kernel/mem/swapping/swapping01 mem02.c: In function 'on_mem_fault': mem02.c:241:23: warning: unused parameter 'sig' [-Wunused-parameter] 241 | void on_mem_fault(int sig) | ~~~~^~~ CC testcases/kernel/mem/mem/mem02 make[5]: Nothing to be done for 'all'. CC testcases/kernel/numa/support_numa CC testcases/kernel/pty/pty02 CC testcases/kernel/pty/hangup01 CC testcases/kernel/pty/pty01 CC testcases/kernel/pty/ptem01 CC testcases/kernel/pty/pty04 CC testcases/kernel/pty/pty05 CC testcases/kernel/pty/pty03 CC testcases/kernel/pty/pty06 CC testcases/kernel/pty/pty07 time-schedule.c: In function 'main': time-schedule.c:120:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 120 | for (count = 1; count < argc; ++count) { | ^ time-schedule.c: In function 'hog_other_cpus': time-schedule.c:282:21: warning: old-style function definition [-Wold-style-definition] 282 | static unsigned int hog_other_cpus() | ^~~~~~~~~~~~~~ time-schedule.c: In function 'yielder_main': time-schedule.c:356:33: warning: unused parameter 'arg' [-Wunused-parameter] 356 | static void *yielder_main(void *arg) | ~~~~~~^~~ time-schedule.c: In function 's_term_handler': time-schedule.c:377:13: warning: old-style function definition [-Wold-style-definition] 377 | static void s_term_handler() | ^~~~~~~~~~~~~~ time-schedule.c: In function 'get_run_queue_size': time-schedule.c:463:21: warning: old-style function definition [-Wold-style-definition] 463 | static unsigned int get_run_queue_size() | ^~~~~~~~~~~~~~~~~~ time-schedule.c: In function 'get_num_switches': time-schedule.c:492:22: warning: old-style function definition [-Wold-style-definition] 492 | static unsigned long get_num_switches() | ^~~~~~~~~~~~~~~~ time-schedule.c: In function 'use_fpu_value': time-schedule.c:518:34: warning: unused parameter 'val' [-Wunused-parameter] 518 | static void use_fpu_value(double val) | ~~~~~~~^~~ time-schedule.c: In function 'main': time-schedule.c:195:33: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 195 | write(pipe_write_fd, &ch, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ time-schedule.c:196:33: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 196 | read(read_fd, &ch, 1); | ^~~~~~~~~~~~~~~~~~~~~ time-schedule.c:226:33: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 226 | write(write_fd, &ch, 1); | ^~~~~~~~~~~~~~~~~~~~~~~ time-schedule.c:227:33: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 227 | read(read_fd, &ch, 1); | ^~~~~~~~~~~~~~~~~~~~~ time-schedule.c: In function 'run_low_priority': time-schedule.c:414:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 414 | write(pipe_write_fd, &ch, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ time-schedule.c:425:25: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 425 | read(read_fd, &ch, 1); | ^~~~~~~~~~~~~~~~~~~~~ time-schedule.c: In function 'run_yielder': time-schedule.c:326:17: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 326 | read(read_fd, &ch, 1); | ^~~~~~~~~~~~~~~~~~~~~ time-schedule.c:341:17: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 341 | read(read_fd, &ch, 1); | ^~~~~~~~~~~~~~~~~~~~~ time-schedule.c: In function 'yielder_main': time-schedule.c:365:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 365 | write(pipe_write_fd, &ch, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ time-schedule.c:368:25: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 368 | read(pipe_read_fd, &ch, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ time-schedule.c:369:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 369 | write(pipe_write_fd, &ch, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ time-schedule.c: In function 'get_run_queue_size': time-schedule.c:483:17: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 483 | fscanf(fp, "%d %s %s", &dummy_i, dummy_str, txt); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ trace_sched.c: In function 'noprintf': trace_sched.c:59:21: warning: unused parameter 'string' [-Wunused-parameter] 59 | void noprintf(char *string, ...) | ~~~~~~^~~~~~ time-schedule.c:480:37: warning: '%s' directive writing up to 255 bytes into a region of size 58 [-Wformat-overflow=] 480 | sprintf(txt, "/proc/%s/stat", de->d_name); | ^~ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/stdio.h:906, from time-schedule.c:47: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 12 and 267 bytes into a destination of size 64 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ CC testcases/kernel/sched/tool/trace_sched CC testcases/kernel/sched/tool/time-schedule nptl01.c: In function 'do_timedwait': nptl01.c:134:50: warning: unused parameter 'i' [-Wunused-parameter] 134 | char *buf, size_t buf_len, int i) | ~~~~^ nptl01.c: In function 'run': nptl01.c:165:17: warning: unused parameter 'arg' [-Wunused-parameter] 165 | void *run(void *arg) | ~~~~~~^~~ nptl01.c: In function 'trap_alarm': nptl01.c:212:21: warning: unused parameter 'sig' [-Wunused-parameter] 212 | void trap_alarm(int sig) | ~~~~^~~ nptl01.c: In function 'cleanup': nptl01.c:300:6: warning: old-style function definition [-Wold-style-definition] 300 | void cleanup() | ^~~~~~~ CC testcases/kernel/sched/nptl/nptl01 "../../../../tools/make-file.sh" "sched_datafile" 1200010 CC testcases/kernel/sched/sched_stress/sched.o sched_driver.c: In function 'process_slots_in_use': sched_driver.c:363:5: warning: old-style function definition [-Wold-style-definition] 363 | int process_slots_in_use() | ^~~~~~~~~~~~~~~~~~~~ sched_driver.c: In function 'available_user_process_slots': sched_driver.c:407:5: warning: old-style function definition [-Wold-style-definition] 407 | int available_user_process_slots() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ sched_driver.c: In function 'measure_test': sched_driver.c:421:7: warning: old-style function definition [-Wold-style-definition] 421 | float measure_test(name, param1, param2, param3, t2) | ^~~~~~~~~~~~ sched_driver.c: In function 'start_long_term_testcases': sched_driver.c:606:6: warning: old-style function definition [-Wold-style-definition] 606 | void start_long_term_testcases(long_term_slot_total, execution_time) | ^~~~~~~~~~~~~~~~~~~~~~~~~ sched_driver.c: In function 'start_short_term_testcases': sched_driver.c:651:60: warning: unused parameter 'pri' [-Wunused-parameter] 651 | double stress_percent, int pri) | ~~~~^~~ sched_driver.c: In function 'kill_short_term_testcases': sched_driver.c:702:6: warning: old-style function definition [-Wold-style-definition] 702 | void kill_short_term_testcases() | ^~~~~~~~~~~~~~~~~~~~~~~~~ sched_driver.c: In function 'finishup': sched_driver.c:734:6: warning: old-style function definition [-Wold-style-definition] 734 | void finishup(start_time) | ^~~~~~~~ sched_driver.c: In function 'process_slots_in_use': sched_driver.c:384:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 384 | fscanf(psfile, "%d", &usedslots); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sched_driver.c: In function 'measure_test': sched_driver.c:462:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 462 | fgets(temp, 50, datafile); | ^~~~~~~~~~~~~~~~~~~~~~~~~ sched_driver.c:472:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 472 | fgets(t2asc, 50, datafile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ CC testcases/kernel/sched/sched_stress/sched_tc0 CC testcases/kernel/sched/sched_stress/sched_tc1 sched_tc2.c: In function 'multiply_matrices': sched_tc2.c:175:6: warning: old-style function definition [-Wold-style-definition] 175 | void multiply_matrices() | ^~~~~~~~~~~~~~~~~ sched_tc3.c: In function 'main': sched_tc3.c:108:14: warning: variable 'start_time' set but not used [-Wunused-but-set-variable] 108 | long start_time; /* time at start of testcase */ | ^~~~~~~~~~ sched_tc3.c: In function 'multiply_matrices': sched_tc3.c:178:6: warning: old-style function definition [-Wold-style-definition] 178 | void multiply_matrices() | ^~~~~~~~~~~~~~~~~ CC testcases/kernel/sched/sched_stress/sched_driver CC testcases/kernel/sched/sched_stress/sched_tc2 sched_tc4.c: In function 'read_raw_device': sched_tc4.c:184:6: warning: old-style function definition [-Wold-style-definition] 184 | void read_raw_device() | ^~~~~~~~~~~~~~~ CC testcases/kernel/sched/sched_stress/sched_tc3 sched_tc5.c: In function 'invert_matrix': sched_tc5.c:180:6: warning: old-style function definition [-Wold-style-definition] 180 | void invert_matrix() | ^~~~~~~~~~~~~ sched_tc6.c: In function 'read_file': sched_tc6.c:314:29: warning: unused parameter 'filename' [-Wunused-parameter] 314 | int read_file(int fd, char *filename) | ~~~~~~^~~~~~~~ sched_tc6.c: In function 'unlock_file': sched_tc6.c:401:31: warning: unused parameter 'file' [-Wunused-parameter] 401 | int unlock_file(int fd, char *file) | ~~~~~~^~~~ sched_tc6.c: In function 'fork_realtime': sched_tc6.c:287:17: warning: this statement may fall through [-Wimplicit-fallthrough=] 287 | sys_error("fork failed", __FILE__, __LINE__); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sched_tc6.c:290:9: note: here 290 | case 0: | ^~~~ CC testcases/kernel/sched/sched_stress/sched_tc4 CC testcases/kernel/sched/sched_stress/sched_tc5 CC testcases/kernel/sched/sched_stress/sched_tc6 CC testcases/kernel/sched/autogroup/autogroup01 CC testcases/kernel/sched/hyperthreading/ht_enabled/ht_utils.o CC testcases/kernel/sched/hyperthreading/ht_enabled/ht_enabled.o LD testcases/kernel/sched/hyperthreading/ht_enabled/ht_enabled CC testcases/kernel/sched/hyperthreading/ht_affinity/ht_utils.o ht_affinity.c: In function 'HT_SetAffinity': ht_affinity.c:75:41: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 75 | system("ps > /dev/null"); | ^~~~~~~~~~~~~~~~~~~~~~~~ ht_affinity.c:103:41: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 103 | system("ps > /dev/null"); | ^~~~~~~~~~~~~~~~~~~~~~~~ CC testcases/kernel/sched/hyperthreading/ht_affinity/ht_affinity.o LD testcases/kernel/sched/hyperthreading/ht_affinity/ht_affinity CC testcases/kernel/sched/pthreads/pth_str02 CC testcases/kernel/sched/pthreads/pth_str01 CC testcases/kernel/sched/pthreads/pth_str03 hackbench.c: In function 'sender': hackbench.c:149:34: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 149 | if (done < sizeof(data)) | ^ hackbench.c: In function 'create_worker': hackbench.c:196:25: warning: this statement may fall through [-Wimplicit-fallthrough=] 196 | barf("fork()"); | ^~~~~~~~~~~~~~ hackbench.c:197:17: note: here 197 | case 0: | ^~~~ hackbench.c: In function 'ready': hackbench.c:121:13: warning: 'dummy' is used uninitialized [-Wuninitialized] 121 | if (write(ready_out, &dummy, 1) != 1) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from hackbench.c:54: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/unistd.h:378:16: note: in a call to 'write' declared with attribute 'access (read_only, 2, 3)' here 378 | extern ssize_t write (int __fd, const void *__buf, size_t __n) __wur | ^~~~~ hackbench.c:117:14: note: 'dummy' declared here 117 | char dummy; | ^~~~~ CC testcases/kernel/sched/cfs-scheduler/cfs_bandwidth01 CC testcases/kernel/sched/cfs-scheduler/hackbench CC testcases/kernel/sched/clisrv/readline.o CC testcases/kernel/sched/clisrv/writen.o pthserv.c: In function 'noprintf': pthserv.c:45:21: warning: unused parameter 'string' [-Wunused-parameter] 45 | void noprintf(char *string, ...) | ~~~~~~^~~~~~ CC testcases/kernel/sched/clisrv/pthcli CC testcases/kernel/sched/clisrv/pthserv newns.c: In function 'main': newns.c:42:14: warning: unused parameter 'argc' [-Wunused-parameter] 42 | int main(int argc, char *argv[]) | ~~~~^~~~ In file included from tomoyo_accept_test.c:24: include.h: In function 'read_sysctl': include.h:108:29: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] 108 | /* ignore */; | ^ In file included from tomoyo_filesystem_test.c:25: include.h: In function 'read_sysctl': include.h:108:29: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] 108 | /* ignore */; | ^ In file included from tomoyo_file_test.c:24: include.h: In function 'read_sysctl': include.h:108:29: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] 108 | /* ignore */; | ^ tomoyo_filesystem_test.c: In function 'child': tomoyo_filesystem_test.c:40:24: warning: unused parameter 'arg' [-Wunused-parameter] 40 | static int child(void *arg) | ~~~~~~^~~ tomoyo_file_test.c: In function 'stage_file_test': tomoyo_file_test.c:105:23: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 105 | (void)read(pipe_fd[0], &error, sizeof(error)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC testcases/kernel/security/tomoyo/newns In file included from tomoyo_new_file_test.c:24: include.h: In function 'read_sysctl': include.h:108:29: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] 108 | /* ignore */; | ^ tomoyo_new_file_test.c: In function 'stage_file_test': tomoyo_new_file_test.c:165:15: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 165 | (void)read(pipe_fd[0], &error, sizeof(error)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tomoyo_new_file_test.c:182:15: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 182 | (void)read(pipe_fd[0], &error, sizeof(error)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC testcases/kernel/security/tomoyo/tomoyo_accept_test CC testcases/kernel/security/tomoyo/tomoyo_file_test In file included from tomoyo_new_test.c:24: include.h: In function 'read_sysctl': include.h:108:29: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] 108 | /* ignore */; | ^ tomoyo_new_test.c: In function 'test_execute_bin_true': tomoyo_new_test.c:118:15: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 118 | (void)read(pipe_fd[0], &error, sizeof(error)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC testcases/kernel/security/tomoyo/tomoyo_filesystem_test In file included from tomoyo_policy_io_test.c:24: include.h: In function 'read_sysctl': include.h:108:29: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] 108 | /* ignore */; | ^ CC testcases/kernel/security/tomoyo/tomoyo_new_file_test CC testcases/kernel/security/tomoyo/tomoyo_policy_io_test In file included from tomoyo_rewrite_test.c:24: include.h: In function 'read_sysctl': include.h:108:29: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] 108 | /* ignore */; | ^ CC testcases/kernel/security/tomoyo/tomoyo_policy_memory_test CC testcases/kernel/security/tomoyo/tomoyo_new_test CC testcases/kernel/security/tomoyo/tomoyo_rewrite_test CC testcases/kernel/security/dirtyc0w/dirtyc0w CC testcases/kernel/security/dirtyc0w/dirtyc0w_child CC testcases/kernel/security/umip/umip_basic_test smack_notroot.c: In function 'main': smack_notroot.c:21:14: warning: unused parameter 'argc' [-Wunused-parameter] 21 | int main(int argc, char *argv[]) | ~~~~^~~~ smack_notroot.c:23:9: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] 23 | setuid(1); | ^~~~~~~~~ CC testcases/kernel/security/smack/smack_notroot CC testcases/kernel/security/smack/smack_set_socket_labels check_pe.c: In function 'main': check_pe.c:42:14: warning: unused parameter 'argc' [-Wunused-parameter] 42 | int main(int argc, char *argv[]) | ~~~~^~~~ check_pe.c:42:26: warning: unused parameter 'argv' [-Wunused-parameter] 42 | int main(int argc, char *argv[]) | ~~~~~~^~~~~~ cap_bounds_rw.c: In function 'main': cap_bounds_rw.c:93:13: warning: unused variable 'i' [-Wunused-variable] 93 | int i; | ^ cap_bounds_rw.c:92:13: warning: unused variable 'ret' [-Wunused-variable] 92 | int ret = 1; | ^~~ At top level: cap_bounds_rw.c:40:12: warning: 'cap_last_cap' defined but not used [-Wunused-variable] 40 | static int cap_last_cap; | ^~~~~~~~~~~~ CC testcases/kernel/security/cap_bound/cap_bset_inh_bounds CC testcases/kernel/security/cap_bound/check_pe CC testcases/kernel/security/cap_bound/cap_bounds_r CC testcases/kernel/security/cap_bound/cap_bounds_rw exec_with_inh.c: In function 'main': exec_with_inh.c:41:14: warning: unused parameter 'argc' [-Wunused-parameter] 41 | int main(int argc, char *argv[]) | ~~~~^~~~ exec_with_inh.c:41:26: warning: unused parameter 'argv' [-Wunused-parameter] 41 | int main(int argc, char *argv[]) | ~~~~~~^~~~~~ CC testcases/kernel/security/cap_bound/exec_without_inh CC testcases/kernel/security/cap_bound/exec_with_inh print_caps.c: In function 'main': print_caps.c:42:14: warning: unused parameter 'argc' [-Wunused-parameter] 42 | int main(int argc, char *argv[]) | ~~~~^~~~ print_caps.c:42:26: warning: unused parameter 'argv' [-Wunused-parameter] 42 | int main(int argc, char *argv[]) | ~~~~~~^~~~~~ In file included from print_caps.c:40: At top level: filecaps_common.h:6:20: warning: 'get_caps_fifo' defined but not used [-Wunused-function] 6 | static const char *get_caps_fifo(void) | ^~~~~~~~~~~~~ verify_caps_exec.c: In function 'main': verify_caps_exec.c:399:14: warning: unused parameter 'argc' [-Wunused-parameter] 399 | int main(int argc, char *argv[]) | ~~~~^~~~ verify_caps_exec.c:399:26: warning: unused parameter 'argv' [-Wunused-parameter] 399 | int main(int argc, char *argv[]) | ~~~~~~^~~~~~ At top level: verify_caps_exec.c:54:13: warning: 'usage' defined but not used [-Wunused-function] 54 | static void usage(const char *me) | ^~~~~ In file included from verify_caps_exec.c:46: filecaps_common.h:6:20: warning: 'get_caps_fifo' defined but not used [-Wunused-function] 6 | static const char *get_caps_fifo(void) | ^~~~~~~~~~~~~ CC testcases/kernel/security/filecaps/check_simple_capset CC testcases/kernel/security/filecaps/print_caps CC testcases/kernel/security/filecaps/verify_caps_exec CC testcases/kernel/security/filecaps/inh_capped prot_hsymlinks.c: In function 'main': prot_hsymlinks.c:341:48: warning: '%s' directive output may be truncated writing up to 3207 bytes into a region of size 123 [-Wformat-truncation=] 341 | snprintf(bdir->path, MAX_PATH, "%s/tmp_%s", | ^~ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/stdio.h:906, from prot_hsymlinks.c:40: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/stdio2.h:54:10: note: '__builtin_snprintf' output 6 or more bytes (assuming 3213) into a destination of size 128 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ prot_hsymlinks.c:387:51: warning: '%s' directive output may be truncated writing up to 419 bytes into a region of size 128 [-Wformat-truncation=] 387 | snprintf(path, MAX_PATH, "%s/%s%s", | ^~ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/stdio.h:906, from prot_hsymlinks.c:40: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/stdio2.h:54:10: note: '__builtin_snprintf' output between 5 and 3631 bytes into a destination of size 128 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ prot_hsymlinks.c:398:51: warning: '%s' directive output may be truncated writing up to 419 bytes into a region of size 128 [-Wformat-truncation=] 398 | snprintf(path, MAX_PATH, "%s/%s", bdirs[dir].path, | ^~ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/stdio.h:906, from prot_hsymlinks.c:40: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/stdio2.h:54:10: note: '__builtin_snprintf' output between 2 and 3628 bytes into a destination of size 128 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ prot_hsymlinks.c:404:41: warning: '%s' directive output may be truncated writing up to 3207 bytes into a region of size 121 [-Wformat-truncation=] 404 | "/local_%s%s", users[usr].name, file_ext); | ^~ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/stdio.h:906, from prot_hsymlinks.c:40: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/stdio2.h:54:10: note: '__builtin_snprintf' output between 11 and 3218 bytes into a destination of size 128 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ prot_hsymlinks.c:437:33: warning: '%s' directive output may be truncated writing up to 419 bytes into a region of size 128 [-Wformat-truncation=] 437 | snprintf(buffer, size, "%s/link_%d", path, count); | ^~ prot_hsymlinks.c:437:32: note: directive argument in the range [-2147483647, 2147483647] 437 | snprintf(buffer, size, "%s/link_%d", path, count); | ^~~~~~~~~~~~ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/stdio.h:906, from prot_hsymlinks.c:40: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/stdio2.h:54:10: note: '__builtin_snprintf' output between 8 and 437 bytes into a destination of size 128 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ prot_hsymlinks.c:437:33: warning: '%s' directive output may be truncated writing up to 419 bytes into a region of size 128 [-Wformat-truncation=] 437 | snprintf(buffer, size, "%s/link_%d", path, count); | ^~ prot_hsymlinks.c:437:32: note: directive argument in the range [-2147483647, 2147483647] 437 | snprintf(buffer, size, "%s/link_%d", path, count); | ^~~~~~~~~~~~ In file included from /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/stdio.h:906, from prot_hsymlinks.c:40: /home/thomas/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/bits/stdio2.h:54:10: note: '__builtin_snprintf' output between 8 and 437 bytes into a destination of size 128 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ CC testcases/kernel/security/prot_hsymlinks/prot_hsymlinks CC testcases/kernel/security/securebits/check_keepcaps make[5]: Nothing to be done for 'all'. CC testcases/kernel/security/dirtypipe/dirtypipe make[8]: Nothing to be done for 'all'. make[8]: Nothing to be done for 'all'. make[8]: Nothing to be done for 'all'. make[8]: Nothing to be done for 'all'. ima_boot_aggregate.c: In function 'do_test': ima_boot_aggregate.c:102:17: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 102 | fread(event.data, event.header.len, 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC testcases/kernel/security/integrity/ima/src/ima_mmap CC testcases/kernel/security/integrity/ima/src/ima_boot_aggregate make[7]: Nothing to be done for 'all'. CC testcases/kernel/sound/snd_seq01 CC testcases/kernel/sound/snd_timer01 make[5]: Nothing to be done for 'all'. CC testcases/kernel/tracing/pt_test/pt_test make[5]: Nothing to be done for 'all'. BUILD libltpuinput.a make[5]: Nothing to be done for 'all'. uevent01.c: In function 'verify_uevent': uevent01.c:53:19: warning: 'dev_path' may be used uninitialized [-Wmaybe-uninitialized] 53 | dev_num = tst_find_free_loopdev(dev_path, sizeof(dev_path)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../../include/tst_test.h:23, from uevent01.c:16: ../../../include/tst_device.h:52:5: note: by argument 1 of type 'const char *' to 'tst_find_free_loopdev' declared here 52 | int tst_find_free_loopdev(const char *path, size_t path_len); | ^~~~~~~~~~~~~~~~~~~~~ uevent01.c:33:14: note: 'dev_path' declared here 33 | char dev_path[1024]; | ^~~~~~~~ CC testcases/kernel/uevents/uevent01 CC testcases/kernel/uevents/uevent02 CC testcases/kernel/uevents/uevent03 CC testcases/kernel/watchqueue/wqueue03 CC testcases/kernel/watchqueue/wqueue02 CC testcases/kernel/watchqueue/wqueue01 CC testcases/kernel/watchqueue/wqueue04 CC testcases/kernel/watchqueue/wqueue05 CC testcases/kernel/watchqueue/wqueue06 CC testcases/kernel/watchqueue/wqueue08 CC testcases/kernel/watchqueue/wqueue07 CC testcases/kernel/watchqueue/wqueue09 /usr/bin/make -C "/home/thomas/autobuild/instance-0/output-1/build/ltp-testsuite-20220930/tools/apicmds" -f "/home/thomas/autobuild/instance-0/output-1/build/ltp-testsuite-20220930/tools/apicmds/Makefile" all make[5]: Nothing to be done for 'all'. CC testcases/kernel/power_management/pm_get_sched_values make[5]: Nothing to be done for 'all'. AS testcases/kernel/kvm/bootstrap_x86_64.o CC testcases/kernel/kvm/lib_x86.o CC testcases/kernel/kvm/lib_guest.o /home/thomas/autobuild/instance-0/output-1/host/lib/gcc/x86_64-buildroot-linux-gnu/11.3.0/../../../../x86_64-buildroot-linux-gnu/bin/ld: lib_guest.o: in function `memset': lib_guest.c:(.text+0x4b): undefined reference to `__stack_chk_fail' /home/thomas/autobuild/instance-0/output-1/host/lib/gcc/x86_64-buildroot-linux-gnu/11.3.0/../../../../x86_64-buildroot-linux-gnu/bin/ld: lib_guest.o: in function `memzero': lib_guest.c:(.text+0x9b): undefined reference to `__stack_chk_fail' /home/thomas/autobuild/instance-0/output-1/host/lib/gcc/x86_64-buildroot-linux-gnu/11.3.0/../../../../x86_64-buildroot-linux-gnu/bin/ld: lib_guest.o: in function `memcpy': lib_guest.c:(.text+0xe8): undefined reference to `__stack_chk_fail' /home/thomas/autobuild/instance-0/output-1/host/lib/gcc/x86_64-buildroot-linux-gnu/11.3.0/../../../../x86_64-buildroot-linux-gnu/bin/ld: lib_guest.o: in function `strcpy': lib_guest.c:(.text+0x135): undefined reference to `__stack_chk_fail' /home/thomas/autobuild/instance-0/output-1/host/lib/gcc/x86_64-buildroot-linux-gnu/11.3.0/../../../../x86_64-buildroot-linux-gnu/bin/ld: lib_guest.o: in function `strcat': lib_guest.c:(.text+0x198): undefined reference to `__stack_chk_fail' /home/thomas/autobuild/instance-0/output-1/host/lib/gcc/x86_64-buildroot-linux-gnu/11.3.0/../../../../x86_64-buildroot-linux-gnu/bin/ld: lib_guest.o:lib_guest.c:(.text+0x1e5): more undefined references to `__stack_chk_fail' follow collect2: error: ld returned 1 exit status make[4]: *** [/home/thomas/autobuild/instance-0/output-1/build/ltp-testsuite-20220930/testcases/kernel/kvm/Makefile:59: kvm_pagefault01-payload.o] Error 1 make[4]: *** Waiting for unfinished jobs.... CC testcases/kernel/kvm/lib_host.o make[3]: *** [../../include/mk/generic_trunk_target.inc:108: all] Error 2 make[2]: *** [../include/mk/generic_trunk_target.inc:108: all] Error 2 make[2]: Leaving directory '/home/thomas/autobuild/instance-0/output-1/build/ltp-testsuite-20220930/testcases' make[1]: *** [Makefile:106: testcases-all] Error 2 make[1]: Leaving directory '/home/thomas/autobuild/instance-0/output-1/build/ltp-testsuite-20220930' make: *** [package/pkg-generic.mk:293: /home/thomas/autobuild/instance-0/output-1/build/ltp-testsuite-20220930/.stamp_built] Error 2 make: Leaving directory '/home/thomas/autobuild/instance-0/buildroot'