From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from szxga05-in.huawei.com ([45.249.212.191]:8718 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726523AbgANN3w (ORCPT ); Tue, 14 Jan 2020 08:29:52 -0500 Subject: Re: fio fails to build on s390x and armv7 after enabling more tests References: <20200114111747.dbfba9c9764da37e9d26870b@danny.cz> From: "yezhenyu (A)" Message-ID: Date: Tue, 14 Jan 2020 21:29:42 +0800 MIME-Version: 1.0 In-Reply-To: <20200114111747.dbfba9c9764da37e9d26870b@danny.cz> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Sender: fio-owner@vger.kernel.org List-Id: fio@vger.kernel.org To: =?UTF-8?Q?Dan_Hor=c3=a1k?= , fio@vger.kernel.org Cc: sandeen@redhat.com, xiexiangyou@huawei.com Hi, Do you merge this patch? https://git.kernel.dk/cgit/fio/commit/?id=aae515f4e1cb0b3c003e127200d344d807032a79 On 2020/1/14 18:17, Dan Horák wrote: > 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 > > . >