Current-Users archive

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

NetBSD/amd64 current with HAVE_GCC=48



Hi,

The fresh build of NetBSD/amd64 current with HAVE_GCC=48 and MKDTRACE=yes
fails as following.
# I know amd64 does not migrate gcc 4.8 yet.

#   compile  dtrace/dtrace.o
/usr/tools/amd64/bin/x86_64--netbsd-gcc -O2 -std=gnu99  -Wall -Wstrict-prototype
s -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare  -Wno-traditional  -Wa,
--fatal-warnings -Wreturn-type -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -We
xtra -Wno-unused-parameter -Wno-sign-compare -Werror   -ffreestanding  -fno-stri
ct-aliasing -Wno-pointer-sign -mno-red-zone -mcmodel=kernel -fno-omit-frame-poin
ter  -I/usr/src/common/include --sysroot=/usr/NewWorld/amd64 -I/usr/src/external
/cddl/osnet/sys  -I/usr/src/external/cddl/osnet/dev/dtrace  -I/usr/src/external/
cddl/osnet/dev/dtrace/amd64  -I/usr/src/external/cddl/osnet/dist/uts/common  -DD
IS_MEM -DSMP -DDEBUG -Wno-unknown-pragmas  -nostdinc -I. -I/usr/src/sys/modules/
dtrace/dtrace -isystem /usr/src/sys -isystem /usr/src/sys/arch -isystem /usr/src
/sys/../common/include -D_KERNEL -D_LKM -D_MODULE -DSYSCTL_INCLUDE_DESCR -c    /
usr/src/external/cddl/osnet/dist/uts/common/dtrace/dtrace.c
/usr/src/external/cddl/osnet/dist/uts/common/dtrace/dtrace.c: In function 'dtrac
e_state_worker_remove':
/usr/src/external/cddl/osnet/dist/uts/common/dtrace/dtrace.c:16677:6: error: var
iable 'error' set but not used [-Werror=unused-but-set-variable]
  int error;
      ^
cc1: all warnings being treated as errors

*** Failed target:  dtrace.o
*** Failed command: /usr/tools/amd64/bin/x86_64--netbsd-gcc -O2 -std=gnu99 -Wall
 -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare -Wno
-traditional -Wa,--fatal-warnings -Wreturn-type -Wswitch -Wshadow -Wcast-qual -W
write-strings -Wextra -Wno-unused-parameter -Wno-sign-compare -Werror -ffreestan
ding -fno-strict-aliasing -Wno-pointer-sign -mno-red-zone -mcmodel=kernel -fno-o
mit-frame-pointer -I/usr/src/common/include --sysroot=/usr/NewWorld/amd64 -I/usr
/src/external/cddl/osnet/sys -I/usr/src/external/cddl/osnet/dev/dtrace -I/usr/sr
c/external/cddl/osnet/dev/dtrace/amd64 -I/usr/src/external/cddl/osnet/dist/uts/c
ommon -DDIS_MEM -DSMP -DDEBUG -Wno-unknown-pragmas -nostdinc -I. -I/usr/src/sys/
modules/dtrace/dtrace -isystem /usr/src/sys -isystem /usr/src/sys/arch -isystem
/usr/src/sys/../common/include -D_KERNEL -D_LKM -D_MODULE -DSYSCTL_INCLUDE_DESCR
 -c /usr/src/external/cddl/osnet/dist/uts/common/dtrace/dtrace.c
*** Error code 1

Stop.

--
Ryo ONODERA // ryo_on%yk.rim.or.jp@localhost
PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB  FD1B F404 27FA C7D1 15F3


Home | Main Index | Thread Index | Old Index