Haven't found anyone else with this bug, so I thought it might be a configuration issue on my end. Current system is
and I'm trying to upgrade to
/etc/make.conf is
/etc/src.conf looks like this
Note that the system that is currently running was built by gcc, but otherwise with the same src.conf file that you see there. The current buildworld fails using either gcc or clang, and it fails when compiling top with (when using clang)
Which looks like it's related to some of the zfs information provided by top. make clean was run before all attempted builds, and even with an unchanged src.conf from 9.1-PRERELEASE, things fail. The only other big change since the last build was synchronizing the source via SVN instead of CVS. Any ideas?
Code:
FreeBSD 9.1-PRERELEASE #0: Thu Sep 27 13:26:42 UTC 2012 amd64
Code:
Path: .
Working Copy Root Path: /usr/src
URL: svn://svn.freebsd.org/base/releng/9.1
Repository Root: svn://svn.freebsd.org/base
Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Revision: 241510
Node Kind: directory
Schedule: normal
Last Changed Author: gabor
Last Changed Rev: 241445
Last Changed Date: 2012-10-11 15:49:42 +0000 (Thu, 11 Oct 2012)
Code:
WITHOUT_X11=yes
CFLAGS=-O -pipe
KERNCONF=PYRITE
# added by use.perl 2012-09-29 07:14:23
PERL_VERSION=5.12.4
Code:
# src.conf
CC=clang
CXX=clang++
CPP=clang-cpp
NO_FSCHG=
WITHOUT_ATM="yes"
WITHOUT_BIND="yes"
WITHOUT_BLUETOOTH="yes"
WITHOUT_FLOPPY="yes"
WITHOUT_FREEBSD_UPDATE="yes"
WITHOUT_GAMES="yes"
WITHOUT_HTML="yes"
WITHOUT_IPFILTER="yes"
WITHOUT_IPFW="yes"
WITHOUT_IPX="yes"
WITHOUT_KERBEROS="yes"
WITHOUT_KERNEL_SYMBOLS="yes"
WITHOUT_LIB32="yes"
WITHOUT_LPR="yes"
WITHOUT_NDIS="yes"
WITHOUT_NTP="yes"
WITHOUT_PAM_SUPPORT="yes"
WITHOUT_PORTSNAP="yes"
WITHOUT_ROUTED="yes"
WITHOUT_SENDMAIL="yes"
Code:
clang -O -pipe -DHAVE_GETOPT -DHAVE_STRERROR -DORDER -I/usr/src/usr.bin/top -I/
usr/src/usr.bin/top/../../contrib/top -I. -std=gnu99 -Qunused-arguments -fstack-
protector -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -Wno-tautologic
al-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno
-conversion -Wno-switch -Wno-switch-enum -Wno-parentheses -c /usr/src/usr.bin/to
p/machine.c
/usr/src/usr.bin/top/machine.c:266:2: error: use of undeclared identifier
'y_arc'
y_arc = 4;
^
/usr/src/usr.bin/top/machine.c:276:3: error: use of undeclared identifier
'y_arc'
y_arc += ncpus - 1;
^
/usr/src/usr.bin/top/machine.c:348:12: error: no member named 'arc_names' in
'struct statics'
statics->arc_names = arcnames;
~~~~~~~ ^
/usr/src/usr.bin/top/machine.c:350:12: error: no member named 'arc_names' in
'struct statics'
statics->arc_names = NULL;
~~~~~~~ ^
/usr/src/usr.bin/top/machine.c:529:7: error: no member named 'arc' in
'struct system_info'
si->arc = arc_stats;
~~ ^
/usr/src/usr.bin/top/machine.c:904:19: warning: format specifies type 'int' but
the argument has type 'unsigned long' [-Wformat]
warn("malloc(%d)", argbuflen + 1);
~^ ~~~~~~~~~~~~~
%ld
/usr/src/usr.bin/top/machine.c:958:42: warning: field width should have type
'int', but argument has type 'unsigned long' [-Wformat]
snprintf(jid_buf, sizeof(jid_buf), " %*d",
~~^
/usr/src/usr.bin/top/machine.c:1003:41: warning: field width should have type
'int', but argument has type 'unsigned long' [-Wformat]
snprintf(thr_buf, sizeof(thr_buf), "%*d ",
~~^
3 warnings and 5 errors generated.
*** [machine.o] Error code 1
Stop in /usr/src/usr.bin/top.
*** [all] Error code 1
Stop in /usr/src/usr.bin.
*** [usr.bin.all__D] Error code 1
Stop in /usr/src.
*** [everything] Error code 1
Stop in /usr/src.
*** [buildworld] Error code 1
Stop in /usr/src.