Flexible I/O Tester development
 help / color / mirror / Atom feed
* fio fails to build on s390x and armv7 after enabling more tests
@ 2020-01-14 10:17 Dan Horák
  2020-01-14 13:29 ` yezhenyu (A)
  0 siblings, 1 reply; 3+ messages in thread
From: Dan Horák @ 2020-01-14 10:17 UTC (permalink / raw)
  To: fio; +Cc: sandeen

Hi,

our CI discovered that after
https://git.kernel.dk/cgit/fio/commit/?id=5ad80fa7cf5be0399c8d9d68967781e56a767c82
fio fails to build on s390x and armv7 (the builders use Fedora 31).

...
    CC t/read-to-pipe-async.o
  LINK t/read-to-pipe-async
    CC t/io_uring.o
t/io_uring.c: In function ‘io_uring_register_buffers’:
t/io_uring.c:103:17: error: ‘__NR_sys_io_uring_register’ undeclared (first use in this function); did you mean ‘SYS_io_uring_register’?
  103 |  return syscall(__NR_sys_io_uring_register, s->ring_fd,
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~
      |                 SYS_io_uring_register
t/io_uring.c:103:17: note: each undeclared identifier is reported only once for each function it appears in
t/io_uring.c: In function ‘io_uring_register_files’:
t/io_uring.c:120:17: error: ‘__NR_sys_io_uring_register’ undeclared (first use in this function); did you mean ‘SYS_io_uring_register’?
  120 |  return syscall(__NR_sys_io_uring_register, s->ring_fd,
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~
      |                 SYS_io_uring_register
t/io_uring.c: In function ‘io_uring_setup’:
t/io_uring.c:126:17: error: ‘__NR_sys_io_uring_setup’ undeclared (first use in this function); did you mean ‘SYS_io_uring_setup’?
  126 |  return syscall(__NR_sys_io_uring_setup, entries, p);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~
      |                 SYS_io_uring_setup
t/io_uring.c: In function ‘io_uring_enter’:
t/io_uring.c:132:17: error: ‘__NR_sys_io_uring_enter’ undeclared (first use in this function); did you mean ‘SYS_io_uring_enter’?
  132 |  return syscall(__NR_sys_io_uring_enter, s->ring_fd, to_submit,
      |                 ^~~~~~~~~~~~~~~~~~~~~~~
      |                 SYS_io_uring_enter
t/io_uring.c: In function ‘io_uring_register_buffers’:
t/io_uring.c:105:1: warning: control reaches end of non-void function [-Wreturn-type]
  105 | }
      | ^
t/io_uring.c: In function ‘io_uring_register_files’:
t/io_uring.c:122:1: warning: control reaches end of non-void function [-Wreturn-type]
  122 | }
      | ^
t/io_uring.c: In function ‘io_uring_setup’:
t/io_uring.c:127:1: warning: control reaches end of non-void function [-Wreturn-type]
  127 | }
      | ^
t/io_uring.c: In function ‘io_uring_enter’:
t/io_uring.c:134:1: warning: control reaches end of non-void function [-Wreturn-type]
  134 | }
      | ^
make: *** [Makefile:380: t/io_uring.o] Chyba 1


	Thanks,

		Dan


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-01-14 13:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-01-14 10:17 fio fails to build on s390x and armv7 after enabling more tests Dan Horák
2020-01-14 13:29 ` yezhenyu (A)
2020-01-14 13:55   ` Dan Horák

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox