DEBUG: Executing python function autotools_aclocals
DEBUG: SITE files ['endian-little', 'bit-32', 'riscv-common', 'common-linux', 'common-glibc', 'riscv32-linux', 'riscv32-linux', 'common']
DEBUG: Python function autotools_aclocals finished
DEBUG: Executing shell function do_compile
NOTE: make -j 11 HOSTCC=gcc HOST_CFLAGS=-isystemTOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot-native/usr/include -O2 -pipe HOST_LDFLAGS=-LTOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot-native/usr/lib -LTOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot-native/lib -Wl,--enable-new-dtags -Wl,-rpath-link,TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot-native/lib -Wl,-rpath,TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=TOPDIR/build/tmp/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2
make -C "lib" \
-f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make -C "libs" \
-f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/libs/Makefile" all
if git describe >/dev/null 2>&1; then \
git describe > "Version"; \
else \
cp TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/VERSION "Version"; \
fi
make[1]: Entering directory 'TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/libs'
make[1]: Entering directory 'TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib'
CC lib/self_exec.o
CC lib/get_path.o
CC lib/cloner.o
In file included from safe_stdio.c:23:
safe_stdio.c: In function 'safe_fclose':
../include/old/test.h:147:17: warning: pointer 'f' may be used after 'fclose' [-Wuse-after-free]
147 | tst_brk_(file, lineno, flags, fmt, ##__VA_ARGS__); \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
safe_stdio.c:47:17: note: in expansion of macro 'tst_brkm_'
47 | tst_brkm_(file, lineno, TBROK | TERRNO, cleanup_fn,
| ^~~~~~~~~
safe_stdio.c:44:15: note: call to 'fclose' here
44 | ret = fclose(f);
| ^~~~~~~~~
../include/old/test.h:149:17: warning: pointer 'f' may be used after 'fclose' [-Wuse-after-free]
149 | tst_brkm__(file, lineno, flags, cleanup, fmt, ##__VA_ARGS__); \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
safe_stdio.c:47:17: note: in expansion of macro 'tst_brkm_'
47 | tst_brkm_(file, lineno, TBROK | TERRNO, cleanup_fn,
| ^~~~~~~~~
safe_stdio.c:44:15: note: call to 'fclose' here
44 | ret = fclose(f);
| ^~~~~~~~~
../include/old/test.h:147:17: warning: pointer 'f' may be used after 'fclose' [-Wuse-after-free]
147 | tst_brk_(file, lineno, flags, fmt, ##__VA_ARGS__); \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
safe_stdio.c:50:17: note: in expansion of macro 'tst_brkm_'
50 | tst_brkm_(file, lineno, TBROK | TERRNO, cleanup_fn,
| ^~~~~~~~~
safe_stdio.c:44:15: note: call to 'fclose' here
44 | ret = fclose(f);
| ^~~~~~~~~
../include/old/test.h:149:17: warning: pointer 'f' may be used after 'fclose' [-Wuse-after-free]
149 | tst_brkm__(file, lineno, flags, cleanup, fmt, ##__VA_ARGS__); \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
safe_stdio.c:50:17: note: in expansion of macro 'tst_brkm_'
50 | tst_brkm_(file, lineno, TBROK | TERRNO, cleanup_fn,
| ^~~~~~~~~
safe_stdio.c:44:15: note: call to 'fclose' here
44 | ret = fclose(f);
| ^~~~~~~~~
CC lib/safe_stdio.o
CC lib/safe_pthread.o
CC libs/libltpipc/libipc.o
CC lib/random_range.o
CC lib/tst_ansi_color.o
CC libs/libltpipc/libmsgctl.o
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 TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot/usr/include/sys/param.h:28,
from tlibio.c:95:
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-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);
| ^~~~~~~
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-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);
| ^~~~~~~~
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-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);
| ^~~~~~~
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-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);
| ^~~~~~~~
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-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);
| ^~~~~~~
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-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);
| ^~~~~~~~
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-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);
| ^~~~~~
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot/usr/include/signal.h:367:23: note: declared here
367 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW
| ^~~~~~
AR libltpipc.a
tlibio.c:1370:25: warning: 'sighold' is deprecated: Use the sigprocmask function instead [-Wdeprecated-declarations]
1370 | sighold(sig);
| ^~~~~~~
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-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);
| ^~~~~~~~
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-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);
| ^~~~~~~
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-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);
| ^~~~~~~~
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-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);
| ^~~~~~~
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-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);
| ^~~~~~~~
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-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);
| ^~~~~~~~
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-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);
| ^~~~~~~~
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-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);
| ^~~~~~~~
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot/usr/include/signal.h:359:12: note: declared here
359 | extern int sigrelse (int __sig) __THROW
| ^~~~~~~~
CC lib/parse_opts.o
RANLIB libltpipc.a
tst_af_alg.c: In function 'init_sockaddr_alg':
tst_af_alg.c:58:9: warning: '__builtin_strncpy' specified bound 14 equals destination size [-Wstringop-truncation]
58 | strncpy((char *)addr->salg_type, algtype, sizeof(addr->salg_type));
| ^
tst_af_alg.c:62:9: warning: '__builtin_strncpy' specified bound 64 equals destination size [-Wstringop-truncation]
62 | strncpy((char *)addr->salg_name, algname, sizeof(addr->salg_name));
| ^
CC lib/safe_file_ops.o
CC lib/tst_arch.o
CC lib/tst_assert.o
CC lib/safe_net.o
CC lib/tst_checksum.o
CC lib/tst_buffers.o
CC lib/tst_af_alg.o
CC lib/tst_capability.o
CC libs/libltpnewipc/libnewipc.o
CC lib/tst_checkpoint.o
AR libltpnewipc.a
CC lib/tst_clone.o
tlibio.c: In function 'lio_write_buffer':
tlibio.c:938:40: warning: '%s' directive writing up to 4095 bytes into a region of size 487 [-Wformat-overflow=]
938 | "%s/%d %s failed, fd:%d, nbyte:%d errno=%d %s",
| ^~
939 | __FILE__, __LINE__, Lio_SysCall, fd, size,
| ~~~~~~~~~~~
In file included from TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot/usr/include/stdio.h:906,
from tlibio.c:88:
In function 'sprintf',
inlined from 'lio_write_buffer' at tlibio.c:937:4:
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot/usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 45 or more bytes (assuming 4140) into a destination of size 500
30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
31 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
32 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
tlibio.c: In function 'lio_write_buffer':
tlibio.c:938:40: warning: '%s' directive writing up to 4095 bytes into a region of size 487 [-Wformat-overflow=]
938 | "%s/%d %s failed, fd:%d, nbyte:%d errno=%d %s",
| ^~
939 | __FILE__, __LINE__, Lio_SysCall, fd, size,
| ~~~~~~~~~~~
In function 'sprintf',
inlined from 'lio_write_buffer' at tlibio.c:937:4:
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot/usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 45 or more bytes (assuming 4140) into a destination of size 500
30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
31 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
32 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
tlibio.c: In function 'lio_write_buffer':
tlibio.c:869:40: warning: '%s' directive writing up to 4095 bytes into a region of size 487 [-Wformat-overflow=]
869 | "%s/%d %s failed, fd:%d, nbyte:%d errno=%d %s",
| ^~
870 | __FILE__, __LINE__, Lio_SysCall, fd, size,
| ~~~~~~~~~~~
In function 'sprintf',
inlined from 'lio_write_buffer' at tlibio.c:868:4:
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot/usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 45 or more bytes (assuming 4140) into a destination of size 500
30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
31 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
32 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
tlibio.c: In function 'lio_write_buffer':
tlibio.c:869:40: warning: '%s' directive writing up to 4095 bytes into a region of size 487 [-Wformat-overflow=]
869 | "%s/%d %s failed, fd:%d, nbyte:%d errno=%d %s",
| ^~
870 | __FILE__, __LINE__, Lio_SysCall, fd, size,
| ~~~~~~~~~~~
In function 'sprintf',
inlined from 'lio_write_buffer' at tlibio.c:868:4:
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot/usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 45 or more bytes (assuming 4140) into a destination of size 500
30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
31 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
32 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
RANLIB libltpnewipc.a
CC lib/tst_bool_expr.o
CC lib/tst_coredump.o
CC lib/tst_clocks.o
CC lib/tst_cpu.o
tlibio.c: In function 'lio_read_buffer':
tlibio.c:1511:40: warning: '%s' directive writing up to 4095 bytes into a region of size 486 [-Wformat-overflow=]
1511 | "%s/%d %s failed, fd:%d, nbyte:%d errno=%d %s",
| ^~
1512 | __FILE__, __LINE__, Lio_SysCall, fd, size,
| ~~~~~~~~~~~
In function 'sprintf',
inlined from 'lio_read_buffer' at tlibio.c:1510:4:
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot/usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 46 or more bytes (assuming 4141) into a destination of size 500
30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
31 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
32 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
tlibio.c: In function 'lio_read_buffer':
tlibio.c:1511:40: warning: '%s' directive writing up to 4095 bytes into a region of size 486 [-Wformat-overflow=]
1511 | "%s/%d %s failed, fd:%d, nbyte:%d errno=%d %s",
| ^~
1512 | __FILE__, __LINE__, Lio_SysCall, fd, size,
| ~~~~~~~~~~~
In function 'sprintf',
inlined from 'lio_read_buffer' at tlibio.c:1510:4:
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot/usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 46 or more bytes (assuming 4141) into a destination of size 500
30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
31 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
32 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
tlibio.c: In function 'lio_read_buffer':
tlibio.c:1442:40: warning: '%s' directive writing up to 4095 bytes into a region of size 486 [-Wformat-overflow=]
1442 | "%s/%d %s failed, fd:%d, nbyte:%d errno=%d %s",
| ^~
1443 | __FILE__, __LINE__, Lio_SysCall, fd, size,
| ~~~~~~~~~~~
In function 'sprintf',
inlined from 'lio_read_buffer' at tlibio.c:1441:4:
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot/usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 46 or more bytes (assuming 4141) into a destination of size 500
30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
31 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
32 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
tlibio.c: In function 'lio_read_buffer':
tlibio.c:1442:40: warning: '%s' directive writing up to 4095 bytes into a region of size 486 [-Wformat-overflow=]
1442 | "%s/%d %s failed, fd:%d, nbyte:%d errno=%d %s",
| ^~
1443 | __FILE__, __LINE__, Lio_SysCall, fd, size,
| ~~~~~~~~~~~
In function 'sprintf',
inlined from 'lio_read_buffer' at tlibio.c:1441:4:
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot/usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 46 or more bytes (assuming 4141) into a destination of size 500
30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
31 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
32 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
CC lib/tst_cmd.o
CC lib/tst_crypto.o
CC lib/tst_dir_is_empty.o
In file included from safe_macros.c:24:
safe_macros.c: In function 'safe_closedir':
../include/old/test.h:149:17: warning: pointer 'dirp' may be used after 'closedir' [-Wuse-after-free]
149 | tst_brkm__(file, lineno, flags, cleanup, fmt, ##__VA_ARGS__); \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
safe_macros.c:933:17: note: in expansion of macro 'tst_brkm_'
933 | tst_brkm_(file, lineno, TBROK | TERRNO, cleanup_fn,
| ^~~~~~~~~
safe_macros.c:927:16: note: call to 'closedir' here
927 | rval = closedir(dirp);
| ^~~~~~~~~~~~~~
../include/old/test.h:147:17: warning: pointer 'dirp' may be used after 'closedir' [-Wuse-after-free]
147 | tst_brk_(file, lineno, flags, fmt, ##__VA_ARGS__); \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
safe_macros.c:933:17: note: in expansion of macro 'tst_brkm_'
933 | tst_brkm_(file, lineno, TBROK | TERRNO, cleanup_fn,
| ^~~~~~~~~
safe_macros.c:927:16: note: call to 'closedir' here
927 | rval = closedir(dirp);
| ^~~~~~~~~~~~~~
../include/old/test.h:149:17: warning: pointer 'dirp' may be used after 'closedir' [-Wuse-after-free]
149 | tst_brkm__(file, lineno, flags, cleanup, fmt, ##__VA_ARGS__); \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
safe_macros.c:930:17: note: in expansion of macro 'tst_brkm_'
930 | tst_brkm_(file, lineno, TBROK | TERRNO, cleanup_fn,
| ^~~~~~~~~
safe_macros.c:927:16: note: call to 'closedir' here
927 | rval = closedir(dirp);
| ^~~~~~~~~~~~~~
../include/old/test.h:147:17: warning: pointer 'dirp' may be used after 'closedir' [-Wuse-after-free]
147 | tst_brk_(file, lineno, flags, fmt, ##__VA_ARGS__); \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
safe_macros.c:930:17: note: in expansion of macro 'tst_brkm_'
930 | tst_brkm_(file, lineno, TBROK | TERRNO, cleanup_fn,
| ^~~~~~~~~
safe_macros.c:927:16: note: call to 'closedir' here
927 | rval = closedir(dirp);
| ^~~~~~~~~~~~~~
CC lib/tst_fill_file.o
CC libs/libltpnuma/tst_numa.o
AR libltpnuma.a
RANLIB libltpnuma.a
CC lib/tlibio.o
CC lib/tst_fips.o
CC lib/tst_fs_has_free.o
CC lib/tst_fs_setup.o
CC lib/tst_fill_fs.o
CC lib/tst_fs_type.o
CC lib/tst_get_bad_addr.o
CC lib/safe_macros.o
CC lib/tst_fs_link_count.o
CC lib/tst_ioctl.o
CC lib/tst_hugepage.o
CC lib/tst_device.o
CC lib/tst_kernel.o
CC lib/tst_cgroup.o
CC lib/tst_lockdown.o
CC lib/tst_kvercmp.o
CC lib/tst_module.o
In file included from ../include/tst_test.h:33,
from tst_memutils.c:13:
tst_memutils.c: In function 'tst_pollute_memory':
../include/tst_minmax.h:21:21: warning: comparison of distinct pointer types lacks a cast
21 | (void) (&_a == &_b); \
| ^~
tst_memutils.c:34:18: note: in expansion of macro 'MAX'
34 | safety = MAX(safety, min_free);
| ^~~
CC lib/tst_parse_opts.o
CC lib/tst_mkfs.o
CC lib/tst_memutils.o
CC libs/libltpsigwait/sigwait.o
CC lib/tst_net.o
CC lib/tst_path_has_mnt_flags.o
AR libltpsigwait.a
CC lib/tst_process_state.o
RANLIB libltpsigwait.a
CC lib/tst_pid.o
CC lib/tst_resource.o
CC lib/tst_rtctime.o
CC lib/tst_kconfig.o
tst_safe_macros.c: In function 'safe_pidfd_open':
tst_safe_macros.c:135:16: warning: implicit declaration of function 'pidfd_open' [-Wimplicit-function-declaration]
135 | rval = pidfd_open(pid, flags);
| ^~~~~~~~~~
CC lib/tst_netdevice.o
tst_safe_sysv_ipc.c: In function 'safe_msgrcv':
tst_safe_sysv_ipc.c:115:78: warning: format '%ld' expects argument of type 'long int', but argument 10 has type 'ssize_t' {aka 'int'} [-Wformat=]
115 | "Invalid msgrcv(%i, %p, %zu, %li, %x) return value %ld",
| ~~^
| |
| long int
| %d
116 | msqid, msgp, msgsz, msgtyp, msgflg, rval);
| ~~~~
| |
| ssize_t {aka int}
CC lib/tst_safe_io_uring.o
CC libs/libltpswap/libswap.o
AR libltpswap.a
RANLIB libltpswap.a
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_safe_timerfd.o
CC lib/tst_safe_file_at.o
CC lib/tst_safe_sysv_ipc.o
CC lib/tst_sig.o
CC lib/tst_sig_proc.o
CC lib/tst_res.o
CC lib/tst_status.o
CC lib/tst_rtnetlink.o
CC lib/tst_safe_macros.o
CC lib/tst_thread_state.o
CC lib/tst_taint.o
CC lib/tst_sys_conf.o
CC lib/tst_supported_fs_types.o
CC lib/tst_uid.o
CC libs/libltpuinput/tst_uinput.o
AR libltpuinput.a
RANLIB libltpuinput.a
CC lib/tst_tmpdir.o
CC lib/tst_virt.o
CC lib/tst_timer.o
CC libs/libltpvdso/vdso_helpers.o
CC lib/tst_timer_test.o
CC libs/libltpvdso/parse_vdso.o
AR libltpvdso.a
CC lib/tst_wallclock.o
RANLIB libltpvdso.a
make[1]: Leaving directory 'TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/libs'
CC lib/tst_test.o
AR libltp.a
RANLIB libltp.a
CC lib/newlib_tests/test01
CC lib/newlib_tests/test06
CC lib/newlib_tests/test02
CC lib/newlib_tests/test09
CC lib/newlib_tests/test03
CC lib/newlib_tests/test11
CC lib/newlib_tests/test07
CC lib/newlib_tests/test08
CC lib/newlib_tests/test05
CC lib/newlib_tests/test13
CC lib/newlib_tests/test04
In file included from test15.c:24:
test15.c: In function 'do_test':
../../include/tst_test.h:59:55: warning: format '%li' expects argument of type 'long int', but argument 5 has type 'intptr_t' {aka 'int'} [-Wformat=]
59 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\
| ^~~~~~~~~
test15.c:110:17: note: in expansion of macro 'tst_res'
110 | tst_res(TINFO, "Joining thread %li", i);
| ^~~~~~~
CC lib/newlib_tests/test14
CC lib/newlib_tests/test15
CC lib/newlib_tests/test19
CC lib/newlib_tests/test22
CC lib/newlib_tests/test20
CC lib/newlib_tests/test_exec
CC lib/newlib_tests/test_assert
CC lib/newlib_tests/test_exec_child
CC lib/newlib_tests/test_children_cleanup
CC lib/newlib_tests/test_kconfig
CC lib/newlib_tests/test_guarded_buf
CC lib/newlib_tests/test_kconfig01
CC lib/newlib_tests/test_kconfig02
CC lib/newlib_tests/test_macros03
CC lib/newlib_tests/test_macros06
CC lib/newlib_tests/test_macros01
CC lib/newlib_tests/test_macros02
CC lib/newlib_tests/test_macros04
CC lib/newlib_tests/test_parse_filesize
CC lib/newlib_tests/test_macros05
CC lib/newlib_tests/test_runtime01
CC lib/newlib_tests/test_runtime02
In file included from tst_device.c:15:
tst_device.c: In function 'test_dev_min_size':
../../include/tst_test.h:59:55: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=]
59 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\
| ^~~~~~~~~
tst_device.c:64:17: note: in expansion of macro 'tst_res'
64 | tst_res(TPASS, "Got expected device size %lu", size);
| ^~~~~~~
../../include/tst_test.h:59:55: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=]
59 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\
| ^~~~~~~~~
tst_device.c:66:17: note: in expansion of macro 'tst_res'
66 | tst_res(TFAIL, "Expected device size is %d but got %lu",
| ^~~~~~~
In file included from ../../include/tst_test.h:102,
from tst_cgroup02.c:7:
tst_cgroup02.c: In function 'do_test':
../../include/tst_cgroup.h:178:47: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'long unsigned int' [-Wformat=]
178 | (cg), (file_name), (fmt), __VA_ARGS__)
| ^~~~~
tst_cgroup02.c:35:17: note: in expansion of macro 'SAFE_CG_PRINTF'
35 | SAFE_CG_PRINTF(cg_child, "memory.max",
| ^~~~~~~~~~~~~~
../../include/tst_cgroup.h:178:47: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'long unsigned int' [-Wformat=]
178 | (cg), (file_name), (fmt), __VA_ARGS__)
| ^~~~~
tst_cgroup02.c:37:17: note: in expansion of macro 'SAFE_CG_PRINTF'
37 | SAFE_CG_PRINTF(cg_child, "memory.swap.max",
| ^~~~~~~~~~~~~~
../../include/tst_cgroup.h:178:47: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'long unsigned int' [-Wformat=]
178 | (cg), (file_name), (fmt), __VA_ARGS__)
| ^~~~~
tst_cgroup02.c:47:9: note: in expansion of macro 'SAFE_CG_PRINTF'
47 | SAFE_CG_PRINTF(tst_cg, "memory.max", "%zu", (1UL << 24) - 1);
| ^~~~~~~~~~~~~~
CC lib/newlib_tests/test_zero_hugepage
CC lib/newlib_tests/tst_bool_expr
CC lib/newlib_tests/tst_capability02
CC lib/newlib_tests/tst_capability01
CC lib/newlib_tests/tst_cgroup01
CC lib/newlib_tests/tst_device
CC lib/newlib_tests/tst_expiration_timer
CC lib/newlib_tests/tst_cgroup02
CC lib/newlib_tests/tst_needs_cmds01
CC lib/newlib_tests/tst_needs_cmds04
CC lib/newlib_tests/tst_needs_cmds02
CC lib/newlib_tests/tst_needs_cmds03
CC lib/newlib_tests/tst_needs_cmds06
CC lib/newlib_tests/test_timer
CC lib/newlib_tests/tst_needs_cmds05
CC lib/newlib_tests/tst_needs_cmds07
CC lib/newlib_tests/tst_fuzzy_sync02
CC lib/newlib_tests/tst_needs_cmds08
CC lib/newlib_tests/tst_print_result
CC lib/newlib_tests/tst_fuzzy_sync01
CC lib/newlib_tests/tst_safe_fileops
CC lib/newlib_tests/variant
CC lib/newlib_tests/tst_strstatus
CC lib/newlib_tests/tst_res_hexd
CC lib/newlib_tests/tst_fuzzy_sync03
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 TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot/usr/include/stdio.h:906,
from ../../include/old/test.h:14,
from tst_dataroot03.c:23:
In function 'snprintf',
inlined from 'main' at tst_dataroot03.c:51:2:
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot/usr/include/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' 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 ());
| ~~~~~~~~~~~~~~~~~
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 TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot/usr/include/stdio.h:906,
from ../../include/old/test.h:14,
from tst_dataroot02.c:23:
In function 'snprintf',
inlined from 'main' at tst_dataroot02.c:51:2:
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot/usr/include/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' 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_device
CC lib/tests/tst_fs_fill_subdirs
CC lib/tests/tst_checkpoint
CC lib/tests/tst_checkpoint_wake_timeout
CC lib/tests/tst_fs_fill_hardlinks
CC lib/tests/tst_checkpoint_wait_timeout
CC lib/tests/tst_dataroot03
CC lib/tests/tst_dataroot02
CC lib/tests/tst_dataroot01
CC lib/tests/trerrno
CC lib/tests/tst_process_state
CC lib/tests/tst_record_childstatus
CC lib/tests/tst_safe_macros
CC lib/tests/tst_strsig
CC lib/tests/tst_tmpdir_test
CC lib/tests/tst_strerrno
make[1]: Leaving directory 'TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib'
make -C "pan" \
-f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/pan/Makefile" all
make -C "utils" \
-f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/utils/Makefile" all
make -C "testcases" \
-f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/testcases/Makefile" all
make -C "tools" \
-f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/tools/Makefile" all
make -C "metadata" \
-f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/metadata/Makefile" all
make[1]: Entering directory 'TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/pan'
make[1]: Entering directory 'TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/utils'
make[1]: Entering directory 'TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/testcases'
make[1]: Entering directory 'TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/tools'
make[1]: Entering directory 'TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/metadata'
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[4]: Nothing to be done for 'all'.
make[3]: Nothing to be done for 'all'.
make[4]: Nothing to be done for 'all'.
make[4]: Nothing to be done for 'all'.
make[3]: Nothing to be done for 'all'.
make[3]: Nothing to be done for 'all'.
CC pan/splitstr.o
make[3]: Nothing to be done for 'all'.
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
CC pan/ltp-bump.o
make[5]: Nothing to be done for 'all'.
make[5]: Nothing to be done for '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 tools/apicmds/ltpapicmd.o
riscv32-yoe-linux-gcc -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0=/usr/src/debug/ltp/20220527-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0=/usr/src/debug/ltp/20220527-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot-native= -Wl,-z,relro,-z,now -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0=/usr/src/debug/ltp/20220527-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0=/usr/src/debug/ltp/20220527-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot-native= -Wl,-z,relro,-z,now -L../../lib ltpapicmd.o -lltp -o tst_brk
riscv32-yoe-linux-gcc -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0=/usr/src/debug/ltp/20220527-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0=/usr/src/debug/ltp/20220527-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot-native= -Wl,-z,relro,-z,now -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0=/usr/src/debug/ltp/20220527-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0=/usr/src/debug/ltp/20220527-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot-native= -Wl,-z,relro,-z,now -L../../lib ltpapicmd.o -lltp -o tst_brkm
riscv32-yoe-linux-gcc -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0=/usr/src/debug/ltp/20220527-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0=/usr/src/debug/ltp/20220527-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot-native= -Wl,-z,relro,-z,now -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0=/usr/src/debug/ltp/20220527-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0=/usr/src/debug/ltp/20220527-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot-native= -Wl,-z,relro,-z,now -L../../lib ltpapicmd.o -lltp -o tst_exit
riscv32-yoe-linux-gcc -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0=/usr/src/debug/ltp/20220527-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0=/usr/src/debug/ltp/20220527-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot-native= -Wl,-z,relro,-z,now -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0=/usr/src/debug/ltp/20220527-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0=/usr/src/debug/ltp/20220527-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot-native= -Wl,-z,relro,-z,now -L../../lib ltpapicmd.o -lltp -o tst_res
riscv32-yoe-linux-gcc -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0=/usr/src/debug/ltp/20220527-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0=/usr/src/debug/ltp/20220527-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot-native= -Wl,-z,relro,-z,now -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0=/usr/src/debug/ltp/20220527-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0=/usr/src/debug/ltp/20220527-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot-native= -Wl,-z,relro,-z,now -L../../lib ltpapicmd.o -lltp -o tst_resm
riscv32-yoe-linux-gcc -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0=/usr/src/debug/ltp/20220527-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0=/usr/src/debug/ltp/20220527-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot-native= -Wl,-z,relro,-z,now -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0=/usr/src/debug/ltp/20220527-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0=/usr/src/debug/ltp/20220527-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot-native= -Wl,-z,relro,-z,now -L../../lib ltpapicmd.o -lltp -o tst_ncpus
LD pan/ltp-bump
riscv32-yoe-linux-gcc -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0=/usr/src/debug/ltp/20220527-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0=/usr/src/debug/ltp/20220527-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot-native= -Wl,-z,relro,-z,now -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0=/usr/src/debug/ltp/20220527-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0=/usr/src/debug/ltp/20220527-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot-native= -Wl,-z,relro,-z,now -L../../lib ltpapicmd.o -lltp -o tst_ncpus_conf
CC testcases/commands/eject/eject_check_tray
CC utils/benchmark/ebizzy-0.3/ebizzy
make[3]: Nothing to be done for 'all'.
riscv32-yoe-linux-gcc -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0=/usr/src/debug/ltp/20220527-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0=/usr/src/debug/ltp/20220527-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot-native= -Wl,-z,relro,-z,now -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0=/usr/src/debug/ltp/20220527-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0=/usr/src/debug/ltp/20220527-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot-native= -Wl,-z,relro,-z,now -L../../lib ltpapicmd.o -lltp -o tst_ncpus_max
riscv32-yoe-linux-gcc -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0=/usr/src/debug/ltp/20220527-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0=/usr/src/debug/ltp/20220527-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot-native= -Wl,-z,relro,-z,now -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0=/usr/src/debug/ltp/20220527-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0=/usr/src/debug/ltp/20220527-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot-native= -Wl,-z,relro,-z,now -L../../lib ltpapicmd.o -lltp -o tst_fs_has_free
make -C "lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/utils/sctp/lib/Makefile" all
make -C "testlib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/utils/sctp/testlib/Makefile" all
CC testcases/commands/file/datafiles/in
make[3]: Nothing to be done for 'all'.
make[3]: Nothing to be done for 'all'.
make[3]: Nothing to be done for 'all'.
CC utils/sctp/lib/peeloff.o
make[3]: Nothing to be done for 'all'.
CC utils/sctp/lib/opt_info.o
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/bindx.o
CC utils/sctp/lib/addrs.o
CC testcases/commands/ldd/datafiles/lddfile1.o
CC testcases/commands/ldd/datafiles/main.o
CC utils/sctp/lib/connectx.o
sctputil.c: In function 'test_print_message':
sctputil.c:117:32: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=]
117 | printf("DATA(%ld): ", msg_len);
| ~~^ ~~~~~~~
| | |
| | size_t {aka unsigned int}
| long int
| %d
CC utils/sctp/lib/recvmsg.o
CC testcases/commands/ldd/datafiles/lddfile3.o
CC testcases/commands/ldd/datafiles/lddfile2.o
riscv32-yoe-linux-gcc -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0=/usr/src/debug/ltp/20220527-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0=/usr/src/debug/ltp/20220527-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot-native= -Wl,-z,relro,-z,now -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0=/usr/src/debug/ltp/20220527-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0=/usr/src/debug/ltp/20220527-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot-native= -g -O2 -fno-strict-aliasing -pipe -Wall -W -Wold-style-definition -shared -o lddfile1.obj.so lddfile1.o
riscv32-yoe-linux-gcc -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0=/usr/src/debug/ltp/20220527-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0=/usr/src/debug/ltp/20220527-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot-native= -Wl,-z,relro,-z,now -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0=/usr/src/debug/ltp/20220527-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0=/usr/src/debug/ltp/20220527-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot-native= -g -O2 -fno-strict-aliasing -pipe -Wall -W -Wold-style-definition -shared -o lddfile3.obj.so lddfile3.o
CC testcases/commands/ldd/datafiles/lddfile4.o
riscv32-yoe-linux-gcc -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0=/usr/src/debug/ltp/20220527-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0=/usr/src/debug/ltp/20220527-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot-native= -Wl,-z,relro,-z,now -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0=/usr/src/debug/ltp/20220527-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0=/usr/src/debug/ltp/20220527-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot-native= -g -O2 -fno-strict-aliasing -pipe -Wall -W -Wold-style-definition -shared -o lddfile2.obj.so lddfile2.o
riscv32-yoe-linux-gcc -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0=/usr/src/debug/ltp/20220527-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0=/usr/src/debug/ltp/20220527-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot-native= -Wl,-z,relro,-z,now -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0=/usr/src/debug/ltp/20220527-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0=/usr/src/debug/ltp/20220527-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot-native= -g -O2 -fno-strict-aliasing -pipe -Wall -W -Wold-style-definition -shared -o lddfile4.obj.so lddfile4.o
CC utils/sctp/lib/sendmsg.o
CC testcases/commands/ldd/datafiles/lddfile5.o
riscv32-yoe-linux-gcc -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0=/usr/src/debug/ltp/20220527-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0=/usr/src/debug/ltp/20220527-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot-native= -Wl,-z,relro,-z,now -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0=/usr/src/debug/ltp/20220527-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0=/usr/src/debug/ltp/20220527-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot-native= -g -O2 -fno-strict-aliasing -pipe -Wall -W -Wold-style-definition -shared -o lddfile5.obj.so lddfile5.o
AR libsctp.a
RANLIB libsctp.a
riscv32-yoe-linux-gcc -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0=/usr/src/debug/ltp/20220527-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0=/usr/src/debug/ltp/20220527-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot-native= -Wl,-z,relro,-z,now -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0=/usr/src/debug/ltp/20220527-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0=/usr/src/debug/ltp/20220527-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot-native= -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 lddfile2.o lddfile1.o lddfile4.o lddfile3.o lddfile5.o
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;
| ^~~~~~~~~~
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;
| ^~~~~~~~~~
genload.c: In function 'hogcpu':
genload.c:468:16: warning: variable 'd' set but not used [-Wunused-but-set-variable]
468 | double d;
| ^
make[3]: Nothing to be done for 'all'.
stress.c: In function 'hogcpu':
stress.c:468:16: warning: variable 'd' set but not used [-Wunused-but-set-variable]
468 | double d;
| ^
make[3]: Nothing to be done for 'all'.
make[3]: Nothing to be done for 'all'.
make[3]: Nothing to be done for 'all'.
make[3]: Nothing to be done for 'all'.
make[3]: Nothing to be done for 'all'.
make[3]: Nothing to be done for 'all'.
CC utils/sctp/testlib/sctputil.o
HOSTCC metadata/metaparse
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/metadata/parse.sh > ltp.json
AR libsctputil.a
CC testcases/commands/nm/datafiles/f1.o
RANLIB libsctputil.a
CC testcases/commands/nm/datafiles/f2.o
CC testcases/commands/nm/datafiles/f3.o
riscv32-yoe-linux-gcc-ar rcs lib.a f1.o f2.o f3.o
LD testcases/commands/nm/datafiles/f1
LD testcases/commands/nm/datafiles/f2
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
CC utils/sctp/func_tests/test_basic_v6.o
CC utils/sctp/func_tests/test_fragments_v6.o
LD testcases/commands/nm/datafiles/f3
CC utils/sctp/func_tests/test_getname_v6.o
CC utils/sctp/func_tests/test_inaddr_any_v6.o
CC utils/sctp/func_tests/test_peeloff_v6.o
make[3]: Nothing to be done for 'all'.
make[3]: Nothing to be done for 'all'.
make[5]: Nothing to be done for 'all'.
make[3]: Nothing to be done for 'all'.
make[5]: Nothing to be done for 'all'.
CC utils/sctp/func_tests/test_sctp_sendrecvmsg_v6.o
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 utils/sctp/func_tests/test_sockopt_v6.o
CC utils/sctp/func_tests/test_tcp_style_v6.o
make[5]: Nothing to be done for 'all'.
CC utils/sctp/func_tests/test_timetolive_v6.o
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[3]: Nothing to be done for 'all'.
make[4]: Nothing to be done for 'all'.
make[3]: Nothing to be done for 'all'.
CC pan/ltp-pan.o
make[3]: Nothing to be done for 'all'.
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
LD pan/ltp-pan
make[1]: Leaving directory 'TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/pan'
make[4]: Nothing to be done for 'all'.
make[4]: Nothing to be done for 'all'.
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: object of size 15 allocated by 'malloc'
136 | tmp_addr = (struct sockaddr *) malloc(sizeof(struct sockaddr) - 1);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CC utils/sctp/func_tests/test_1_to_1_accept_close
CC utils/sctp/func_tests/test_1_to_1_addrs
CC utils/sctp/func_tests/test_1_to_1_connect
CC tools/genload/stress
CC utils/sctp/func_tests/test_1_to_1_connectx
CC tools/genload/genload
make[1]: Leaving directory 'TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/tools'
CC testcases/cve/cve-2015-3290
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 testcases/cve/cve-2016-10044
CC testcases/cve/cve-2017-16939
CC testcases/cve/cve-2016-7042
CC testcases/cve/cve-2017-17053
CC testcases/cve/cve-2017-2618
CC testcases/cve/cve-2017-17052
CC utils/sctp/func_tests/test_1_to_1_events
CC utils/sctp/func_tests/test_1_to_1_initmsg_connect
stack_clash.c: In function 'exhaust_stack_into_sigsegv':
stack_clash.c:48:6: warning: infinite recursion detected [-Winfinite-recursion]
48 | void exhaust_stack_into_sigsegv(void)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
stack_clash.c:52:9: note: recursive call
52 | exhaust_stack_into_sigsegv();
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
CC testcases/cve/cve-2014-0196
CC utils/sctp/func_tests/test_1_to_1_nonblock
CC testcases/cve/meltdown
CC testcases/cve/icmp_rate_limit01
CC testcases/cve/stack_clash
CC utils/sctp/func_tests/test_1_to_1_rtoinfo
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_send
CC utils/sctp/func_tests/test_1_to_1_sendto
CC testcases/cve/cve-2017-2671
CC testcases/cve/cve-2016-7117
CC utils/sctp/func_tests/test_1_to_1_shutdown
CC utils/sctp/func_tests/test_1_to_1_sendmsg
CC utils/sctp/func_tests/test_1_to_1_socket_bind_listen
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
CC utils/sctp/func_tests/test_1_to_1_threads
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC utils/sctp/func_tests/test_assoc_abort
CC utils/sctp/func_tests/test_1_to_1_sockopt
CC utils/sctp/func_tests/test_autoclose
In file included from abort01.c:30:
abort01.c: In function 'setup':
../../../../include/tst_test.h:81:55: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'rlim_t' {aka 'long long unsigned int'} [-Wformat=]
81 | tst_brk_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\
| ^~~~~~~~~
abort01.c:81:25: note: in expansion of macro 'tst_brk'
81 | tst_brk(TCONF, "hard limit(%lu)less than MIN_RLIMT_CORE(%i)",
| ^~~~~~~
CC utils/sctp/func_tests/test_connect
CC utils/sctp/func_tests/test_assoc_shutdown
CC utils/sctp/func_tests/test_fragments
CC utils/sctp/func_tests/test_basic
CC utils/sctp/func_tests/test_getname
CC testcases/kernel/syscalls/abort/abort01
CC utils/sctp/func_tests/test_connectx
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC utils/sctp/func_tests/test_inaddr_any
CC utils/sctp/func_tests/test_peeloff
LD utils/sctp/func_tests/test_basic_v6
CC utils/sctp/func_tests/test_recvmsg
LD utils/sctp/func_tests/test_fragments_v6
LD utils/sctp/func_tests/test_getname_v6
LD utils/sctp/func_tests/test_inaddr_any_v6
LD utils/sctp/func_tests/test_sctp_sendrecvmsg_v6
LD utils/sctp/func_tests/test_peeloff_v6
LD utils/sctp/func_tests/test_tcp_style_v6
CC utils/sctp/func_tests/test_sctp_sendrecvmsg
LD utils/sctp/func_tests/test_sockopt_v6
LD utils/sctp/func_tests/test_timetolive_v6
CC utils/sctp/func_tests/test_timetolive
CC utils/sctp/func_tests/test_tcp_style
CC testcases/kernel/syscalls/accept4/accept4_01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
CC utils/sctp/func_tests/test_sockopt
rm test_fragments_v6.o test_getname_v6.o test_basic_v6.o test_peeloff_v6.o test_tcp_style_v6.o test_inaddr_any_v6.o test_sockopt_v6.o test_sctp_sendrecvmsg_v6.o test_timetolive_v6.o
make[1]: Leaving directory 'TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/utils'
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/accept/accept01
CC testcases/kernel/syscalls/accept/accept02
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/access/access02
CC testcases/kernel/syscalls/access/access01
CC testcases/kernel/syscalls/access/access04
CC testcases/kernel/syscalls/access/access03
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/acct/acct02_helper
CC testcases/kernel/syscalls/acct/acct01
CC testcases/kernel/syscalls/acct/acct02
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
add_key05.c: In function 'do_test':
add_key05.c:148:35: warning: '%d' directive writing between 1 and 11 bytes into a region of size 7 [-Wformat-overflow=]
148 | sprintf(desc, "abc%d", i);
| ^~
In function 'verify_max_keys',
inlined from 'do_test' at add_key05.c:194:4:
add_key05.c:148:31: note: directive argument in the range [-2147483647, 2147483647]
148 | sprintf(desc, "abc%d", i);
| ^~~~~~~
In file included from TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot/usr/include/stdio.h:906,
from add_key05.c:19:
In function 'sprintf',
inlined from 'verify_max_keys' at add_key05.c:148:3,
inlined from 'do_test' at add_key05.c:194:4:
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot/usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 5 and 15 bytes into a destination of size 10
30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
31 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
32 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
CC testcases/kernel/syscalls/add_key/add_key03
CC testcases/kernel/syscalls/add_key/add_key01
CC testcases/kernel/syscalls/add_key/add_key02
CC testcases/kernel/syscalls/add_key/add_key04
CC testcases/kernel/syscalls/add_key/add_key05
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
adjtimex02.c:44:12: warning: 'sys_adjtimex' defined but not used [-Wunused-function]
44 | static int sys_adjtimex(struct timex *value)
| ^~~~~~~~~~~~
CC testcases/kernel/syscalls/adjtimex/adjtimex01
CC testcases/kernel/syscalls/adjtimex/adjtimex03
CC testcases/kernel/syscalls/adjtimex/adjtimex02
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
alarm02.c: In function 'verify_alarm':
alarm02.c:52:21: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'long int' [-Wsign-compare]
52 | if (tc->sec != TST_RET) {
| ^~
CC testcases/kernel/syscalls/alarm/alarm03
CC testcases/kernel/syscalls/alarm/alarm06
CC testcases/kernel/syscalls/alarm/alarm05
CC testcases/kernel/syscalls/alarm/alarm02
CC testcases/kernel/syscalls/alarm/alarm07
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/bind/bind02
CC testcases/kernel/syscalls/bind/bind04
CC testcases/kernel/syscalls/bind/bind01
CC testcases/kernel/syscalls/bind/bind03
CC testcases/kernel/syscalls/bind/bind05
CC testcases/kernel/syscalls/bind/bind06
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/bpf/bpf_common.o
In file included from bpf_prog01.c:27:
bpf_prog01.c: In function 'run':
../../../../include/tst_test.h:59:55: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=]
59 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\
| ^~~~~~~~~
bpf_prog01.c:91:17: note: in expansion of macro 'tst_res'
91 | tst_res(TFAIL,
| ^~~~~~~
CC testcases/kernel/syscalls/bpf/bpf_prog01
CC testcases/kernel/syscalls/bpf/bpf_prog02
CC testcases/kernel/syscalls/bpf/bpf_prog04
CC testcases/kernel/syscalls/bpf/bpf_map01
CC testcases/kernel/syscalls/bpf/bpf_prog05
CC testcases/kernel/syscalls/bpf/bpf_prog03
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/brk/brk02
CC testcases/kernel/syscalls/brk/brk01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/cacheflush/cacheflush01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/capget/capget01
CC testcases/kernel/syscalls/capget/capget02
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/capset/capset04
CC testcases/kernel/syscalls/capset/capset02
CC testcases/kernel/syscalls/capset/capset01
CC testcases/kernel/syscalls/capset/capset03
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/chdir/chdir04
CC testcases/kernel/syscalls/chdir/chdir01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/chmod/chmod07
CC testcases/kernel/syscalls/chmod/chmod01
CC testcases/kernel/syscalls/chmod/chmod06
CC testcases/kernel/syscalls/chmod/chmod03
CC testcases/kernel/syscalls/chmod/chmod05
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
CC testcases/kernel/syscalls/chown/chown01_16.o
CC testcases/kernel/syscalls/chown/chown02_16.o
CC testcases/kernel/syscalls/chown/chown03_16.o
CC testcases/kernel/syscalls/chown/chown04_16.o
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/chown/chown05_16.o
CC testcases/kernel/syscalls/chown/chown04.o
CC testcases/kernel/syscalls/chown/chown05.o
CC testcases/kernel/syscalls/chown/chown01.o
CC testcases/kernel/syscalls/chown/chown02.o
CC testcases/kernel/syscalls/chown/chown03.o
LD testcases/kernel/syscalls/chown/chown04
LD testcases/kernel/syscalls/chown/chown05
LD testcases/kernel/syscalls/chown/chown02
LD testcases/kernel/syscalls/chown/chown01_16
LD testcases/kernel/syscalls/chown/chown01
LD testcases/kernel/syscalls/chown/chown04_16
LD testcases/kernel/syscalls/chown/chown02_16
LD testcases/kernel/syscalls/chown/chown03
LD testcases/kernel/syscalls/chown/chown03_16
LD testcases/kernel/syscalls/chown/chown05_16
rm chown01.o chown03.o chown02.o chown04_16.o chown05.o chown02_16.o chown01_16.o chown04.o chown03_16.o chown05_16.o
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/chroot/chroot03
CC testcases/kernel/syscalls/chroot/chroot01
CC testcases/kernel/syscalls/chroot/chroot02
CC testcases/kernel/syscalls/chroot/chroot04
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/clock_adjtime/clock_adjtime02
CC testcases/kernel/syscalls/clock_adjtime/clock_adjtime01
make[1]: Leaving directory 'TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/metadata'
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/clock_getres/clock_getres01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
BUILD libltpvdso.a
make[5]: 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/syscalls/clock_gettime/clock_gettime02
CC testcases/kernel/syscalls/clock_gettime/clock_gettime01
CC testcases/kernel/syscalls/clock_gettime/leapsec01
CC testcases/kernel/syscalls/clock_gettime/clock_gettime04
CC testcases/kernel/syscalls/clock_gettime/clock_gettime03
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
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
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
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_settime02
CC testcases/kernel/syscalls/clock_settime/clock_settime03
CC testcases/kernel/syscalls/clock_settime/clock_settime01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
clone301.c: In function 'run':
clone301.c:117:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
117 | args->pidfd = (uint64_t)(&pidfd);
| ^
clone301.c:118:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
118 | args->child_tid = (uint64_t)(&child_tid);
| ^
clone301.c:119:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
119 | args->parent_tid = (uint64_t)(&parent_tid);
| ^
In file included from ../../../../include/tst_test.h:21,
from clone301.c:17:
clone301.c:141:22: warning: implicit declaration of function 'pidfd_send_signal'; did you mean 'SYS_pidfd_send_signal'? [-Wimplicit-function-declaration]
141 | TEST(pidfd_send_signal(pidfd, CHILD_SIGNAL, &uinfo, 0));
| ^~~~~~~~~~~~~~~~~
../../../../include/tst_test_macros.h:12:27: note: in definition of macro 'TEST'
12 | TST_RET = SCALL; \
| ^~~~~
clone302.c: In function 'run':
clone302.c:76:39: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
76 | args->pidfd = (uint64_t)(*tc->pidfd);
| ^
CC testcases/kernel/syscalls/clone3/clone301
CC testcases/kernel/syscalls/clone3/clone302
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
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/clone04
CC testcases/kernel/syscalls/clone/clone05
CC testcases/kernel/syscalls/clone/clone01
CC testcases/kernel/syscalls/clone/clone03
CC testcases/kernel/syscalls/clone/clone07
CC testcases/kernel/syscalls/clone/clone06
CC testcases/kernel/syscalls/clone/clone09
CC testcases/kernel/syscalls/clone/clone02
CC testcases/kernel/syscalls/clone/clone08
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/close/close01
CC testcases/kernel/syscalls/close/close02
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
In file included from close_range01.c:28:
close_range01.c: In function 'setup':
../../../../include/tst_test.h:81:55: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'rlim_t' {aka 'long long unsigned int'} [-Wformat=]
81 | tst_brk_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\
| ^~~~~~~~~
close_range01.c:61:17: note: in expansion of macro 'tst_brk'
61 | tst_brk(TCONF, "NOFILE limit max too low: %lu < 1000",
| ^~~~~~~
CC testcases/kernel/syscalls/close_range/close_range02
CC testcases/kernel/syscalls/close_range/close_range01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
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
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/confstr/confstr01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/connect/connect02
CC testcases/kernel/syscalls/connect/connect01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
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
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/creat/creat04
CC testcases/kernel/syscalls/creat/creat08
CC testcases/kernel/syscalls/creat/creat09
CC testcases/kernel/syscalls/creat/creat03
CC testcases/kernel/syscalls/creat/creat07
CC testcases/kernel/syscalls/creat/creat01
CC testcases/kernel/syscalls/creat/creat07_child
CC testcases/kernel/syscalls/creat/creat05
CC testcases/kernel/syscalls/creat/creat06
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/delete_module/delete_module03
CC testcases/kernel/syscalls/delete_module/delete_module01
CC testcases/kernel/syscalls/delete_module/delete_module02
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
In file included from dup204.c:13:
dup204.c: In function 'run':
../../../../include/tst_test.h:59:55: warning: format '%ld' expects argument of type 'long int', but argument 5 has type '__ino_t' {aka 'long long unsigned int'} [-Wformat=]
59 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\
| ^~~~~~~~~
dup204.c:48:17: note: in expansion of macro 'tst_res'
48 | tst_res(TFAIL,
| ^~~~~~~
../../../../include/tst_test.h:59:55: warning: format '%ld' expects argument of type 'long int', but argument 6 has type '__ino_t' {aka 'long long unsigned int'} [-Wformat=]
59 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\
| ^~~~~~~~~
dup204.c:48:17: note: in expansion of macro 'tst_res'
48 | tst_res(TFAIL,
| ^~~~~~~
../../../../include/tst_test.h:59:55: warning: format '%ld' expects argument of type 'long int', but argument 5 has type '__ino_t' {aka 'long long unsigned int'} [-Wformat=]
59 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\
| ^~~~~~~~~
dup204.c:52:17: note: in expansion of macro 'tst_res'
52 | tst_res(TPASS,
| ^~~~~~~
../../../../include/tst_test.h:59:55: warning: format '%ld' expects argument of type 'long int', but argument 6 has type '__ino_t' {aka 'long long unsigned int'} [-Wformat=]
59 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\
| ^~~~~~~~~
dup204.c:52:17: note: in expansion of macro 'tst_res'
52 | tst_res(TPASS,
| ^~~~~~~
CC testcases/kernel/syscalls/dup2/dup201
CC testcases/kernel/syscalls/dup2/dup203
CC testcases/kernel/syscalls/dup2/dup206
CC testcases/kernel/syscalls/dup2/dup204
CC testcases/kernel/syscalls/dup2/dup202
CC testcases/kernel/syscalls/dup2/dup207
CC testcases/kernel/syscalls/dup2/dup205
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/dup3/dup3_02
CC testcases/kernel/syscalls/dup3/dup3_01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/dup/dup02
CC testcases/kernel/syscalls/dup/dup06
CC testcases/kernel/syscalls/dup/dup03
CC testcases/kernel/syscalls/dup/dup05
CC testcases/kernel/syscalls/dup/dup04
CC testcases/kernel/syscalls/dup/dup07
CC testcases/kernel/syscalls/dup/dup01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/epoll_create1/epoll_create1_01
CC testcases/kernel/syscalls/epoll_create1/epoll_create1_02
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/epoll_create/epoll_create02
CC testcases/kernel/syscalls/epoll_create/epoll_create01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/epoll_ctl/epoll_ctl03
CC testcases/kernel/syscalls/epoll_ctl/epoll_ctl01
CC testcases/kernel/syscalls/epoll_ctl/epoll_ctl05
CC testcases/kernel/syscalls/epoll_ctl/epoll_ctl02
CC testcases/kernel/syscalls/epoll_ctl/epoll_ctl04
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
In file included from epoll-ltp.c:99:
epoll-ltp.c: In function 'main':
../../../../include/old/test.h:123:19: warning: format '%ld' expects argument of type 'long int', but argument 5 has type '__suseconds_t' {aka 'long long int'} [-Wformat=]
123 | (arg_fmt), ##__VA_ARGS__)
| ^~~~~~~~~
epoll-ltp.c:705:9: note: in expansion of macro 'tst_resm'
705 | tst_resm(TINFO,
| ^~~~~~~~
CC testcases/kernel/syscalls/epoll/epoll-ltp
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
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_pwait05
CC testcases/kernel/syscalls/epoll_pwait/epoll_pwait01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/epoll_wait/epoll_wait03
CC testcases/kernel/syscalls/epoll_wait/epoll_wait02
CC testcases/kernel/syscalls/epoll_wait/epoll_wait04
CC testcases/kernel/syscalls/epoll_wait/epoll_wait01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/eventfd2/eventfd2_03
CC testcases/kernel/syscalls/eventfd2/eventfd2_02
CC testcases/kernel/syscalls/eventfd2/eventfd2_01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
eventfd01.c: In function 'myeventfd':
eventfd01.c:73:48: warning: unused parameter 'flags' [-Wunused-parameter]
73 | static int myeventfd(unsigned int initval, int flags)
| ~~~~^~~~~
CC testcases/kernel/syscalls/eventfd/eventfd01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/execle/execle01_child
CC testcases/kernel/syscalls/execle/execle01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/execl/execl01
CC testcases/kernel/syscalls/execl/execl01_child
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/execlp/execlp01_child
CC testcases/kernel/syscalls/execlp/execlp01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
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:
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-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[],
| ^~~~~~~~
execveat.h:11:15: warning: argument 3 null where non-null expected [-Wnonnull]
11 | ret = execveat(-1, "", NULL, NULL, AT_EMPTY_PATH);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-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 TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot/usr/include/stdio.h:906,
from execveat01.c:22:
In function 'sprintf',
inlined from 'setup' at execveat01.c:72:2:
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-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 ());
| ~~~~~~~~~~~~~~~~~
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:
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-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 function 'check_execveat',
inlined from 'setup' at execveat03.c:67:2:
execveat.h:11:15: warning: argument 3 null where non-null expected [-Wnonnull]
11 | ret = execveat(-1, "", NULL, NULL, AT_EMPTY_PATH);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot/usr/include/unistd.h: In function 'setup':
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-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[],
| ^~~~~~~~
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);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-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:
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-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[],
| ^~~~~~~~
CC testcases/kernel/syscalls/execveat/execveat_errno
execveat.h:11:15: warning: argument 3 null where non-null expected [-Wnonnull]
11 | ret = execveat(-1, "", NULL, NULL, AT_EMPTY_PATH);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-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[],
| ^~~~~~~~
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 TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot/usr/include/stdio.h:906,
from execveat02.c:20:
In function 'sprintf',
inlined from 'setup' at execveat02.c:80:2:
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-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: In function 'setup':
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 function 'sprintf',
inlined from 'setup' at execveat02.c:81:2:
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-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/execveat_child
CC testcases/kernel/syscalls/execveat/execveat01
CC testcases/kernel/syscalls/execveat/execveat03
CC testcases/kernel/syscalls/execveat/execveat02
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
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 TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot/usr/include/stdio.h:906,
from execve03.c:47:
In function 'sprintf',
inlined from 'setup' at execve03.c:97:2:
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-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/execve_child
CC testcases/kernel/syscalls/execve/execve02
CC testcases/kernel/syscalls/execve/execve01_child
CC testcases/kernel/syscalls/execve/execve05
CC testcases/kernel/syscalls/execve/execve01
CC testcases/kernel/syscalls/execve/execve04
CC testcases/kernel/syscalls/execve/execve03
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/execv/execv01
CC testcases/kernel/syscalls/execv/execv01_child
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/execvp/execvp01_child
CC testcases/kernel/syscalls/execvp/execvp01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/exit_group/exit_group01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/exit/exit01
CC testcases/kernel/syscalls/exit/exit02
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/faccessat/faccessat01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
CC testcases/kernel/syscalls/fadvise/posix_fadvise03_64.o
CC testcases/kernel/syscalls/fadvise/posix_fadvise02_64.o
CC testcases/kernel/syscalls/fadvise/posix_fadvise01_64.o
CC testcases/kernel/syscalls/fadvise/posix_fadvise04_64.o
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
LD testcases/kernel/syscalls/fadvise/posix_fadvise01_64
LD testcases/kernel/syscalls/fadvise/posix_fadvise04_64
CC testcases/kernel/syscalls/fadvise/posix_fadvise01
LD testcases/kernel/syscalls/fadvise/posix_fadvise02_64
CC testcases/kernel/syscalls/fadvise/posix_fadvise02
CC testcases/kernel/syscalls/fadvise/posix_fadvise04
LD testcases/kernel/syscalls/fadvise/posix_fadvise03_64
CC testcases/kernel/syscalls/fadvise/posix_fadvise03
rm posix_fadvise03_64.o posix_fadvise02_64.o posix_fadvise04_64.o posix_fadvise01_64.o
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
In file included from fallocate06.c:41:
fallocate06.c: In function 'setup':
../../../../include/tst_test.h:81:55: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'blksize_t' {aka 'int'} [-Wformat=]
81 | tst_brk_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\
| ^~~~~~~~~
fallocate06.c:105:17: note: in expansion of macro 'tst_brk'
105 | tst_brk(TCONF, "Block size %ld too small for test", blocksize);
| ^~~~~~~
In file included from fallocate04.c:19:
fallocate04.c: In function 'test02':
../../../../include/tst_test.h:59:55: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'off_t' {aka 'long long int'} [-Wformat=]
59 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\
| ^~~~~~~~~
fallocate04.c:137:17: note: in expansion of macro 'tst_res'
137 | tst_res(TINFO, "found a hole at '%ld' offset", ret);
| ^~~~~~~
In file included from fallocate05.c:25:
fallocate05.c: In function 'run':
../../../../include/tst_test.h:59:55: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'long int' [-Wformat=]
59 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\
| ^~~~~~~~~
fallocate05.c:78:17: note: in expansion of macro 'tst_res'
78 | tst_res(TFAIL, "Short write(): %ld bytes (expected %zu)",
| ^~~~~~~
CC testcases/kernel/syscalls/fallocate/fallocate03
CC testcases/kernel/syscalls/fallocate/fallocate02
CC testcases/kernel/syscalls/fallocate/fallocate06
CC testcases/kernel/syscalls/fallocate/fallocate01
CC testcases/kernel/syscalls/fallocate/fallocate05
CC testcases/kernel/syscalls/fallocate/fallocate04
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/fanotify/fanotify08
CC testcases/kernel/syscalls/fanotify/fanotify04
CC testcases/kernel/syscalls/fanotify/fanotify07
CC testcases/kernel/syscalls/fanotify/fanotify11
CC testcases/kernel/syscalls/fanotify/fanotify02
CC testcases/kernel/syscalls/fanotify/fanotify05
CC testcases/kernel/syscalls/fanotify/fanotify09
CC testcases/kernel/syscalls/fanotify/fanotify03
CC testcases/kernel/syscalls/fanotify/fanotify10
fanotify16.c: In function 'do_test':
fanotify16.c:552:57: warning: comparison of integer expressions of different signedness: 'int' and '__u32' {aka 'unsigned int'} [-Wsign-compare]
552 | if (((char *)child_fid - (char *)event) >= event->event_len)
| ^~
CC testcases/kernel/syscalls/fanotify/fanotify06
CC testcases/kernel/syscalls/fanotify/fanotify01
CC testcases/kernel/syscalls/fanotify/fanotify14
CC testcases/kernel/syscalls/fanotify/fanotify12
CC testcases/kernel/syscalls/fanotify/fanotify_child
fanotify21.c:42:1: warning: useless storage class specifier in empty declaration
42 | };
| ^
In file included from fanotify21.c:24:
fanotify21.c: In function 'do_test':
../../../../include/tst_test.h:59:55: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'unsigned int' [-Wformat=]
59 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\
| ^~~~~~~~~
fanotify21.c:182:25: note: in expansion of macro 'tst_res'
182 | tst_res(TFAIL,
| ^~~~~~~
CC testcases/kernel/syscalls/fanotify/fanotify13
CC testcases/kernel/syscalls/fanotify/fanotify20
CC testcases/kernel/syscalls/fanotify/fanotify17
CC testcases/kernel/syscalls/fanotify/fanotify15
CC testcases/kernel/syscalls/fanotify/fanotify18
CC testcases/kernel/syscalls/fanotify/fanotify19
CC testcases/kernel/syscalls/fanotify/fanotify21
CC testcases/kernel/syscalls/fanotify/fanotify22
CC testcases/kernel/syscalls/fanotify/fanotify16
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/fchdir/fchdir02
CC testcases/kernel/syscalls/fchdir/fchdir03
CC testcases/kernel/syscalls/fchdir/fchdir01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/fchmodat/fchmodat01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
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/fchmod06
CC testcases/kernel/syscalls/fchmod/fchmod05
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/fchownat/fchownat02
CC testcases/kernel/syscalls/fchownat/fchownat01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
CC testcases/kernel/syscalls/fchown/fchown01_16.o
CC testcases/kernel/syscalls/fchown/fchown02_16.o
CC testcases/kernel/syscalls/fchown/fchown03_16.o
CC testcases/kernel/syscalls/fchown/fchown05_16.o
CC testcases/kernel/syscalls/fchown/fchown04_16.o
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/fchown/fchown01.o
CC testcases/kernel/syscalls/fchown/fchown05.o
CC testcases/kernel/syscalls/fchown/fchown02.o
CC testcases/kernel/syscalls/fchown/fchown03.o
CC testcases/kernel/syscalls/fchown/fchown04.o
LD testcases/kernel/syscalls/fchown/fchown01
LD testcases/kernel/syscalls/fchown/fchown05
LD testcases/kernel/syscalls/fchown/fchown02
LD testcases/kernel/syscalls/fchown/fchown01_16
LD testcases/kernel/syscalls/fchown/fchown04_16
LD testcases/kernel/syscalls/fchown/fchown03_16
LD testcases/kernel/syscalls/fchown/fchown03
LD testcases/kernel/syscalls/fchown/fchown02_16
LD testcases/kernel/syscalls/fchown/fchown05_16
LD testcases/kernel/syscalls/fchown/fchown04
rm fchown04_16.o fchown05.o fchown02_16.o fchown02.o fchown03_16.o fchown03.o fchown04.o fchown01.o fchown05_16.o fchown01_16.o
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
CC testcases/kernel/syscalls/fcntl/fcntl01_64.o
CC testcases/kernel/syscalls/fcntl/fcntl02_64.o
CC testcases/kernel/syscalls/fcntl/fcntl03_64.o
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
CC testcases/kernel/syscalls/fcntl/fcntl10_64.o
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/fcntl/fcntl11_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/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
CC testcases/kernel/syscalls/fcntl/fcntl17_64.o
CC testcases/kernel/syscalls/fcntl/fcntl18_64.o
CC testcases/kernel/syscalls/fcntl/fcntl19_64.o
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:
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot/usr/include/signal.h:355:12: note: declared here
355 | extern int sighold (int __sig) __THROW
| ^~~~~~~
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);
| ^
fcntl16.c: In function 'catch_alarm':
In file included from fcntl14.c:46:
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot/usr/include/signal.h:355:12: note: declared here
355 | extern int sighold (int __sig) __THROW
| ^~~~~~~
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':
fcntl14.c:854:25: warning: 'sigpause' is deprecated: Use the sigsuspend function instead [-Wdeprecated-declarations]
854 | sigpause(SIGUSR1);
| ^~~~~~~~
fcntl16.c:374:20: warning: unused parameter 'sig' [-Wunused-parameter]
374 | void catch_int(int sig)
| ~~~~^~~
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-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)
| ^~
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-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);
| ^
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot/usr/include/signal.h:151:12: note: declared here
151 | extern int sigpause (int __sig) __asm__ ("__xpg_sigpause")
| ^~~~~~~~
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/fcntl22_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/fcntl23_64.o
CC testcases/kernel/syscalls/fcntl/fcntl24_64.o
CC testcases/kernel/syscalls/fcntl/fcntl25_64.o
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
In file included from fcntl33.c:21:
fcntl33.c: In function 'do_test':
../../../../include/tst_test.h:59:55: warning: format '%li' expects argument of type 'long int', but argument 5 has type '__time_t' {aka 'long long int'} [-Wformat=]
59 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\
| ^~~~~~~~~
fcntl33.c:122:25: note: in expansion of macro 'tst_res'
122 | tst_res(TFAIL | TTERRNO,
| ^~~~~~~
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/fcntl02
CC testcases/kernel/syscalls/fcntl/fcntl03
CC testcases/kernel/syscalls/fcntl/fcntl05
CC testcases/kernel/syscalls/fcntl/fcntl06
CC testcases/kernel/syscalls/fcntl/fcntl04
CC testcases/kernel/syscalls/fcntl/fcntl08
CC testcases/kernel/syscalls/fcntl/fcntl09
CC testcases/kernel/syscalls/fcntl/fcntl07
CC testcases/kernel/syscalls/fcntl/fcntl10
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:
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-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);
| ^~~~~~~~
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-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)
| ^~
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-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);
| ^
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot/usr/include/signal.h:151:12: note: declared here
151 | extern int sigpause (int __sig) __asm__ ("__xpg_sigpause")
| ^~~~~~~~
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:
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot/usr/include/signal.h:355:12: note: declared here
355 | extern int sighold (int __sig) __THROW
| ^~~~~~~
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/fcntl12
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/fcntl13
CC testcases/kernel/syscalls/fcntl/fcntl18
CC testcases/kernel/syscalls/fcntl/fcntl15
CC testcases/kernel/syscalls/fcntl/fcntl16
CC testcases/kernel/syscalls/fcntl/fcntl17
CC testcases/kernel/syscalls/fcntl/fcntl22
CC testcases/kernel/syscalls/fcntl/fcntl14
CC testcases/kernel/syscalls/fcntl/fcntl23
CC testcases/kernel/syscalls/fcntl/fcntl11
CC testcases/kernel/syscalls/fcntl/fcntl19
CC testcases/kernel/syscalls/fcntl/fcntl24
CC testcases/kernel/syscalls/fcntl/fcntl25
CC testcases/kernel/syscalls/fcntl/fcntl20
CC testcases/kernel/syscalls/fcntl/fcntl28
CC testcases/kernel/syscalls/fcntl/fcntl26
CC testcases/kernel/syscalls/fcntl/fcntl27
CC testcases/kernel/syscalls/fcntl/fcntl30
CC testcases/kernel/syscalls/fcntl/fcntl29
CC testcases/kernel/syscalls/fcntl/fcntl21
In file included from fcntl33.c:21:
fcntl33.c: In function 'do_test':
../../../../include/tst_test.h:59:55: warning: format '%li' expects argument of type 'long int', but argument 5 has type '__time_t' {aka 'long long int'} [-Wformat=]
59 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\
| ^~~~~~~~~
fcntl33.c:122:25: note: in expansion of macro 'tst_res'
122 | tst_res(TFAIL | TTERRNO,
| ^~~~~~~
LD testcases/kernel/syscalls/fcntl/fcntl01_64
LD testcases/kernel/syscalls/fcntl/fcntl02_64
CC testcases/kernel/syscalls/fcntl/fcntl32
CC testcases/kernel/syscalls/fcntl/fcntl35
CC testcases/kernel/syscalls/fcntl/fcntl34
CC testcases/kernel/syscalls/fcntl/fcntl33
CC testcases/kernel/syscalls/fcntl/fcntl31
LD testcases/kernel/syscalls/fcntl/fcntl03_64
CC testcases/kernel/syscalls/fcntl/fcntl37
LD testcases/kernel/syscalls/fcntl/fcntl04_64
LD testcases/kernel/syscalls/fcntl/fcntl05_64
CC testcases/kernel/syscalls/fcntl/fcntl38
LD testcases/kernel/syscalls/fcntl/fcntl06_64
CC testcases/kernel/syscalls/fcntl/fcntl39
LD testcases/kernel/syscalls/fcntl/fcntl07_64
LD testcases/kernel/syscalls/fcntl/fcntl08_64
LD testcases/kernel/syscalls/fcntl/fcntl10_64
LD testcases/kernel/syscalls/fcntl/fcntl12_64
LD testcases/kernel/syscalls/fcntl/fcntl09_64
LD testcases/kernel/syscalls/fcntl/fcntl11_64
LD testcases/kernel/syscalls/fcntl/fcntl13_64
LD testcases/kernel/syscalls/fcntl/fcntl14_64
LD testcases/kernel/syscalls/fcntl/fcntl15_64
CC testcases/kernel/syscalls/fcntl/fcntl36
LD testcases/kernel/syscalls/fcntl/fcntl17_64
LD testcases/kernel/syscalls/fcntl/fcntl16_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/fcntl23_64
LD testcases/kernel/syscalls/fcntl/fcntl21_64
LD testcases/kernel/syscalls/fcntl/fcntl24_64
LD testcases/kernel/syscalls/fcntl/fcntl25_64
LD testcases/kernel/syscalls/fcntl/fcntl26_64
LD testcases/kernel/syscalls/fcntl/fcntl27_64
LD testcases/kernel/syscalls/fcntl/fcntl28_64
LD testcases/kernel/syscalls/fcntl/fcntl29_64
LD testcases/kernel/syscalls/fcntl/fcntl30_64
LD testcases/kernel/syscalls/fcntl/fcntl32_64
LD testcases/kernel/syscalls/fcntl/fcntl33_64
LD testcases/kernel/syscalls/fcntl/fcntl31_64
LD testcases/kernel/syscalls/fcntl/fcntl34_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 fcntl35_64.o fcntl08_64.o fcntl03_64.o fcntl23_64.o fcntl29_64.o fcntl25_64.o fcntl30_64.o fcntl34_64.o fcntl37_64.o fcntl19_64.o fcntl14_64.o fcntl20_64.o fcntl21_64.o fcntl31_64.o fcntl15_64.o fcntl07_64.o fcntl12_64.o fcntl26_64.o fcntl10_64.o fcntl22_64.o fcntl13_64.o fcntl02_64.o fcntl11_64.o fcntl06_64.o fcntl17_64.o fcntl38_64.o fcntl24_64.o fcntl16_64.o fcntl04_64.o fcntl28_64.o fcntl18_64.o fcntl09_64.o fcntl33_64.o fcntl32_64.o fcntl05_64.o fcntl27_64.o fcntl39_64.o fcntl36_64.o fcntl01_64.o
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/fdatasync/fdatasync01
CC testcases/kernel/syscalls/fdatasync/fdatasync02
CC testcases/kernel/syscalls/fdatasync/fdatasync03
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/fgetxattr/fgetxattr03
CC testcases/kernel/syscalls/fgetxattr/fgetxattr01
CC testcases/kernel/syscalls/fgetxattr/fgetxattr02
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/finit_module/finit_module01
CC testcases/kernel/syscalls/finit_module/finit_module02
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/flistxattr/flistxattr01
CC testcases/kernel/syscalls/flistxattr/flistxattr02
CC testcases/kernel/syscalls/flistxattr/flistxattr03
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/flock/flock02
CC testcases/kernel/syscalls/flock/flock01
CC testcases/kernel/syscalls/flock/flock06
CC testcases/kernel/syscalls/flock/flock03
CC testcases/kernel/syscalls/flock/flock04
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
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
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
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);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
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/fork02
CC testcases/kernel/syscalls/fork/fork05
CC testcases/kernel/syscalls/fork/fork03
CC testcases/kernel/syscalls/fork/fork11
CC testcases/kernel/syscalls/fork/fork06
CC testcases/kernel/syscalls/fork/fork01
CC testcases/kernel/syscalls/fork/fork07
CC testcases/kernel/syscalls/fork/fork08
CC testcases/kernel/syscalls/fork/fork04
CC testcases/kernel/syscalls/fork/fork09
CC testcases/kernel/syscalls/fork/fork10
CC testcases/kernel/syscalls/fork/fork14
CC testcases/kernel/syscalls/fork/fork13
CC testcases/kernel/syscalls/fork/fork12
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/fpathconf/fpathconf01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/fremovexattr/fremovexattr02
CC testcases/kernel/syscalls/fremovexattr/fremovexattr01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
In file included from ../../../../include/tst_test.h:21,
from fsconfig01.c:8:
fsconfig01.c: In function 'run':
fsconfig01.c:25:19: warning: implicit declaration of function 'fsopen'; did you mean 'open'? [-Wimplicit-function-declaration]
25 | TEST(fd = fsopen(tst_device->fs_type, 0));
| ^~~~~~
../../../../include/tst_test_macros.h:12:27: note: in definition of macro 'TEST'
12 | TST_RET = SCALL; \
| ^~~~~
In file included from ../../../../include/tst_test.h:21,
from fsconfig02.c:7:
fsconfig02.c: In function 'setup':
fsconfig02.c:54:19: warning: implicit declaration of function 'fsopen'; did you mean 'open'? [-Wimplicit-function-declaration]
54 | TEST(fd = fsopen(tst_device->fs_type, 0));
| ^~~~~~
../../../../include/tst_test_macros.h:12:27: note: in definition of macro 'TEST'
12 | TST_RET = SCALL; \
| ^~~~~
fsconfig01.c:29:14: warning: implicit declaration of function 'fsconfig' [-Wimplicit-function-declaration]
29 | TEST(fsconfig(fd, FSCONFIG_SET_FLAG, "rw", NULL, 0));
| ^~~~~~~~
../../../../include/tst_test_macros.h:12:27: note: in definition of macro 'TEST'
12 | TST_RET = SCALL; \
| ^~~~~
fsconfig02.c: In function 'run':
fsconfig02.c:73:14: warning: implicit declaration of function 'fsconfig' [-Wimplicit-function-declaration]
73 | TEST(fsconfig(*tc->fd, tc->cmd, tc->key, tc->value, *tc->aux));
| ^~~~~~~~
../../../../include/tst_test_macros.h:12:27: note: in definition of macro 'TEST'
12 | TST_RET = SCALL; \
| ^~~~~
fsconfig01.c:65:22: warning: implicit declaration of function 'fsmount'; did you mean 'SYS_mount'? [-Wimplicit-function-declaration]
65 | TEST(fsmfd = fsmount(fd, 0, 0));
| ^~~~~~~
../../../../include/tst_test_macros.h:12:27: note: in definition of macro 'TEST'
12 | TST_RET = SCALL; \
| ^~~~~
fsconfig01.c:69:14: warning: implicit declaration of function 'move_mount'; did you mean 'safe_mount'? [-Wimplicit-function-declaration]
69 | TEST(move_mount(fsmfd, "", AT_FDCWD, MNTPOINT,
| ^~~~~~~~~~
../../../../include/tst_test_macros.h:12:27: note: in definition of macro 'TEST'
12 | TST_RET = SCALL; \
| ^~~~~
CC testcases/kernel/syscalls/fsconfig/fsconfig02
CC testcases/kernel/syscalls/fsconfig/fsconfig01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/fsetxattr/fsetxattr02
CC testcases/kernel/syscalls/fsetxattr/fsetxattr01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
In file included from ../../../../include/tst_test.h:21,
from fsmount02.c:7:
fsmount02.c: In function 'setup':
fsmount02.c:36:19: warning: implicit declaration of function 'fsopen'; did you mean 'open'? [-Wimplicit-function-declaration]
36 | TEST(fd = fsopen(tst_device->fs_type, 0));
| ^~~~~~
../../../../include/tst_test_macros.h:12:27: note: in definition of macro 'TEST'
12 | TST_RET = SCALL; \
| ^~~~~
In file included from ../../../../include/tst_test.h:21,
from fsmount01.c:9:
fsmount01.c: In function 'run':
fsmount01.c:44:20: warning: implicit declaration of function 'fsopen'; did you mean 'open'? [-Wimplicit-function-declaration]
44 | TEST(sfd = fsopen(tst_device->fs_type, FSOPEN_CLOEXEC));
| ^~~~~~
../../../../include/tst_test_macros.h:12:27: note: in definition of macro 'TEST'
12 | TST_RET = SCALL; \
| ^~~~~
fsmount02.c:40:14: warning: implicit declaration of function 'fsconfig' [-Wimplicit-function-declaration]
40 | TEST(fsconfig(fd, FSCONFIG_SET_STRING, "source", tst_device->dev, 0));
| ^~~~~~~~
../../../../include/tst_test_macros.h:12:27: note: in definition of macro 'TEST'
12 | TST_RET = SCALL; \
| ^~~~~
fsmount01.c:51:14: warning: implicit declaration of function 'fsconfig' [-Wimplicit-function-declaration]
51 | TEST(fsconfig(sfd, FSCONFIG_SET_STRING, "source", tst_device->dev, 0));
| ^~~~~~~~
../../../../include/tst_test_macros.h:12:27: note: in definition of macro 'TEST'
12 | TST_RET = SCALL; \
| ^~~~~
fsmount02.c: In function 'run':
fsmount02.c:53:14: warning: implicit declaration of function 'fsmount'; did you mean 'SYS_mount'? [-Wimplicit-function-declaration]
53 | TEST(fsmount(*tc->fd, tc->flags, tc->mount_attrs));
| ^~~~~~~
../../../../include/tst_test_macros.h:12:27: note: in definition of macro 'TEST'
12 | TST_RET = SCALL; \
| ^~~~~
fsmount01.c:66:20: warning: implicit declaration of function 'fsmount'; did you mean 'SYS_mount'? [-Wimplicit-function-declaration]
66 | TEST(mfd = fsmount(sfd, tc->flags, tc->attrs));
| ^~~~~~~
../../../../include/tst_test_macros.h:12:27: note: in definition of macro 'TEST'
12 | TST_RET = SCALL; \
| ^~~~~
fsmount01.c:75:14: warning: implicit declaration of function 'move_mount'; did you mean 'safe_mount'? [-Wimplicit-function-declaration]
75 | TEST(move_mount(mfd, "", AT_FDCWD, MNTPOINT, MOVE_MOUNT_F_EMPTY_PATH));
| ^~~~~~~~~~
../../../../include/tst_test_macros.h:12:27: note: in definition of macro 'TEST'
12 | TST_RET = SCALL; \
| ^~~~~
CC testcases/kernel/syscalls/fsmount/fsmount02
CC testcases/kernel/syscalls/fsmount/fsmount01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
In file included from ../../../../include/tst_test.h:21,
from fsopen02.c:7:
fsopen02.c: In function 'run':
fsopen02.c:34:14: warning: implicit declaration of function 'fsopen'; did you mean 'open'? [-Wimplicit-function-declaration]
34 | TEST(fsopen(*tc->fs, tc->flags));
| ^~~~~~
../../../../include/tst_test_macros.h:12:27: note: in definition of macro 'TEST'
12 | TST_RET = SCALL; \
| ^~~~~
In file included from ../../../../include/tst_test.h:21,
from fsopen01.c:8:
fsopen01.c: In function 'run':
fsopen01.c:28:19: warning: implicit declaration of function 'fsopen'; did you mean 'open'? [-Wimplicit-function-declaration]
28 | TEST(fd = fsopen(tst_device->fs_type, tc->flags));
| ^~~~~~
../../../../include/tst_test_macros.h:12:27: note: in definition of macro 'TEST'
12 | TST_RET = SCALL; \
| ^~~~~
fsopen01.c:34:14: warning: implicit declaration of function 'fsconfig' [-Wimplicit-function-declaration]
34 | TEST(fsconfig(fd, FSCONFIG_SET_STRING, "source", tst_device->dev, 0));
| ^~~~~~~~
../../../../include/tst_test_macros.h:12:27: note: in definition of macro 'TEST'
12 | TST_RET = SCALL; \
| ^~~~~
fsopen01.c:46:22: warning: implicit declaration of function 'fsmount'; did you mean 'SYS_mount'? [-Wimplicit-function-declaration]
46 | TEST(fsmfd = fsmount(fd, 0, 0));
| ^~~~~~~
../../../../include/tst_test_macros.h:12:27: note: in definition of macro 'TEST'
12 | TST_RET = SCALL; \
| ^~~~~
fsopen01.c:52:14: warning: implicit declaration of function 'move_mount'; did you mean 'safe_mount'? [-Wimplicit-function-declaration]
52 | TEST(move_mount(fsmfd, "", AT_FDCWD, MNTPOINT,
| ^~~~~~~~~~
../../../../include/tst_test_macros.h:12:27: note: in definition of macro 'TEST'
12 | TST_RET = SCALL; \
| ^~~~~
CC testcases/kernel/syscalls/fsopen/fsopen02
CC testcases/kernel/syscalls/fsopen/fsopen01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
In file included from ../../../../include/tst_test.h:21,
from fspick01.c:7:
fspick01.c: In function 'run':
In file included from ../../../../include/tst_test.h:21,
from fspick02.c:7:
fspick02.c: In function 'run':
fspick01.c:28:26: warning: implicit declaration of function 'fspick' [-Wimplicit-function-declaration]
28 | TEST(fspick_fd = fspick(AT_FDCWD, MNTPOINT, tc->flags));
| ^~~~~~
../../../../include/tst_test_macros.h:12:27: note: in definition of macro 'TEST'
12 | TST_RET = SCALL; \
| ^~~~~
fspick02.c:28:14: warning: implicit declaration of function 'fspick' [-Wimplicit-function-declaration]
28 | TEST(fspick(tc->dirfd, tc->pathname, tc->flags));
| ^~~~~~
../../../../include/tst_test_macros.h:12:27: note: in definition of macro 'TEST'
12 | TST_RET = SCALL; \
| ^~~~~
fspick01.c:34:14: warning: implicit declaration of function 'fsconfig' [-Wimplicit-function-declaration]
34 | TEST(fsconfig(fspick_fd, FSCONFIG_SET_STRING, "sync", "false", 0));
| ^~~~~~~~
../../../../include/tst_test_macros.h:12:27: note: in definition of macro 'TEST'
12 | TST_RET = SCALL; \
| ^~~~~
CC testcases/kernel/syscalls/fspick/fspick02
CC testcases/kernel/syscalls/fspick/fspick01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/fstatat/fstatat01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
CC testcases/kernel/syscalls/fstatfs/fstatfs01_64.o
CC testcases/kernel/syscalls/fstatfs/fstatfs02_64.o
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
In file included from fstatfs01.c:48:
fstatfs01.c: In function 'main':
../../../../include/old/test.h:123:19: warning: format '%lx' expects argument of type 'long unsigned int', but argument 6 has type '__fsword_t' {aka 'int'} [-Wformat=]
123 | (arg_fmt), ##__VA_ARGS__)
| ^~~~~~~~~
fstatfs01.c:87:33: note: in expansion of macro 'tst_resm'
87 | tst_resm(TPASS, "%s - f_type=%lx",
| ^~~~~~~~
In file included from fstatfs01.c:48:
fstatfs01.c: In function 'main':
../../../../include/old/test.h:123:19: warning: format '%lx' expects argument of type 'long unsigned int', but argument 6 has type '__fsword_t' {aka 'int'} [-Wformat=]
123 | (arg_fmt), ##__VA_ARGS__)
| ^~~~~~~~~
fstatfs01.c:87:33: note: in expansion of macro 'tst_resm'
87 | tst_resm(TPASS, "%s - f_type=%lx",
| ^~~~~~~~
LD testcases/kernel/syscalls/fstatfs/fstatfs01_64
LD testcases/kernel/syscalls/fstatfs/fstatfs02_64
CC testcases/kernel/syscalls/fstatfs/fstatfs01
CC testcases/kernel/syscalls/fstatfs/fstatfs02
rm fstatfs02_64.o fstatfs01_64.o
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
CC testcases/kernel/syscalls/fstat/fstat02_64.o
CC testcases/kernel/syscalls/fstat/fstat03_64.o
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
LD testcases/kernel/syscalls/fstat/fstat02_64
LD testcases/kernel/syscalls/fstat/fstat03_64
CC testcases/kernel/syscalls/fstat/fstat02
CC testcases/kernel/syscalls/fstat/fstat03
rm fstat02_64.o fstat03_64.o
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
In file included from fsync02.c:20:
fsync02.c: In function 'run':
../../../../include/tst_test.h:59:55: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'time_t' {aka 'long long int'} [-Wformat=]
59 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\
| ^~~~~~~~~
fsync02.c:93:17: note: in expansion of macro 'tst_res'
93 | tst_res(TFAIL,
| ^~~~~~~
../../../../include/tst_test.h:59:55: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'time_t' {aka 'long long int'} [-Wformat=]
59 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\
| ^~~~~~~~~
fsync02.c:93:17: note: in expansion of macro 'tst_res'
93 | tst_res(TFAIL,
| ^~~~~~~
CC testcases/kernel/syscalls/fsync/fsync03
CC testcases/kernel/syscalls/fsync/fsync01
CC testcases/kernel/syscalls/fsync/fsync04
CC testcases/kernel/syscalls/fsync/fsync02
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
CC testcases/kernel/syscalls/ftruncate/ftruncate01_64.o
CC testcases/kernel/syscalls/ftruncate/ftruncate03_64.o
CC testcases/kernel/syscalls/ftruncate/ftruncate04_64.o
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
LD testcases/kernel/syscalls/ftruncate/ftruncate03_64
LD testcases/kernel/syscalls/ftruncate/ftruncate01_64
CC testcases/kernel/syscalls/ftruncate/ftruncate03
CC testcases/kernel/syscalls/ftruncate/ftruncate01
LD testcases/kernel/syscalls/ftruncate/ftruncate04_64
CC testcases/kernel/syscalls/ftruncate/ftruncate04
rm ftruncate03_64.o ftruncate01_64.o ftruncate04_64.o
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/futex/futex_wait05
CC testcases/kernel/syscalls/futex/futex_cmp_requeue02
CC testcases/kernel/syscalls/futex/futex_wait04
CC testcases/kernel/syscalls/futex/futex_wait01
CC testcases/kernel/syscalls/futex/futex_wait03
CC testcases/kernel/syscalls/futex/futex_wait02
CC testcases/kernel/syscalls/futex/futex_waitv03
CC testcases/kernel/syscalls/futex/futex_waitv02
CC testcases/kernel/syscalls/futex/futex_wait_bitset01
CC testcases/kernel/syscalls/futex/futex_waitv01
CC testcases/kernel/syscalls/futex/futex_cmp_requeue01
CC testcases/kernel/syscalls/futex/futex_wake01
CC testcases/kernel/syscalls/futex/futex_wake03
CC testcases/kernel/syscalls/futex/futex_wake02
CC testcases/kernel/syscalls/futex/futex_wake04
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/futimesat/futimesat01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/getcontext/getcontext01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/getcpu/getcpu01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/getcwd/getcwd01
CC testcases/kernel/syscalls/getcwd/getcwd04
CC testcases/kernel/syscalls/getcwd/getcwd02
CC testcases/kernel/syscalls/getcwd/getcwd03
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/getdents/getdents02
CC testcases/kernel/syscalls/getdents/getdents01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/getdomainname/getdomainname01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/getdtablesize/getdtablesize01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
CC testcases/kernel/syscalls/getegid/getegid01_16.o
CC testcases/kernel/syscalls/getegid/getegid02_16.o
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
getegid02.c: In function 'main':
getegid02.c:67:35: warning: comparison of integer expressions of different signedness: '__gid_t' {aka 'unsigned int'} and 'long int' [-Wsign-compare]
67 | if (pwent->pw_gid != TEST_RETURN) {
| ^~
getegid02.c: In function 'main':
getegid02.c:67:35: warning: comparison of integer expressions of different signedness: '__gid_t' {aka 'unsigned int'} and 'long int' [-Wsign-compare]
67 | if (pwent->pw_gid != TEST_RETURN) {
| ^~
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_16
LD testcases/kernel/syscalls/getegid/getegid02
LD testcases/kernel/syscalls/getegid/getegid01_16
rm getegid01.o getegid01_16.o getegid02_16.o getegid02.o
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
CC testcases/kernel/syscalls/geteuid/geteuid01_16.o
CC testcases/kernel/syscalls/geteuid/geteuid02_16.o
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
geteuid02.c: In function 'main':
geteuid02.c:57:35: warning: comparison of integer expressions of different signedness: '__uid_t' {aka 'unsigned int'} and 'long int' [-Wsign-compare]
57 | if (pwent->pw_uid != TEST_RETURN)
| ^~
geteuid02.c: In function 'main':
geteuid02.c:57:35: warning: comparison of integer expressions of different signedness: '__uid_t' {aka 'unsigned int'} and 'long int' [-Wsign-compare]
57 | if (pwent->pw_uid != TEST_RETURN)
| ^~
CC testcases/kernel/syscalls/geteuid/geteuid01.o
CC testcases/kernel/syscalls/geteuid/geteuid02.o
LD testcases/kernel/syscalls/geteuid/geteuid01
LD testcases/kernel/syscalls/geteuid/geteuid02_16
LD testcases/kernel/syscalls/geteuid/geteuid02
LD testcases/kernel/syscalls/geteuid/geteuid01_16
rm geteuid01_16.o geteuid02_16.o geteuid01.o geteuid02.o
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
CC testcases/kernel/syscalls/getgid/getgid01_16.o
CC testcases/kernel/syscalls/getgid/getgid03_16.o
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
getgid01.c: In function 'run':
getgid01.c:23:21: warning: comparison of integer expressions of different signedness: 'long int' and '__gid_t' {aka 'unsigned int'} [-Wsign-compare]
23 | if (TST_RET != ltpuser->pw_gid)
| ^~
getgid03.c: In function 'run':
getgid03.c:36:27: warning: comparison of integer expressions of different signedness: '__gid_t' {aka 'unsigned int'} and 'long int' [-Wsign-compare]
36 | if (pwent->pw_gid != TST_RET) {
| ^~
getgid03.c: In function 'run':
getgid03.c:36:27: warning: comparison of integer expressions of different signedness: '__gid_t' {aka 'unsigned int'} and 'long int' [-Wsign-compare]
36 | if (pwent->pw_gid != TST_RET) {
| ^~
getgid01.c: In function 'run':
getgid01.c:23:21: warning: comparison of integer expressions of different signedness: 'long int' and '__gid_t' {aka 'unsigned int'} [-Wsign-compare]
23 | if (TST_RET != ltpuser->pw_gid)
| ^~
CC testcases/kernel/syscalls/getgid/getgid03.o
CC testcases/kernel/syscalls/getgid/getgid01.o
LD testcases/kernel/syscalls/getgid/getgid01
LD testcases/kernel/syscalls/getgid/getgid03
LD testcases/kernel/syscalls/getgid/getgid03_16
LD testcases/kernel/syscalls/getgid/getgid01_16
rm getgid01.o getgid03_16.o getgid01_16.o getgid03.o
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
CC testcases/kernel/syscalls/getgroups/getgroups01_16.o
CC testcases/kernel/syscalls/getgroups/getgroups03_16.o
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
In file included from TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot/usr/include/features.h:490,
from TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot/usr/include/unistd.h:25,
from getgroups01.c:48:
In function 'getgroups',
inlined from 'GETGROUPS' at TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/testcases/kernel/syscalls/getgroups/../utils/compat_16.h:82:2,
inlined from 'main' at getgroups01.c:83:3:
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot/usr/include/bits/unistd.h:221:10: warning: argument 1 value -1 is negative [-Wstringop-overflow=]
221 | return __glibc_fortify (getgroups, __size, sizeof (__gid_t),
| ^~~~~~~~~~~~~~~
In file included from TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot/usr/include/unistd.h:1214:
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot/usr/include/bits/unistd.h: In function 'main':
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot/usr/include/bits/unistd.h:208:12: note: in a call to function '__getgroups_chk' declared with attribute 'access (write_only, 2, 1)'
208 | extern int __getgroups_chk (int __size, __gid_t __list[], size_t __listlen)
| ^~~~~~~~~~~~~~~
In function 'getgroups',
inlined from 'GETGROUPS' at TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/testcases/kernel/syscalls/getgroups/../utils/compat_16.h:82:2,
inlined from 'main' at getgroups01.c:83:3:
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot/usr/include/bits/unistd.h:221:10: warning: argument 1 value -1 is negative [-Wstringop-overflow=]
221 | return __glibc_fortify (getgroups, __size, sizeof (__gid_t),
| ^~~~~~~~~~~~~~~
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot/usr/include/bits/unistd.h: In function 'main':
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot/usr/include/bits/unistd.h:208:12: note: in a call to function '__getgroups_chk' declared with attribute 'access (write_only, 2, 1)'
208 | extern int __getgroups_chk (int __size, __gid_t __list[], size_t __listlen)
| ^~~~~~~~~~~~~~~
CC testcases/kernel/syscalls/getgroups/getgroups01.o
CC testcases/kernel/syscalls/getgroups/getgroups03.o
LD testcases/kernel/syscalls/getgroups/getgroups01_16
LD testcases/kernel/syscalls/getgroups/getgroups01
LD testcases/kernel/syscalls/getgroups/getgroups03_16
LD testcases/kernel/syscalls/getgroups/getgroups03
rm getgroups01.o getgroups01_16.o getgroups03_16.o getgroups03.o
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/gethostbyname_r/gethostbyname_r01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/gethostid/gethostid01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/gethostname/gethostname01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/getitimer/getitimer01
CC testcases/kernel/syscalls/getitimer/getitimer03
CC testcases/kernel/syscalls/getitimer/getitimer02
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
BUILD libltpnuma.a
make[5]: 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/syscalls/get_mempolicy/get_mempolicy02
CC testcases/kernel/syscalls/get_mempolicy/get_mempolicy01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/getpagesize/getpagesize01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
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
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/getpgid/getpgid02
CC testcases/kernel/syscalls/getpgid/getpgid01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/getpgrp/getpgrp01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/getpid/getpid01
CC testcases/kernel/syscalls/getpid/getpid02
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/getppid/getppid01
CC testcases/kernel/syscalls/getppid/getppid02
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/getpriority/getpriority01
CC testcases/kernel/syscalls/getpriority/getpriority02
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
getrandom03.c: In function 'verify_getrandom':
getrandom03.c:33:21: warning: comparison of integer expressions of different signedness: 'long int' and 'unsigned int' [-Wsign-compare]
33 | if (TST_RET != sizes[n]) {
| ^~
CC testcases/kernel/syscalls/getrandom/getrandom01
CC testcases/kernel/syscalls/getrandom/getrandom03
CC testcases/kernel/syscalls/getrandom/getrandom04
CC testcases/kernel/syscalls/getrandom/getrandom02
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
CC testcases/kernel/syscalls/getresgid/getresgid01_16.o
CC testcases/kernel/syscalls/getresgid/getresgid02_16.o
CC testcases/kernel/syscalls/getresgid/getresgid03_16.o
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/getresgid/getresgid01.o
CC testcases/kernel/syscalls/getresgid/getresgid02.o
CC testcases/kernel/syscalls/getresgid/getresgid03.o
LD testcases/kernel/syscalls/getresgid/getresgid01
LD testcases/kernel/syscalls/getresgid/getresgid02
LD testcases/kernel/syscalls/getresgid/getresgid01_16
LD testcases/kernel/syscalls/getresgid/getresgid02_16
LD testcases/kernel/syscalls/getresgid/getresgid03
LD testcases/kernel/syscalls/getresgid/getresgid03_16
rm getresgid03.o getresgid03_16.o getresgid01_16.o getresgid02_16.o getresgid01.o getresgid02.o
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
CC testcases/kernel/syscalls/getresuid/getresuid01_16.o
CC testcases/kernel/syscalls/getresuid/getresuid02_16.o
CC testcases/kernel/syscalls/getresuid/getresuid03_16.o
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/getresuid/getresuid01.o
CC testcases/kernel/syscalls/getresuid/getresuid02.o
CC testcases/kernel/syscalls/getresuid/getresuid03.o
LD testcases/kernel/syscalls/getresuid/getresuid01
LD testcases/kernel/syscalls/getresuid/getresuid02
LD testcases/kernel/syscalls/getresuid/getresuid02_16
LD testcases/kernel/syscalls/getresuid/getresuid03
LD testcases/kernel/syscalls/getresuid/getresuid03_16
LD testcases/kernel/syscalls/getresuid/getresuid01_16
rm getresuid02_16.o getresuid02.o getresuid01_16.o getresuid01.o getresuid03.o getresuid03_16.o
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/getrlimit/getrlimit01
CC testcases/kernel/syscalls/getrlimit/getrlimit02
CC testcases/kernel/syscalls/getrlimit/getrlimit03
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/get_robust_list/get_robust_list01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
In file included from getrusage04.c:52:
getrusage04.c: In function 'main':
../../../../include/old/test.h:123:19: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type '__suseconds_t' {aka 'long long int'} [-Wformat=]
123 | (arg_fmt), ##__VA_ARGS__)
| ^~~~~~~~~
getrusage04.c:107:17: note: in expansion of macro 'tst_resm'
107 | tst_resm(TINFO, "utime:%12luus; stime:%12luus",
| ^~~~~~~~
../../../../include/old/test.h:123:19: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type '__suseconds_t' {aka 'long long int'} [-Wformat=]
123 | (arg_fmt), ##__VA_ARGS__)
| ^~~~~~~~~
getrusage04.c:107:17: note: in expansion of macro 'tst_resm'
107 | tst_resm(TINFO, "utime:%12luus; stime:%12luus",
| ^~~~~~~~
../../../../include/old/test.h:123:19: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type '__suseconds_t' {aka 'long long int'} [-Wformat=]
123 | (arg_fmt), ##__VA_ARGS__)
| ^~~~~~~~~
getrusage04.c:118:33: note: in expansion of macro 'tst_resm'
118 | tst_resm(TINFO, "utime:%12luus; stime:%12luus",
| ^~~~~~~~
../../../../include/old/test.h:123:19: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type '__suseconds_t' {aka 'long long int'} [-Wformat=]
123 | (arg_fmt), ##__VA_ARGS__)
| ^~~~~~~~~
getrusage04.c:118:33: note: in expansion of macro 'tst_resm'
118 | tst_resm(TINFO, "utime:%12luus; stime:%12luus",
| ^~~~~~~~
CC testcases/kernel/syscalls/getrusage/getrusage01
CC testcases/kernel/syscalls/getrusage/getrusage04
CC testcases/kernel/syscalls/getrusage/getrusage02
CC testcases/kernel/syscalls/getrusage/getrusage03_child
CC testcases/kernel/syscalls/getrusage/getrusage03
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/getsid/getsid02
CC testcases/kernel/syscalls/getsid/getsid01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/getsockname/getsockname01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/getsockopt/getsockopt02
CC testcases/kernel/syscalls/getsockopt/getsockopt01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/gettid/gettid01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
gettimeofday02.c: In function 'verify_gettimeofday':
gettimeofday02.c:51:20: warning: 'tv1.tv_sec' may be used uninitialized [-Wmaybe-uninitialized]
51 | if (tv2.tv_sec < tv1.tv_sec ||
| ^
gettimeofday02.c:36:37: note: 'tv1.tv_sec' was declared here
36 | struct __kernel_old_timeval tv1, tv2;
| ^~~
gettimeofday02.c:51:20: warning: 'tv2.tv_sec' may be used uninitialized [-Wmaybe-uninitialized]
51 | if (tv2.tv_sec < tv1.tv_sec ||
| ^
gettimeofday02.c:36:42: note: 'tv2.tv_sec' was declared here
36 | struct __kernel_old_timeval tv1, tv2;
| ^~~
gettimeofday02.c:52:47: warning: 'tv1.tv_usec' may be used uninitialized [-Wmaybe-uninitialized]
52 | (tv2.tv_sec == tv1.tv_sec && tv2.tv_usec < tv1.tv_usec)) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gettimeofday02.c:36:37: note: 'tv1.tv_usec' was declared here
36 | struct __kernel_old_timeval tv1, tv2;
| ^~~
gettimeofday02.c:52:47: warning: 'tv2.tv_usec' may be used uninitialized [-Wmaybe-uninitialized]
52 | (tv2.tv_sec == tv1.tv_sec && tv2.tv_usec < tv1.tv_usec)) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gettimeofday02.c:36:42: note: 'tv2.tv_usec' was declared here
36 | struct __kernel_old_timeval tv1, tv2;
| ^~~
CC testcases/kernel/syscalls/gettimeofday/gettimeofday01
CC testcases/kernel/syscalls/gettimeofday/gettimeofday02
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
CC testcases/kernel/syscalls/getuid/getuid01_16.o
CC testcases/kernel/syscalls/getuid/getuid03_16.o
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
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
LD testcases/kernel/syscalls/getuid/getuid01_16
LD testcases/kernel/syscalls/getuid/getuid03_16
rm getuid03.o getuid03_16.o getuid01.o getuid01_16.o
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
In file included from getxattr05.c:34:
getxattr05.c: In function 'verify_getxattr':
../../../../include/tst_test.h:59:55: warning: format '%ld' expects argument of type 'long int', but argument 7 has type 'ssize_t' {aka 'int'} [-Wformat=]
59 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\
| ^~~~~~~~~
getxattr05.c:81:17: note: in expansion of macro 'tst_res'
81 | tst_res(TFAIL, "Got different data(%02x != %02x) at %ld",
| ^~~~~~~
CC testcases/kernel/syscalls/getxattr/getxattr03
CC testcases/kernel/syscalls/getxattr/getxattr04
CC testcases/kernel/syscalls/getxattr/getxattr01
CC testcases/kernel/syscalls/getxattr/getxattr02
CC testcases/kernel/syscalls/getxattr/getxattr05
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/init_module/init_module01
CC testcases/kernel/syscalls/init_module/init_module02
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/inotify_init/inotify_init1_01
CC testcases/kernel/syscalls/inotify_init/inotify_init1_02
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
In file included from inotify07.c:37:
inotify07.c: In function 'setup':
../../../../include/tst_test.h:59:55: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type '__ino_t' {aka 'long long unsigned int'} [-Wformat=]
59 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\
| ^~~~~~~~~
inotify07.c:156:9: note: in expansion of macro 'tst_res'
156 | tst_res(TINFO, DIR_PATH " ino=%lu", buf.st_ino);
| ^~~~~~~
../../../../include/tst_test.h:59:55: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type '__ino_t' {aka 'long long unsigned int'} [-Wformat=]
59 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\
| ^~~~~~~~~
inotify07.c:166:9: note: in expansion of macro 'tst_res'
166 | tst_res(TINFO, DIR_PATH " ino=%lu", buf.st_ino);
| ^~~~~~~
In file included from inotify08.c:38:
inotify08.c: In function 'setup':
../../../../include/tst_test.h:59:55: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type '__ino_t' {aka 'long long unsigned int'} [-Wformat=]
59 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\
| ^~~~~~~~~
inotify08.c:148:9: note: in expansion of macro 'tst_res'
148 | tst_res(TINFO, FILE_PATH " ino=%lu, dev=%u:%u", buf.st_ino,
| ^~~~~~~
../../../../include/tst_test.h:59:55: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type '__ino_t' {aka 'long long unsigned int'} [-Wformat=]
59 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\
| ^~~~~~~~~
inotify08.c:159:9: note: in expansion of macro 'tst_res'
159 | tst_res(TINFO, FILE_PATH " ino=%lu, dev=%u:%u", buf.st_ino,
| ^~~~~~~
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 TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot/usr/include/stdio.h:906,
from inotify02.c:15:
In function 'snprintf',
inlined from 'verify_inotify' at inotify02.c:99:2:
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot/usr/include/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' 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: In function 'verify_inotify':
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 function 'snprintf',
inlined from 'verify_inotify' at inotify02.c:116:2:
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot/usr/include/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' 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/inotify05
CC testcases/kernel/syscalls/inotify/inotify01
CC testcases/kernel/syscalls/inotify/inotify07
CC testcases/kernel/syscalls/inotify/inotify06
CC testcases/kernel/syscalls/inotify/inotify04
CC testcases/kernel/syscalls/inotify/inotify11
CC testcases/kernel/syscalls/inotify/inotify10
CC testcases/kernel/syscalls/inotify/inotify03
CC testcases/kernel/syscalls/inotify/inotify08
CC testcases/kernel/syscalls/inotify/inotify02
CC testcases/kernel/syscalls/inotify/inotify09
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/io_cancel/io_cancel02
CC testcases/kernel/syscalls/io_cancel/io_cancel01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
In file included from ioctl08.c:23:
ioctl08.c: In function 'verify_ioctl':
../../../../include/tst_test.h:59:55: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=]
59 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\
| ^~~~~~~~~
ioctl08.c:78:17: note: in expansion of macro 'tst_res'
78 | tst_res(TFAIL,
| ^~~~~~~
CC testcases/kernel/syscalls/ioctl/ioctl07
CC testcases/kernel/syscalls/ioctl/ioctl04
CC testcases/kernel/syscalls/ioctl/ioctl_loop01
CC testcases/kernel/syscalls/ioctl/ioctl03
CC testcases/kernel/syscalls/ioctl/ioctl05
CC testcases/kernel/syscalls/ioctl/ioctl01
CC testcases/kernel/syscalls/ioctl/ioctl06
CC testcases/kernel/syscalls/ioctl/ioctl08
CC testcases/kernel/syscalls/ioctl/ioctl_loop02
CC testcases/kernel/syscalls/ioctl/ioctl09
CC testcases/kernel/syscalls/ioctl/ioctl02
CC testcases/kernel/syscalls/ioctl/ioctl_loop03
CC testcases/kernel/syscalls/ioctl/ioctl_loop04
CC testcases/kernel/syscalls/ioctl/ioctl_ns03
CC testcases/kernel/syscalls/ioctl/ioctl_loop07
CC testcases/kernel/syscalls/ioctl/ioctl_loop06
CC testcases/kernel/syscalls/ioctl/ioctl_ns02
CC testcases/kernel/syscalls/ioctl/ioctl_ns01
CC testcases/kernel/syscalls/ioctl/ioctl_ns04
CC testcases/kernel/syscalls/ioctl/ioctl_loop05
CC testcases/kernel/syscalls/ioctl/ioctl_ns06
CC testcases/kernel/syscalls/ioctl/ioctl_ns07
CC testcases/kernel/syscalls/ioctl/ioctl_ns05
CC testcases/kernel/syscalls/ioctl/ioctl_sg01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/io_destroy/io_destroy01
CC testcases/kernel/syscalls/io_destroy/io_destroy02
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/io_getevents/io_getevents02
CC testcases/kernel/syscalls/io_getevents/io_getevents01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/ioperm/ioperm01
CC testcases/kernel/syscalls/ioperm/ioperm02
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/io_pgetevents/io_pgetevents01
CC testcases/kernel/syscalls/io_pgetevents/io_pgetevents02
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/iopl/iopl01
CC testcases/kernel/syscalls/iopl/iopl02
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/ioprio/ioprio_set02
CC testcases/kernel/syscalls/ioprio/ioprio_set03
CC testcases/kernel/syscalls/ioprio/ioprio_set01
CC testcases/kernel/syscalls/ioprio/ioprio_get01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/io_setup/io_setup01
CC testcases/kernel/syscalls/io_setup/io_setup02
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
io_submit03.c: In function 'io_prep_option':
io_submit03.c:76:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
76 | cb->aio_buf = (uint64_t)buf;
| ^
io_submit02.c: In function 'io_prep_option':
io_submit02.c:50:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
50 | cb->aio_buf = (uint64_t)buf;
| ^
CC testcases/kernel/syscalls/io_submit/io_submit01
CC testcases/kernel/syscalls/io_submit/io_submit02
CC testcases/kernel/syscalls/io_submit/io_submit03
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
io_uring01.c: In function 'drain_uring_cq':
io_uring01.c:156:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
156 | struct iovec *iovecs = (void*)cqe->user_data;
| ^
io_uring01.c: In function 'submit_to_uring_sq':
io_uring01.c:209:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
209 | sqe->user_data = (unsigned long long)iov;
| ^
io_uring02.c: In function 'drain_fallback':
io_uring02.c:106:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
106 | sqe_ptr->addr = (__u64)&spam_header;
| ^
io_uring02.c:116:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
116 | sqe_ptr->addr = (__u64)&beef_header;
| ^
io_uring02.c: In function 'run':
io_uring02.c:221:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
221 | sqe_ptr->addr = (__u64)&beef_header;
| ^
CC testcases/kernel/syscalls/io_uring/io_uring01
CC testcases/kernel/syscalls/io_uring/io_uring02
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
BUILD libltpnewipc.a
make[6]: Nothing to be done for 'all'.
make[7]: Nothing to be done for 'all'.
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/msgctl12
CC testcases/kernel/syscalls/ipc/msgctl/msgctl01
CC testcases/kernel/syscalls/ipc/msgctl/msgctl04
CC testcases/kernel/syscalls/ipc/msgctl/msgctl06
CC testcases/kernel/syscalls/ipc/msgctl/msgctl05
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
BUILD libltpnewipc.a
make[6]: Nothing to be done for 'all'.
make[7]: Nothing to be done for 'all'.
make[7]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/ipc/msgget/msgget01
CC testcases/kernel/syscalls/ipc/msgget/msgget05
CC testcases/kernel/syscalls/ipc/msgget/msgget04
CC testcases/kernel/syscalls/ipc/msgget/msgget02
CC testcases/kernel/syscalls/ipc/msgget/msgget03
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
BUILD libltpnewipc.a
make[6]: Nothing to be done for 'all'.
make[7]: Nothing to be done for 'all'.
make[7]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/ipc/msgrcv/msgrcv08
CC testcases/kernel/syscalls/ipc/msgrcv/msgrcv01
CC testcases/kernel/syscalls/ipc/msgrcv/msgrcv06
CC testcases/kernel/syscalls/ipc/msgrcv/msgrcv03
CC testcases/kernel/syscalls/ipc/msgrcv/msgrcv05
CC testcases/kernel/syscalls/ipc/msgrcv/msgrcv02
CC testcases/kernel/syscalls/ipc/msgrcv/msgrcv07
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
BUILD libltpnewipc.a
make[6]: Nothing to be done for 'all'.
make[7]: Nothing to be done for 'all'.
make[7]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/ipc/msgsnd/msgsnd01
CC testcases/kernel/syscalls/ipc/msgsnd/msgsnd05
CC testcases/kernel/syscalls/ipc/msgsnd/msgsnd02
CC testcases/kernel/syscalls/ipc/msgsnd/msgsnd06
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
BUILD libltpipc.a
make[6]: Nothing to be done for 'all'.
make[7]: Nothing to be done for 'all'.
make[7]: Nothing to be done for 'all'.
msgstress04.c: In function 'main':
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 TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot/usr/include/sys/wait.h:36,
from msgstress04.c:32:
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-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);
| ^~~~~~~
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-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);
| ^~~~~~~~
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot/usr/include/signal.h:359:12: note: declared here
359 | extern int sigrelse (int __sig) __THROW
| ^~~~~~~~
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:
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-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);
| ^~~~~~~~
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-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:
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot/usr/include/signal.h:355:12: note: declared here
355 | extern int sighold (int __sig) __THROW
| ^~~~~~~
msgstress01.c:216:9: warning: 'sigrelse' is deprecated: Use the sigprocmask function instead [-Wdeprecated-declarations]
216 | sigrelse(SIGTERM);
| ^~~~~~~~
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-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 TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot/usr/include/sys/wait.h:36,
from msgstress02.c:31:
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-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);
| ^~~~~~~
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-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);
| ^~~~~~~~
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot/usr/include/signal.h:359:12: note: declared here
359 | extern int sigrelse (int __sig) __THROW
| ^~~~~~~~
CC testcases/kernel/syscalls/ipc/msgstress/msgstress03
CC testcases/kernel/syscalls/ipc/msgstress/msgstress01
CC testcases/kernel/syscalls/ipc/msgstress/msgstress02
CC testcases/kernel/syscalls/ipc/msgstress/msgstress04
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
BUILD libltpipc.a
BUILD libltpnewipc.a
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
make[7]: Nothing to be done for 'all'.
make[7]: Nothing to be done for 'all'.
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/semctl05
CC testcases/kernel/syscalls/ipc/semctl/semctl08
CC testcases/kernel/syscalls/ipc/semctl/semctl02
CC testcases/kernel/syscalls/ipc/semctl/semctl03
CC testcases/kernel/syscalls/ipc/semctl/semctl04
CC testcases/kernel/syscalls/ipc/semctl/semctl07
CC testcases/kernel/syscalls/ipc/semctl/semctl09
CC testcases/kernel/syscalls/ipc/semctl/semctl06
CC testcases/kernel/syscalls/ipc/semctl/semctl01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
BUILD libltpipc.a
make[6]: Nothing to be done for 'all'.
make[7]: Nothing to be done for 'all'.
make[7]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/ipc/semget/semget03
CC testcases/kernel/syscalls/ipc/semget/semget05
CC testcases/kernel/syscalls/ipc/semget/semget01
CC testcases/kernel/syscalls/ipc/semget/semget06
CC testcases/kernel/syscalls/ipc/semget/semget02
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
BUILD libltpnewipc.a
make[6]: Nothing to be done for 'all'.
make[7]: Nothing to be done for 'all'.
make[7]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/ipc/semop/semop02
CC testcases/kernel/syscalls/ipc/semop/semop01
CC testcases/kernel/syscalls/ipc/semop/semop03
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
BUILD libltpnewipc.a
make[6]: Nothing to be done for 'all'.
make[7]: Nothing to be done for 'all'.
make[7]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/ipc/shmat/shmat02
CC testcases/kernel/syscalls/ipc/shmat/shmat01
CC testcases/kernel/syscalls/ipc/shmat/shmat03
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
BUILD libltpnewipc.a
make[6]: Nothing to be done for 'all'.
make[7]: Nothing to be done for 'all'.
make[7]: Nothing to be done for 'all'.
In file included from shmctl01.c:22:
shmctl01.c: In function 'check_ds':
../../../../../include/tst_test.h:59:55: warning: format '%li' expects argument of type 'long int', but argument 6 has type '__time_t' {aka 'long long int'} [-Wformat=]
59 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\
| ^~~~~~~~~
shmctl01.c:186:17: note: in expansion of macro 'tst_res'
186 | tst_res(TFAIL, "%s: shm_ctime=%li, expected <%li,%li>",
| ^~~~~~~
../../../../../include/tst_test.h:59:55: warning: format '%li' expects argument of type 'long int', but argument 7 has type 'time_t' {aka 'long long int'} [-Wformat=]
59 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\
| ^~~~~~~~~
shmctl01.c:186:17: note: in expansion of macro 'tst_res'
186 | tst_res(TFAIL, "%s: shm_ctime=%li, expected <%li,%li>",
| ^~~~~~~
../../../../../include/tst_test.h:59:55: warning: format '%li' expects argument of type 'long int', but argument 8 has type 'time_t' {aka 'long long int'} [-Wformat=]
59 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\
| ^~~~~~~~~
shmctl01.c:186:17: note: in expansion of macro 'tst_res'
186 | tst_res(TFAIL, "%s: shm_ctime=%li, expected <%li,%li>",
| ^~~~~~~
../../../../../include/tst_test.h:59:55: warning: format '%li' expects argument of type 'long int', but argument 6 has type '__time_t' {aka 'long long int'} [-Wformat=]
59 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\
| ^~~~~~~~~
shmctl01.c:189:17: note: in expansion of macro 'tst_res'
189 | tst_res(TPASS, "%s: shm_ctime=%li in range <%li,%li>",
| ^~~~~~~
../../../../../include/tst_test.h:59:55: warning: format '%li' expects argument of type 'long int', but argument 7 has type 'time_t' {aka 'long long int'} [-Wformat=]
59 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\
| ^~~~~~~~~
shmctl01.c:189:17: note: in expansion of macro 'tst_res'
189 | tst_res(TPASS, "%s: shm_ctime=%li in range <%li,%li>",
| ^~~~~~~
../../../../../include/tst_test.h:59:55: warning: format '%li' expects argument of type 'long int', but argument 8 has type 'time_t' {aka 'long long int'} [-Wformat=]
59 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\
| ^~~~~~~~~
shmctl01.c:189:17: note: in expansion of macro 'tst_res'
189 | tst_res(TPASS, "%s: shm_ctime=%li in range <%li,%li>",
| ^~~~~~~
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/shmctl03
CC testcases/kernel/syscalls/ipc/shmctl/shmctl06
CC testcases/kernel/syscalls/ipc/shmctl/shmctl04
CC testcases/kernel/syscalls/ipc/shmctl/shmctl07
CC testcases/kernel/syscalls/ipc/shmctl/shmctl01
CC testcases/kernel/syscalls/ipc/shmctl/shmctl02
CC testcases/kernel/syscalls/ipc/shmctl/shmctl08
CC testcases/kernel/syscalls/ipc/shmctl/shmctl05
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
BUILD libltpipc.a
make[6]: Nothing to be done for 'all'.
make[7]: Nothing to be done for 'all'.
make[7]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/ipc/shmdt/shmdt02
CC testcases/kernel/syscalls/ipc/shmdt/shmdt01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
BUILD libltpnewipc.a
make[6]: Nothing to be done for 'all'.
make[7]: Nothing to be done for 'all'.
make[7]: Nothing to be done for 'all'.
In file included from ../../../../../include/tst_test.h:21,
from shmget02.c:36:
shmget02.c: In function 'do_test':
shmget02.c:96:25: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'size_t' {aka 'unsigned int'} [-Wformat=]
96 | "shmget(%i, %lu, %i)", *tc->shmkey, tc->size, tc->flags);
| ^~~~~~~~~~~~~~~~~~~~~
../../../../../include/tst_test_macros.h:39:32: note: in definition of macro 'TST_FMT_'
39 | #define TST_FMT_(FMT, _1, ...) FMT, ##__VA_ARGS__
| ^~~
../../../../../include/tst_test_macros.h:43:26: note: in expansion of macro 'TST_2_'
43 | TST_FMT_(TST_2_(dummy, ##__VA_ARGS__, SCALL) FMT, __VA_ARGS__))
| ^~~~~~
../../../../../include/tst_test_macros.h:173:25: note: in expansion of macro 'TST_MSG_'
173 | TST_MSG_(TFAIL, " succeeded", SSCALL, ##__VA_ARGS__); \
| ^~~~~~~~
../../../../../include/tst_test_macros.h:202:17: note: in expansion of macro 'TST_EXP_FAIL_SILENT_'
202 | TST_EXP_FAIL_SILENT_(TST_RET >= 0, SCALL, #SCALL, \
| ^~~~~~~~~~~~~~~~~~~~
shmget02.c:95:17: note: in expansion of macro 'TST_EXP_FAIL2'
95 | TST_EXP_FAIL2(shmget(*tc->shmkey, tc->size, tc->flags), tc->exp_err,
| ^~~~~~~~~~~~~
shmget02.c:96:39: note: format string is defined here
96 | "shmget(%i, %lu, %i)", *tc->shmkey, tc->size, tc->flags);
| ~~^
| |
| long unsigned int
| %u
shmget02.c:96:25: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'size_t' {aka 'unsigned int'} [-Wformat=]
96 | "shmget(%i, %lu, %i)", *tc->shmkey, tc->size, tc->flags);
| ^~~~~~~~~~~~~~~~~~~~~
../../../../../include/tst_test_macros.h:39:32: note: in definition of macro 'TST_FMT_'
39 | #define TST_FMT_(FMT, _1, ...) FMT, ##__VA_ARGS__
| ^~~
../../../../../include/tst_test_macros.h:47:26: note: in expansion of macro 'TST_2_'
47 | TST_FMT_(TST_2_(dummy, ##__VA_ARGS__, SCALL) FMT, __VA_ARGS__), PAR)
| ^~~~~~
../../../../../include/tst_test_macros.h:178:25: note: in expansion of macro 'TST_MSGP_'
178 | TST_MSGP_(TFAIL | TTERRNO, " invalid retval %ld", \
| ^~~~~~~~~
../../../../../include/tst_test_macros.h:202:17: note: in expansion of macro 'TST_EXP_FAIL_SILENT_'
202 | TST_EXP_FAIL_SILENT_(TST_RET >= 0, SCALL, #SCALL, \
| ^~~~~~~~~~~~~~~~~~~~
shmget02.c:95:17: note: in expansion of macro 'TST_EXP_FAIL2'
95 | TST_EXP_FAIL2(shmget(*tc->shmkey, tc->size, tc->flags), tc->exp_err,
| ^~~~~~~~~~~~~
shmget02.c:96:39: note: format string is defined here
96 | "shmget(%i, %lu, %i)", *tc->shmkey, tc->size, tc->flags);
| ~~^
| |
| long unsigned int
| %u
shmget02.c:96:25: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'size_t' {aka 'unsigned int'} [-Wformat=]
96 | "shmget(%i, %lu, %i)", *tc->shmkey, tc->size, tc->flags);
| ^~~~~~~~~~~~~~~~~~~~~
../../../../../include/tst_test_macros.h:39:32: note: in definition of macro 'TST_FMT_'
39 | #define TST_FMT_(FMT, _1, ...) FMT, ##__VA_ARGS__
| ^~~
../../../../../include/tst_test_macros.h:47:26: note: in expansion of macro 'TST_2_'
47 | TST_FMT_(TST_2_(dummy, ##__VA_ARGS__, SCALL) FMT, __VA_ARGS__), PAR)
| ^~~~~~
../../../../../include/tst_test_macros.h:186:25: note: in expansion of macro 'TST_MSGP_'
186 | TST_MSGP_(TFAIL | TTERRNO, " expected %s", \
| ^~~~~~~~~
../../../../../include/tst_test_macros.h:202:17: note: in expansion of macro 'TST_EXP_FAIL_SILENT_'
202 | TST_EXP_FAIL_SILENT_(TST_RET >= 0, SCALL, #SCALL, \
| ^~~~~~~~~~~~~~~~~~~~
shmget02.c:95:17: note: in expansion of macro 'TST_EXP_FAIL2'
95 | TST_EXP_FAIL2(shmget(*tc->shmkey, tc->size, tc->flags), tc->exp_err,
| ^~~~~~~~~~~~~
shmget02.c:96:39: note: format string is defined here
96 | "shmget(%i, %lu, %i)", *tc->shmkey, tc->size, tc->flags);
| ~~^
| |
| long unsigned int
| %u
shmget02.c:96:25: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'size_t' {aka 'unsigned int'} [-Wformat=]
96 | "shmget(%i, %lu, %i)", *tc->shmkey, tc->size, tc->flags);
| ^~~~~~~~~~~~~~~~~~~~~
../../../../../include/tst_test_macros.h:39:32: note: in definition of macro 'TST_FMT_'
39 | #define TST_FMT_(FMT, _1, ...) FMT, ##__VA_ARGS__
| ^~~
../../../../../include/tst_test_macros.h:43:26: note: in expansion of macro 'TST_2_'
43 | TST_FMT_(TST_2_(dummy, ##__VA_ARGS__, SCALL) FMT, __VA_ARGS__))
| ^~~~~~
../../../../../include/tst_test_macros.h:205:25: note: in expansion of macro 'TST_MSG_'
205 | TST_MSG_(TPASS | TTERRNO, " ", #SCALL, ##__VA_ARGS__); \
| ^~~~~~~~
shmget02.c:95:17: note: in expansion of macro 'TST_EXP_FAIL2'
95 | TST_EXP_FAIL2(shmget(*tc->shmkey, tc->size, tc->flags), tc->exp_err,
| ^~~~~~~~~~~~~
shmget02.c:96:39: note: format string is defined here
96 | "shmget(%i, %lu, %i)", *tc->shmkey, tc->size, tc->flags);
| ~~^
| |
| long unsigned int
| %u
shmget02.c:108:25: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'size_t' {aka 'unsigned int'} [-Wformat=]
108 | "shmget(%i, %lu, %i)", *tc->shmkey, tc->size, tc->flags);
| ^~~~~~~~~~~~~~~~~~~~~
../../../../../include/tst_test_macros.h:39:32: note: in definition of macro 'TST_FMT_'
39 | #define TST_FMT_(FMT, _1, ...) FMT, ##__VA_ARGS__
| ^~~
../../../../../include/tst_test_macros.h:43:26: note: in expansion of macro 'TST_2_'
43 | TST_FMT_(TST_2_(dummy, ##__VA_ARGS__, SCALL) FMT, __VA_ARGS__))
| ^~~~~~
../../../../../include/tst_test_macros.h:173:25: note: in expansion of macro 'TST_MSG_'
173 | TST_MSG_(TFAIL, " succeeded", SSCALL, ##__VA_ARGS__); \
| ^~~~~~~~
../../../../../include/tst_test_macros.h:202:17: note: in expansion of macro 'TST_EXP_FAIL_SILENT_'
202 | TST_EXP_FAIL_SILENT_(TST_RET >= 0, SCALL, #SCALL, \
| ^~~~~~~~~~~~~~~~~~~~
shmget02.c:107:17: note: in expansion of macro 'TST_EXP_FAIL2'
107 | TST_EXP_FAIL2(shmget(*tc->shmkey, tc->size, tc->flags), tc->exp_err,
| ^~~~~~~~~~~~~
shmget02.c:108:39: note: format string is defined here
108 | "shmget(%i, %lu, %i)", *tc->shmkey, tc->size, tc->flags);
| ~~^
| |
| long unsigned int
| %u
shmget02.c:108:25: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'size_t' {aka 'unsigned int'} [-Wformat=]
108 | "shmget(%i, %lu, %i)", *tc->shmkey, tc->size, tc->flags);
| ^~~~~~~~~~~~~~~~~~~~~
../../../../../include/tst_test_macros.h:39:32: note: in definition of macro 'TST_FMT_'
39 | #define TST_FMT_(FMT, _1, ...) FMT, ##__VA_ARGS__
| ^~~
../../../../../include/tst_test_macros.h:47:26: note: in expansion of macro 'TST_2_'
47 | TST_FMT_(TST_2_(dummy, ##__VA_ARGS__, SCALL) FMT, __VA_ARGS__), PAR)
| ^~~~~~
../../../../../include/tst_test_macros.h:178:25: note: in expansion of macro 'TST_MSGP_'
178 | TST_MSGP_(TFAIL | TTERRNO, " invalid retval %ld", \
| ^~~~~~~~~
../../../../../include/tst_test_macros.h:202:17: note: in expansion of macro 'TST_EXP_FAIL_SILENT_'
202 | TST_EXP_FAIL_SILENT_(TST_RET >= 0, SCALL, #SCALL, \
| ^~~~~~~~~~~~~~~~~~~~
shmget02.c:107:17: note: in expansion of macro 'TST_EXP_FAIL2'
107 | TST_EXP_FAIL2(shmget(*tc->shmkey, tc->size, tc->flags), tc->exp_err,
| ^~~~~~~~~~~~~
shmget02.c:108:39: note: format string is defined here
108 | "shmget(%i, %lu, %i)", *tc->shmkey, tc->size, tc->flags);
| ~~^
| |
| long unsigned int
| %u
shmget02.c:108:25: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'size_t' {aka 'unsigned int'} [-Wformat=]
108 | "shmget(%i, %lu, %i)", *tc->shmkey, tc->size, tc->flags);
| ^~~~~~~~~~~~~~~~~~~~~
../../../../../include/tst_test_macros.h:39:32: note: in definition of macro 'TST_FMT_'
39 | #define TST_FMT_(FMT, _1, ...) FMT, ##__VA_ARGS__
| ^~~
../../../../../include/tst_test_macros.h:47:26: note: in expansion of macro 'TST_2_'
47 | TST_FMT_(TST_2_(dummy, ##__VA_ARGS__, SCALL) FMT, __VA_ARGS__), PAR)
| ^~~~~~
../../../../../include/tst_test_macros.h:186:25: note: in expansion of macro 'TST_MSGP_'
186 | TST_MSGP_(TFAIL | TTERRNO, " expected %s", \
| ^~~~~~~~~
../../../../../include/tst_test_macros.h:202:17: note: in expansion of macro 'TST_EXP_FAIL_SILENT_'
202 | TST_EXP_FAIL_SILENT_(TST_RET >= 0, SCALL, #SCALL, \
| ^~~~~~~~~~~~~~~~~~~~
shmget02.c:107:17: note: in expansion of macro 'TST_EXP_FAIL2'
107 | TST_EXP_FAIL2(shmget(*tc->shmkey, tc->size, tc->flags), tc->exp_err,
| ^~~~~~~~~~~~~
shmget02.c:108:39: note: format string is defined here
108 | "shmget(%i, %lu, %i)", *tc->shmkey, tc->size, tc->flags);
| ~~^
| |
| long unsigned int
| %u
shmget02.c:108:25: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'size_t' {aka 'unsigned int'} [-Wformat=]
108 | "shmget(%i, %lu, %i)", *tc->shmkey, tc->size, tc->flags);
| ^~~~~~~~~~~~~~~~~~~~~
../../../../../include/tst_test_macros.h:39:32: note: in definition of macro 'TST_FMT_'
39 | #define TST_FMT_(FMT, _1, ...) FMT, ##__VA_ARGS__
| ^~~
../../../../../include/tst_test_macros.h:43:26: note: in expansion of macro 'TST_2_'
43 | TST_FMT_(TST_2_(dummy, ##__VA_ARGS__, SCALL) FMT, __VA_ARGS__))
| ^~~~~~
../../../../../include/tst_test_macros.h:205:25: note: in expansion of macro 'TST_MSG_'
205 | TST_MSG_(TPASS | TTERRNO, " ", #SCALL, ##__VA_ARGS__); \
| ^~~~~~~~
shmget02.c:107:17: note: in expansion of macro 'TST_EXP_FAIL2'
107 | TST_EXP_FAIL2(shmget(*tc->shmkey, tc->size, tc->flags), tc->exp_err,
| ^~~~~~~~~~~~~
shmget02.c:108:39: note: format string is defined here
108 | "shmget(%i, %lu, %i)", *tc->shmkey, tc->size, tc->flags);
| ~~^
| |
| long unsigned int
| %u
CC testcases/kernel/syscalls/ipc/shmget/shmget04
CC testcases/kernel/syscalls/ipc/shmget/shmget02
CC testcases/kernel/syscalls/ipc/shmget/shmget06
CC testcases/kernel/syscalls/ipc/shmget/shmget05
CC testcases/kernel/syscalls/ipc/shmget/shmget03
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/kcmp/kcmp02
CC testcases/kernel/syscalls/kcmp/kcmp01
CC testcases/kernel/syscalls/kcmp/kcmp03
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/keyctl/keyctl04
CC testcases/kernel/syscalls/keyctl/keyctl03
CC testcases/kernel/syscalls/keyctl/keyctl08
CC testcases/kernel/syscalls/keyctl/keyctl06
CC testcases/kernel/syscalls/keyctl/keyctl02
CC testcases/kernel/syscalls/keyctl/keyctl09
CC testcases/kernel/syscalls/keyctl/keyctl01
CC testcases/kernel/syscalls/keyctl/keyctl07
CC testcases/kernel/syscalls/keyctl/keyctl05
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
BUILD libltpipc.a
BUILD libltpnewipc.a
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'.
kill09.c: In function 'alarm_handler':
kill09.c:206:24: warning: unused parameter 'sig' [-Wunused-parameter]
206 | void alarm_handler(int sig)
| ~~~~^~~
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':
kill07.c: In function 'main':
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);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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;
| ^~~~
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);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
kill07.c: In function 'sighandler':
kill07.c:187:21: warning: unused parameter 'sig' [-Wunused-parameter]
187 | void sighandler(int sig)
| ~~~~^~~
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);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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)
| ~~~~~~^~~~
kill12.c: In function 'main':
kill10.c: In function 'set_create_procs':
kill10.c:477:27: warning: unused parameter 'sig' [-Wunused-parameter]
477 | void set_create_procs(int sig)
| ~~~~^~~
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:
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-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 */
| ^~~~~~
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot/usr/include/signal.h:367:23: note: declared here
367 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW
| ^~~~~~
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)
| ~~~~^~~
In file included from kill11.c:25:
kill11.c: In function 'setup':
../../../../include/tst_test.h:81:55: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'rlim_t' {aka 'long long unsigned int'} [-Wformat=]
81 | tst_brk_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\
| ^~~~~~~~~
kill11.c:112:25: note: in expansion of macro 'tst_brk'
112 | tst_brk(TCONF, "hard limit(%lu)less than MIN_RLIMT_CORE(%i)",
| ^~~~~~~
kill02.c: In function 'parent_rout':
kill02.c:315:9: warning: '__builtin_strncpy' output may be truncated copying 1 byte from a string of length 9 [-Wstringop-truncation]
315 | strncpy(buf_tmp1, pipe_buf, 1);
| ^
kill02.c:321:9: warning: '__builtin_strncpy' output may be truncated copying 1 byte from a string of length 9 [-Wstringop-truncation]
321 | strncpy(buf_tmp2, pipe_buf, 1);
| ^
kill02.c:435:17: warning: '__builtin_strncpy' output may be truncated copying 1 byte from a string of length 9 [-Wstringop-truncation]
435 | strncpy(buf_tmp1, pipe_buf, 1);
| ^
CC testcases/kernel/syscalls/kill/kill09
CC testcases/kernel/syscalls/kill/kill03
CC testcases/kernel/syscalls/kill/kill08
CC testcases/kernel/syscalls/kill/kill13
CC testcases/kernel/syscalls/kill/kill07
CC testcases/kernel/syscalls/kill/kill06
CC testcases/kernel/syscalls/kill/kill11
CC testcases/kernel/syscalls/kill/kill05
CC testcases/kernel/syscalls/kill/kill12
CC testcases/kernel/syscalls/kill/kill02
CC testcases/kernel/syscalls/kill/kill10
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
CC testcases/kernel/syscalls/lchown/lchown02_16.o
CC testcases/kernel/syscalls/lchown/lchown01_16.o
CC testcases/kernel/syscalls/lchown/lchown03_16.o
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/lchown/lchown03.o
CC testcases/kernel/syscalls/lchown/lchown02.o
CC testcases/kernel/syscalls/lchown/lchown01.o
LD testcases/kernel/syscalls/lchown/lchown01_16
LD testcases/kernel/syscalls/lchown/lchown03
LD testcases/kernel/syscalls/lchown/lchown03_16
LD testcases/kernel/syscalls/lchown/lchown02_16
LD testcases/kernel/syscalls/lchown/lchown01
LD testcases/kernel/syscalls/lchown/lchown02
rm lchown01_16.o lchown03.o lchown02_16.o lchown03_16.o lchown01.o lchown02.o
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/lgetxattr/lgetxattr02
CC testcases/kernel/syscalls/lgetxattr/lgetxattr01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/linkat/linkat02
CC testcases/kernel/syscalls/linkat/linkat01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
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 TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot/usr/include/stdio.h:906,
from ../../../../include/old/test.h:14,
from link03.c:47:
In function 'sprintf',
inlined from 'main' at link03.c:104:4:
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-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: In function 'main':
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 function 'sprintf',
inlined from 'main' at link03.c:123:4:
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-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: In function 'main':
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 function 'sprintf',
inlined from 'main' at link03.c:138:4:
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-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/link08
CC testcases/kernel/syscalls/link/link02
CC testcases/kernel/syscalls/link/link04
CC testcases/kernel/syscalls/link/link05
CC testcases/kernel/syscalls/link/link03
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/listen/listen01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/listxattr/listxattr03
CC testcases/kernel/syscalls/listxattr/listxattr01
CC testcases/kernel/syscalls/listxattr/listxattr02
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/llistxattr/llistxattr03
CC testcases/kernel/syscalls/llistxattr/llistxattr02
CC testcases/kernel/syscalls/llistxattr/llistxattr01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/llseek/llseek02
CC testcases/kernel/syscalls/llseek/llseek03
CC testcases/kernel/syscalls/llseek/llseek01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/lremovexattr/lremovexattr01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
In file included from lseek07.c:17:
lseek07.c: In function 'verify_lseek':
../../../../include/tst_test.h:59:55: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'off_t' {aka 'long long int'} [-Wformat=]
59 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\
| ^~~~~~~~~
lseek07.c:46:17: note: in expansion of macro 'tst_res'
46 | tst_res(TFAIL | TTERRNO, "lseek(%s, %ld, SEEK_SET) failed",
| ^~~~~~~
../../../../include/tst_test.h:59:55: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'off_t' {aka 'long long int'} [-Wformat=]
59 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\
| ^~~~~~~~~
lseek07.c:52:17: note: in expansion of macro 'tst_res'
52 | tst_res(TFAIL, "lseek(%s, %ld, SEEK_SET) returned %ld, expected %ld",
| ^~~~~~~
../../../../include/tst_test.h:59:55: warning: format '%ld' expects argument of type 'long int', but argument 8 has type 'off_t' {aka 'long long int'} [-Wformat=]
59 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\
| ^~~~~~~~~
lseek07.c:52:17: note: in expansion of macro 'tst_res'
52 | tst_res(TFAIL, "lseek(%s, %ld, SEEK_SET) returned %ld, expected %ld",
| ^~~~~~~
../../../../include/tst_test.h:59:55: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'off_t' {aka 'long long int'} [-Wformat=]
59 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\
| ^~~~~~~~~
lseek07.c:66:17: note: in expansion of macro 'tst_res'
66 | tst_res(TFAIL, "lseek(%s, %ld, SEEK_SET) wrote incorrect data %s",
| ^~~~~~~
../../../../include/tst_test.h:59:55: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'off_t' {aka 'long long int'} [-Wformat=]
59 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\
| ^~~~~~~~~
lseek07.c:69:17: note: in expansion of macro 'tst_res'
69 | tst_res(TPASS, "lseek(%s, %ld, SEEK_SET) wrote correct data %s",
| ^~~~~~~
In file included from lseek01.c:17:
lseek01.c: In function 'verify_lseek':
../../../../include/tst_test.h:59:55: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'off_t' {aka 'long long int'} [-Wformat=]
59 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\
| ^~~~~~~~~
lseek01.c:49:17: note: in expansion of macro 'tst_res'
49 | tst_res(TFAIL | TTERRNO, "lseek(%s, %ld, %s) failed", TFILE,
| ^~~~~~~
../../../../include/tst_test.h:59:55: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'off_t' {aka 'long long int'} [-Wformat=]
59 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\
| ^~~~~~~~~
lseek01.c:55:17: note: in expansion of macro 'tst_res'
55 | tst_res(TFAIL, "lseek(%s, %ld, %s) returned %ld, expected %ld",
| ^~~~~~~
../../../../include/tst_test.h:59:55: warning: format '%ld' expects argument of type 'long int', but argument 9 has type 'off_t' {aka 'long long int'} [-Wformat=]
59 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\
| ^~~~~~~~~
lseek01.c:55:17: note: in expansion of macro 'tst_res'
55 | tst_res(TFAIL, "lseek(%s, %ld, %s) returned %ld, expected %ld",
| ^~~~~~~
../../../../include/tst_test.h:59:55: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'off_t' {aka 'long long int'} [-Wformat=]
59 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\
| ^~~~~~~~~
lseek01.c:63:17: note: in expansion of macro 'tst_res'
63 | tst_res(TFAIL, "lseek(%s, %ld, %s) read incorrect data",
| ^~~~~~~
../../../../include/tst_test.h:59:55: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'off_t' {aka 'long long int'} [-Wformat=]
59 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\
| ^~~~~~~~~
lseek01.c:66:17: note: in expansion of macro 'tst_res'
66 | tst_res(TPASS, "lseek(%s, %ld, %s) read correct data",
| ^~~~~~~
In file included from lseek11.c:32:
lseek11.c: In function 'setup':
../../../../include/tst_test.h:59:55: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'blksize_t' {aka 'int'} [-Wformat=]
59 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\
| ^~~~~~~~~
lseek11.c:162:9: note: in expansion of macro 'tst_res'
162 | tst_res(TINFO, "The block size is %lu", block_size);
| ^~~~~~~
lseek11.c: In function 'test_lseek':
../../../../include/tst_test.h:59:55: warning: format '%ld' expects argument of type 'long int', but argument 7 has type 'off_t' {aka 'long long int'} [-Wformat=]
59 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\
| ^~~~~~~~~
lseek11.c:204:17: note: in expansion of macro 'tst_res'
204 | tst_res(TFAIL,
| ^~~~~~~
../../../../include/tst_test.h:59:55: warning: format '%ld' expects argument of type 'long int', but argument 8 has type 'off_t' {aka 'long long int'} [-Wformat=]
59 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\
| ^~~~~~~~~
lseek11.c:204:17: note: in expansion of macro 'tst_res'
204 | tst_res(TFAIL,
| ^~~~~~~
../../../../include/tst_test.h:59:55: warning: format '%ld' expects argument of type 'long int', but argument 7 has type 'off_t' {aka 'long long int'} [-Wformat=]
59 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\
| ^~~~~~~~~
lseek11.c:209:17: note: in expansion of macro 'tst_res'
209 | tst_res(TPASS,
| ^~~~~~~
../../../../include/tst_test.h:59:55: warning: format '%ld' expects argument of type 'long int', but argument 8 has type 'off_t' {aka 'long long int'} [-Wformat=]
59 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\
| ^~~~~~~~~
lseek11.c:209:17: note: in expansion of macro 'tst_res'
209 | tst_res(TPASS,
| ^~~~~~~
CC testcases/kernel/syscalls/lseek/lseek02
CC testcases/kernel/syscalls/lseek/lseek07
CC testcases/kernel/syscalls/lseek/lseek01
CC testcases/kernel/syscalls/lseek/lseek11
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
CC testcases/kernel/syscalls/lstat/lstat01_64.o
CC testcases/kernel/syscalls/lstat/lstat02_64.o
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
LD testcases/kernel/syscalls/lstat/lstat01_64
LD testcases/kernel/syscalls/lstat/lstat02_64
CC testcases/kernel/syscalls/lstat/lstat01
CC testcases/kernel/syscalls/lstat/lstat02
rm lstat02_64.o lstat01_64.o
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
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:
| ^~~~~~~
CC testcases/kernel/syscalls/madvise/madvise05
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 TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot/usr/include/stdio.h:906,
from madvise09.c:42:
In function 'snprintf',
inlined from 'setup_cgroup_paths' at madvise09.c:97:2:
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot/usr/include/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' 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: In function 'setup_cgroup_paths':
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 function 'snprintf',
inlined from 'setup_cgroup_paths' at madvise09.c:98:2:
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot/usr/include/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' 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: In function 'setup_cgroup_paths':
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 function 'snprintf',
inlined from 'setup_cgroup_paths' at madvise09.c:100:2:
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot/usr/include/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' 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/madvise10
CC testcases/kernel/syscalls/madvise/madvise01
CC testcases/kernel/syscalls/madvise/madvise06
CC testcases/kernel/syscalls/madvise/madvise02
CC testcases/kernel/syscalls/madvise/madvise08
CC testcases/kernel/syscalls/madvise/madvise09
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
In file included from TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/testcases/kernel/syscalls/mallinfo2/../mallinfo/mallinfo_common.h:12,
from mallinfo2_01.c:18:
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/testcases/kernel/syscalls/mallinfo2/../mallinfo/mallinfo_common.h: In function 'print_mallinfo2':
../../../../include/tst_test.h:59:55: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'size_t' {aka 'unsigned int'} [-Wformat=]
59 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\
| ^~~~~~~~~
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/testcases/kernel/syscalls/mallinfo2/../mallinfo/mallinfo_common.h:39:15: note: in expansion of macro 'tst_res'
39 | #define P2(f) tst_res(TINFO, "%s: %ld", #f, m->f)
| ^~~~~~~
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/testcases/kernel/syscalls/mallinfo2/../mallinfo/mallinfo_common.h:40:9: note: in expansion of macro 'P2'
40 | P2(arena);
| ^~
../../../../include/tst_test.h:59:55: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'size_t' {aka 'unsigned int'} [-Wformat=]
59 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\
| ^~~~~~~~~
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/testcases/kernel/syscalls/mallinfo2/../mallinfo/mallinfo_common.h:39:15: note: in expansion of macro 'tst_res'
39 | #define P2(f) tst_res(TINFO, "%s: %ld", #f, m->f)
| ^~~~~~~
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/testcases/kernel/syscalls/mallinfo2/../mallinfo/mallinfo_common.h:41:9: note: in expansion of macro 'P2'
41 | P2(ordblks);
| ^~
../../../../include/tst_test.h:59:55: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'size_t' {aka 'unsigned int'} [-Wformat=]
59 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\
| ^~~~~~~~~
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/testcases/kernel/syscalls/mallinfo2/../mallinfo/mallinfo_common.h:39:15: note: in expansion of macro 'tst_res'
39 | #define P2(f) tst_res(TINFO, "%s: %ld", #f, m->f)
| ^~~~~~~
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/testcases/kernel/syscalls/mallinfo2/../mallinfo/mallinfo_common.h:42:9: note: in expansion of macro 'P2'
42 | P2(smblks);
| ^~
../../../../include/tst_test.h:59:55: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'size_t' {aka 'unsigned int'} [-Wformat=]
59 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\
| ^~~~~~~~~
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/testcases/kernel/syscalls/mallinfo2/../mallinfo/mallinfo_common.h:39:15: note: in expansion of macro 'tst_res'
39 | #define P2(f) tst_res(TINFO, "%s: %ld", #f, m->f)
| ^~~~~~~
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/testcases/kernel/syscalls/mallinfo2/../mallinfo/mallinfo_common.h:43:9: note: in expansion of macro 'P2'
43 | P2(hblks);
| ^~
../../../../include/tst_test.h:59:55: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'size_t' {aka 'unsigned int'} [-Wformat=]
59 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\
| ^~~~~~~~~
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/testcases/kernel/syscalls/mallinfo2/../mallinfo/mallinfo_common.h:39:15: note: in expansion of macro 'tst_res'
39 | #define P2(f) tst_res(TINFO, "%s: %ld", #f, m->f)
| ^~~~~~~
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/testcases/kernel/syscalls/mallinfo2/../mallinfo/mallinfo_common.h:44:9: note: in expansion of macro 'P2'
44 | P2(hblkhd);
| ^~
../../../../include/tst_test.h:59:55: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'size_t' {aka 'unsigned int'} [-Wformat=]
59 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\
| ^~~~~~~~~
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/testcases/kernel/syscalls/mallinfo2/../mallinfo/mallinfo_common.h:39:15: note: in expansion of macro 'tst_res'
39 | #define P2(f) tst_res(TINFO, "%s: %ld", #f, m->f)
| ^~~~~~~
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/testcases/kernel/syscalls/mallinfo2/../mallinfo/mallinfo_common.h:45:9: note: in expansion of macro 'P2'
45 | P2(usmblks);
| ^~
../../../../include/tst_test.h:59:55: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'size_t' {aka 'unsigned int'} [-Wformat=]
59 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\
| ^~~~~~~~~
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/testcases/kernel/syscalls/mallinfo2/../mallinfo/mallinfo_common.h:39:15: note: in expansion of macro 'tst_res'
39 | #define P2(f) tst_res(TINFO, "%s: %ld", #f, m->f)
| ^~~~~~~
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/testcases/kernel/syscalls/mallinfo2/../mallinfo/mallinfo_common.h:46:9: note: in expansion of macro 'P2'
46 | P2(fsmblks);
| ^~
../../../../include/tst_test.h:59:55: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'size_t' {aka 'unsigned int'} [-Wformat=]
59 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\
| ^~~~~~~~~
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/testcases/kernel/syscalls/mallinfo2/../mallinfo/mallinfo_common.h:39:15: note: in expansion of macro 'tst_res'
39 | #define P2(f) tst_res(TINFO, "%s: %ld", #f, m->f)
| ^~~~~~~
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/testcases/kernel/syscalls/mallinfo2/../mallinfo/mallinfo_common.h:47:9: note: in expansion of macro 'P2'
47 | P2(uordblks);
| ^~
../../../../include/tst_test.h:59:55: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'size_t' {aka 'unsigned int'} [-Wformat=]
59 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\
| ^~~~~~~~~
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/testcases/kernel/syscalls/mallinfo2/../mallinfo/mallinfo_common.h:39:15: note: in expansion of macro 'tst_res'
39 | #define P2(f) tst_res(TINFO, "%s: %ld", #f, m->f)
| ^~~~~~~
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/testcases/kernel/syscalls/mallinfo2/../mallinfo/mallinfo_common.h:48:9: note: in expansion of macro 'P2'
48 | P2(fordblks);
| ^~
../../../../include/tst_test.h:59:55: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'size_t' {aka 'unsigned int'} [-Wformat=]
59 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\
| ^~~~~~~~~
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/testcases/kernel/syscalls/mallinfo2/../mallinfo/mallinfo_common.h:39:15: note: in expansion of macro 'tst_res'
39 | #define P2(f) tst_res(TINFO, "%s: %ld", #f, m->f)
| ^~~~~~~
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/testcases/kernel/syscalls/mallinfo2/../mallinfo/mallinfo_common.h:49:9: note: in expansion of macro 'P2'
49 | P2(keepcost);
| ^~
mallinfo2_01.c: In function 'test_mallinfo2':
mallinfo2_01.c:29:15: warning: argument 1 value '2147483648' exceeds maximum object size 2147483647 [-Walloc-size-larger-than=]
29 | buf = malloc(size);
| ^~~~~~~~~~~~
In file included from TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/testcases/kernel/syscalls/mallinfo2/../mallinfo/mallinfo_common.h:11:
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot/usr/include/malloc.h:39:14: note: in a call to allocation function 'malloc' declared here
39 | extern void *malloc (size_t __size) __THROW __attribute_malloc__
| ^~~~~~
CC testcases/kernel/syscalls/mallinfo2/mallinfo2_01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
In file included from mallinfo_common.h:12,
from mallinfo02.c:14:
mallinfo_common.h: In function 'print_mallinfo2':
../../../../include/tst_test.h:59:55: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'size_t' {aka 'unsigned int'} [-Wformat=]
59 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\
| ^~~~~~~~~
mallinfo_common.h:39:15: note: in expansion of macro 'tst_res'
39 | #define P2(f) tst_res(TINFO, "%s: %ld", #f, m->f)
| ^~~~~~~
mallinfo_common.h:40:9: note: in expansion of macro 'P2'
40 | P2(arena);
| ^~
../../../../include/tst_test.h:59:55: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'size_t' {aka 'unsigned int'} [-Wformat=]
59 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\
| ^~~~~~~~~
mallinfo_common.h:39:15: note: in expansion of macro 'tst_res'
39 | #define P2(f) tst_res(TINFO, "%s: %ld", #f, m->f)
| ^~~~~~~
mallinfo_common.h:41:9: note: in expansion of macro 'P2'
41 | P2(ordblks);
| ^~
In file included from mallinfo_common.h:12,
from mallinfo01.c:13:
mallinfo_common.h: In function 'print_mallinfo2':
../../../../include/tst_test.h:59:55: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'size_t' {aka 'unsigned int'} [-Wformat=]
59 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\
| ^~~~~~~~~
mallinfo_common.h:39:15: note: in expansion of macro 'tst_res'
39 | #define P2(f) tst_res(TINFO, "%s: %ld", #f, m->f)
| ^~~~~~~
mallinfo_common.h:40:9: note: in expansion of macro 'P2'
40 | P2(arena);
| ^~
../../../../include/tst_test.h:59:55: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'size_t' {aka 'unsigned int'} [-Wformat=]
59 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\
| ^~~~~~~~~
mallinfo_common.h:39:15: note: in expansion of macro 'tst_res'
39 | #define P2(f) tst_res(TINFO, "%s: %ld", #f, m->f)
| ^~~~~~~
mallinfo_common.h:42:9: note: in expansion of macro 'P2'
42 | P2(smblks);
| ^~
../../../../include/tst_test.h:59:55: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'size_t' {aka 'unsigned int'} [-Wformat=]
59 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\
| ^~~~~~~~~
mallinfo_common.h:39:15: note: in expansion of macro 'tst_res'
39 | #define P2(f) tst_res(TINFO, "%s: %ld", #f, m->f)
| ^~~~~~~
mallinfo_common.h:41:9: note: in expansion of macro 'P2'
41 | P2(ordblks);
| ^~
../../../../include/tst_test.h:59:55: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'size_t' {aka 'unsigned int'} [-Wformat=]
59 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\
| ^~~~~~~~~
mallinfo_common.h:39:15: note: in expansion of macro 'tst_res'
39 | #define P2(f) tst_res(TINFO, "%s: %ld", #f, m->f)
| ^~~~~~~
mallinfo_common.h:43:9: note: in expansion of macro 'P2'
43 | P2(hblks);
| ^~
../../../../include/tst_test.h:59:55: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'size_t' {aka 'unsigned int'} [-Wformat=]
59 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\
| ^~~~~~~~~
mallinfo_common.h:39:15: note: in expansion of macro 'tst_res'
39 | #define P2(f) tst_res(TINFO, "%s: %ld", #f, m->f)
| ^~~~~~~
mallinfo_common.h:42:9: note: in expansion of macro 'P2'
42 | P2(smblks);
| ^~
../../../../include/tst_test.h:59:55: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'size_t' {aka 'unsigned int'} [-Wformat=]
59 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\
| ^~~~~~~~~
mallinfo_common.h:39:15: note: in expansion of macro 'tst_res'
39 | #define P2(f) tst_res(TINFO, "%s: %ld", #f, m->f)
| ^~~~~~~
mallinfo_common.h:44:9: note: in expansion of macro 'P2'
44 | P2(hblkhd);
| ^~
../../../../include/tst_test.h:59:55: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'size_t' {aka 'unsigned int'} [-Wformat=]
59 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\
| ^~~~~~~~~
mallinfo_common.h:39:15: note: in expansion of macro 'tst_res'
39 | #define P2(f) tst_res(TINFO, "%s: %ld", #f, m->f)
| ^~~~~~~
mallinfo_common.h:45:9: note: in expansion of macro 'P2'
45 | P2(usmblks);
| ^~
../../../../include/tst_test.h:59:55: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'size_t' {aka 'unsigned int'} [-Wformat=]
59 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\
| ^~~~~~~~~
mallinfo_common.h:39:15: note: in expansion of macro 'tst_res'
39 | #define P2(f) tst_res(TINFO, "%s: %ld", #f, m->f)
| ^~~~~~~
mallinfo_common.h:43:9: note: in expansion of macro 'P2'
43 | P2(hblks);
| ^~
../../../../include/tst_test.h:59:55: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'size_t' {aka 'unsigned int'} [-Wformat=]
59 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\
| ^~~~~~~~~
mallinfo_common.h:39:15: note: in expansion of macro 'tst_res'
39 | #define P2(f) tst_res(TINFO, "%s: %ld", #f, m->f)
| ^~~~~~~
mallinfo_common.h:44:9: note: in expansion of macro 'P2'
44 | P2(hblkhd);
| ^~
../../../../include/tst_test.h:59:55: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'size_t' {aka 'unsigned int'} [-Wformat=]
59 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\
| ^~~~~~~~~
mallinfo_common.h:39:15: note: in expansion of macro 'tst_res'
39 | #define P2(f) tst_res(TINFO, "%s: %ld", #f, m->f)
| ^~~~~~~
mallinfo_common.h:46:9: note: in expansion of macro 'P2'
46 | P2(fsmblks);
| ^~
../../../../include/tst_test.h:59:55: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'size_t' {aka 'unsigned int'} [-Wformat=]
59 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\
| ^~~~~~~~~
mallinfo_common.h:39:15: note: in expansion of macro 'tst_res'
39 | #define P2(f) tst_res(TINFO, "%s: %ld", #f, m->f)
| ^~~~~~~
mallinfo_common.h:45:9: note: in expansion of macro 'P2'
45 | P2(usmblks);
| ^~
../../../../include/tst_test.h:59:55: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'size_t' {aka 'unsigned int'} [-Wformat=]
59 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\
| ^~~~~~~~~
mallinfo_common.h:39:15: note: in expansion of macro 'tst_res'
39 | #define P2(f) tst_res(TINFO, "%s: %ld", #f, m->f)
| ^~~~~~~
mallinfo_common.h:47:9: note: in expansion of macro 'P2'
47 | P2(uordblks);
| ^~
../../../../include/tst_test.h:59:55: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'size_t' {aka 'unsigned int'} [-Wformat=]
59 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\
| ^~~~~~~~~
mallinfo_common.h:39:15: note: in expansion of macro 'tst_res'
39 | #define P2(f) tst_res(TINFO, "%s: %ld", #f, m->f)
| ^~~~~~~
mallinfo_common.h:46:9: note: in expansion of macro 'P2'
46 | P2(fsmblks);
| ^~
../../../../include/tst_test.h:59:55: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'size_t' {aka 'unsigned int'} [-Wformat=]
59 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\
| ^~~~~~~~~
mallinfo_common.h:39:15: note: in expansion of macro 'tst_res'
39 | #define P2(f) tst_res(TINFO, "%s: %ld", #f, m->f)
| ^~~~~~~
mallinfo_common.h:48:9: note: in expansion of macro 'P2'
48 | P2(fordblks);
| ^~
../../../../include/tst_test.h:59:55: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'size_t' {aka 'unsigned int'} [-Wformat=]
59 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\
| ^~~~~~~~~
mallinfo_common.h:39:15: note: in expansion of macro 'tst_res'
39 | #define P2(f) tst_res(TINFO, "%s: %ld", #f, m->f)
| ^~~~~~~
mallinfo_common.h:47:9: note: in expansion of macro 'P2'
47 | P2(uordblks);
| ^~
../../../../include/tst_test.h:59:55: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'size_t' {aka 'unsigned int'} [-Wformat=]
59 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\
| ^~~~~~~~~
mallinfo_common.h:39:15: note: in expansion of macro 'tst_res'
39 | #define P2(f) tst_res(TINFO, "%s: %ld", #f, m->f)
| ^~~~~~~
mallinfo_common.h:49:9: note: in expansion of macro 'P2'
49 | P2(keepcost);
| ^~
../../../../include/tst_test.h:59:55: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'size_t' {aka 'unsigned int'} [-Wformat=]
59 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\
| ^~~~~~~~~
mallinfo_common.h:39:15: note: in expansion of macro 'tst_res'
39 | #define P2(f) tst_res(TINFO, "%s: %ld", #f, m->f)
| ^~~~~~~
mallinfo_common.h:48:9: note: in expansion of macro 'P2'
48 | P2(fordblks);
| ^~
../../../../include/tst_test.h:59:55: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'size_t' {aka 'unsigned int'} [-Wformat=]
59 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\
| ^~~~~~~~~
mallinfo_common.h:39:15: note: in expansion of macro 'tst_res'
39 | #define P2(f) tst_res(TINFO, "%s: %ld", #f, m->f)
| ^~~~~~~
mallinfo_common.h:49:9: note: in expansion of macro 'P2'
49 | P2(keepcost);
| ^~
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:
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-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();
| ^~~~
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-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:
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-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();
| ^~~~
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-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();
| ^~~~~
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-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();
| ^~~~~
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-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
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
In file included from ../mallinfo/mallinfo_common.h:12,
from mallopt01.c:16:
../mallinfo/mallinfo_common.h: In function 'print_mallinfo2':
../../../../include/tst_test.h:59:55: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'size_t' {aka 'unsigned int'} [-Wformat=]
59 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\
| ^~~~~~~~~
../mallinfo/mallinfo_common.h:39:15: note: in expansion of macro 'tst_res'
39 | #define P2(f) tst_res(TINFO, "%s: %ld", #f, m->f)
| ^~~~~~~
../mallinfo/mallinfo_common.h:40:9: note: in expansion of macro 'P2'
40 | P2(arena);
| ^~
../../../../include/tst_test.h:59:55: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'size_t' {aka 'unsigned int'} [-Wformat=]
59 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\
| ^~~~~~~~~
../mallinfo/mallinfo_common.h:39:15: note: in expansion of macro 'tst_res'
39 | #define P2(f) tst_res(TINFO, "%s: %ld", #f, m->f)
| ^~~~~~~
../mallinfo/mallinfo_common.h:41:9: note: in expansion of macro 'P2'
41 | P2(ordblks);
| ^~
../../../../include/tst_test.h:59:55: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'size_t' {aka 'unsigned int'} [-Wformat=]
59 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\
| ^~~~~~~~~
../mallinfo/mallinfo_common.h:39:15: note: in expansion of macro 'tst_res'
39 | #define P2(f) tst_res(TINFO, "%s: %ld", #f, m->f)
| ^~~~~~~
../mallinfo/mallinfo_common.h:42:9: note: in expansion of macro 'P2'
42 | P2(smblks);
| ^~
../../../../include/tst_test.h:59:55: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'size_t' {aka 'unsigned int'} [-Wformat=]
59 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\
| ^~~~~~~~~
../mallinfo/mallinfo_common.h:39:15: note: in expansion of macro 'tst_res'
39 | #define P2(f) tst_res(TINFO, "%s: %ld", #f, m->f)
| ^~~~~~~
../mallinfo/mallinfo_common.h:43:9: note: in expansion of macro 'P2'
43 | P2(hblks);
| ^~
../../../../include/tst_test.h:59:55: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'size_t' {aka 'unsigned int'} [-Wformat=]
59 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\
| ^~~~~~~~~
../mallinfo/mallinfo_common.h:39:15: note: in expansion of macro 'tst_res'
39 | #define P2(f) tst_res(TINFO, "%s: %ld", #f, m->f)
| ^~~~~~~
../mallinfo/mallinfo_common.h:44:9: note: in expansion of macro 'P2'
44 | P2(hblkhd);
| ^~
../../../../include/tst_test.h:59:55: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'size_t' {aka 'unsigned int'} [-Wformat=]
59 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\
| ^~~~~~~~~
../mallinfo/mallinfo_common.h:39:15: note: in expansion of macro 'tst_res'
39 | #define P2(f) tst_res(TINFO, "%s: %ld", #f, m->f)
| ^~~~~~~
../mallinfo/mallinfo_common.h:45:9: note: in expansion of macro 'P2'
45 | P2(usmblks);
| ^~
../../../../include/tst_test.h:59:55: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'size_t' {aka 'unsigned int'} [-Wformat=]
59 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\
| ^~~~~~~~~
../mallinfo/mallinfo_common.h:39:15: note: in expansion of macro 'tst_res'
39 | #define P2(f) tst_res(TINFO, "%s: %ld", #f, m->f)
| ^~~~~~~
../mallinfo/mallinfo_common.h:46:9: note: in expansion of macro 'P2'
46 | P2(fsmblks);
| ^~
../../../../include/tst_test.h:59:55: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'size_t' {aka 'unsigned int'} [-Wformat=]
59 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\
| ^~~~~~~~~
../mallinfo/mallinfo_common.h:39:15: note: in expansion of macro 'tst_res'
39 | #define P2(f) tst_res(TINFO, "%s: %ld", #f, m->f)
| ^~~~~~~
../mallinfo/mallinfo_common.h:47:9: note: in expansion of macro 'P2'
47 | P2(uordblks);
| ^~
../../../../include/tst_test.h:59:55: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'size_t' {aka 'unsigned int'} [-Wformat=]
59 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\
| ^~~~~~~~~
../mallinfo/mallinfo_common.h:39:15: note: in expansion of macro 'tst_res'
39 | #define P2(f) tst_res(TINFO, "%s: %ld", #f, m->f)
| ^~~~~~~
../mallinfo/mallinfo_common.h:48:9: note: in expansion of macro 'P2'
48 | P2(fordblks);
| ^~
../../../../include/tst_test.h:59:55: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'size_t' {aka 'unsigned int'} [-Wformat=]
59 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\
| ^~~~~~~~~
../mallinfo/mallinfo_common.h:39:15: note: in expansion of macro 'tst_res'
39 | #define P2(f) tst_res(TINFO, "%s: %ld", #f, m->f)
| ^~~~~~~
../mallinfo/mallinfo_common.h:49:9: note: in expansion of macro 'P2'
49 | P2(keepcost);
| ^~
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:
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-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
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make -C TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/testcases/kernel/lib -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/testcases/kernel/lib/Makefile" all
BUILD libltpnuma.a
make[5]: 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/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/mbind01
CC testcases/kernel/syscalls/mbind/mbind04
CC testcases/kernel/syscalls/mbind/mbind02
CC testcases/kernel/syscalls/mbind/mbind03
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/membarrier/membarrier01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/memcmp/memcmp01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/memcpy/memcpy01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
memfd_create_common.c: In function 'check_fallocate':
memfd_create_common.c:40:46: warning: format '%ld' expects argument of type 'long int', but argument 7 has type 'off_t' {aka 'long long int'} [-Wformat=]
40 | "fallocate(%d, %d, %ld, %ld) failed", fd, mode,
| ~~^
| |
| long int
| %lld
41 | offset, len);
| ~~~~~~
| |
| off_t {aka long long int}
memfd_create_common.c:40:51: warning: format '%ld' expects argument of type 'long int', but argument 8 has type 'off_t' {aka 'long long int'} [-Wformat=]
40 | "fallocate(%d, %d, %ld, %ld) failed", fd, mode,
| ~~^
| |
| long int
| %lld
41 | offset, len);
| ~~~
| |
| off_t {aka long long int}
memfd_create_common.c:45:38: warning: format '%ld' expects argument of type 'long int', but argument 7 has type 'off_t' {aka 'long long int'} [-Wformat=]
45 | "fallocate(%d, %d, %ld, %ld) succeeded", fd, mode,
| ~~^
| |
| long int
| %lld
46 | offset, len);
| ~~~~~~
| |
| off_t {aka long long int}
memfd_create_common.c:45:43: warning: format '%ld' expects argument of type 'long int', but argument 8 has type 'off_t' {aka 'long long int'} [-Wformat=]
45 | "fallocate(%d, %d, %ld, %ld) succeeded", fd, mode,
| ~~^
| |
| long int
| %lld
46 | offset, len);
| ~~~
| |
| off_t {aka long long int}
memfd_create_common.c: In function 'check_fallocate_fail':
memfd_create_common.c:59:46: warning: format '%ld' expects argument of type 'long int', but argument 7 has type 'off_t' {aka 'long long int'} [-Wformat=]
59 | "fallocate(%d, %d, %ld, %ld) succeeded unexpectedly",
| ~~^
| |
| long int
| %lld
60 | fd, mode, offset, len);
| ~~~~~~
| |
| off_t {aka long long int}
memfd_create_common.c:59:51: warning: format '%ld' expects argument of type 'long int', but argument 8 has type 'off_t' {aka 'long long int'} [-Wformat=]
59 | "fallocate(%d, %d, %ld, %ld) succeeded unexpectedly",
| ~~^
| |
| long int
| %lld
60 | fd, mode, offset, len);
| ~~~
| |
| off_t {aka long long int}
memfd_create_common.c:66:38: warning: format '%ld' expects argument of type 'long int', but argument 7 has type 'off_t' {aka 'long long int'} [-Wformat=]
66 | "fallocate(%d, %d, %ld, %ld) failed as expected", fd,
| ~~^
| |
| long int
| %lld
67 | mode, offset, len);
| ~~~~~~
| |
| off_t {aka long long int}
memfd_create_common.c:66:43: warning: format '%ld' expects argument of type 'long int', but argument 8 has type 'off_t' {aka 'long long int'} [-Wformat=]
66 | "fallocate(%d, %d, %ld, %ld) failed as expected", fd,
| ~~^
| |
| long int
| %lld
67 | mode, offset, len);
| ~~~
| |
| off_t {aka long long int}
memfd_create_common.c: In function 'check_ftruncate':
memfd_create_common.c:77:60: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'off_t' {aka 'long long int'} [-Wformat=]
77 | tst_res_(filename, lineno, TPASS, "ftruncate(%d, %ld) succeeded", fd,
| ~~^
| |
| long int
| %lld
78 | length);
| ~~~~~~
| |
| off_t {aka long long int}
memfd_create_common.c: In function 'check_ftruncate_fail':
memfd_create_common.c:86:42: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'off_t' {aka 'long long int'} [-Wformat=]
86 | "ftruncate(%d, %ld) succeeded unexpectedly",
| ~~^
| |
| long int
| %lld
87 | fd, length);
| ~~~~~~
| |
| off_t {aka long long int}
memfd_create_common.c:93:34: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'off_t' {aka 'long long int'} [-Wformat=]
93 | "ftruncate(%d, %ld) failed as expected", fd, length);
| ~~^ ~~~~~~
| | |
| long int off_t {aka long long int}
| %lld
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:
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-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)) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-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/"
|
memfd_create03.c: In function 'test_def_pagesize':
memfd_create03.c:96:32: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'long int' [-Wsign-compare]
96 | for (i = unmap_size; i < hps; i += unmap_size) {
| ^
memfd_create03.c: In function 'setup':
memfd_create03.c:208:23: warning: '%ld' directive writing between 1 and 11 bytes into a region of size 8 [-Wformat-overflow=]
208 | sprintf(buf, "%ld", og_total_pages + 1);
| ^~~
memfd_create03.c:208:22: note: directive argument in the range [-2147483647, 2147483647]
208 | sprintf(buf, "%ld", og_total_pages + 1);
| ^~~~~
In file included from TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot/usr/include/stdio.h:906,
from memfd_create03.c:32:
In function 'sprintf',
inlined from 'setup' at memfd_create03.c:208:2:
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot/usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 2 and 12 bytes into a destination of size 8
30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
31 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
32 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
CC testcases/kernel/syscalls/memfd_create/memfd_create02
CC testcases/kernel/syscalls/memfd_create/memfd_create04
CC testcases/kernel/syscalls/memfd_create/memfd_create03
CC testcases/kernel/syscalls/memfd_create/memfd_create01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/memset/memset01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
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
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
mincore01.c: In function 'setup4':
mincore01.c:146:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
146 | tc->len = as_lim.rlim_cur - (rlim_t)global_pointer + pagesize;
| ^
CC testcases/kernel/syscalls/mincore/mincore03
CC testcases/kernel/syscalls/mincore/mincore02
CC testcases/kernel/syscalls/mincore/mincore04
CC testcases/kernel/syscalls/mincore/mincore01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/mkdirat/mkdirat02
CC testcases/kernel/syscalls/mkdirat/mkdirat01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/mkdir/mkdir04
CC testcases/kernel/syscalls/mkdir/mkdir05
CC testcases/kernel/syscalls/mkdir/mkdir02
CC testcases/kernel/syscalls/mkdir/mkdir03
CC testcases/kernel/syscalls/mkdir/mkdir09
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/mknodat/mknodat01
CC testcases/kernel/syscalls/mknodat/mknodat02
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
In file included from mknod01.c:44:
mknod01.c: In function 'main':
../../../../include/old/test.h:123:19: warning: format '%lu' expects argument of type 'long unsigned int', but argument 7 has type 'dev_t' {aka 'long long unsigned int'} [-Wformat=]
123 | (arg_fmt), ##__VA_ARGS__)
| ^~~~~~~~~
mknod01.c:91:33: note: in expansion of macro 'tst_resm'
91 | tst_resm(TFAIL,
| ^~~~~~~~
../../../../include/old/test.h:123:19: warning: format '%lu' expects argument of type 'long unsigned int', but argument 7 has type 'dev_t' {aka 'long long unsigned int'} [-Wformat=]
123 | (arg_fmt), ##__VA_ARGS__)
| ^~~~~~~~~
mknod01.c:96:33: note: in expansion of macro 'tst_resm'
96 | tst_resm(TPASS,
| ^~~~~~~~
CC testcases/kernel/syscalls/mknod/mknod09
CC testcases/kernel/syscalls/mknod/mknod01
CC testcases/kernel/syscalls/mknod/mknod06
CC testcases/kernel/syscalls/mknod/mknod03
CC testcases/kernel/syscalls/mknod/mknod04
CC testcases/kernel/syscalls/mknod/mknod07
CC testcases/kernel/syscalls/mknod/mknod02
CC testcases/kernel/syscalls/mknod/mknod05
CC testcases/kernel/syscalls/mknod/mknod08
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
In file included from ../../../../include/tst_test.h:99,
from mlock201.c:25:
mlock201.c: In function 'verify_mlock2':
../../../../include/tst_safe_file_ops.h:23:33: warning: format '%ld' expects argument of type 'long int *', but argument 7 has type 'size_t *' {aka 'unsigned int *'} [-Wformat=]
23 | (path), (fmt), ## __VA_ARGS__)
| ^~~~~
mlock201.c:101:9: note: in expansion of macro 'SAFE_FILE_LINES_SCANF'
101 | SAFE_FILE_LINES_SCANF("/proc/self/status", "VmLck: %ld", &bsize);
| ^~~~~~~~~~~~~~~~~~~~~
../../../../include/tst_safe_file_ops.h:23:33: warning: format '%ld' expects argument of type 'long int *', but argument 7 has type 'size_t *' {aka 'unsigned int *'} [-Wformat=]
23 | (path), (fmt), ## __VA_ARGS__)
| ^~~~~
mlock201.c:105:9: note: in expansion of macro 'SAFE_FILE_LINES_SCANF'
105 | SAFE_FILE_LINES_SCANF("/proc/self/status", "VmLck: %ld", &asize);
| ^~~~~~~~~~~~~~~~~~~~~
../../../../include/tst_test.h:59:55: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'size_t' {aka 'unsigned int'} [-Wformat=]
59 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\
| ^~~~~~~~~
mlock201.c:117:17: note: in expansion of macro 'tst_res'
117 | tst_res(TFAIL, "VmLck showed wrong %ld pages, expected %ld",
| ^~~~~~~
../../../../include/tst_test.h:59:55: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'size_t' {aka 'unsigned int'} [-Wformat=]
59 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\
| ^~~~~~~~~
mlock201.c:117:17: note: in expansion of macro 'tst_res'
117 | tst_res(TFAIL, "VmLck showed wrong %ld pages, expected %ld",
| ^~~~~~~
../../../../include/tst_test.h:59:55: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'size_t' {aka 'unsigned int'} [-Wformat=]
59 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\
| ^~~~~~~~~
mlock201.c:124:17: note: in expansion of macro 'tst_res'
124 | tst_res(TFAIL, "mlock2(%d) locked %ld pages, expected %ld",
| ^~~~~~~
../../../../include/tst_test.h:59:55: warning: format '%ld' expects argument of type 'long int', but argument 7 has type 'size_t' {aka 'unsigned int'} [-Wformat=]
59 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\
| ^~~~~~~~~
mlock201.c:124:17: note: in expansion of macro 'tst_res'
124 | tst_res(TFAIL, "mlock2(%d) locked %ld pages, expected %ld",
| ^~~~~~~
../../../../include/tst_test.h:59:55: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'size_t' {aka 'unsigned int'} [-Wformat=]
59 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\
| ^~~~~~~~~
mlock201.c:127:17: note: in expansion of macro 'tst_res'
127 | tst_res(TPASS, "mlock2(%d) succeeded in locking %ld pages",
| ^~~~~~~
CC testcases/kernel/syscalls/mlock2/mlock203
CC testcases/kernel/syscalls/mlock2/mlock201
CC testcases/kernel/syscalls/mlock2/mlock202
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
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
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/mlock/mlock01
CC testcases/kernel/syscalls/mlock/mlock03
CC testcases/kernel/syscalls/mlock/mlock04
CC testcases/kernel/syscalls/mlock/mlock02
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
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/mmap05
CC testcases/kernel/syscalls/mmap/mmap02
CC testcases/kernel/syscalls/mmap/mmap07
CC testcases/kernel/syscalls/mmap/mmap06
CC testcases/kernel/syscalls/mmap/mmap03
CC testcases/kernel/syscalls/mmap/mmap04
CC testcases/kernel/syscalls/mmap/mmap10
CC testcases/kernel/syscalls/mmap/mmap001
CC testcases/kernel/syscalls/mmap/mmap09
CC testcases/kernel/syscalls/mmap/mmap08
CC testcases/kernel/syscalls/mmap/mmap01
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)
| ~~~~~~^~~~
In file included from mmap18.c:56:
mmap18.c: In function 'allocate_stack':
../../../../include/tst_test.h:59:55: warning: format '%zu' expects argument of type 'size_t', but argument 5 has type 'long unsigned int' [-Wformat=]
59 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\
| ^~~~~~~~~
mmap18.c:105:9: note: in expansion of macro 'tst_res'
105 | tst_res(TINFO, "mapped pages %zu, stack pages %zu",
| ^~~~~~~
../../../../include/tst_test.h:59:55: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'long unsigned int' [-Wformat=]
59 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\
| ^~~~~~~~~
mmap18.c:105:9: note: in expansion of macro 'tst_res'
105 | tst_res(TINFO, "mapped pages %zu, stack pages %zu",
| ^~~~~~~
mmap18.c: In function 'check_depth_recursive':
mmap18.c:113:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
113 | if ((off_t) &limit < (off_t) limit) {
| ^
mmap18.c:113:30: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
113 | if ((off_t) &limit < (off_t) limit) {
| ^
CC testcases/kernel/syscalls/mmap/mmap11
CC testcases/kernel/syscalls/mmap/mmap14
CC testcases/kernel/syscalls/mmap/mmap15
CC testcases/kernel/syscalls/mmap/mmap13
CC testcases/kernel/syscalls/mmap/mmap17
CC testcases/kernel/syscalls/mmap/mmap12
CC testcases/kernel/syscalls/mmap/mmap19
CC testcases/kernel/syscalls/mmap/mmap18
CC testcases/kernel/syscalls/mmap/mmap16
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/modify_ldt/modify_ldt02
CC testcases/kernel/syscalls/modify_ldt/modify_ldt03
CC testcases/kernel/syscalls/modify_ldt/modify_ldt01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/mount/mount03_setuid_test
In file included from mount02.c:46:
mount02.c: In function 'setup':
mount02.c:199:26: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'dev_t' {aka 'long long unsigned int'} [-Wformat=]
199 | "failed to mknod(char_dev, S_IFCHR | FILE_MODE, %lu)",
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
200 | dev);
| ~~~
| |
| dev_t {aka long long unsigned int}
../../../../include/old/test.h:153:64: note: in definition of macro 'tst_brkm'
153 | tst_brkm__(__FILE__, __LINE__, flags, cleanup, fmt, ##__VA_ARGS__); \
| ^~~
mount02.c:199:76: note: format string is defined here
199 | "failed to mknod(char_dev, S_IFCHR | FILE_MODE, %lu)",
| ~~^
| |
| long unsigned int
| %llu
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 TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot/usr/include/stdio.h:906,
from ../../../../include/old/test.h:14,
from mount06.c:30:
In function 'snprintf',
inlined from 'setup' at mount06.c:145:2,
inlined from 'main' at mount06.c:66:2:
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot/usr/include/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' 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: In function 'main':
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 function 'snprintf',
inlined from 'setup' at mount06.c:146:2,
inlined from 'main' at mount06.c:66:2:
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot/usr/include/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' 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 ());
| ~~~~~~~~~~~~~~~~~
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 TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot/usr/include/stdio.h:906,
from ../../../../include/old/test.h:14,
from mount03.c:47:
In function 'snprintf',
inlined from 'setup' at mount03.c:366:2:
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot/usr/include/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' 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: In function 'setup':
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 function 'snprintf',
inlined from 'setup' at mount03.c:371:2:
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot/usr/include/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' 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 function 'snprintf',
inlined from 'test_rwflag' at mount03.c:292:3,
inlined from 'main' at mount03.c:106:8:
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot/usr/include/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' 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: In function 'main':
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 function 'snprintf',
inlined from 'test_rwflag' at mount03.c:264:3,
inlined from 'main' at mount03.c:106:8:
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot/usr/include/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' 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: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 function 'snprintf',
inlined from 'test_rwflag' at mount03.c:250:4,
inlined from 'main' at mount03.c:106:8:
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot/usr/include/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' 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: In function 'main':
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 function 'snprintf',
inlined from 'test_rwflag' at mount03.c:200:3,
inlined from 'main' at mount03.c:106:8:
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot/usr/include/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' 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: In function 'main':
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 function 'snprintf',
inlined from 'test_rwflag' at mount03.c:180:3,
inlined from 'main' at mount03.c:106:8:
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot/usr/include/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' 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: In function 'main':
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(),
| ^~~~~~
In function 'test_rwflag',
inlined from 'main' at mount03.c:106:8:
mount03.c:157:42: note: directive argument in the range [0, 2147483647]
157 | snprintf(file, PATH_MAX, "%smynod_%d_%d", path_name, getpid(),
| ^~~~~~~~~~~~~~~
In function 'snprintf',
inlined from 'test_rwflag' at mount03.c:157:3,
inlined from 'main' at mount03.c:106:8:
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot/usr/include/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' 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: In function 'main':
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 function 'snprintf',
inlined from 'test_rwflag' at mount03.c:141:3,
inlined from 'main' at mount03.c:106:8:
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot/usr/include/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' 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/mount05
CC testcases/kernel/syscalls/mount/mount06
CC testcases/kernel/syscalls/mount/mount04
CC testcases/kernel/syscalls/mount/mount02
CC testcases/kernel/syscalls/mount/mount03
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
In file included from ../../../../include/tst_test.h:21,
from move_mount02.c:7:
move_mount02.c: In function 'run':
move_mount02.c:35:19: warning: implicit declaration of function 'fsopen'; did you mean 'open'? [-Wimplicit-function-declaration]
35 | TEST(fd = fsopen(tst_device->fs_type, 0));
| ^~~~~~
../../../../include/tst_test_macros.h:12:27: note: in definition of macro 'TEST'
12 | TST_RET = SCALL; \
| ^~~~~
In file included from ../../../../include/tst_test.h:21,
from move_mount01.c:7:
move_mount01.c: In function 'run':
move_mount01.c:31:19: warning: implicit declaration of function 'fsopen'; did you mean 'open'? [-Wimplicit-function-declaration]
31 | TEST(fd = fsopen(tst_device->fs_type, 0));
| ^~~~~~
../../../../include/tst_test_macros.h:12:27: note: in definition of macro 'TEST'
12 | TST_RET = SCALL; \
| ^~~~~
move_mount02.c:41:14: warning: implicit declaration of function 'fsconfig' [-Wimplicit-function-declaration]
41 | TEST(fsconfig(fd, FSCONFIG_SET_STRING, "source", tst_device->dev, 0));
| ^~~~~~~~
../../../../include/tst_test_macros.h:12:27: note: in definition of macro 'TEST'
12 | TST_RET = SCALL; \
| ^~~~~
move_mount01.c:37:14: warning: implicit declaration of function 'fsconfig' [-Wimplicit-function-declaration]
37 | TEST(fsconfig(fd, FSCONFIG_SET_STRING, "source", tst_device->dev, 0));
| ^~~~~~~~
../../../../include/tst_test_macros.h:12:27: note: in definition of macro 'TEST'
12 | TST_RET = SCALL; \
| ^~~~~
move_mount02.c:55:22: warning: implicit declaration of function 'fsmount'; did you mean 'SYS_mount'? [-Wimplicit-function-declaration]
55 | TEST(fsmfd = fsmount(fd, 0, 0));
| ^~~~~~~
../../../../include/tst_test_macros.h:12:27: note: in definition of macro 'TEST'
12 | TST_RET = SCALL; \
| ^~~~~
move_mount01.c:51:22: warning: implicit declaration of function 'fsmount'; did you mean 'SYS_mount'? [-Wimplicit-function-declaration]
51 | TEST(fsmfd = fsmount(fd, 0, 0));
| ^~~~~~~
../../../../include/tst_test_macros.h:12:27: note: in definition of macro 'TEST'
12 | TST_RET = SCALL; \
| ^~~~~
move_mount02.c:63:14: warning: implicit declaration of function 'move_mount'; did you mean 'safe_mount'? [-Wimplicit-function-declaration]
63 | TEST(move_mount(*tc->from_dirfd, tc->from_pathname, tc->to_dirfd,
| ^~~~~~~~~~
../../../../include/tst_test_macros.h:12:27: note: in definition of macro 'TEST'
12 | TST_RET = SCALL; \
| ^~~~~
move_mount01.c:59:14: warning: implicit declaration of function 'move_mount'; did you mean 'safe_mount'? [-Wimplicit-function-declaration]
59 | TEST(move_mount(fsmfd, "", AT_FDCWD, MNTPOINT,
| ^~~~~~~~~~
../../../../include/tst_test_macros.h:12:27: note: in definition of macro 'TEST'
12 | TST_RET = SCALL; \
| ^~~~~
CC testcases/kernel/syscalls/move_mount/move_mount02
CC testcases/kernel/syscalls/move_mount/move_mount01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
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_pages01
CC testcases/kernel/syscalls/move_pages/move_pages02
CC testcases/kernel/syscalls/move_pages/move_pages04
CC testcases/kernel/syscalls/move_pages/move_pages07
CC testcases/kernel/syscalls/move_pages/move_pages05
CC testcases/kernel/syscalls/move_pages/move_pages09
CC testcases/kernel/syscalls/move_pages/move_pages03
CC testcases/kernel/syscalls/move_pages/move_pages10
CC testcases/kernel/syscalls/move_pages/move_pages06
CC testcases/kernel/syscalls/move_pages/move_pages12
CC testcases/kernel/syscalls/move_pages/move_pages11
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/mprotect/mprotect01
CC testcases/kernel/syscalls/mprotect/mprotect03
CC testcases/kernel/syscalls/mprotect/mprotect04
CC testcases/kernel/syscalls/mprotect/mprotect02
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/mq_notify/mq_notify02
CC testcases/kernel/syscalls/mq_notify/mq_notify01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/mq_open/mq_open01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
mq_timedreceive01.c: In function 'do_test':
mq_timedreceive01.c:202:21: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'long int' [-Wsign-compare]
202 | if (tc->len != TST_RET) {
| ^~
CC testcases/kernel/syscalls/mq_timedreceive/mq_timedreceive01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
mq_timedsend01.c: In function 'do_test':
mq_timedsend01.c:238:21: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'long int' [-Wsign-compare]
238 | if (tc->len != TST_RET) {
| ^~
CC testcases/kernel/syscalls/mq_timedsend/mq_timedsend01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/mq_unlink/mq_unlink01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
BUILD libltpipc.a
make[5]: 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/syscalls/mremap/mremap02
CC testcases/kernel/syscalls/mremap/mremap04
CC testcases/kernel/syscalls/mremap/mremap03
CC testcases/kernel/syscalls/mremap/mremap01
CC testcases/kernel/syscalls/mremap/mremap05
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
msync03.c: In function 'setup':
msync03.c:131:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
131 | addr3 = (char *)rl.rlim_max;
| ^
CC testcases/kernel/syscalls/msync/msync01
CC testcases/kernel/syscalls/msync/msync02
CC testcases/kernel/syscalls/msync/msync04
CC testcases/kernel/syscalls/msync/msync03
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/munlockall/munlockall01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/munlock/munlock01
CC testcases/kernel/syscalls/munlock/munlock02
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
munmap03.c: In function 'test_einval1':
munmap03.c:117:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
117 | addr = (char *)brkval.rlim_max;
| ^
CC testcases/kernel/syscalls/munmap/munmap01
CC testcases/kernel/syscalls/munmap/munmap02
CC testcases/kernel/syscalls/munmap/munmap03
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/name_to_handle_at/name_to_handle_at02
CC testcases/kernel/syscalls/name_to_handle_at/name_to_handle_at01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/nanosleep/nanosleep04
CC testcases/kernel/syscalls/nanosleep/nanosleep01
CC testcases/kernel/syscalls/nanosleep/nanosleep02
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/newuname/newuname01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
lib.c: In function 'get_long_name_buffer':
lib.c:65:62: warning: comparison of integer expressions of different signedness: 'size_t' {aka '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 '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 '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 '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 '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 'unsigned int'} [-Wsign-compare]
226 | if (pathLength != pcPathMax + 1) {
| ^~
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);
| ^~~~~~~~~~~~~~~~~~~~~~~
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);
| ^~~~~~~~~~~~~~~~~~~~~~~
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/nftw.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)
| ~~~~~~~~~~~~^~~~
CC testcases/kernel/syscalls/nftw/nftw64.o
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)
| ~~~~~~~~~~~~^~~~
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)
| ~~~~~~~~~~~~^~~~
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)
| ~~~~~~~~~~~~^~~~
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)
| ~~~~~~~~~~~~^~~~~~~~~
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':
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");
| ^~~~~~~~~~~~~~~~~~~~~~
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,
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
tools64.c: In function 'nftw64_fn':
lib64.c: In function 'get_long_name_buffer':
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)
| ~~~~^~~~
test_func.c:498:42: warning: unused parameter 'ftwp' [-Wunused-parameter]
498 | int ftw_integer, struct FTW *ftwp)
| ~~~~~~~~~~~~^~~~
lib64.c:65:62: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare]
65 | if ((path_length = pathconf(tmp_path, _PC_PATH_MAX)) == -1) {
| ^~
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)
| ~~~~~~~~~~~~^~~~
test_func.c: In function 'test_func18':
lib64.c:72:62: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare]
72 | if ((name_length = pathconf(tmp_path, _PC_NAME_MAX)) == -1) {
| ^~
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)
| ~~~~~~~~~~~~^~~~
tools64.c: In function 'do_info':
test_func.c: In function 'test_func19':
tools64.c:250:26: warning: unused parameter 'path_name' [-Wunused-parameter]
250 | void do_info(const char *path_name)
| ~~~~~~~~~~~~^~~~~~~~~
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,
| ~~~~~~~~~~~~^~~~~~~~~
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");
| ^~~~~~~~~~~~~~~~~~~~~~
lib64.c: In function 'test_ENAMETOOLONG_path':
test_func.c:546:55: warning: unused parameter 'stat_pointer' [-Wunused-parameter]
546 | test_func20(const char *path_name, const struct stat *stat_pointer,
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
lib64.c:183:60: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare]
183 | if ((pcPathMax = pathconf(tmp_path, _PC_PATH_MAX)) == -1) {
| ^~
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)
| ~~~~~~~~~~~~^~~~
lib64.c:208:27: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare]
208 | while (pathLength < pcPathMax) {
| ^
test_func.c: In function 'test_func21':
lib64.c:219:27: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka '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 'unsigned int'} [-Wsign-compare]
226 | if (pathLength != pcPathMax + 1) {
| ^~
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/lib.o
CC testcases/kernel/syscalls/nftw/tools.o
CC testcases/kernel/syscalls/nftw/tools64.o
CC testcases/kernel/syscalls/nftw/lib64.o
CC testcases/kernel/syscalls/nftw/test.o
CC testcases/kernel/syscalls/nftw/test_func64.o
CC testcases/kernel/syscalls/nftw/test64.o
riscv32-yoe-linux-gcc -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0=/usr/src/debug/ltp/20220527-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0=/usr/src/debug/ltp/20220527-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot-native= -Wl,-z,relro,-z,now -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0=/usr/src/debug/ltp/20220527-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0=/usr/src/debug/ltp/20220527-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot-native= -Wl,-z,relro,-z,now -L../../../../lib nftw64.o tools64.o test_func64.o test64.o lib64.o -lltp -o nftw6401
CC testcases/kernel/syscalls/nftw/test_func.o
riscv32-yoe-linux-gcc -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0=/usr/src/debug/ltp/20220527-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0=/usr/src/debug/ltp/20220527-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot-native= -Wl,-z,relro,-z,now -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0=/usr/src/debug/ltp/20220527-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0=/usr/src/debug/ltp/20220527-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot-native= -Wl,-z,relro,-z,now -L../../../../lib nftw.o tools.o test_func.o test.o lib.o -lltp -o nftw01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/nice/nice02
CC testcases/kernel/syscalls/nice/nice04
CC testcases/kernel/syscalls/nice/nice03
CC testcases/kernel/syscalls/nice/nice01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/openat2/openat201
CC testcases/kernel/syscalls/openat2/openat202
CC testcases/kernel/syscalls/openat2/openat203
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/openat/openat02_child
CC testcases/kernel/syscalls/openat/openat01
CC testcases/kernel/syscalls/openat/openat02
CC testcases/kernel/syscalls/openat/openat03
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/open_by_handle_at/open_by_handle_at02
CC testcases/kernel/syscalls/open_by_handle_at/open_by_handle_at01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
open06.c: In function 'main':
open06.c:79:28: warning: '%d' directive writing between 1 and 11 bytes into a region of size between 0 and 99 [-Wformat-overflow=]
79 | sprintf(fname, "%s.%d", fname, getpid());
| ^~
In file included from TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot/usr/include/stdio.h:906,
from ../../../../include/old/test.h:14,
from open06.c:34:
In function 'sprintf',
inlined from 'setup' at open06.c:79:2,
inlined from 'main' at open06.c:50:2:
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-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 ());
| ~~~~~~~~~~~~~~~~~
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot/usr/include/bits/stdio2.h:30:10: warning: '__builtin___sprintf_chk' argument 5 overlaps destination object 'fname' [-Wrestrict]
open06.c: In function 'main':
open06.c:42:13: note: destination object referenced by 'restrict'-qualified argument 1 was declared here
42 | static char fname[100] = "fifo";
| ^~~~~
CC testcases/kernel/syscalls/open/open09
CC testcases/kernel/syscalls/open/open06
CC testcases/kernel/syscalls/open/open01
CC testcases/kernel/syscalls/open/open02
CC testcases/kernel/syscalls/open/open05
CC testcases/kernel/syscalls/open/open03
CC testcases/kernel/syscalls/open/open04
CC testcases/kernel/syscalls/open/open10
CC testcases/kernel/syscalls/open/open07
CC testcases/kernel/syscalls/open/open12_child
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:
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-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,
| ^~~~~~~~~
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; \
| ^~~~~
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-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,
| ^~~~~~~~~
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; \
| ^~~~~
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-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/open11
CC testcases/kernel/syscalls/open/open08
CC testcases/kernel/syscalls/open/open13
CC testcases/kernel/syscalls/open/open14
CC testcases/kernel/syscalls/open/open12
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
In file included from ../../../../include/tst_test.h:21,
from open_tree01.c:7:
open_tree01.c: In function 'run':
open_tree01.c:43:21: warning: implicit declaration of function 'open_tree' [-Wimplicit-function-declaration]
43 | TEST(otfd = open_tree(AT_FDCWD, MNTPOINT, tc->flags | OPEN_TREE_CLONE));
| ^~~~~~~~~
../../../../include/tst_test_macros.h:12:27: note: in definition of macro 'TEST'
12 | TST_RET = SCALL; \
| ^~~~~
In file included from ../../../../include/tst_test.h:21,
from open_tree02.c:7:
open_tree02.c: In function 'run':
open_tree02.c:28:14: warning: implicit declaration of function 'open_tree' [-Wimplicit-function-declaration]
28 | TEST(open_tree(tc->dirfd, tc->pathname, tc->flags));
| ^~~~~~~~~
../../../../include/tst_test_macros.h:12:27: note: in definition of macro 'TEST'
12 | TST_RET = SCALL; \
| ^~~~~
open_tree01.c:49:14: warning: implicit declaration of function 'move_mount'; did you mean 'safe_mount'? [-Wimplicit-function-declaration]
49 | TEST(move_mount(otfd, "", AT_FDCWD, OT_MNTPOINT,
| ^~~~~~~~~~
../../../../include/tst_test_macros.h:12:27: note: in definition of macro 'TEST'
12 | TST_RET = SCALL; \
| ^~~~~
CC testcases/kernel/syscalls/open_tree/open_tree02
CC testcases/kernel/syscalls/open_tree/open_tree01
make[4]: Nothing to be done for 'all'.
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/pathconf/pathconf01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
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/pause02
CC testcases/kernel/syscalls/pause/pause01
CC testcases/kernel/syscalls/pause/pause03
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/perf_event_open/perf_event_open01
CC testcases/kernel/syscalls/perf_event_open/perf_event_open03
CC testcases/kernel/syscalls/perf_event_open/perf_event_open02
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/personality/personality02
CC testcases/kernel/syscalls/personality/personality01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
In file included from ../../../../include/tst_test.h:21,
from pidfd_getfd02.c:24:
pidfd_getfd02.c: In function 'run':
pidfd_getfd02.c:75:39: warning: implicit declaration of function 'pidfd_getfd'; did you mean 'SYS_pidfd_getfd'? [-Wimplicit-function-declaration]
75 | TST_EXP_FAIL2(pidfd_getfd(valid_pidfd, tc->targetfd, tc->flags),
| ^~~~~~~~~~~
../../../../include/tst_test_macros.h:12:27: note: in definition of macro 'TEST'
12 | TST_RET = SCALL; \
| ^~~~~
../../../../include/tst_test_macros.h:202:17: note: in expansion of macro 'TST_EXP_FAIL_SILENT_'
202 | TST_EXP_FAIL_SILENT_(TST_RET >= 0, SCALL, #SCALL, \
| ^~~~~~~~~~~~~~~~~~~~
pidfd_getfd02.c:75:25: note: in expansion of macro 'TST_EXP_FAIL2'
75 | TST_EXP_FAIL2(pidfd_getfd(valid_pidfd, tc->targetfd, tc->flags),
| ^~~~~~~~~~~~~
In file included from ../../../../include/tst_test.h:21,
from pidfd_getfd01.c:22:
pidfd_getfd01.c: In function 'run':
pidfd_getfd01.c:59:27: warning: implicit declaration of function 'pidfd_getfd'; did you mean 'SYS_pidfd_getfd'? [-Wimplicit-function-declaration]
59 | TST_EXP_FD_SILENT(pidfd_getfd(pidfd, targetfd, 0),
| ^~~~~~~~~~~
../../../../include/tst_test_macros.h:12:27: note: in definition of macro 'TEST'
12 | TST_RET = SCALL; \
| ^~~~~
../../../../include/tst_test_macros.h:85:41: note: in expansion of macro 'TST_EXP_POSITIVE_'
85 | #define TST_EXP_FD_SILENT(SCALL, ...) TST_EXP_POSITIVE_(SCALL, #SCALL, ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~
pidfd_getfd01.c:59:9: note: in expansion of macro 'TST_EXP_FD_SILENT'
59 | TST_EXP_FD_SILENT(pidfd_getfd(pidfd, targetfd, 0),
| ^~~~~~~~~~~~~~~~~
CC testcases/kernel/syscalls/pidfd_getfd/pidfd_getfd01
CC testcases/kernel/syscalls/pidfd_getfd/pidfd_getfd02
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
In file included from ../../../../include/tst_test.h:21,
from pidfd_open01.c:16:
pidfd_open01.c: In function 'run':
pidfd_open01.c:25:27: warning: implicit declaration of function 'pidfd_open' [-Wimplicit-function-declaration]
25 | TST_EXP_FD_SILENT(pidfd_open(getpid(), 0), "pidfd_open(getpid(), 0)");
| ^~~~~~~~~~
../../../../include/tst_test_macros.h:12:27: note: in definition of macro 'TEST'
12 | TST_RET = SCALL; \
| ^~~~~
../../../../include/tst_test_macros.h:85:41: note: in expansion of macro 'TST_EXP_POSITIVE_'
85 | #define TST_EXP_FD_SILENT(SCALL, ...) TST_EXP_POSITIVE_(SCALL, #SCALL, ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~
pidfd_open01.c:25:9: note: in expansion of macro 'TST_EXP_FD_SILENT'
25 | TST_EXP_FD_SILENT(pidfd_open(getpid(), 0), "pidfd_open(getpid(), 0)");
| ^~~~~~~~~~~~~~~~~
In file included from ../../../../include/tst_test.h:21,
from pidfd_open02.c:15:
pidfd_open02.c: In function 'run':
pidfd_open02.c:42:23: warning: implicit declaration of function 'pidfd_open' [-Wimplicit-function-declaration]
42 | TST_EXP_FAIL2(pidfd_open(*tc->pid, tc->flags), tc->exp_errno,
| ^~~~~~~~~~
../../../../include/tst_test_macros.h:12:27: note: in definition of macro 'TEST'
12 | TST_RET = SCALL; \
| ^~~~~
../../../../include/tst_test_macros.h:202:17: note: in expansion of macro 'TST_EXP_FAIL_SILENT_'
202 | TST_EXP_FAIL_SILENT_(TST_RET >= 0, SCALL, #SCALL, \
| ^~~~~~~~~~~~~~~~~~~~
pidfd_open02.c:42:9: note: in expansion of macro 'TST_EXP_FAIL2'
42 | TST_EXP_FAIL2(pidfd_open(*tc->pid, tc->flags), tc->exp_errno,
| ^~~~~~~~~~~~~
In file included from ../../../../include/tst_test.h:21,
from pidfd_open04.c:17:
pidfd_open04.c: In function 'run':
pidfd_open04.c:37:27: warning: implicit declaration of function 'pidfd_open' [-Wimplicit-function-declaration]
37 | TST_EXP_FD_SILENT(pidfd_open(pid, PIDFD_NONBLOCK),
| ^~~~~~~~~~
../../../../include/tst_test_macros.h:12:27: note: in definition of macro 'TEST'
12 | TST_RET = SCALL; \
| ^~~~~
../../../../include/tst_test_macros.h:85:41: note: in expansion of macro 'TST_EXP_POSITIVE_'
85 | #define TST_EXP_FD_SILENT(SCALL, ...) TST_EXP_POSITIVE_(SCALL, #SCALL, ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~
pidfd_open04.c:37:9: note: in expansion of macro 'TST_EXP_FD_SILENT'
37 | TST_EXP_FD_SILENT(pidfd_open(pid, PIDFD_NONBLOCK),
| ^~~~~~~~~~~~~~~~~
In file included from ../../../../include/tst_test.h:21,
from pidfd_open03.c:17:
pidfd_open03.c: In function 'run':
pidfd_open03.c:33:27: warning: implicit declaration of function 'pidfd_open' [-Wimplicit-function-declaration]
33 | TST_EXP_FD_SILENT(pidfd_open(pid, 0), "pidfd_open(%d, 0)", pid);
| ^~~~~~~~~~
../../../../include/tst_test_macros.h:12:27: note: in definition of macro 'TEST'
12 | TST_RET = SCALL; \
| ^~~~~
../../../../include/tst_test_macros.h:85:41: note: in expansion of macro 'TST_EXP_POSITIVE_'
85 | #define TST_EXP_FD_SILENT(SCALL, ...) TST_EXP_POSITIVE_(SCALL, #SCALL, ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~
pidfd_open03.c:33:9: note: in expansion of macro 'TST_EXP_FD_SILENT'
33 | TST_EXP_FD_SILENT(pidfd_open(pid, 0), "pidfd_open(%d, 0)", pid);
| ^~~~~~~~~~~~~~~~~
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
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
In file included from ../../../../include/tst_test.h:21,
from pidfd_send_signal02.c:26:
pidfd_send_signal02.c: In function 'verify_pidfd_send_signal':
pidfd_send_signal02.c:55:14: warning: implicit declaration of function 'pidfd_send_signal'; did you mean 'SYS_pidfd_send_signal'? [-Wimplicit-function-declaration]
55 | TEST(pidfd_send_signal(*tc->fd, tc->signal, tc->siginf, tc->flags));
| ^~~~~~~~~~~~~~~~~
../../../../include/tst_test_macros.h:12:27: note: in definition of macro 'TEST'
12 | TST_RET = SCALL; \
| ^~~~~
In file included from ../../../../include/tst_test.h:21,
from pidfd_send_signal03.c:27:
pidfd_send_signal03.c: In function 'verify_pidfd_send_signal':
pidfd_send_signal03.c:103:14: warning: implicit declaration of function 'pidfd_send_signal'; did you mean 'SYS_pidfd_send_signal'? [-Wimplicit-function-declaration]
103 | TEST(pidfd_send_signal(pidfd, SIGUSR1, NULL, 0));
| ^~~~~~~~~~~~~~~~~
../../../../include/tst_test_macros.h:12:27: note: in definition of macro 'TEST'
12 | TST_RET = SCALL; \
| ^~~~~
In file included from ../../../../include/tst_test.h:21,
from pidfd_send_signal01.c:18:
pidfd_send_signal01.c: In function 'verify_pidfd_send_signal':
pidfd_send_signal01.c:59:14: warning: implicit declaration of function 'pidfd_send_signal'; did you mean 'SYS_pidfd_send_signal'? [-Wimplicit-function-declaration]
59 | TEST(pidfd_send_signal(pidfd, SIGNAL, uinfo, 0));
| ^~~~~~~~~~~~~~~~~
../../../../include/tst_test_macros.h:12:27: note: in definition of macro 'TEST'
12 | TST_RET = SCALL; \
| ^~~~~
CC testcases/kernel/syscalls/pidfd_send_signal/pidfd_send_signal02
CC testcases/kernel/syscalls/pidfd_send_signal/pidfd_send_signal01
CC testcases/kernel/syscalls/pidfd_send_signal/pidfd_send_signal03
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
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
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/pipe/pipe03
CC testcases/kernel/syscalls/pipe/pipe01
CC testcases/kernel/syscalls/pipe/pipe08
CC testcases/kernel/syscalls/pipe/pipe10
CC testcases/kernel/syscalls/pipe/pipe05
CC testcases/kernel/syscalls/pipe/pipe06
CC testcases/kernel/syscalls/pipe/pipe02
CC testcases/kernel/syscalls/pipe/pipe11
CC testcases/kernel/syscalls/pipe/pipe07
CC testcases/kernel/syscalls/pipe/pipe04
CC testcases/kernel/syscalls/pipe/pipe09
In file included from pipe12.c:14:
pipe12.c: In function 'verify_pipe':
../../../../include/tst_test.h:59:55: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'ssize_t' {aka 'int'} [-Wformat=]
59 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\
| ^~~~~~~~~
pipe12.c:71:25: note: in expansion of macro 'tst_res'
71 | tst_res(TFAIL, "write expected %ld bytes, got %d bytes",
| ^~~~~~~
CC testcases/kernel/syscalls/pipe/pipe13
CC testcases/kernel/syscalls/pipe/pipe12
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/pivot_root/pivot_root01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/pkeys/pkey01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/poll/poll01
CC testcases/kernel/syscalls/poll/poll02
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/ppoll/ppoll01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
prctl06_execve.c: In function 'main':
prctl06_execve.c:34:21: warning: comparison of integer expressions of different signedness: 'long int' and '__gid_t' {aka 'unsigned int'} [-Wsign-compare]
34 | if (TST_RET == pw->pw_gid)
| ^~
prctl06_execve.c:44:21: warning: comparison of integer expressions of different signedness: 'long int' and '__uid_t' {aka 'unsigned int'} [-Wsign-compare]
44 | if (TST_RET == pw->pw_uid)
| ^~
CC testcases/kernel/syscalls/prctl/prctl01
CC testcases/kernel/syscalls/prctl/prctl03
CC testcases/kernel/syscalls/prctl/prctl05
CC testcases/kernel/syscalls/prctl/prctl02
CC testcases/kernel/syscalls/prctl/prctl09
CC testcases/kernel/syscalls/prctl/prctl07
CC testcases/kernel/syscalls/prctl/prctl08
CC testcases/kernel/syscalls/prctl/prctl06_execve
CC testcases/kernel/syscalls/prctl/prctl04
CC testcases/kernel/syscalls/prctl/prctl06
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
CC testcases/kernel/syscalls/pread/pread01_64.o
CC testcases/kernel/syscalls/pread/pread02_64.o
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
In file included from ../../../../include/tst_test.h:21,
from pread02.c:19:
pread02.c: In function 'verify_pread':
pread02.c:45:17: warning: format '%ld' expects argument of type 'long int', but argument 7 has type 'off_t' {aka 'long long int'} [-Wformat=]
45 | "pread(%d, %zu, %ld) %s", *tc->fd, tc->nb, tc->offst, tc->desc);
| ^~~~~~~~~~~~~~~~~~~~~~~~
../../../../include/tst_test_macros.h:39:32: note: in definition of macro 'TST_FMT_'
39 | #define TST_FMT_(FMT, _1, ...) FMT, ##__VA_ARGS__
| ^~~
../../../../include/tst_test_macros.h:43:26: note: in expansion of macro 'TST_2_'
43 | TST_FMT_(TST_2_(dummy, ##__VA_ARGS__, SCALL) FMT, __VA_ARGS__))
| ^~~~~~
../../../../include/tst_test_macros.h:173:25: note: in expansion of macro 'TST_MSG_'
173 | TST_MSG_(TFAIL, " succeeded", SSCALL, ##__VA_ARGS__); \
| ^~~~~~~~
../../../../include/tst_test_macros.h:202:17: note: in expansion of macro 'TST_EXP_FAIL_SILENT_'
202 | TST_EXP_FAIL_SILENT_(TST_RET >= 0, SCALL, #SCALL, \
| ^~~~~~~~~~~~~~~~~~~~
pread02.c:44:9: note: in expansion of macro 'TST_EXP_FAIL2'
44 | TST_EXP_FAIL2(pread(*tc->fd, &buf, tc->nb, tc->offst), tc->exp_errno,
| ^~~~~~~~~~~~~
pread02.c:45:35: note: format string is defined here
45 | "pread(%d, %zu, %ld) %s", *tc->fd, tc->nb, tc->offst, tc->desc);
| ~~^
| |
| long int
| %lld
pread02.c:45:17: warning: format '%ld' expects argument of type 'long int', but argument 7 has type 'off_t' {aka 'long long int'} [-Wformat=]
45 | "pread(%d, %zu, %ld) %s", *tc->fd, tc->nb, tc->offst, tc->desc);
| ^~~~~~~~~~~~~~~~~~~~~~~~
../../../../include/tst_test_macros.h:39:32: note: in definition of macro 'TST_FMT_'
39 | #define TST_FMT_(FMT, _1, ...) FMT, ##__VA_ARGS__
| ^~~
../../../../include/tst_test_macros.h:47:26: note: in expansion of macro 'TST_2_'
47 | TST_FMT_(TST_2_(dummy, ##__VA_ARGS__, SCALL) FMT, __VA_ARGS__), PAR)
| ^~~~~~
../../../../include/tst_test_macros.h:178:25: note: in expansion of macro 'TST_MSGP_'
178 | TST_MSGP_(TFAIL | TTERRNO, " invalid retval %ld", \
| ^~~~~~~~~
../../../../include/tst_test_macros.h:202:17: note: in expansion of macro 'TST_EXP_FAIL_SILENT_'
202 | TST_EXP_FAIL_SILENT_(TST_RET >= 0, SCALL, #SCALL, \
| ^~~~~~~~~~~~~~~~~~~~
pread02.c:44:9: note: in expansion of macro 'TST_EXP_FAIL2'
44 | TST_EXP_FAIL2(pread(*tc->fd, &buf, tc->nb, tc->offst), tc->exp_errno,
| ^~~~~~~~~~~~~
pread02.c:45:35: note: format string is defined here
45 | "pread(%d, %zu, %ld) %s", *tc->fd, tc->nb, tc->offst, tc->desc);
| ~~^
| |
| long int
| %lld
pread02.c:45:17: warning: format '%ld' expects argument of type 'long int', but argument 7 has type 'off_t' {aka 'long long int'} [-Wformat=]
45 | "pread(%d, %zu, %ld) %s", *tc->fd, tc->nb, tc->offst, tc->desc);
| ^~~~~~~~~~~~~~~~~~~~~~~~
../../../../include/tst_test_macros.h:39:32: note: in definition of macro 'TST_FMT_'
39 | #define TST_FMT_(FMT, _1, ...) FMT, ##__VA_ARGS__
| ^~~
../../../../include/tst_test_macros.h:47:26: note: in expansion of macro 'TST_2_'
47 | TST_FMT_(TST_2_(dummy, ##__VA_ARGS__, SCALL) FMT, __VA_ARGS__), PAR)
| ^~~~~~
../../../../include/tst_test_macros.h:186:25: note: in expansion of macro 'TST_MSGP_'
186 | TST_MSGP_(TFAIL | TTERRNO, " expected %s", \
| ^~~~~~~~~
../../../../include/tst_test_macros.h:202:17: note: in expansion of macro 'TST_EXP_FAIL_SILENT_'
202 | TST_EXP_FAIL_SILENT_(TST_RET >= 0, SCALL, #SCALL, \
| ^~~~~~~~~~~~~~~~~~~~
pread02.c:44:9: note: in expansion of macro 'TST_EXP_FAIL2'
44 | TST_EXP_FAIL2(pread(*tc->fd, &buf, tc->nb, tc->offst), tc->exp_errno,
| ^~~~~~~~~~~~~
pread02.c:45:35: note: format string is defined here
45 | "pread(%d, %zu, %ld) %s", *tc->fd, tc->nb, tc->offst, tc->desc);
| ~~^
| |
| long int
| %lld
pread02.c:45:17: warning: format '%ld' expects argument of type 'long int', but argument 7 has type 'off_t' {aka 'long long int'} [-Wformat=]
45 | "pread(%d, %zu, %ld) %s", *tc->fd, tc->nb, tc->offst, tc->desc);
| ^~~~~~~~~~~~~~~~~~~~~~~~
../../../../include/tst_test_macros.h:39:32: note: in definition of macro 'TST_FMT_'
39 | #define TST_FMT_(FMT, _1, ...) FMT, ##__VA_ARGS__
| ^~~
../../../../include/tst_test_macros.h:43:26: note: in expansion of macro 'TST_2_'
43 | TST_FMT_(TST_2_(dummy, ##__VA_ARGS__, SCALL) FMT, __VA_ARGS__))
| ^~~~~~
../../../../include/tst_test_macros.h:205:25: note: in expansion of macro 'TST_MSG_'
205 | TST_MSG_(TPASS | TTERRNO, " ", #SCALL, ##__VA_ARGS__); \
| ^~~~~~~~
pread02.c:44:9: note: in expansion of macro 'TST_EXP_FAIL2'
44 | TST_EXP_FAIL2(pread(*tc->fd, &buf, tc->nb, tc->offst), tc->exp_errno,
| ^~~~~~~~~~~~~
pread02.c:45:35: note: format string is defined here
45 | "pread(%d, %zu, %ld) %s", *tc->fd, tc->nb, tc->offst, tc->desc);
| ~~^
| |
| long int
| %lld
In file included from ../../../../include/tst_test.h:21,
from pread02.c:19:
pread02.c: In function 'verify_pread':
pread02.c:45:17: warning: format '%ld' expects argument of type 'long int', but argument 7 has type 'off_t' {aka 'long long int'} [-Wformat=]
45 | "pread(%d, %zu, %ld) %s", *tc->fd, tc->nb, tc->offst, tc->desc);
| ^~~~~~~~~~~~~~~~~~~~~~~~
../../../../include/tst_test_macros.h:39:32: note: in definition of macro 'TST_FMT_'
39 | #define TST_FMT_(FMT, _1, ...) FMT, ##__VA_ARGS__
| ^~~
../../../../include/tst_test_macros.h:43:26: note: in expansion of macro 'TST_2_'
43 | TST_FMT_(TST_2_(dummy, ##__VA_ARGS__, SCALL) FMT, __VA_ARGS__))
| ^~~~~~
../../../../include/tst_test_macros.h:173:25: note: in expansion of macro 'TST_MSG_'
173 | TST_MSG_(TFAIL, " succeeded", SSCALL, ##__VA_ARGS__); \
| ^~~~~~~~
../../../../include/tst_test_macros.h:202:17: note: in expansion of macro 'TST_EXP_FAIL_SILENT_'
202 | TST_EXP_FAIL_SILENT_(TST_RET >= 0, SCALL, #SCALL, \
| ^~~~~~~~~~~~~~~~~~~~
pread02.c:44:9: note: in expansion of macro 'TST_EXP_FAIL2'
44 | TST_EXP_FAIL2(pread(*tc->fd, &buf, tc->nb, tc->offst), tc->exp_errno,
| ^~~~~~~~~~~~~
pread02.c:45:35: note: format string is defined here
45 | "pread(%d, %zu, %ld) %s", *tc->fd, tc->nb, tc->offst, tc->desc);
| ~~^
| |
| long int
| %lld
pread02.c:45:17: warning: format '%ld' expects argument of type 'long int', but argument 7 has type 'off_t' {aka 'long long int'} [-Wformat=]
45 | "pread(%d, %zu, %ld) %s", *tc->fd, tc->nb, tc->offst, tc->desc);
| ^~~~~~~~~~~~~~~~~~~~~~~~
../../../../include/tst_test_macros.h:39:32: note: in definition of macro 'TST_FMT_'
39 | #define TST_FMT_(FMT, _1, ...) FMT, ##__VA_ARGS__
| ^~~
../../../../include/tst_test_macros.h:47:26: note: in expansion of macro 'TST_2_'
47 | TST_FMT_(TST_2_(dummy, ##__VA_ARGS__, SCALL) FMT, __VA_ARGS__), PAR)
| ^~~~~~
../../../../include/tst_test_macros.h:178:25: note: in expansion of macro 'TST_MSGP_'
178 | TST_MSGP_(TFAIL | TTERRNO, " invalid retval %ld", \
| ^~~~~~~~~
../../../../include/tst_test_macros.h:202:17: note: in expansion of macro 'TST_EXP_FAIL_SILENT_'
202 | TST_EXP_FAIL_SILENT_(TST_RET >= 0, SCALL, #SCALL, \
| ^~~~~~~~~~~~~~~~~~~~
pread02.c:44:9: note: in expansion of macro 'TST_EXP_FAIL2'
44 | TST_EXP_FAIL2(pread(*tc->fd, &buf, tc->nb, tc->offst), tc->exp_errno,
| ^~~~~~~~~~~~~
pread02.c:45:35: note: format string is defined here
45 | "pread(%d, %zu, %ld) %s", *tc->fd, tc->nb, tc->offst, tc->desc);
| ~~^
| |
| long int
| %lld
pread02.c:45:17: warning: format '%ld' expects argument of type 'long int', but argument 7 has type 'off_t' {aka 'long long int'} [-Wformat=]
45 | "pread(%d, %zu, %ld) %s", *tc->fd, tc->nb, tc->offst, tc->desc);
| ^~~~~~~~~~~~~~~~~~~~~~~~
../../../../include/tst_test_macros.h:39:32: note: in definition of macro 'TST_FMT_'
39 | #define TST_FMT_(FMT, _1, ...) FMT, ##__VA_ARGS__
| ^~~
../../../../include/tst_test_macros.h:47:26: note: in expansion of macro 'TST_2_'
47 | TST_FMT_(TST_2_(dummy, ##__VA_ARGS__, SCALL) FMT, __VA_ARGS__), PAR)
| ^~~~~~
../../../../include/tst_test_macros.h:186:25: note: in expansion of macro 'TST_MSGP_'
186 | TST_MSGP_(TFAIL | TTERRNO, " expected %s", \
| ^~~~~~~~~
../../../../include/tst_test_macros.h:202:17: note: in expansion of macro 'TST_EXP_FAIL_SILENT_'
202 | TST_EXP_FAIL_SILENT_(TST_RET >= 0, SCALL, #SCALL, \
| ^~~~~~~~~~~~~~~~~~~~
pread02.c:44:9: note: in expansion of macro 'TST_EXP_FAIL2'
44 | TST_EXP_FAIL2(pread(*tc->fd, &buf, tc->nb, tc->offst), tc->exp_errno,
| ^~~~~~~~~~~~~
pread02.c:45:35: note: format string is defined here
45 | "pread(%d, %zu, %ld) %s", *tc->fd, tc->nb, tc->offst, tc->desc);
| ~~^
| |
| long int
| %lld
pread02.c:45:17: warning: format '%ld' expects argument of type 'long int', but argument 7 has type 'off_t' {aka 'long long int'} [-Wformat=]
45 | "pread(%d, %zu, %ld) %s", *tc->fd, tc->nb, tc->offst, tc->desc);
| ^~~~~~~~~~~~~~~~~~~~~~~~
../../../../include/tst_test_macros.h:39:32: note: in definition of macro 'TST_FMT_'
39 | #define TST_FMT_(FMT, _1, ...) FMT, ##__VA_ARGS__
| ^~~
../../../../include/tst_test_macros.h:43:26: note: in expansion of macro 'TST_2_'
43 | TST_FMT_(TST_2_(dummy, ##__VA_ARGS__, SCALL) FMT, __VA_ARGS__))
| ^~~~~~
../../../../include/tst_test_macros.h:205:25: note: in expansion of macro 'TST_MSG_'
205 | TST_MSG_(TPASS | TTERRNO, " ", #SCALL, ##__VA_ARGS__); \
| ^~~~~~~~
pread02.c:44:9: note: in expansion of macro 'TST_EXP_FAIL2'
44 | TST_EXP_FAIL2(pread(*tc->fd, &buf, tc->nb, tc->offst), tc->exp_errno,
| ^~~~~~~~~~~~~
pread02.c:45:35: note: format string is defined here
45 | "pread(%d, %zu, %ld) %s", *tc->fd, tc->nb, tc->offst, tc->desc);
| ~~^
| |
| long int
| %lld
LD testcases/kernel/syscalls/pread/pread02_64
LD testcases/kernel/syscalls/pread/pread01_64
CC testcases/kernel/syscalls/pread/pread02
CC testcases/kernel/syscalls/pread/pread01
rm pread01_64.o pread02_64.o
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
CC testcases/kernel/syscalls/preadv2/preadv201_64.o
CC testcases/kernel/syscalls/preadv2/preadv202_64.o
CC testcases/kernel/syscalls/preadv2/preadv203_64.o
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
LD testcases/kernel/syscalls/preadv2/preadv202_64
LD testcases/kernel/syscalls/preadv2/preadv201_64
CC testcases/kernel/syscalls/preadv2/preadv202
CC testcases/kernel/syscalls/preadv2/preadv201
LD testcases/kernel/syscalls/preadv2/preadv203_64
CC testcases/kernel/syscalls/preadv2/preadv203
rm preadv201_64.o preadv202_64.o preadv203_64.o
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
CC testcases/kernel/syscalls/preadv/preadv01_64.o
CC testcases/kernel/syscalls/preadv/preadv02_64.o
CC testcases/kernel/syscalls/preadv/preadv03_64.o
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
LD testcases/kernel/syscalls/preadv/preadv02_64
LD testcases/kernel/syscalls/preadv/preadv01_64
LD testcases/kernel/syscalls/preadv/preadv03_64
CC testcases/kernel/syscalls/preadv/preadv02
CC testcases/kernel/syscalls/preadv/preadv01
CC testcases/kernel/syscalls/preadv/preadv03
rm preadv01_64.o preadv03_64.o preadv02_64.o
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/profil/profil01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
CC testcases/kernel/syscalls/pselect/pselect01_64.o
CC testcases/kernel/syscalls/pselect/pselect02_64.o
CC testcases/kernel/syscalls/pselect/pselect03_64.o
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
LD testcases/kernel/syscalls/pselect/pselect03_64
LD testcases/kernel/syscalls/pselect/pselect02_64
CC testcases/kernel/syscalls/pselect/pselect02
LD testcases/kernel/syscalls/pselect/pselect01_64
CC testcases/kernel/syscalls/pselect/pselect01
CC testcases/kernel/syscalls/pselect/pselect03
rm pselect03_64.o pselect01_64.o pselect02_64.o
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
ptrace04.c: In function 'compare_registers':
ptrace04.c:50:38: warning: unused parameter 'poison' [-Wunused-parameter]
50 | void compare_registers(unsigned char poison)
| ~~~~~~~~~~~~~~^~~~~~
ptrace07.c: In function 'check_regs_loop':
ptrace07.c:53:29: warning: unused variable 'num_iters' [-Wunused-variable]
53 | const unsigned long num_iters = 1000000000;
| ^~~~~~~~~
ptrace08.c: In function 'ptrace_try_kern_addr':
ptrace08.c:68:23: warning: unused variable 'addr' [-Wunused-variable]
68 | unsigned long addr;
| ^~~~
ptrace08.c: In function 'run':
ptrace08.c:53:24: warning: conversion from 'long long unsigned int' to 'long unsigned int' changes value from '18446603336221196288' to '0' [-Woverflow]
53 | # define KERN_ADDR_MIN 0xffff800000000000
| ^~~~~~~~~~~~~~~~~~
ptrace08.c:122:30: note: in expansion of macro 'KERN_ADDR_MIN'
122 | ptrace_try_kern_addr(KERN_ADDR_MIN);
| ^~~~~~~~~~~~~
ptrace08.c:54:24: warning: conversion from 'long long unsigned int' to 'long unsigned int' changes value from '18446744073709551615' to '4294967295' [-Woverflow]
54 | # define KERN_ADDR_MAX 0xffffffffffffffff
| ^~~~~~~~~~~~~~~~~~
ptrace08.c:123:30: note: in expansion of macro 'KERN_ADDR_MAX'
123 | ptrace_try_kern_addr(KERN_ADDR_MAX);
| ^~~~~~~~~~~~~
ptrace08.c:53:24: warning: conversion from 'long long unsigned int' to 'long unsigned int' changes value from '18446673704965373951' to '4294967295' [-Woverflow]
53 | # define KERN_ADDR_MIN 0xffff800000000000
| ^
ptrace08.c:124:30: note: in expansion of macro 'KERN_ADDR_MIN'
124 | ptrace_try_kern_addr(KERN_ADDR_MIN + (KERN_ADDR_MAX - KERN_ADDR_MIN)/2);
| ^~~~~~~~~~~~~
ptrace09.c:28:12: warning: 'child_main' defined but not used [-Wunused-function]
28 | static int child_main(void)
| ^~~~~~~~~~
ptrace10.c: In function 'run':
ptrace10.c:57:12: warning: 'addr' is used uninitialized [-Wuninitialized]
57 | if (addr == 2)
| ^
ptrace10.c:36:23: note: 'addr' was declared here
36 | unsigned long addr;
| ^~~~
CC testcases/kernel/syscalls/ptrace/ptrace04
CC testcases/kernel/syscalls/ptrace/ptrace08
CC testcases/kernel/syscalls/ptrace/ptrace11
CC testcases/kernel/syscalls/ptrace/ptrace03
CC testcases/kernel/syscalls/ptrace/ptrace02
CC testcases/kernel/syscalls/ptrace/ptrace07
CC testcases/kernel/syscalls/ptrace/ptrace09
CC testcases/kernel/syscalls/ptrace/ptrace05
CC testcases/kernel/syscalls/ptrace/ptrace10
CC testcases/kernel/syscalls/ptrace/ptrace01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
CC testcases/kernel/syscalls/pwrite/pwrite01_64.o
CC testcases/kernel/syscalls/pwrite/pwrite03_64.o
CC testcases/kernel/syscalls/pwrite/pwrite02_64.o
CC testcases/kernel/syscalls/pwrite/pwrite04_64.o
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
In file included from pwrite04.c:22:
pwrite04.c: In function 'verify_pwrite':
../../../../include/tst_test.h:59:55: warning: format '%ld' expects argument of type 'long int', but argument 5 has type '__off64_t' {aka 'long long int'} [-Wformat=]
59 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\
| ^~~~~~~~~
pwrite04.c:55:17: note: in expansion of macro 'tst_res'
55 | tst_res(TFAIL, "file size is %ld != K2", statbuf.st_size);
| ^~~~~~~
../../../../include/tst_test.h:59:55: warning: format '%ld' expects argument of type 'long int', but argument 5 has type '__off64_t' {aka 'long long int'} [-Wformat=]
59 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\
| ^~~~~~~~~
pwrite04.c:63:17: note: in expansion of macro 'tst_res'
63 | tst_res(TFAIL, "file size is %ld != K3", statbuf.st_size);
| ^~~~~~~
In file included from ../../../../include/tst_test.h:21,
from pwrite02.c:22:
pwrite02.c: In function 'verify_pwrite':
pwrite02.c:74:17: warning: format '%ld' expects argument of type 'long int', but argument 7 has type 'off_t' {aka 'long long int'} [-Wformat=]
74 | "pwrite(%d, %d, %ld)", *tc->fd, BS, tc->off);
| ^~~~~~~~~~~~~~~~~~~~~
../../../../include/tst_test_macros.h:39:32: note: in definition of macro 'TST_FMT_'
39 | #define TST_FMT_(FMT, _1, ...) FMT, ##__VA_ARGS__
| ^~~
../../../../include/tst_test_macros.h:43:26: note: in expansion of macro 'TST_2_'
43 | TST_FMT_(TST_2_(dummy, ##__VA_ARGS__, SCALL) FMT, __VA_ARGS__))
| ^~~~~~
../../../../include/tst_test_macros.h:173:25: note: in expansion of macro 'TST_MSG_'
173 | TST_MSG_(TFAIL, " succeeded", SSCALL, ##__VA_ARGS__); \
| ^~~~~~~~
../../../../include/tst_test_macros.h:202:17: note: in expansion of macro 'TST_EXP_FAIL_SILENT_'
202 | TST_EXP_FAIL_SILENT_(TST_RET >= 0, SCALL, #SCALL, \
| ^~~~~~~~~~~~~~~~~~~~
pwrite02.c:73:9: note: in expansion of macro 'TST_EXP_FAIL2'
73 | TST_EXP_FAIL2(pwrite(*tc->fd, tc->buf, BS, tc->off), tc->exp_errno,
| ^~~~~~~~~~~~~
pwrite02.c:74:35: note: format string is defined here
74 | "pwrite(%d, %d, %ld)", *tc->fd, BS, tc->off);
| ~~^
| |
| long int
| %lld
pwrite02.c:74:17: warning: format '%ld' expects argument of type 'long int', but argument 7 has type 'off_t' {aka 'long long int'} [-Wformat=]
74 | "pwrite(%d, %d, %ld)", *tc->fd, BS, tc->off);
| ^~~~~~~~~~~~~~~~~~~~~
../../../../include/tst_test_macros.h:39:32: note: in definition of macro 'TST_FMT_'
39 | #define TST_FMT_(FMT, _1, ...) FMT, ##__VA_ARGS__
| ^~~
../../../../include/tst_test_macros.h:47:26: note: in expansion of macro 'TST_2_'
47 | TST_FMT_(TST_2_(dummy, ##__VA_ARGS__, SCALL) FMT, __VA_ARGS__), PAR)
| ^~~~~~
../../../../include/tst_test_macros.h:178:25: note: in expansion of macro 'TST_MSGP_'
178 | TST_MSGP_(TFAIL | TTERRNO, " invalid retval %ld", \
| ^~~~~~~~~
../../../../include/tst_test_macros.h:202:17: note: in expansion of macro 'TST_EXP_FAIL_SILENT_'
202 | TST_EXP_FAIL_SILENT_(TST_RET >= 0, SCALL, #SCALL, \
| ^~~~~~~~~~~~~~~~~~~~
pwrite02.c:73:9: note: in expansion of macro 'TST_EXP_FAIL2'
73 | TST_EXP_FAIL2(pwrite(*tc->fd, tc->buf, BS, tc->off), tc->exp_errno,
| ^~~~~~~~~~~~~
pwrite02.c:74:35: note: format string is defined here
74 | "pwrite(%d, %d, %ld)", *tc->fd, BS, tc->off);
| ~~^
| |
| long int
| %lld
pwrite02.c:74:17: warning: format '%ld' expects argument of type 'long int', but argument 7 has type 'off_t' {aka 'long long int'} [-Wformat=]
74 | "pwrite(%d, %d, %ld)", *tc->fd, BS, tc->off);
| ^~~~~~~~~~~~~~~~~~~~~
../../../../include/tst_test_macros.h:39:32: note: in definition of macro 'TST_FMT_'
39 | #define TST_FMT_(FMT, _1, ...) FMT, ##__VA_ARGS__
| ^~~
../../../../include/tst_test_macros.h:47:26: note: in expansion of macro 'TST_2_'
47 | TST_FMT_(TST_2_(dummy, ##__VA_ARGS__, SCALL) FMT, __VA_ARGS__), PAR)
| ^~~~~~
../../../../include/tst_test_macros.h:186:25: note: in expansion of macro 'TST_MSGP_'
186 | TST_MSGP_(TFAIL | TTERRNO, " expected %s", \
| ^~~~~~~~~
../../../../include/tst_test_macros.h:202:17: note: in expansion of macro 'TST_EXP_FAIL_SILENT_'
202 | TST_EXP_FAIL_SILENT_(TST_RET >= 0, SCALL, #SCALL, \
| ^~~~~~~~~~~~~~~~~~~~
pwrite02.c:73:9: note: in expansion of macro 'TST_EXP_FAIL2'
73 | TST_EXP_FAIL2(pwrite(*tc->fd, tc->buf, BS, tc->off), tc->exp_errno,
| ^~~~~~~~~~~~~
pwrite02.c:74:35: note: format string is defined here
74 | "pwrite(%d, %d, %ld)", *tc->fd, BS, tc->off);
| ~~^
| |
| long int
| %lld
pwrite02.c:74:17: warning: format '%ld' expects argument of type 'long int', but argument 7 has type 'off_t' {aka 'long long int'} [-Wformat=]
74 | "pwrite(%d, %d, %ld)", *tc->fd, BS, tc->off);
| ^~~~~~~~~~~~~~~~~~~~~
../../../../include/tst_test_macros.h:39:32: note: in definition of macro 'TST_FMT_'
39 | #define TST_FMT_(FMT, _1, ...) FMT, ##__VA_ARGS__
| ^~~
../../../../include/tst_test_macros.h:43:26: note: in expansion of macro 'TST_2_'
43 | TST_FMT_(TST_2_(dummy, ##__VA_ARGS__, SCALL) FMT, __VA_ARGS__))
| ^~~~~~
../../../../include/tst_test_macros.h:205:25: note: in expansion of macro 'TST_MSG_'
205 | TST_MSG_(TPASS | TTERRNO, " ", #SCALL, ##__VA_ARGS__); \
| ^~~~~~~~
pwrite02.c:73:9: note: in expansion of macro 'TST_EXP_FAIL2'
73 | TST_EXP_FAIL2(pwrite(*tc->fd, tc->buf, BS, tc->off), tc->exp_errno,
| ^~~~~~~~~~~~~
pwrite02.c:74:35: note: format string is defined here
74 | "pwrite(%d, %d, %ld)", *tc->fd, BS, tc->off);
| ~~^
| |
| long int
| %lld
In file included from pwrite04.c:22:
pwrite04.c: In function 'verify_pwrite':
../../../../include/tst_test.h:59:55: warning: format '%ld' expects argument of type 'long int', but argument 5 has type '__off_t' {aka 'long long int'} [-Wformat=]
59 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\
| ^~~~~~~~~
pwrite04.c:55:17: note: in expansion of macro 'tst_res'
55 | tst_res(TFAIL, "file size is %ld != K2", statbuf.st_size);
| ^~~~~~~
../../../../include/tst_test.h:59:55: warning: format '%ld' expects argument of type 'long int', but argument 5 has type '__off_t' {aka 'long long int'} [-Wformat=]
59 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\
| ^~~~~~~~~
pwrite04.c:63:17: note: in expansion of macro 'tst_res'
63 | tst_res(TFAIL, "file size is %ld != K3", statbuf.st_size);
| ^~~~~~~
In file included from ../../../../include/tst_test.h:21,
from pwrite02.c:22:
pwrite02.c: In function 'verify_pwrite':
pwrite02.c:74:17: warning: format '%ld' expects argument of type 'long int', but argument 7 has type 'off_t' {aka 'long long int'} [-Wformat=]
74 | "pwrite(%d, %d, %ld)", *tc->fd, BS, tc->off);
| ^~~~~~~~~~~~~~~~~~~~~
../../../../include/tst_test_macros.h:39:32: note: in definition of macro 'TST_FMT_'
39 | #define TST_FMT_(FMT, _1, ...) FMT, ##__VA_ARGS__
| ^~~
../../../../include/tst_test_macros.h:43:26: note: in expansion of macro 'TST_2_'
43 | TST_FMT_(TST_2_(dummy, ##__VA_ARGS__, SCALL) FMT, __VA_ARGS__))
| ^~~~~~
../../../../include/tst_test_macros.h:173:25: note: in expansion of macro 'TST_MSG_'
173 | TST_MSG_(TFAIL, " succeeded", SSCALL, ##__VA_ARGS__); \
| ^~~~~~~~
../../../../include/tst_test_macros.h:202:17: note: in expansion of macro 'TST_EXP_FAIL_SILENT_'
202 | TST_EXP_FAIL_SILENT_(TST_RET >= 0, SCALL, #SCALL, \
| ^~~~~~~~~~~~~~~~~~~~
pwrite02.c:73:9: note: in expansion of macro 'TST_EXP_FAIL2'
73 | TST_EXP_FAIL2(pwrite(*tc->fd, tc->buf, BS, tc->off), tc->exp_errno,
| ^~~~~~~~~~~~~
pwrite02.c:74:35: note: format string is defined here
74 | "pwrite(%d, %d, %ld)", *tc->fd, BS, tc->off);
| ~~^
| |
| long int
| %lld
pwrite02.c:74:17: warning: format '%ld' expects argument of type 'long int', but argument 7 has type 'off_t' {aka 'long long int'} [-Wformat=]
74 | "pwrite(%d, %d, %ld)", *tc->fd, BS, tc->off);
| ^~~~~~~~~~~~~~~~~~~~~
../../../../include/tst_test_macros.h:39:32: note: in definition of macro 'TST_FMT_'
39 | #define TST_FMT_(FMT, _1, ...) FMT, ##__VA_ARGS__
| ^~~
../../../../include/tst_test_macros.h:47:26: note: in expansion of macro 'TST_2_'
47 | TST_FMT_(TST_2_(dummy, ##__VA_ARGS__, SCALL) FMT, __VA_ARGS__), PAR)
| ^~~~~~
../../../../include/tst_test_macros.h:178:25: note: in expansion of macro 'TST_MSGP_'
178 | TST_MSGP_(TFAIL | TTERRNO, " invalid retval %ld", \
| ^~~~~~~~~
../../../../include/tst_test_macros.h:202:17: note: in expansion of macro 'TST_EXP_FAIL_SILENT_'
202 | TST_EXP_FAIL_SILENT_(TST_RET >= 0, SCALL, #SCALL, \
| ^~~~~~~~~~~~~~~~~~~~
pwrite02.c:73:9: note: in expansion of macro 'TST_EXP_FAIL2'
73 | TST_EXP_FAIL2(pwrite(*tc->fd, tc->buf, BS, tc->off), tc->exp_errno,
| ^~~~~~~~~~~~~
pwrite02.c:74:35: note: format string is defined here
74 | "pwrite(%d, %d, %ld)", *tc->fd, BS, tc->off);
| ~~^
| |
| long int
| %lld
pwrite02.c:74:17: warning: format '%ld' expects argument of type 'long int', but argument 7 has type 'off_t' {aka 'long long int'} [-Wformat=]
74 | "pwrite(%d, %d, %ld)", *tc->fd, BS, tc->off);
| ^~~~~~~~~~~~~~~~~~~~~
../../../../include/tst_test_macros.h:39:32: note: in definition of macro 'TST_FMT_'
39 | #define TST_FMT_(FMT, _1, ...) FMT, ##__VA_ARGS__
| ^~~
../../../../include/tst_test_macros.h:47:26: note: in expansion of macro 'TST_2_'
47 | TST_FMT_(TST_2_(dummy, ##__VA_ARGS__, SCALL) FMT, __VA_ARGS__), PAR)
| ^~~~~~
../../../../include/tst_test_macros.h:186:25: note: in expansion of macro 'TST_MSGP_'
186 | TST_MSGP_(TFAIL | TTERRNO, " expected %s", \
| ^~~~~~~~~
../../../../include/tst_test_macros.h:202:17: note: in expansion of macro 'TST_EXP_FAIL_SILENT_'
202 | TST_EXP_FAIL_SILENT_(TST_RET >= 0, SCALL, #SCALL, \
| ^~~~~~~~~~~~~~~~~~~~
pwrite02.c:73:9: note: in expansion of macro 'TST_EXP_FAIL2'
73 | TST_EXP_FAIL2(pwrite(*tc->fd, tc->buf, BS, tc->off), tc->exp_errno,
| ^~~~~~~~~~~~~
pwrite02.c:74:35: note: format string is defined here
74 | "pwrite(%d, %d, %ld)", *tc->fd, BS, tc->off);
| ~~^
| |
| long int
| %lld
pwrite02.c:74:17: warning: format '%ld' expects argument of type 'long int', but argument 7 has type 'off_t' {aka 'long long int'} [-Wformat=]
74 | "pwrite(%d, %d, %ld)", *tc->fd, BS, tc->off);
| ^~~~~~~~~~~~~~~~~~~~~
../../../../include/tst_test_macros.h:39:32: note: in definition of macro 'TST_FMT_'
39 | #define TST_FMT_(FMT, _1, ...) FMT, ##__VA_ARGS__
| ^~~
../../../../include/tst_test_macros.h:43:26: note: in expansion of macro 'TST_2_'
43 | TST_FMT_(TST_2_(dummy, ##__VA_ARGS__, SCALL) FMT, __VA_ARGS__))
| ^~~~~~
../../../../include/tst_test_macros.h:205:25: note: in expansion of macro 'TST_MSG_'
205 | TST_MSG_(TPASS | TTERRNO, " ", #SCALL, ##__VA_ARGS__); \
| ^~~~~~~~
pwrite02.c:73:9: note: in expansion of macro 'TST_EXP_FAIL2'
73 | TST_EXP_FAIL2(pwrite(*tc->fd, tc->buf, BS, tc->off), tc->exp_errno,
| ^~~~~~~~~~~~~
pwrite02.c:74:35: note: format string is defined here
74 | "pwrite(%d, %d, %ld)", *tc->fd, BS, tc->off);
| ~~^
| |
| long int
| %lld
LD testcases/kernel/syscalls/pwrite/pwrite03_64
LD testcases/kernel/syscalls/pwrite/pwrite01_64
LD testcases/kernel/syscalls/pwrite/pwrite04_64
LD testcases/kernel/syscalls/pwrite/pwrite02_64
CC testcases/kernel/syscalls/pwrite/pwrite01
CC testcases/kernel/syscalls/pwrite/pwrite04
CC testcases/kernel/syscalls/pwrite/pwrite03
CC testcases/kernel/syscalls/pwrite/pwrite02
rm pwrite01_64.o pwrite03_64.o pwrite04_64.o pwrite02_64.o
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
CC testcases/kernel/syscalls/pwritev2/pwritev201_64.o
CC testcases/kernel/syscalls/pwritev2/pwritev202_64.o
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
LD testcases/kernel/syscalls/pwritev2/pwritev202_64
LD testcases/kernel/syscalls/pwritev2/pwritev201_64
CC testcases/kernel/syscalls/pwritev2/pwritev202
CC testcases/kernel/syscalls/pwritev2/pwritev201
rm pwritev201_64.o pwritev202_64.o
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
CC testcases/kernel/syscalls/pwritev/pwritev01_64.o
CC testcases/kernel/syscalls/pwritev/pwritev02_64.o
CC testcases/kernel/syscalls/pwritev/pwritev03_64.o
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
LD testcases/kernel/syscalls/pwritev/pwritev01_64
LD testcases/kernel/syscalls/pwritev/pwritev02_64
CC testcases/kernel/syscalls/pwritev/pwritev02
CC testcases/kernel/syscalls/pwritev/pwritev01
LD testcases/kernel/syscalls/pwritev/pwritev03_64
CC testcases/kernel/syscalls/pwritev/pwritev03
rm pwritev01_64.o pwritev02_64.o pwritev03_64.o
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
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;
| ^~
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;
| ^~
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 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;
| ^~
CC testcases/kernel/syscalls/quotactl/quotactl03
CC testcases/kernel/syscalls/quotactl/quotactl07
CC testcases/kernel/syscalls/quotactl/quotactl02
CC testcases/kernel/syscalls/quotactl/quotactl05
CC testcases/kernel/syscalls/quotactl/quotactl01
CC testcases/kernel/syscalls/quotactl/quotactl04
CC testcases/kernel/syscalls/quotactl/quotactl09
CC testcases/kernel/syscalls/quotactl/quotactl08
CC testcases/kernel/syscalls/quotactl/quotactl06
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
In file included from readahead02.c:33:
readahead02.c: In function 'read_testfile':
../../../../include/tst_test.h:59:55: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'off_t' {aka 'long long int'} [-Wformat=]
59 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\
| ^~~~~~~~~
readahead02.c:183:25: note: in expansion of macro 'tst_res'
183 | tst_res(TFAIL, "offset has changed to: %lu", offset);
| ^~~~~~~
CC testcases/kernel/syscalls/readahead/readahead01
CC testcases/kernel/syscalls/readahead/readahead02
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/readdir/readdir01
CC testcases/kernel/syscalls/readdir/readdir21
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/readlinkat/readlinkat02
CC testcases/kernel/syscalls/readlinkat/readlinkat01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/readlink/readlink01
CC testcases/kernel/syscalls/readlink/readlink03
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/read/read03
CC testcases/kernel/syscalls/read/read02
CC testcases/kernel/syscalls/read/read01
CC testcases/kernel/syscalls/read/read04
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/readv/readv02
CC testcases/kernel/syscalls/readv/readv01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/realpath/realpath01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/reboot/reboot01
CC testcases/kernel/syscalls/reboot/reboot02
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
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
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
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
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/recvmmsg/recvmmsg01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
In file included from recvmsg03.c:25:
recvmsg03.c: In function 'server':
../../../../include/tst_test.h:59:55: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'unsigned int' [-Wformat=]
59 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\
| ^~~~~~~~~
recvmsg03.c:121:17: note: in expansion of macro 'tst_res'
121 | tst_res(TFAIL, "msg_namelen was set to %u incorrectly, "
| ^~~~~~~
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
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/remap_file_pages/remap_file_pages01
CC testcases/kernel/syscalls/remap_file_pages/remap_file_pages02
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/removexattr/removexattr01
CC testcases/kernel/syscalls/removexattr/removexattr02
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
renameat202.c: In function 'renameat2_verify':
renameat202.c:126:53: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'long int' [-Wsign-compare]
126 | if (TEST_ERRNO == EINVAL && TST_BTRFS_MAGIC == fs_type) {
| ^~
renameat201.c: In function 'renameat2_verify':
renameat201.c:141:28: warning: comparison of integer expressions of different signedness: 'long int' and 'unsigned int' [-Wsign-compare]
141 | && fs_type == TST_BTRFS_MAGIC) {
| ^~
CC testcases/kernel/syscalls/renameat2/renameat201
CC testcases/kernel/syscalls/renameat2/renameat202
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/renameat/renameat01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
rename04.c: In function 'setup':
rename04.c:148:27: warning: '%s' directive writing up to 254 bytes into a region of size 40 [-Wformat-overflow=]
148 | sprintf(tstfile, "%s/tstfile_%d", mdir, getpid());
| ^~ ~~~~
In file included from TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot/usr/include/stdio.h:906,
from ../../../../include/old/test.h:14,
from rename04.c:66:
In function 'sprintf',
inlined from 'setup' at rename04.c:148:2:
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot/usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 11 and 275 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 ());
| ~~~~~~~~~~~~~~~~~
rename10.c: In function 'setup':
rename10.c:159:27: warning: '/rnfile_' directive writing 8 bytes into a region of size between 1 and 255 [-Wformat-overflow=]
159 | sprintf(mname, "%s/rnfile_%d", mdir, getpid());
| ^~~~~~~~
In file included from TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot/usr/include/stdio.h:906,
from ../../../../include/old/test.h:14,
from rename10.c:67:
In function 'sprintf',
inlined from 'setup' at rename10.c:159:2:
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot/usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 10 and 274 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 ());
| ~~~~~~~~~~~~~~~~~
rename06.c: In function 'setup':
rename06.c:137:26: warning: '/rndir_' directive writing 7 bytes into a region of size between 1 and 255 [-Wformat-overflow=]
137 | sprintf(mdir, "%s/rndir_%d", fdir, getpid());
| ^~~~~~~
In file included from TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot/usr/include/stdio.h:906,
from ../../../../include/old/test.h:14,
from rename06.c:65:
In function 'sprintf',
inlined from 'setup' at rename06.c:137:2:
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot/usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 9 and 273 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/rename/rename02
CC testcases/kernel/syscalls/rename/rename04
CC testcases/kernel/syscalls/rename/rename01
CC testcases/kernel/syscalls/rename/rename08
CC testcases/kernel/syscalls/rename/rename10
CC testcases/kernel/syscalls/rename/rename05
CC testcases/kernel/syscalls/rename/rename06
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/rename07
rename12.c: In function 'setup':
rename12.c:193:27: warning: '/tfile_' directive writing 7 bytes into a region of size between 1 and 255 [-Wformat-overflow=]
193 | sprintf(fname, "%s/tfile_%d", fdir, getpid());
| ^~~~~~~
In file included from TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot/usr/include/stdio.h:906,
from ../../../../include/old/test.h:14,
from rename12.c:75:
In function 'sprintf',
inlined from 'setup' at rename12.c:193:2:
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot/usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 9 and 273 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 ());
| ~~~~~~~~~~~~~~~~~
rename12.c: In function 'setup':
rename12.c:194:27: warning: '/rnfile_' directive writing 8 bytes into a region of size between 1 and 255 [-Wformat-overflow=]
194 | sprintf(mname, "%s/rnfile_%d", fdir, getpid());
| ^~~~~~~~
In function 'sprintf',
inlined from 'setup' at rename12.c:194:2:
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot/usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 10 and 274 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/rename/rename03
CC testcases/kernel/syscalls/rename/rename09
CC testcases/kernel/syscalls/rename/rename11
CC testcases/kernel/syscalls/rename/rename12
CC testcases/kernel/syscalls/rename/rename14
CC testcases/kernel/syscalls/rename/rename13
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/request_key/request_key01
CC testcases/kernel/syscalls/request_key/request_key02
CC testcases/kernel/syscalls/request_key/request_key05
CC testcases/kernel/syscalls/request_key/request_key03
CC testcases/kernel/syscalls/request_key/request_key04
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/rmdir/rmdir01
CC testcases/kernel/syscalls/rmdir/rmdir02
CC testcases/kernel/syscalls/rmdir/rmdir03
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
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)
| ~~~~^~~~~~~~~~~
CC testcases/kernel/syscalls/rt_sigaction/rt_sigaction02
CC testcases/kernel/syscalls/rt_sigaction/rt_sigaction03
CC testcases/kernel/syscalls/rt_sigaction/rt_sigaction01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
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
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/rt_sigqueueinfo/rt_sigqueueinfo01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/rt_sigsuspend/rt_sigsuspend01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
BUILD libltpsigwait.a
make[5]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
rt_sigtimedwait01.c:7:12: warning: 'my_rt_sigtimedwait' defined but not used [-Wunused-function]
7 | static int my_rt_sigtimedwait(const sigset_t * set, siginfo_t * info,
| ^~~~~~~~~~~~~~~~~~
CC testcases/kernel/syscalls/rt_sigtimedwait/rt_sigtimedwait01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/rt_tgsigqueueinfo/rt_tgsigqueueinfo01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/sbrk/sbrk02
CC testcases/kernel/syscalls/sbrk/sbrk01
CC testcases/kernel/syscalls/sbrk/sbrk03
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/sched_getaffinity/sched_getaffinity01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/sched_getattr/sched_getattr01
CC testcases/kernel/syscalls/sched_getattr/sched_getattr02
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/sched_getparam/sched_getparam03
CC testcases/kernel/syscalls/sched_getparam/sched_getparam01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/sched_get_priority_max/sched_get_priority_max02
CC testcases/kernel/syscalls/sched_get_priority_max/sched_get_priority_max01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/sched_get_priority_min/sched_get_priority_min02
CC testcases/kernel/syscalls/sched_get_priority_min/sched_get_priority_min01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/sched_getscheduler/sched_getscheduler01
CC testcases/kernel/syscalls/sched_getscheduler/sched_getscheduler02
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/sched_rr_get_interval/sched_rr_get_interval03
CC testcases/kernel/syscalls/sched_rr_get_interval/sched_rr_get_interval02
CC testcases/kernel/syscalls/sched_rr_get_interval/sched_rr_get_interval01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/sched_setaffinity/sched_setaffinity01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/sched_setattr/sched_setattr01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/sched_setparam/sched_setparam01
CC testcases/kernel/syscalls/sched_setparam/sched_setparam04
CC testcases/kernel/syscalls/sched_setparam/sched_setparam05
CC testcases/kernel/syscalls/sched_setparam/sched_setparam03
CC testcases/kernel/syscalls/sched_setparam/sched_setparam02
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/sched_setscheduler/sched_setscheduler02
CC testcases/kernel/syscalls/sched_setscheduler/sched_setscheduler01
CC testcases/kernel/syscalls/sched_setscheduler/sched_setscheduler03
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/sched_yield/sched_yield01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
In file included from ../../../../include/tst_test.h:98,
from ../../../../include/tst_timer.h:19,
from select_var.h:8,
from select01.c:19:
../../../../include/tst_safe_macros.h: 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))
| ^~~~~~~~~~
In file included from ../../../../include/tst_safe_macros.h:24:
../../../../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/select02
CC testcases/kernel/syscalls/select/select04
CC testcases/kernel/syscalls/select/select01
CC testcases/kernel/syscalls/select/select03
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
CC testcases/kernel/syscalls/sendfile/sendfile02_64.o
CC testcases/kernel/syscalls/sendfile/sendfile03_64.o
CC testcases/kernel/syscalls/sendfile/sendfile04_64.o
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
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
In file included from ../../../../include/tst_test.h:21,
from sendfile05.c:20:
sendfile05.c: In function 'run':
sendfile05.c:42:22: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'off_t' {aka 'long long int'} [-Wformat=]
42 | "sendfile(out, in, &offset, ..) with offset=%ld", offset);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../../include/tst_test_macros.h:39:32: note: in definition of macro 'TST_FMT_'
39 | #define TST_FMT_(FMT, _1, ...) FMT, ##__VA_ARGS__
| ^~~
../../../../include/tst_test_macros.h:43:26: note: in expansion of macro 'TST_2_'
43 | TST_FMT_(TST_2_(dummy, ##__VA_ARGS__, SCALL) FMT, __VA_ARGS__))
| ^~~~~~
../../../../include/tst_test_macros.h:173:25: note: in expansion of macro 'TST_MSG_'
173 | TST_MSG_(TFAIL, " succeeded", SSCALL, ##__VA_ARGS__); \
| ^~~~~~~~
../../../../include/tst_test_macros.h:194:17: note: in expansion of macro 'TST_EXP_FAIL_SILENT_'
194 | TST_EXP_FAIL_SILENT_(TST_RET == 0, SCALL, #SCALL, \
| ^~~~~~~~~~~~~~~~~~~~
sendfile05.c:41:9: note: in expansion of macro 'TST_EXP_FAIL'
41 | TST_EXP_FAIL(sendfile(out_fd, in_fd, &offset, 1), EINVAL,
| ^~~~~~~~~~~~
sendfile05.c:42:68: note: format string is defined here
42 | "sendfile(out, in, &offset, ..) with offset=%ld", offset);
| ~~^
| |
| long int
| %lld
sendfile05.c:42:22: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'off_t' {aka 'long long int'} [-Wformat=]
42 | "sendfile(out, in, &offset, ..) with offset=%ld", offset);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../../include/tst_test_macros.h:39:32: note: in definition of macro 'TST_FMT_'
39 | #define TST_FMT_(FMT, _1, ...) FMT, ##__VA_ARGS__
| ^~~
../../../../include/tst_test_macros.h:47:26: note: in expansion of macro 'TST_2_'
47 | TST_FMT_(TST_2_(dummy, ##__VA_ARGS__, SCALL) FMT, __VA_ARGS__), PAR)
| ^~~~~~
../../../../include/tst_test_macros.h:178:25: note: in expansion of macro 'TST_MSGP_'
178 | TST_MSGP_(TFAIL | TTERRNO, " invalid retval %ld", \
| ^~~~~~~~~
../../../../include/tst_test_macros.h:194:17: note: in expansion of macro 'TST_EXP_FAIL_SILENT_'
194 | TST_EXP_FAIL_SILENT_(TST_RET == 0, SCALL, #SCALL, \
| ^~~~~~~~~~~~~~~~~~~~
sendfile05.c:41:9: note: in expansion of macro 'TST_EXP_FAIL'
41 | TST_EXP_FAIL(sendfile(out_fd, in_fd, &offset, 1), EINVAL,
| ^~~~~~~~~~~~
sendfile05.c:42:68: note: format string is defined here
42 | "sendfile(out, in, &offset, ..) with offset=%ld", offset);
| ~~^
| |
| long int
| %lld
sendfile05.c:42:22: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'off_t' {aka 'long long int'} [-Wformat=]
42 | "sendfile(out, in, &offset, ..) with offset=%ld", offset);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../../include/tst_test_macros.h:39:32: note: in definition of macro 'TST_FMT_'
39 | #define TST_FMT_(FMT, _1, ...) FMT, ##__VA_ARGS__
| ^~~
../../../../include/tst_test_macros.h:47:26: note: in expansion of macro 'TST_2_'
47 | TST_FMT_(TST_2_(dummy, ##__VA_ARGS__, SCALL) FMT, __VA_ARGS__), PAR)
| ^~~~~~
../../../../include/tst_test_macros.h:186:25: note: in expansion of macro 'TST_MSGP_'
186 | TST_MSGP_(TFAIL | TTERRNO, " expected %s", \
| ^~~~~~~~~
../../../../include/tst_test_macros.h:194:17: note: in expansion of macro 'TST_EXP_FAIL_SILENT_'
194 | TST_EXP_FAIL_SILENT_(TST_RET == 0, SCALL, #SCALL, \
| ^~~~~~~~~~~~~~~~~~~~
sendfile05.c:41:9: note: in expansion of macro 'TST_EXP_FAIL'
41 | TST_EXP_FAIL(sendfile(out_fd, in_fd, &offset, 1), EINVAL,
| ^~~~~~~~~~~~
sendfile05.c:42:68: note: format string is defined here
42 | "sendfile(out, in, &offset, ..) with offset=%ld", offset);
| ~~^
| |
| long int
| %lld
sendfile05.c:42:22: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'off_t' {aka 'long long int'} [-Wformat=]
42 | "sendfile(out, in, &offset, ..) with offset=%ld", offset);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../../include/tst_test_macros.h:39:32: note: in definition of macro 'TST_FMT_'
39 | #define TST_FMT_(FMT, _1, ...) FMT, ##__VA_ARGS__
| ^~~
../../../../include/tst_test_macros.h:43:26: note: in expansion of macro 'TST_2_'
43 | TST_FMT_(TST_2_(dummy, ##__VA_ARGS__, SCALL) FMT, __VA_ARGS__))
| ^~~~~~
../../../../include/tst_test_macros.h:197:25: note: in expansion of macro 'TST_MSG_'
197 | TST_MSG_(TPASS | TTERRNO, " ", #SCALL, ##__VA_ARGS__); \
| ^~~~~~~~
sendfile05.c:41:9: note: in expansion of macro 'TST_EXP_FAIL'
41 | TST_EXP_FAIL(sendfile(out_fd, in_fd, &offset, 1), EINVAL,
| ^~~~~~~~~~~~
sendfile05.c:42:68: note: format string is defined here
42 | "sendfile(out, in, &offset, ..) with offset=%ld", offset);
| ~~^
| |
| long int
| %lld
In file included from ../../../../include/tst_test.h:21,
from sendfile05.c:20:
sendfile05.c: In function 'run':
sendfile05.c:42:22: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'off_t' {aka 'long long int'} [-Wformat=]
42 | "sendfile(out, in, &offset, ..) with offset=%ld", offset);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../../include/tst_test_macros.h:39:32: note: in definition of macro 'TST_FMT_'
39 | #define TST_FMT_(FMT, _1, ...) FMT, ##__VA_ARGS__
| ^~~
../../../../include/tst_test_macros.h:43:26: note: in expansion of macro 'TST_2_'
43 | TST_FMT_(TST_2_(dummy, ##__VA_ARGS__, SCALL) FMT, __VA_ARGS__))
| ^~~~~~
../../../../include/tst_test_macros.h:173:25: note: in expansion of macro 'TST_MSG_'
173 | TST_MSG_(TFAIL, " succeeded", SSCALL, ##__VA_ARGS__); \
| ^~~~~~~~
../../../../include/tst_test_macros.h:194:17: note: in expansion of macro 'TST_EXP_FAIL_SILENT_'
194 | TST_EXP_FAIL_SILENT_(TST_RET == 0, SCALL, #SCALL, \
| ^~~~~~~~~~~~~~~~~~~~
sendfile05.c:41:9: note: in expansion of macro 'TST_EXP_FAIL'
41 | TST_EXP_FAIL(sendfile(out_fd, in_fd, &offset, 1), EINVAL,
| ^~~~~~~~~~~~
sendfile05.c:42:68: note: format string is defined here
42 | "sendfile(out, in, &offset, ..) with offset=%ld", offset);
| ~~^
| |
| long int
| %lld
sendfile05.c:42:22: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'off_t' {aka 'long long int'} [-Wformat=]
42 | "sendfile(out, in, &offset, ..) with offset=%ld", offset);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../../include/tst_test_macros.h:39:32: note: in definition of macro 'TST_FMT_'
39 | #define TST_FMT_(FMT, _1, ...) FMT, ##__VA_ARGS__
| ^~~
../../../../include/tst_test_macros.h:47:26: note: in expansion of macro 'TST_2_'
47 | TST_FMT_(TST_2_(dummy, ##__VA_ARGS__, SCALL) FMT, __VA_ARGS__), PAR)
| ^~~~~~
../../../../include/tst_test_macros.h:178:25: note: in expansion of macro 'TST_MSGP_'
178 | TST_MSGP_(TFAIL | TTERRNO, " invalid retval %ld", \
| ^~~~~~~~~
../../../../include/tst_test_macros.h:194:17: note: in expansion of macro 'TST_EXP_FAIL_SILENT_'
194 | TST_EXP_FAIL_SILENT_(TST_RET == 0, SCALL, #SCALL, \
| ^~~~~~~~~~~~~~~~~~~~
sendfile05.c:41:9: note: in expansion of macro 'TST_EXP_FAIL'
41 | TST_EXP_FAIL(sendfile(out_fd, in_fd, &offset, 1), EINVAL,
| ^~~~~~~~~~~~
sendfile05.c:42:68: note: format string is defined here
42 | "sendfile(out, in, &offset, ..) with offset=%ld", offset);
| ~~^
| |
| long int
| %lld
sendfile05.c:42:22: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'off_t' {aka 'long long int'} [-Wformat=]
42 | "sendfile(out, in, &offset, ..) with offset=%ld", offset);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../../include/tst_test_macros.h:39:32: note: in definition of macro 'TST_FMT_'
39 | #define TST_FMT_(FMT, _1, ...) FMT, ##__VA_ARGS__
| ^~~
../../../../include/tst_test_macros.h:47:26: note: in expansion of macro 'TST_2_'
47 | TST_FMT_(TST_2_(dummy, ##__VA_ARGS__, SCALL) FMT, __VA_ARGS__), PAR)
| ^~~~~~
../../../../include/tst_test_macros.h:186:25: note: in expansion of macro 'TST_MSGP_'
186 | TST_MSGP_(TFAIL | TTERRNO, " expected %s", \
| ^~~~~~~~~
../../../../include/tst_test_macros.h:194:17: note: in expansion of macro 'TST_EXP_FAIL_SILENT_'
194 | TST_EXP_FAIL_SILENT_(TST_RET == 0, SCALL, #SCALL, \
| ^~~~~~~~~~~~~~~~~~~~
sendfile05.c:41:9: note: in expansion of macro 'TST_EXP_FAIL'
41 | TST_EXP_FAIL(sendfile(out_fd, in_fd, &offset, 1), EINVAL,
| ^~~~~~~~~~~~
sendfile05.c:42:68: note: format string is defined here
42 | "sendfile(out, in, &offset, ..) with offset=%ld", offset);
| ~~^
| |
| long int
| %lld
sendfile05.c:42:22: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'off_t' {aka 'long long int'} [-Wformat=]
42 | "sendfile(out, in, &offset, ..) with offset=%ld", offset);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../../include/tst_test_macros.h:39:32: note: in definition of macro 'TST_FMT_'
39 | #define TST_FMT_(FMT, _1, ...) FMT, ##__VA_ARGS__
| ^~~
../../../../include/tst_test_macros.h:43:26: note: in expansion of macro 'TST_2_'
43 | TST_FMT_(TST_2_(dummy, ##__VA_ARGS__, SCALL) FMT, __VA_ARGS__))
| ^~~~~~
../../../../include/tst_test_macros.h:197:25: note: in expansion of macro 'TST_MSG_'
197 | TST_MSG_(TPASS | TTERRNO, " ", #SCALL, ##__VA_ARGS__); \
| ^~~~~~~~
sendfile05.c:41:9: note: in expansion of macro 'TST_EXP_FAIL'
41 | TST_EXP_FAIL(sendfile(out_fd, in_fd, &offset, 1), EINVAL,
| ^~~~~~~~~~~~
sendfile05.c:42:68: note: format string is defined here
42 | "sendfile(out, in, &offset, ..) with offset=%ld", offset);
| ~~^
| |
| long int
| %lld
LD testcases/kernel/syscalls/sendfile/sendfile03_64
LD testcases/kernel/syscalls/sendfile/sendfile05_64
CC testcases/kernel/syscalls/sendfile/sendfile04
LD testcases/kernel/syscalls/sendfile/sendfile06_64
CC testcases/kernel/syscalls/sendfile/sendfile03
CC testcases/kernel/syscalls/sendfile/sendfile02
CC testcases/kernel/syscalls/sendfile/sendfile07
CC testcases/kernel/syscalls/sendfile/sendfile09
CC testcases/kernel/syscalls/sendfile/sendfile05
LD testcases/kernel/syscalls/sendfile/sendfile07_64
CC testcases/kernel/syscalls/sendfile/sendfile08
LD testcases/kernel/syscalls/sendfile/sendfile09_64
LD testcases/kernel/syscalls/sendfile/sendfile08_64
CC testcases/kernel/syscalls/sendfile/sendfile06
LD testcases/kernel/syscalls/sendfile/sendfile02_64
LD testcases/kernel/syscalls/sendfile/sendfile04_64
rm sendfile08_64.o sendfile05_64.o sendfile07_64.o sendfile04_64.o sendfile06_64.o sendfile03_64.o sendfile02_64.o sendfile09_64.o
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/send/send02
CC testcases/kernel/syscalls/send/send01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/sendmmsg/sendmmsg02
CC testcases/kernel/syscalls/sendmmsg/sendmmsg01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
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
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/sendto/sendto02
CC testcases/kernel/syscalls/sendto/sendto03
CC testcases/kernel/syscalls/sendto/sendto01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/setdomainname/setdomainname01
CC testcases/kernel/syscalls/setdomainname/setdomainname03
CC testcases/kernel/syscalls/setdomainname/setdomainname02
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/setegid/setegid02
CC testcases/kernel/syscalls/setegid/setegid01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
CC testcases/kernel/syscalls/setfsgid/setfsgid01_16.o
CC testcases/kernel/syscalls/setfsgid/setfsgid02_16.o
CC testcases/kernel/syscalls/setfsgid/setfsgid03_16.o
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
setfsgid01.c: In function 'main':
setfsgid01.c:63:33: warning: comparison of integer expressions of different signedness: 'long int' and 'gid_t' {aka 'unsigned int'} [-Wsign-compare]
63 | if (TEST_RETURN != gid) {
| ^~
setfsgid03.c: In function 'main':
setfsgid03.c:72:33: warning: comparison of integer expressions of different signedness: 'long int' and 'gid_t' {aka 'unsigned int'} [-Wsign-compare]
72 | if (TEST_RETURN == gid) {
| ^~
setfsgid01.c: In function 'main':
setfsgid01.c:63:33: warning: comparison of integer expressions of different signedness: 'long int' and 'gid_t' {aka 'unsigned int'} [-Wsign-compare]
63 | if (TEST_RETURN != gid) {
| ^~
setfsgid03.c: In function 'main':
setfsgid03.c:72:33: warning: comparison of integer expressions of different signedness: 'long int' and 'gid_t' {aka 'unsigned int'} [-Wsign-compare]
72 | if (TEST_RETURN == gid) {
| ^~
CC testcases/kernel/syscalls/setfsgid/setfsgid01.o
CC testcases/kernel/syscalls/setfsgid/setfsgid03.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 setfsgid03.o setfsgid01_16.o setfsgid02_16.o setfsgid03_16.o setfsgid02.o
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
CC testcases/kernel/syscalls/setfsuid/setfsuid01_16.o
CC testcases/kernel/syscalls/setfsuid/setfsuid02_16.o
CC testcases/kernel/syscalls/setfsuid/setfsuid03_16.o
CC testcases/kernel/syscalls/setfsuid/setfsuid04_16.o
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
setfsuid03.c: In function 'main':
setfsuid03.c:72:33: warning: comparison of integer expressions of different signedness: 'long int' and 'uid_t' {aka 'unsigned int'} [-Wsign-compare]
72 | if (TEST_RETURN == uid) {
| ^~
setfsuid02.c: In function 'main':
setfsuid02.c:69:33: warning: comparison of integer expressions of different signedness: 'long int' and 'uid_t' {aka 'unsigned int'} [-Wsign-compare]
69 | if (TEST_RETURN == uid) {
| ^~
setfsuid02.c: In function 'main':
setfsuid02.c:69:33: warning: comparison of integer expressions of different signedness: 'long int' and 'uid_t' {aka 'unsigned int'} [-Wsign-compare]
69 | if (TEST_RETURN == uid) {
| ^~
setfsuid01.c: In function 'main':
setfsuid01.c:64:33: warning: comparison of integer expressions of different signedness: 'long int' and 'uid_t' {aka 'unsigned int'} [-Wsign-compare]
64 | if (TEST_RETURN != uid) {
| ^~
CC testcases/kernel/syscalls/setfsuid/setfsuid02.o
CC testcases/kernel/syscalls/setfsuid/setfsuid03.o
setfsuid01.c: In function 'main':
setfsuid01.c:64:33: warning: comparison of integer expressions of different signedness: 'long int' and 'uid_t' {aka 'unsigned int'} [-Wsign-compare]
64 | if (TEST_RETURN != uid) {
| ^~
setfsuid03.c: In function 'main':
setfsuid03.c:72:33: warning: comparison of integer expressions of different signedness: 'long int' and 'uid_t' {aka 'unsigned int'} [-Wsign-compare]
72 | if (TEST_RETURN == uid) {
| ^~
CC testcases/kernel/syscalls/setfsuid/setfsuid01.o
CC testcases/kernel/syscalls/setfsuid/setfsuid04.o
LD testcases/kernel/syscalls/setfsuid/setfsuid03
LD testcases/kernel/syscalls/setfsuid/setfsuid02
LD testcases/kernel/syscalls/setfsuid/setfsuid02_16
LD testcases/kernel/syscalls/setfsuid/setfsuid01
LD testcases/kernel/syscalls/setfsuid/setfsuid04
LD testcases/kernel/syscalls/setfsuid/setfsuid04_16
LD testcases/kernel/syscalls/setfsuid/setfsuid01_16
LD testcases/kernel/syscalls/setfsuid/setfsuid03_16
rm setfsuid04_16.o setfsuid01_16.o setfsuid03.o setfsuid04.o setfsuid03_16.o setfsuid02_16.o setfsuid02.o setfsuid01.o
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
CC testcases/kernel/syscalls/setgid/setgid01_16.o
CC testcases/kernel/syscalls/setgid/setgid02_16.o
CC testcases/kernel/syscalls/setgid/setgid03_16.o
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/setgid/setgid01.o
CC testcases/kernel/syscalls/setgid/setgid03.o
CC testcases/kernel/syscalls/setgid/setgid02.o
LD testcases/kernel/syscalls/setgid/setgid01
LD testcases/kernel/syscalls/setgid/setgid03_16
LD testcases/kernel/syscalls/setgid/setgid03
LD testcases/kernel/syscalls/setgid/setgid02_16
LD testcases/kernel/syscalls/setgid/setgid02
LD testcases/kernel/syscalls/setgid/setgid01_16
rm setgid01.o setgid02_16.o setgid02.o setgid03_16.o setgid01_16.o setgid03.o
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
CC testcases/kernel/syscalls/setgroups/setgroups01_16.o
CC testcases/kernel/syscalls/setgroups/setgroups02_16.o
CC testcases/kernel/syscalls/setgroups/setgroups03_16.o
CC testcases/kernel/syscalls/setgroups/setgroups04_16.o
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/setgroups/setgroups01.o
CC testcases/kernel/syscalls/setgroups/setgroups04.o
CC testcases/kernel/syscalls/setgroups/setgroups02.o
CC testcases/kernel/syscalls/setgroups/setgroups03.o
LD testcases/kernel/syscalls/setgroups/setgroups01
LD testcases/kernel/syscalls/setgroups/setgroups04
LD testcases/kernel/syscalls/setgroups/setgroups02
LD testcases/kernel/syscalls/setgroups/setgroups03_16
LD testcases/kernel/syscalls/setgroups/setgroups03
LD testcases/kernel/syscalls/setgroups/setgroups01_16
LD testcases/kernel/syscalls/setgroups/setgroups02_16
LD testcases/kernel/syscalls/setgroups/setgroups04_16
rm setgroups02.o setgroups03.o setgroups01.o setgroups02_16.o setgroups04_16.o setgroups03_16.o setgroups01_16.o setgroups04.o
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
riscv32-yoe-linux-gcc -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0=/usr/src/debug/ltp/20220527-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0=/usr/src/debug/ltp/20220527-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot-native= -Wl,-z,relro,-z,now -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0=/usr/src/debug/ltp/20220527-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0=/usr/src/debug/ltp/20220527-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot-native= -g -O2 -fno-strict-aliasing -pipe -Wall -W -Wold-style-definition -DTEST_SETHOSTNAME -I../../../../include -I../../../../include -I../../../../include/old/ -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0=/usr/src/debug/ltp/20220527-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0=/usr/src/debug/ltp/20220527-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot-native= -Wl,-z,relro,-z,now -L../../../../lib TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/testcases/kernel/syscalls/sethostname/../setdomainname/setdomainname01.c -lltp -o sethostname01
riscv32-yoe-linux-gcc -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0=/usr/src/debug/ltp/20220527-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0=/usr/src/debug/ltp/20220527-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot-native= -Wl,-z,relro,-z,now -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0=/usr/src/debug/ltp/20220527-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0=/usr/src/debug/ltp/20220527-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot-native= -g -O2 -fno-strict-aliasing -pipe -Wall -W -Wold-style-definition -DTEST_SETHOSTNAME -I../../../../include -I../../../../include -I../../../../include/old/ -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0=/usr/src/debug/ltp/20220527-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0=/usr/src/debug/ltp/20220527-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot-native= -Wl,-z,relro,-z,now -L../../../../lib TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/testcases/kernel/syscalls/sethostname/../setdomainname/setdomainname02.c -lltp -o sethostname02
riscv32-yoe-linux-gcc -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0=/usr/src/debug/ltp/20220527-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0=/usr/src/debug/ltp/20220527-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot-native= -Wl,-z,relro,-z,now -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0=/usr/src/debug/ltp/20220527-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0=/usr/src/debug/ltp/20220527-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot-native= -g -O2 -fno-strict-aliasing -pipe -Wall -W -Wold-style-definition -DTEST_SETHOSTNAME -I../../../../include -I../../../../include -I../../../../include/old/ -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0=/usr/src/debug/ltp/20220527-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0=/usr/src/debug/ltp/20220527-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot-native= -Wl,-z,relro,-z,now -L../../../../lib TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/testcases/kernel/syscalls/sethostname/../setdomainname/setdomainname03.c -lltp -o sethostname03
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/setitimer/setitimer03
CC testcases/kernel/syscalls/setitimer/setitimer01
CC testcases/kernel/syscalls/setitimer/setitimer02
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
BUILD libltpnuma.a
make[5]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
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_mempolicy01
CC testcases/kernel/syscalls/set_mempolicy/set_mempolicy03
CC testcases/kernel/syscalls/set_mempolicy/set_mempolicy02
CC testcases/kernel/syscalls/set_mempolicy/set_mempolicy05
CC testcases/kernel/syscalls/set_mempolicy/set_mempolicy04
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/setns/setns01
CC testcases/kernel/syscalls/setns/setns02
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/setpgid/setpgid03_child
CC testcases/kernel/syscalls/setpgid/setpgid02
CC testcases/kernel/syscalls/setpgid/setpgid03
CC testcases/kernel/syscalls/setpgid/setpgid01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/setpgrp/setpgrp01
CC testcases/kernel/syscalls/setpgrp/setpgrp02
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/setpriority/setpriority02
CC testcases/kernel/syscalls/setpriority/setpriority01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
CC testcases/kernel/syscalls/setregid/setregid01_16.o
CC testcases/kernel/syscalls/setregid/setregid02_16.o
CC testcases/kernel/syscalls/setregid/setregid03_16.o
CC testcases/kernel/syscalls/setregid/setregid04_16.o
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/setregid/setregid04.o
CC testcases/kernel/syscalls/setregid/setregid01.o
CC testcases/kernel/syscalls/setregid/setregid02.o
CC testcases/kernel/syscalls/setregid/setregid03.o
LD testcases/kernel/syscalls/setregid/setregid01
LD testcases/kernel/syscalls/setregid/setregid04
LD testcases/kernel/syscalls/setregid/setregid04_16
LD testcases/kernel/syscalls/setregid/setregid02
LD testcases/kernel/syscalls/setregid/setregid03
LD testcases/kernel/syscalls/setregid/setregid03_16
LD testcases/kernel/syscalls/setregid/setregid01_16
LD testcases/kernel/syscalls/setregid/setregid02_16
rm setregid02_16.o setregid03_16.o setregid01.o setregid03.o setregid04_16.o setregid04.o setregid01_16.o setregid02.o
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
CC testcases/kernel/syscalls/setresgid/setresgid02_16.o
CC testcases/kernel/syscalls/setresgid/setresgid01_16.o
CC testcases/kernel/syscalls/setresgid/setresgid04_16.o
CC testcases/kernel/syscalls/setresgid/setresgid03_16.o
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/setresgid/setresgid03.o
CC testcases/kernel/syscalls/setresgid/setresgid04.o
CC testcases/kernel/syscalls/setresgid/setresgid01.o
CC testcases/kernel/syscalls/setresgid/setresgid02.o
LD testcases/kernel/syscalls/setresgid/setresgid03
LD testcases/kernel/syscalls/setresgid/setresgid02_16
LD testcases/kernel/syscalls/setresgid/setresgid03_16
LD testcases/kernel/syscalls/setresgid/setresgid04
LD testcases/kernel/syscalls/setresgid/setresgid01_16
LD testcases/kernel/syscalls/setresgid/setresgid04_16
LD testcases/kernel/syscalls/setresgid/setresgid02
LD testcases/kernel/syscalls/setresgid/setresgid01
rm setresgid02.o setresgid02_16.o setresgid04_16.o setresgid03.o setresgid01_16.o setresgid01.o setresgid04.o setresgid03_16.o
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
CC testcases/kernel/syscalls/setresuid/setresuid01_16.o
CC testcases/kernel/syscalls/setresuid/setresuid02_16.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
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/setresuid/setresuid03.o
CC testcases/kernel/syscalls/setresuid/setresuid01.o
CC testcases/kernel/syscalls/setresuid/setresuid02.o
CC testcases/kernel/syscalls/setresuid/setresuid04.o
CC testcases/kernel/syscalls/setresuid/setresuid05.o
LD testcases/kernel/syscalls/setresuid/setresuid03
LD testcases/kernel/syscalls/setresuid/setresuid02
LD testcases/kernel/syscalls/setresuid/setresuid01
LD testcases/kernel/syscalls/setresuid/setresuid02_16
LD testcases/kernel/syscalls/setresuid/setresuid05_16
LD testcases/kernel/syscalls/setresuid/setresuid04
LD testcases/kernel/syscalls/setresuid/setresuid04_16
LD testcases/kernel/syscalls/setresuid/setresuid05
LD testcases/kernel/syscalls/setresuid/setresuid01_16
LD testcases/kernel/syscalls/setresuid/setresuid03_16
rm setresuid02_16.o setresuid04.o setresuid03_16.o setresuid05_16.o setresuid05.o setresuid03.o setresuid02.o setresuid04_16.o setresuid01_16.o setresuid01.o
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
CC testcases/kernel/syscalls/setreuid/setreuid01_16.o
CC testcases/kernel/syscalls/setreuid/setreuid02_16.o
CC testcases/kernel/syscalls/setreuid/setreuid03_16.o
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/setreuid/setreuid04_16.o
CC testcases/kernel/syscalls/setreuid/setreuid04.o
CC testcases/kernel/syscalls/setreuid/setreuid02.o
CC testcases/kernel/syscalls/setreuid/setreuid06.o
CC testcases/kernel/syscalls/setreuid/setreuid05_16.o
CC testcases/kernel/syscalls/setreuid/setreuid03.o
CC testcases/kernel/syscalls/setreuid/setreuid06_16.o
CC testcases/kernel/syscalls/setreuid/setreuid07_16.o
CC testcases/kernel/syscalls/setreuid/setreuid01.o
CC testcases/kernel/syscalls/setreuid/setreuid05.o
CC testcases/kernel/syscalls/setreuid/setreuid07.o
LD testcases/kernel/syscalls/setreuid/setreuid02
LD testcases/kernel/syscalls/setreuid/setreuid06
LD testcases/kernel/syscalls/setreuid/setreuid01_16
LD testcases/kernel/syscalls/setreuid/setreuid02_16
LD testcases/kernel/syscalls/setreuid/setreuid01
LD testcases/kernel/syscalls/setreuid/setreuid03
LD testcases/kernel/syscalls/setreuid/setreuid04
LD testcases/kernel/syscalls/setreuid/setreuid05
LD testcases/kernel/syscalls/setreuid/setreuid07
LD testcases/kernel/syscalls/setreuid/setreuid04_16
LD testcases/kernel/syscalls/setreuid/setreuid03_16
LD testcases/kernel/syscalls/setreuid/setreuid06_16
LD testcases/kernel/syscalls/setreuid/setreuid07_16
LD testcases/kernel/syscalls/setreuid/setreuid05_16
rm setreuid03_16.o setreuid01.o setreuid06_16.o setreuid03.o setreuid04.o setreuid07.o setreuid06.o setreuid02_16.o setreuid01_16.o setreuid05_16.o setreuid05.o setreuid02.o setreuid04_16.o setreuid07_16.o
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
In file included from TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot/usr/include/string.h:535,
from ../../../../include/old/test.h:17,
from setrlimit01.c:38:
In function 'strcpy',
inlined from 'test4' at setrlimit01.c:260:3,
inlined from 'main' at setrlimit01.c:77:3:
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot/usr/include/bits/string_fortified.h:79:10: warning: argument 1 null where non-null expected [-Wnonnull]
79 | return __builtin___strcpy_chk (__dest, __src, __glibc_objsize (__dest));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot/usr/include/bits/string_fortified.h:79:10: note: in a call to built-in function '__builtin_memcpy'
CC testcases/kernel/syscalls/setrlimit/setrlimit03
CC testcases/kernel/syscalls/setrlimit/setrlimit04
CC testcases/kernel/syscalls/setrlimit/setrlimit02
CC testcases/kernel/syscalls/setrlimit/setrlimit05
CC testcases/kernel/syscalls/setrlimit/setrlimit06
CC testcases/kernel/syscalls/setrlimit/setrlimit01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/set_robust_list/set_robust_list01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/setsid/setsid01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/setsockopt/setsockopt01
CC testcases/kernel/syscalls/setsockopt/setsockopt08
CC testcases/kernel/syscalls/setsockopt/setsockopt04
CC testcases/kernel/syscalls/setsockopt/setsockopt03
CC testcases/kernel/syscalls/setsockopt/setsockopt05
CC testcases/kernel/syscalls/setsockopt/setsockopt02
CC testcases/kernel/syscalls/setsockopt/setsockopt09
CC testcases/kernel/syscalls/setsockopt/setsockopt06
CC testcases/kernel/syscalls/setsockopt/setsockopt07
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/set_thread_area/set_thread_area01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/set_tid_address/set_tid_address01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/settimeofday/settimeofday01
CC testcases/kernel/syscalls/settimeofday/settimeofday02
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
CC testcases/kernel/syscalls/setuid/setuid03_16.o
CC testcases/kernel/syscalls/setuid/setuid01_16.o
CC testcases/kernel/syscalls/setuid/setuid04_16.o
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/setuid/setuid04.o
CC testcases/kernel/syscalls/setuid/setuid01.o
CC testcases/kernel/syscalls/setuid/setuid03.o
LD testcases/kernel/syscalls/setuid/setuid04
LD testcases/kernel/syscalls/setuid/setuid01_16
LD testcases/kernel/syscalls/setuid/setuid03_16
LD testcases/kernel/syscalls/setuid/setuid04_16
LD testcases/kernel/syscalls/setuid/setuid01
LD testcases/kernel/syscalls/setuid/setuid03
rm setuid01.o setuid04_16.o setuid04.o setuid03.o setuid01_16.o setuid03_16.o
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/setxattr/setxattr02
CC testcases/kernel/syscalls/setxattr/setxattr01
CC testcases/kernel/syscalls/setxattr/setxattr03
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/sgetmask/sgetmask01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
sigaction02.c:53: warning: "_GNU_SOURCE" redefined
53 | #define _GNU_SOURCE
|
<command-line>: 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
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
sigaltstack01.c: In function 'sig_handler':
sigaltstack01.c:223:14: warning: storing the address of local variable 'i' in 'addr' [-Wdangling-pointer=]
223 | addr = &i;
| ~~~~~^~~~
sigaltstack01.c:220:13: note: 'i' declared here
220 | int i;
| ^
sigaltstack01.c:83:7: note: 'addr' declared here
83 | void *addr, *main_stk; /* address of main stack for signal */
| ^~~~
CC testcases/kernel/syscalls/sigaltstack/sigaltstack02
CC testcases/kernel/syscalls/sigaltstack/sigaltstack01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
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:
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot/usr/include/signal.h:355:12: note: declared here
355 | extern int sighold (int __sig) __THROW
| ^~~~~~~
CC testcases/kernel/syscalls/sighold/sighold02
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/signalfd4/signalfd4_02
CC testcases/kernel/syscalls/signalfd4/signalfd4_01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
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
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/signal/signal06
CC testcases/kernel/syscalls/signal/signal05
CC testcases/kernel/syscalls/signal/signal04
CC testcases/kernel/syscalls/signal/signal02
CC testcases/kernel/syscalls/signal/signal03
CC testcases/kernel/syscalls/signal/signal01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/sigpending/sigpending02
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
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
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
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:
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot/usr/include/unistd.h: In function 'parent':
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-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
| ^~~~~
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) {
| ^~~~~~~~~~~~~~~~~~~~~~~
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot/usr/include/unistd.h: In function 'parent':
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-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
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/sigsuspend/sigsuspend01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
BUILD libltpsigwait.a
make[5]: 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/syscalls/sigtimedwait/sigtimedwait01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
BUILD libltpsigwait.a
make[5]: 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/syscalls/sigwaitinfo/sigwaitinfo01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
BUILD libltpsigwait.a
make[5]: 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/syscalls/sigwait/sigwait01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/socketcall/socketcall01
CC testcases/kernel/syscalls/socketcall/socketcall02
CC testcases/kernel/syscalls/socketcall/socketcall03
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/socket/socket02
CC testcases/kernel/syscalls/socket/socket01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/socketpair/socketpair01
CC testcases/kernel/syscalls/socketpair/socketpair02
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/sockioctl/sockioctl01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
In file included from splice02.c:31:
splice02.c: In function 'do_child':
../../../../include/tst_test.h:59:55: warning: format '%ld' expects argument of type 'long int', but argument 5 has type '__off_t' {aka 'long long int'} [-Wformat=]
59 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\
| ^~~~~~~~~
splice02.c:77:17: note: in expansion of macro 'tst_res'
77 | tst_res(TFAIL, "file size is different from expected: %ld (%d)",
| ^~~~~~~
../../../../include/tst_test.h:59:55: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'size_t' {aka 'unsigned int'} [-Wformat=]
59 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\
| ^~~~~~~~~
splice02.c:107:17: note: in expansion of macro 'tst_res'
107 | tst_res(TFAIL, "%ld unexpected bytes found", fail);
| ^~~~~~~
CC testcases/kernel/syscalls/splice/splice05
CC testcases/kernel/syscalls/splice/splice01
CC testcases/kernel/syscalls/splice/splice04
CC testcases/kernel/syscalls/splice/splice03
CC testcases/kernel/syscalls/splice/splice02
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/ssetmask/ssetmask01
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
CC testcases/kernel/syscalls/statfs/statfs01_64.o
CC testcases/kernel/syscalls/statfs/statfs02_64.o
CC testcases/kernel/syscalls/statfs/statfs03_64.o
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
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 TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot/usr/include/stdio.h:906,
from statfs03.c:55:
In function 'sprintf',
inlined from 'setup' at statfs03.c:126:2:
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-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 ());
| ~~~~~~~~~~~~~~~~~
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot/usr/include/bits/stdio2.h:30:10: warning: '__builtin___sprintf_chk' argument 5 overlaps destination object 'fname' [-Wrestrict]
statfs03.c: In function 'setup':
statfs03.c:67:6: note: destination object referenced by 'restrict'-qualified argument 1 was declared here
67 | char fname[30] = "testfile";
| ^~~~~
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 function 'sprintf',
inlined from 'setup' at statfs03.c:130:3:
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-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/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 TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot/usr/include/stdio.h:906,
from statfs03.c:55:
In function 'sprintf',
inlined from 'setup' at statfs03.c:126:2:
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-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 ());
| ~~~~~~~~~~~~~~~~~
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot/usr/include/bits/stdio2.h:30:10: warning: '__builtin___sprintf_chk' argument 5 overlaps destination object 'fname' [-Wrestrict]
statfs03.c: In function 'setup':
statfs03.c:67:6: note: destination object referenced by 'restrict'-qualified argument 1 was declared here
67 | char fname[30] = "testfile";
| ^~~~~
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 function 'sprintf',
inlined from 'setup' at statfs03.c:130:3:
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-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/statfs03_64
LD testcases/kernel/syscalls/statfs/statfs02_64
CC testcases/kernel/syscalls/statfs/statfs01
CC testcases/kernel/syscalls/statfs/statfs02
CC testcases/kernel/syscalls/statfs/statfs03
rm statfs01_64.o statfs02_64.o statfs03_64.o
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
CC testcases/kernel/syscalls/stat/stat01_64.o
CC testcases/kernel/syscalls/stat/stat02_64.o
CC testcases/kernel/syscalls/stat/stat03_64.o
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
In file included from stat01.c:16:
stat01.c: In function 'verify_stat':
../../../../include/tst_test.h:59:55: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type '__nlink_t' {aka 'unsigned int'} [-Wformat=]
59 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\
| ^~~~~~~~~
stat01.c:75:17: note: in expansion of macro 'tst_res'
75 | tst_res(TFAIL, "stat_buf.st_nlink = %lu expected 1",
| ^~~~~~~
In file included from stat02.c:15:
stat02.c: In function 'verify':
../../../../include/tst_test.h:59:55: warning: format '%zu' expects argument of type 'size_t', but argument 5 has type '__off64_t' {aka 'long long int'} [-Wformat=]
59 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\
| ^~~~~~~~~
stat02.c:62:17: note: in expansion of macro 'tst_res'
62 | tst_res(TFAIL, "file size (%zu) not as expected (%zu) bytes",
| ^~~~~~~
In file included from stat01.c:16:
stat01.c: In function 'verify_stat':
../../../../include/tst_test.h:59:55: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type '__nlink_t' {aka 'unsigned int'} [-Wformat=]
59 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\
| ^~~~~~~~~
stat01.c:75:17: note: in expansion of macro 'tst_res'
75 | tst_res(TFAIL, "stat_buf.st_nlink = %lu expected 1",
| ^~~~~~~
In file included from stat02.c:15:
stat02.c: In function 'verify':
../../../../include/tst_test.h:59:55: warning: format '%zu' expects argument of type 'size_t', but argument 5 has type '__off_t' {aka 'long long int'} [-Wformat=]
59 | tst_res_(__FILE__, __LINE__, (ttype), (arg_fmt), ##__VA_ARGS__);\
| ^~~~~~~~~
stat02.c:62:17: note: in expansion of macro 'tst_res'
62 | tst_res(TFAIL, "file size (%zu) not as expected (%zu) bytes",
| ^~~~~~~
LD testcases/kernel/syscalls/stat/stat01_64
LD testcases/kernel/syscalls/stat/stat03_64
LD testcases/kernel/syscalls/stat/stat02_64
CC testcases/kernel/syscalls/stat/stat03
CC testcases/kernel/syscalls/stat/stat01
CC testcases/kernel/syscalls/stat/stat02
rm stat01_64.o stat02_64.o stat03_64.o
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
CC testcases/kernel/syscalls/statvfs/statvfs01
CC testcases/kernel/syscalls/statvfs/statvfs02
make -C "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib" -f "TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/lib/Makefile" all
make[6]: Nothing to be done for 'all'.
make[6]: Nothing to be done for 'all'.
In file included from TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot/usr/include/linux/fs.h:19,
from ../../../../include/lapi/fs.h:10,
from statx09.c:24:
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot/usr/include/linux/mount.h:95:6: error: redeclaration of 'enum fsconfig_command'
95 | enum fsconfig_command {
| ^~~~~~~~~~~~~~~~
In file included from statx09.c:21:
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot/usr/include/sys/mount.h:189:6: note: originally defined here
189 | enum fsconfig_command
| ^~~~~~~~~~~~~~~~
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot/usr/include/linux/mount.h:96:9: error: redeclaration of enumerator 'FSCONFIG_SET_FLAG'
96 | FSCONFIG_SET_FLAG = 0, /* Set parameter, supplying no value */
| ^~~~~~~~~~~~~~~~~
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot/usr/include/sys/mount.h:191:3: note: previous definition of 'FSCONFIG_SET_FLAG' with type 'enum fsconfig_command'
191 | FSCONFIG_SET_FLAG = 0, /* Set parameter, supplying no value */
| ^~~~~~~~~~~~~~~~~
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot/usr/include/linux/mount.h:97:9: error: redeclaration of enumerator 'FSCONFIG_SET_STRING'
97 | FSCONFIG_SET_STRING = 1, /* Set parameter, supplying a string value */
| ^~~~~~~~~~~~~~~~~~~
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot/usr/include/sys/mount.h:193:3: note: previous definition of 'FSCONFIG_SET_STRING' with type 'enum fsconfig_command'
193 | FSCONFIG_SET_STRING = 1, /* Set parameter, supplying a string value */
| ^~~~~~~~~~~~~~~~~~~
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot/usr/include/linux/mount.h:98:9: error: redeclaration of enumerator 'FSCONFIG_SET_BINARY'
98 | FSCONFIG_SET_BINARY = 2, /* Set parameter, supplying a binary blob value */
| ^~~~~~~~~~~~~~~~~~~
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot/usr/include/sys/mount.h:195:3: note: previous definition of 'FSCONFIG_SET_BINARY' with type 'enum fsconfig_command'
195 | FSCONFIG_SET_BINARY = 2, /* Set parameter, supplying a binary blob value */
| ^~~~~~~~~~~~~~~~~~~
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot/usr/include/linux/mount.h:99:9: error: redeclaration of enumerator 'FSCONFIG_SET_PATH'
99 | FSCONFIG_SET_PATH = 3, /* Set parameter, supplying an object by path */
| ^~~~~~~~~~~~~~~~~
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot/usr/include/sys/mount.h:197:3: note: previous definition of 'FSCONFIG_SET_PATH' with type 'enum fsconfig_command'
197 | FSCONFIG_SET_PATH = 3, /* Set parameter, supplying an object by path */
| ^~~~~~~~~~~~~~~~~
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot/usr/include/linux/mount.h:100:9: error: redeclaration of enumerator 'FSCONFIG_SET_PATH_EMPTY'
100 | FSCONFIG_SET_PATH_EMPTY = 4, /* Set parameter, supplying an object by (empty) path */
| ^~~~~~~~~~~~~~~~~~~~~~~
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot/usr/include/sys/mount.h:199:3: note: previous definition of 'FSCONFIG_SET_PATH_EMPTY' with type 'enum fsconfig_command'
199 | FSCONFIG_SET_PATH_EMPTY = 4, /* Set parameter, supplying an object by (empty) path */
| ^~~~~~~~~~~~~~~~~~~~~~~
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot/usr/include/linux/mount.h:101:9: error: redeclaration of enumerator 'FSCONFIG_SET_FD'
101 | FSCONFIG_SET_FD = 5, /* Set parameter, supplying an object by fd */
| ^~~~~~~~~~~~~~~
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot/usr/include/sys/mount.h:201:3: note: previous definition of 'FSCONFIG_SET_FD' with type 'enum fsconfig_command'
201 | FSCONFIG_SET_FD = 5, /* Set parameter, supplying an object by fd */
| ^~~~~~~~~~~~~~~
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot/usr/include/linux/mount.h:102:9: error: redeclaration of enumerator 'FSCONFIG_CMD_CREATE'
102 | FSCONFIG_CMD_CREATE = 6, /* Invoke superblock creation */
| ^~~~~~~~~~~~~~~~~~~
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot/usr/include/sys/mount.h:203:3: note: previous definition of 'FSCONFIG_CMD_CREATE' with type 'enum fsconfig_command'
203 | FSCONFIG_CMD_CREATE = 6, /* Invoke superblock creation */
| ^~~~~~~~~~~~~~~~~~~
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot/usr/include/linux/mount.h:103:9: error: redeclaration of enumerator 'FSCONFIG_CMD_RECONFIGURE'
103 | FSCONFIG_CMD_RECONFIGURE = 7, /* Invoke superblock reconfiguration */
| ^~~~~~~~~~~~~~~~~~~~~~~~
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot/usr/include/sys/mount.h:205:3: note: previous definition of 'FSCONFIG_CMD_RECONFIGURE' with type 'enum fsconfig_command'
205 | FSCONFIG_CMD_RECONFIGURE = 7, /* Invoke superblock reconfiguration */
| ^~~~~~~~~~~~~~~~~~~~~~~~
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot/usr/include/linux/mount.h:129:8: error: redefinition of 'struct mount_attr'
129 | struct mount_attr {
| ^~~~~~~~~~
TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/recipe-sysroot/usr/include/sys/mount.h:161:8: note: originally defined here
161 | struct mount_attr
| ^~~~~~~~~~
statx01.c: In function 'test_mnt_id':
statx01.c:68:37: warning: format '%ld' expects argument of type 'long int *', but argument 3 has type 'uint64_t *' {aka 'long long unsigned int *'} [-Wformat=]
68 | if (sscanf(line, "%ld %*d %d:%d", &mnt_id, &line_mjr, &line_mnr) != 3)
| ~~^ ~~~~~~~
| | |
| long int * uint64_t * {aka long long unsigned int *}
| %lld
make[4]: *** [../../../../include/mk/rules.mk:45: statx09] Error 1
make[4]: *** Waiting for unfinished jobs....
CC testcases/kernel/syscalls/statx/statx08
CC testcases/kernel/syscalls/statx/statx04
CC testcases/kernel/syscalls/statx/statx03
CC testcases/kernel/syscalls/statx/statx05
CC testcases/kernel/syscalls/statx/statx02
CC testcases/kernel/syscalls/statx/statx07
CC testcases/kernel/syscalls/statx/statx01
CC testcases/kernel/syscalls/statx/statx06
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[1]: *** [../include/mk/generic_trunk_target.inc:108: all] Error 2
make[1]: Leaving directory 'TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/git/testcases'
make: *** [Makefile:106: testcases-all] Error 2
ERROR: oe_runmake failed
WARNING: TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/temp/run.do_compile.2274665:178 exit 1 from 'exit 1'
WARNING: Backtrace (BB generated script):
#1: bbfatal_log, TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/temp/run.do_compile.2274665, line 178
#2: die, TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/temp/run.do_compile.2274665, line 162
#3: oe_runmake, TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/temp/run.do_compile.2274665, line 157
#4: do_compile, TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/temp/run.do_compile.2274665, line 152
#5: main, TOPDIR/build/tmp/work/riscv32-yoe-linux/ltp/20220527-r0/temp/run.do_compile.2274665, line 191