Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Build failure - current



Hi,

I am getting:
.....

#   compile  librumpvfs/vfs_subr.pico
/dumps/sysbuild/evbarm64/tools/bin/aarch64--netbsd-gcc -O2
-fno-delete-null-pointer-checks  -ffreestanding -fno-strict-aliasing
-std=gnu99    -Wall -Wstric
t-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare
-Wsystem-headers   -Wno-traditional   -Wa,--fatal-warnings
-Wreturn-type -Wswitch -Wshad
ow -Wcast-qual -Wwrite-strings -Wextra -Wno-unused-parameter
-Wno-sign-compare -Werror -Wno-format-zero-length -Wno-pointer-sign
-fPIE   -I/home/sysbuild/sr
c/lib/librumpvfs/../../sys/rump/include
--sysroot=/dumps/sysbuild/evbarm64/destdir -D_RUMPKERNEL
-I/home/sysbuild/src/lib/librumpvfs/../../sys/rump/librump/r
umpkern -DCOMPAT_50 -DCOMPAT_60 -DCOMPAT_70 -DCOMPAT_80 -DCOMPAT_90
-nostdinc -I/home/sysbuild/src/lib/librumpvfs -I.
-I/home/sysbuild/src/lib/librumpvfs/../.
./sys/rump/../../common/include
-I/home/sysbuild/src/lib/librumpvfs/../../sys/rump/include
-I/home/sysbuild/src/lib/librumpvfs/../../sys/rump/include/opt -I/h
ome/sysbuild/src/lib/librumpvfs/../../sys/rump/../arch
-I/home/sysbuild/src/lib/librumpvfs/../../sys/rump/.. -DDIAGNOSTIC
-DKTRACE  -imacros /home/sysbuild/sr
c/lib/librumpvfs/../../sys/rump/include/opt/opt_rumpkernel.h  -c
-fPIC   /home/sysbuild/src/lib/librumpvfs/../../sys/rump/../kern/vfs_subr.c
-o vfs_subr.pi
co
/home/sysbuild/src/lib/librumpvfs/../../sys/rump/../kern/vfs_subr.c:
In function 'vn_syncer_add_to_worklist':
/home/sysbuild/src/lib/librumpvfs/../../sys/rump/../kern/vfs_subr.c:717:16:
error: unused variable 'vip' [-Werror=unused-variable]
  717 |  vnode_impl_t *vip = VNODE_TO_VIMPL(vp);
      |                ^~~
/home/sysbuild/src/lib/librumpvfs/../../sys/rump/../kern/vfs_subr.c:
In function 'sched_sync':
/home/sysbuild/src/lib/librumpvfs/../../sys/rump/../kern/vfs_subr.c:845:6:
error: variable 'error' set but not used
[-Werror=unused-but-set-variable]
  845 |  int error;
      |      ^~~~~
/home/sysbuild/src/lib/librumpvfs/../../sys/rump/../kern/vfs_subr.c:843:14:
error: variable 'oslot' set but not used
[-Werror=unused-but-set-variable]
  843 |  int vdelay, oslot, nslot, delayx;
      |              ^~~~~
cc1: all warnings being treated as errors
*** Failed target: vfs_subr.pico

....

while building aarch64 -current.

Chavdar


-- 
----


Home | Main Index | Thread Index | Old Index