DEBUG: Executing shell function do_compile
NOTE: make -j 70 -l 140
Building include
Building lib
Building tests
[LTDEP]
Building btrfs
Building cifs
Building ceph
Building ext4
Building generic
Building f2fs
Building nfs
Building ocfs2
Building overlay
Building perf
Building selftest
Building tmpfs
Building udf
Building xfs
[GROUP] TOPDIR/tmp/work/core2-32-oe-linux/xfstests/2025.03.30/git/tests/cifs/group.list
[GROUP] TOPDIR/tmp/work/core2-32-oe-linux/xfstests/2025.03.30/git/tests/ceph/group.list
[GROUP] TOPDIR/tmp/work/core2-32-oe-linux/xfstests/2025.03.30/git/tests/btrfs/group.list
[GROUP] TOPDIR/tmp/work/core2-32-oe-linux/xfstests/2025.03.30/git/tests/f2fs/group.list
[GROUP] TOPDIR/tmp/work/core2-32-oe-linux/xfstests/2025.03.30/git/tests/ocfs2/group.list
[GROUP] TOPDIR/tmp/work/core2-32-oe-linux/xfstests/2025.03.30/git/tests/ext4/group.list
[GROUP] TOPDIR/tmp/work/core2-32-oe-linux/xfstests/2025.03.30/git/tests/nfs/group.list
[GROUP] TOPDIR/tmp/work/core2-32-oe-linux/xfstests/2025.03.30/git/tests/selftest/group.list
[GROUP] TOPDIR/tmp/work/core2-32-oe-linux/xfstests/2025.03.30/git/tests/overlay/group.list
[GROUP] TOPDIR/tmp/work/core2-32-oe-linux/xfstests/2025.03.30/git/tests/perf/group.list
[GROUP] TOPDIR/tmp/work/core2-32-oe-linux/xfstests/2025.03.30/git/tests/udf/group.list
[GROUP] TOPDIR/tmp/work/core2-32-oe-linux/xfstests/2025.03.30/git/tests/generic/group.list
[GROUP] TOPDIR/tmp/work/core2-32-oe-linux/xfstests/2025.03.30/git/tests/tmpfs/group.list
[GROUP] TOPDIR/tmp/work/core2-32-oe-linux/xfstests/2025.03.30/git/tests/xfs/group.list
[CC] dataascii.lo
[CC] databin.lo
[CC] datapid.lo
[CC] file_lock.lo
[CC] forker.lo
[CC] pattern.lo
[CC] open_flags.lo
[CC] random_range.lo
[CC] string_to_tokens.lo
[CC] str_to_bytes.lo
[CC] tlibio.lo
[CC] write_log.lo
[CC] random.lo
write_log.c: In function 'wlog_record_write':
write_log.c:198:13: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
198 | write(wfile->w_afd, wbuf, reclen);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
write_log.c:202:13: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
202 | write(wfile->w_rfd, wbuf, reclen);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[LD]
Building ltp
Building src
Building m4
Building common
Building tools
[DEP]
[DEP]
[CC] doio
[CC] fsstress
[CC] fsx
[CC] iogen
iogen.c: In function 'main':
iogen.c:280:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
280 | write(outfd, (char *)&req, sizeof(req));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
iogen.c: In function 'parse_cmdline':
iogen.c:1535:17: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result]
1535 | getcwd(fptr->f_path,
| ^~~~~~~~~~~~~~~~~~~~
1536 | sizeof(fptr->f_path)-1);
| ~~~~~~~~~~~~~~~~~~~~~~~
[DEP]
[DEP]
[DEP]
[CC] dirstress
[CC] fill2
[CC] fill
[CC] getpagesize
[CC] holes
[CC] lstat64
[CC] nametest
[CC] permname
[CC] randholes
[CC] runas
[CC] truncfile
[CC] usemem
[CC] mmapcat
[CC] append_reader
[CC] append_writer
[CC] dirperf
[CC] metaperf
[CC] devzero
[CC] feature
[CC] alloc
[CC] fault
[CC] fstest
[CC] t_access_root
[CC] godown
[CC] resvtest
[CC] writemod
[CC] writev_on_pagefault
[CC] makeextents
[CC] itrash
[CC] rename
[CC] multi_open_unlink
[CC] unwritten_sync
[CC] genhashnames
[CC] t_holes
[CC] t_mmap_writev
[CC] t_truncate_cmtime
[CC] dirhash_collide
[CC] t_rename_overwrite
[CC] holetest
[CC] af_unix
[CC] t_mmap_stale_pmd
[CC] t_mmap_cow_race
[CC] t_mmap_fallocate
[CC] fsync-err
[CC] t_mmap_write_ro
[CC] t_ext4_dax_journal_corruption
[CC] t_ext4_dax_inline_corruption
[CC] t_ofd_locks
[CC] t_mmap_collision
[CC] mmap-write-concurrent
[CC] t_get_file_time
[CC] t_create_short_dirs
[CC] t_create_long_dirs
[CC] t_enospc
[CC] t_mmap_writev_overlap
[CC] checkpoint_journal
[CC] mmap-rw-fault
[CC] allocstale
[CC] t_mmap_cow_memory_failure
[CC] fake-dump-rootino
[CC] dio-buf-fault
[CC] rewinddir-test
[CC] readdir-while-renames
[CC] dio-append-buf-fault
[CC] dio-write-fsync-same-fd
[CC] dio-writeback-race
[CC] xfsctl
[CC] t_mtab
[CC] getdevicesize
[CC] bstat
lstat64.c: In function 'main':
lstat64.c:65:14: error: passing argument 1 of 'time' from incompatible pointer type [-Wincompatible-pointer-types]
65 | time(&timebuf);
| ^~~~~~~~
| |
| long int *
In file included from TOPDIR/tmp/work/core2-32-oe-linux/xfstests/2025.03.30/recipe-sysroot/usr/include/features.h:524,
from TOPDIR/tmp/work/core2-32-oe-linux/xfstests/2025.03.30/recipe-sysroot/usr/include/unistd.h:25,
from lstat64.c:7:
TOPDIR/tmp/work/core2-32-oe-linux/xfstests/2025.03.30/recipe-sysroot/usr/include/time.h:85:15: note: expected 'time_t *' {aka 'long long int *'} but argument is of type 'long int *'
85 | extern time_t __REDIRECT_NTH (time, (time_t *__timer), __time64);
| ^~~~~~~~~~~~~~
mmapcat.c: In function 'main':
mmapcat.c:29:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
29 | write(1,ptr2,ptr - ptr2);
| ^~~~~~~~~~~~~~~~~~~~~~~~
make[2]: *** [Makefile:123: lstat64] Error 1
make[2]: *** Waiting for unfinished jobs....
t_access_root.c: In function 'main':
t_access_root.c:55:5: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result]
55 | system(cmd);
| ^~~~~~~~~~~
dio-buf-fault.c: In function 'do_dio':
dio-buf-fault.c:59:59: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'size_t' {aka 'unsigned int'} [-Wformat=]
59 | err(1, "failed to write %lu bytes to %d", sz, fd);
| ~~^ ~~
| | |
| | size_t {aka unsigned int}
| long unsigned int
| %u
t_get_file_time.c: In function 'main':
t_get_file_time.c:50:18: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'time_t' {aka 'long long int'} [-Wformat=]
50 | printf("%lu\n", t);
| ~~^ ~
| | |
| | time_t {aka long long int}
| long unsigned int
| %llu
metaperf.c: In function 'crfiles':
metaperf.c:166:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
166 | write(fd, buf, fsize);
| ^~~~~~~~~~~~~~~~~~~~~
metaperf.c: In function 't_linkun':
metaperf.c:454:25: warning: ignoring return value of 'link' declared with attribute 'warn_unused_result' [-Wunused-result]
454 | link("a", *fnp);
| ^~~~~~~~~~~~~~~
metaperf.c: In function 't_chown':
metaperf.c:404:33: warning: ignoring return value of 'chown' declared with attribute 'warn_unused_result' [-Wunused-result]
404 | chown(*fnp, 2, -1);
| ^~~~~~~~~~~~~~~~~~
metaperf.c:406:33: warning: ignoring return value of 'chown' declared with attribute 'warn_unused_result' [-Wunused-result]
406 | chown(*fnp, 1, -1);
| ^~~~~~~~~~~~~~~~~~
metaperf.c: In function 'i_chown':
metaperf.c:291:17: warning: ignoring return value of 'chown' declared with attribute 'warn_unused_result' [-Wunused-result]
291 | chown(*fnp, 1, -1);
| ^~~~~~~~~~~~~~~~~~
metaperf.c: In function 'main':
metaperf.c:152:9: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result]
152 | chdir("..");
| ^~~~~~~~~~~
mmap-rw-fault.c: In function 'main':
mmap-rw-fault.c:154:37: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'ssize_t' {aka 'int'} [-Wformat=]
154 | err(1, "pread %s: %ld != %u", filename, ret, page_size);
| ~~^ ~~~
| | |
| long int ssize_t {aka int}
| %d
mmap-rw-fault.c:162:48: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'ssize_t' {aka 'int'} [-Wformat=]
162 | err(1, "pread %s (O_DIRECT): %ld != %u", filename, ret, page_size);
| ~~^ ~~~
| | |
| long int ssize_t {aka int}
| %d
mmap-rw-fault.c:174:38: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'ssize_t' {aka 'int'} [-Wformat=]
174 | err(1, "pwrite %s: %ld != %u", filename, ret, page_size);
| ~~^ ~~~
| | |
| long int ssize_t {aka int}
| %d
mmap-rw-fault.c:182:49: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'ssize_t' {aka 'int'} [-Wformat=]
182 | err(1, "pwrite %s (O_DIRECT): %ld != %u", filename, ret, page_size);
| ~~^ ~~~
| | |
| long int ssize_t {aka int}
| %d
mmap-rw-fault.c:195:58: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'ssize_t' {aka 'int'} [-Wformat=]
195 | err(1, "pread %s (O_DIRECT) from hole: %ld != %u", filename, ret, page_size);
| ~~^ ~~~
| | |
| long int ssize_t {aka int}
| %d
mmap-rw-fault.c:205:57: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'ssize_t' {aka 'int'} [-Wformat=]
205 | err(1, "pwrite %s (O_DIRECT): %ld != %u", filename, ret, page_size);
| ~~^ ~~~
| | |
| long int ssize_t {aka int}
| %d
t_mmap_stale_pmd.c: In function 'main':
t_mmap_stale_pmd.c:42:9: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result]
42 | ftruncate(fd, 0);
| ^~~~~~~~~~~~~~~~
t_mmap_stale_pmd.c:43:9: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result]
43 | ftruncate(fd, MiB(4));
| ^~~~~~~~~~~~~~~~~~~~~
t_mmap_stale_pmd.c:55:9: warning: ignoring return value of 'pwrite' declared with attribute 'warn_unused_result' [-Wunused-result]
55 | pwrite(fd, buffer, strlen(buffer), MiB(2));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
holetest.c: In function 'pt_write_marker':
holetest.c:140:17: warning: ignoring return value of 'pwrite' declared with attribute 'warn_unused_result' [-Wunused-result]
140 | pwrite(fd, &tid, sizeof(tid), i * page_size + pgoff);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
alloc.c: In function 'main':
alloc.c:247:17: warning: ignoring return value of 'mkstemp' declared with attribute 'warn_unused_result' [-Wunused-result]
247 | mkstemp(tmpfile);
| ^~~~~~~~~~~~~~~~
nametest.c: In function 'main':
nametest.c:236:33: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
236 | write(1, "\n", 1);
| ^~~~~~~~~~~~~~~~~
nametest.c:238:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
238 | write(1, ".", 1);
| ^~~~~~~~~~~~~~~~
nametest.c:288:33: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
288 | write(1, ".", 1);
| ^~~~~~~~~~~~~~~~
t_ext4_dax_journal_corruption.c: In function 'main':
t_ext4_dax_journal_corruption.c:62:9: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result]
62 | ftruncate(fd, 0);
| ^~~~~~~~~~~~~~~~
t_mmap_cow_race.c: In function 'main':
t_mmap_cow_race.c:61:9: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result]
61 | ftruncate(fd, 0);
| ^~~~~~~~~~~~~~~~
t_mmap_cow_race.c:62:9: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result]
62 | ftruncate(fd, MiB(2));
| ^~~~~~~~~~~~~~~~~~~~~
allocstale.c: In function 'main':
allocstale.c:110:71: warning: format '%zd' expects argument of type 'signed size_t', but argument 4 has type 'off_t' {aka 'long long int'} [-Wformat=]
110 | fprintf(stderr, "%s: found junk near offset %zd!\n",
| ~~^
| |
| int
| %lld
111 | argv[1], offset - sb.st_blksize);
| ~~~~~~~~~~~~~~~~~~~~~~
| |
| off_t {aka long long int}
t_mtab.c: In function 'update_mtab':
t_mtab.c:256:17: warning: ignoring return value of 'chown' declared with attribute 'warn_unused_result' [-Wunused-result]
256 | chown (mounted_temp, sbuf.st_uid, sbuf.st_gid);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
bstat.c: In function 'dotime':
bstat.c:79:19: error: passing argument 1 of 'ctime' from incompatible pointer type [-Wincompatible-pointer-types]
79 | c = ctime(&t->tv_sec);
| ^~~~~~~~~~
| |
| __kernel_long_t * {aka long int *}
In file included from TOPDIR/tmp/work/core2-32-oe-linux/xfstests/2025.03.30/recipe-sysroot/usr/include/features.h:524,
from TOPDIR/tmp/work/core2-32-oe-linux/xfstests/2025.03.30/recipe-sysroot/usr/include/sys/types.h:25,
from TOPDIR/tmp/work/core2-32-oe-linux/xfstests/2025.03.30/recipe-sysroot/usr/include/uuid/uuid.h:38,
from TOPDIR/tmp/work/core2-32-oe-linux/xfstests/2025.03.30/recipe-sysroot/usr/include/xfs/linux.h:13,
from TOPDIR/tmp/work/core2-32-oe-linux/xfstests/2025.03.30/recipe-sysroot/usr/include/xfs/xfs.h:9,
from global.h:19,
from bstat.c:7:
TOPDIR/tmp/work/core2-32-oe-linux/xfstests/2025.03.30/recipe-sysroot/usr/include/time.h:186:14: note: expected 'const time_t *' {aka 'const long long int *'} but argument is of type '__kernel_long_t *' {aka 'long int *'}
186 | extern char *__REDIRECT_NTH (ctime, (const time_t *__timer), __ctime64);
| ^~~~~~~~~~~~~~
make[2]: *** [Makefile:123: bstat] Error 1
make[1]: *** [include/buildrules:30: src] Error 2
make: *** [Makefile:65: default] Error 2
ERROR: oe_runmake failed
WARNING: TOPDIR/tmp/work/core2-32-oe-linux/xfstests/2025.03.30/temp/run.do_compile.2533578:181 exit 1 from 'exit 1'
WARNING: Backtrace (BB generated script):
#1: bbfatal_log, TOPDIR/tmp/work/core2-32-oe-linux/xfstests/2025.03.30/temp/run.do_compile.2533578, line 181
#2: die, TOPDIR/tmp/work/core2-32-oe-linux/xfstests/2025.03.30/temp/run.do_compile.2533578, line 165
#3: oe_runmake, TOPDIR/tmp/work/core2-32-oe-linux/xfstests/2025.03.30/temp/run.do_compile.2533578, line 160
#4: autotools_do_compile, TOPDIR/tmp/work/core2-32-oe-linux/xfstests/2025.03.30/temp/run.do_compile.2533578, line 155
#5: do_compile, TOPDIR/tmp/work/core2-32-oe-linux/xfstests/2025.03.30/temp/run.do_compile.2533578, line 150
#6: main, TOPDIR/tmp/work/core2-32-oe-linux/xfstests/2025.03.30/temp/run.do_compile.2533578, line 194