-
Notifications
You must be signed in to change notification settings - Fork 233
Open
Description
Latest FEMU commit on master branch fails to compile file block/nfs.c
[1075/2914] Compiling C object libblock.fa.p/block_nfs.c.o
FAILED: libblock.fa.p/block_nfs.c.o
cc -m64 -mcx16 -Ilibblock.fa.p -I. -I.. -Iqapi -Itrace -Iui -Iui/shader -Iblock -I/usr/include/p11-kit-1 -I/usr/include/uuid -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-6 -fdiagnostics-color=auto -Wall -Winvalid-pch -Werror -std=gnu11 -O2 -g -fstack-protector-strong -Wempty-body -Wendif-labels -Wexpansion-to-defined -Wformat-security -Wformat-y2k -Wignored-qualifiers -Wimplicit-fallthrough=2 -Winit-self -Wmissing-format-attribute -Wmissing-prototypes -Wnested-externs -Wold-style-declaration -Wold-style-definition -Wredundant-decls -Wshadow=local -Wstrict-prototypes -Wtype-limits -Wundef -Wvla -Wwrite-strings -Wno-missing-include-dirs -Wno-psabi -Wno-shift-negative-value -isystem /home/skytl/Documents/S25/LKP/FEMU/linux-headers -isystem linux-headers -iquote . -iquote /home/skytl/Documents/S25/LKP/FEMU -iquote /home/skytl/Documents/S25/LKP/FEMU/include -iquote /home/skytl/Documents/S25/LKP/FEMU/host/include/x86_64 -iquote /home/skytl/Documents/S25/LKP/FEMU/host/include/generic -iquote /home/skytl/Documents/S25/LKP/FEMU/tcg/i386 -pthread -D_GNU_SOURCE -D_LARGEFILE_SOURCE -fno-strict-aliasing -fno-common -fwrapv -ftrivial-auto-var-init=zero -fzero-call-used-regs=used-gpr -fPIE -D_FILE_OFFSET_BITS=64 -D__USE_FILE_OFFSET64 -D__USE_LARGEFILE64 -DUSE_POSIX_ACLS=1 -MD -MQ libblock.fa.p/block_nfs.c.o -MF libblock.fa.p/block_nfs.c.o.d -o libblock.fa.p/block_nfs.c.o -c ../block/nfs.c
../block/nfs.c: In function ‘nfs_co_preadv’:
../block/nfs.c:277:29: error: passing argument 3 of ‘nfs_pread_async’ makes pointer from integer without a cast [-Wint-conversion]
277 | offset, bytes, nfs_co_generic_cb, &task) != 0) {
| ^~~~~~
| |
| int64_t {aka long int}
In file included from ../block/nfs.c:49:
/usr/include/nfsc/libnfs.h:723:34: note: expected ‘void *’ but argument is of type ‘int64_t’ {aka ‘long int’}
723 | void *buf, size_t count, uint64_t offset,
| ~~~~~~^~~
../block/nfs.c:277:44: error: passing argument 5 of ‘nfs_pread_async’ makes integer from pointer without a cast [-Wint-conversion]
277 | offset, bytes, nfs_co_generic_cb, &task) != 0) {
| ^~~~~~~~~~~~~~~~~
| |
| void (*)(int, struct nfs_context *, void *, void *)
/usr/include/nfsc/libnfs.h:723:62: note: expected ‘uint64_t’ {aka ‘long unsigned int’} but argument is of type ‘void (*)(int, struct nfs_context *, void *, void *)’
723 | void *buf, size_t count, uint64_t offset,
| ~~~~~~~~~^~~~~~
../block/nfs.c:277:63: error: passing argument 6 of ‘nfs_pread_async’ from incompatible pointer type [-Wincompatible-pointer-types]
277 | offset, bytes, nfs_co_generic_cb, &task) != 0) {
| ^~~~~
| |
| NFSRPC *
/usr/include/nfsc/libnfs.h:724:35: note: expected ‘nfs_cb’ {aka ‘void (*)(int, struct nfs_context *, void *, void *)’} but argument is of type ‘NFSRPC *’
724 | nfs_cb cb, void *private_data);
| ~~~~~~~^~
../block/nfs.c:276:13: error: too few arguments to function ‘nfs_pread_async’
276 | if (nfs_pread_async(client->context, client->fh,
| ^~~~~~~~~~~~~~~
/usr/include/nfsc/libnfs.h:722:12: note: declared here
722 | EXTERN int nfs_pread_async(struct nfs_context *nfs, struct nfsfh *nfsfh,
| ^~~~~~~~~~~~~~~
../block/nfs.c: In function ‘nfs_co_pwritev’:
../block/nfs.c:323:30: error: passing argument 3 of ‘nfs_pwrite_async’ makes pointer from integer without a cast [-Wint-conversion]
323 | offset, bytes, buf,
| ^~~~~~
| |
| int64_t {aka long int}
/usr/include/nfsc/libnfs.h:785:41: note: expected ‘const void *’ but argument is of type ‘int64_t’ {aka ‘long int’}
785 | const void *buf, size_t count, uint64_t offset,
| ~~~~~~~~~~~~^~~
../block/nfs.c:323:45: error: passing argument 5 of ‘nfs_pwrite_async’ makes integer from pointer without a cast [-Wint-conversion]
323 | offset, bytes, buf,
| ^~~
| |
| char *
/usr/include/nfsc/libnfs.h:785:69: note: expected ‘uint64_t’ {aka ‘long unsigned int’} but argument is of type ‘char *’
785 | const void *buf, size_t count, uint64_t offset,
| ~~~~~~~~~^~~~~~
[1076/2914] Compiling C object libblock.fa.p/block_vmdk.c.o
Metadata
Metadata
Assignees
Labels
No labels