Re: [head tinderbox] failure on sparc64/sparc64

From: Kostik Belousov <kostikbel_at_gmail.com>
Date: Fri, 18 Jun 2010 14:40:14 +0300
On Fri, Jun 18, 2010 at 04:26:19AM +0000, FreeBSD Tinderbox wrote:
> TB --- 2010-06-18 03:09:26 - tinderbox 2.6 running on freebsd-current.sentex.ca
> TB --- 2010-06-18 03:09:26 - starting HEAD tinderbox run for sparc64/sparc64
> TB --- 2010-06-18 03:09:26 - cleaning the object tree
> TB --- 2010-06-18 03:09:46 - cvsupping the source tree
> TB --- 2010-06-18 03:09:46 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/sparc64/sparc64/supfile
> TB --- 2010-06-18 03:10:14 - building world
> TB --- 2010-06-18 03:10:14 - MAKEOBJDIRPREFIX=/obj
> TB --- 2010-06-18 03:10:14 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
> TB --- 2010-06-18 03:10:14 - TARGET=sparc64
> TB --- 2010-06-18 03:10:14 - TARGET_ARCH=sparc64
> TB --- 2010-06-18 03:10:14 - TZ=UTC
> TB --- 2010-06-18 03:10:14 - __MAKE_CONF=/dev/null
> TB --- 2010-06-18 03:10:14 - cd /src
> TB --- 2010-06-18 03:10:14 - /usr/bin/make -B buildworld
> >>> World build started on Fri Jun 18 03:10:14 UTC 2010
> >>> Rebuilding the temporary build tree
> >>> stage 1.1: legacy release compatibility shims
> >>> stage 1.2: bootstrap tools
> >>> stage 2.1: cleaning up the object tree
> >>> stage 2.2: rebuilding the object tree
> >>> stage 2.3: build tools
> >>> stage 3: cross tools
> >>> stage 4.1: building includes
> >>> stage 4.2: building libraries
> >>> stage 4.3: make dependencies
> >>> stage 4.4: building everything
> >>> World build completed on Fri Jun 18 04:12:49 UTC 2010
> TB --- 2010-06-18 04:12:49 - generating LINT kernel config
> TB --- 2010-06-18 04:12:49 - cd /src/sys/sparc64/conf
> TB --- 2010-06-18 04:12:49 - /usr/bin/make -B LINT
> TB --- 2010-06-18 04:12:49 - building LINT kernel
> TB --- 2010-06-18 04:12:49 - MAKEOBJDIRPREFIX=/obj
> TB --- 2010-06-18 04:12:49 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
> TB --- 2010-06-18 04:12:49 - TARGET=sparc64
> TB --- 2010-06-18 04:12:49 - TARGET_ARCH=sparc64
> TB --- 2010-06-18 04:12:49 - TZ=UTC
> TB --- 2010-06-18 04:12:49 - __MAKE_CONF=/dev/null
> TB --- 2010-06-18 04:12:49 - cd /src
> TB --- 2010-06-18 04:12:49 - /usr/bin/make -B buildkernel KERNCONF=LINT
> >>> Kernel build for LINT started on Fri Jun 18 04:12:50 UTC 2010
> >>> stage 1: configuring the kernel
> >>> stage 2.1: cleaning up the object tree
> >>> stage 2.2: rebuilding the object tree
> >>> stage 2.3: build tools
> >>> stage 3.1: making dependencies
> >>> stage 3.2: building everything
> [...]
> : undefined reference to `systrace_probe_func'
> subr_trap.o(.text+0x11c): In function `syscallenter':
> : undefined reference to `systrace_probe_func'
> subr_trap.o(.text+0x128): In function `syscallenter':
> : undefined reference to `systrace_probe_func'
> subr_trap.o(.text+0x198): In function `syscallenter':
> : undefined reference to `systrace_probe_func'
> subr_trap.o(.text+0x1a8): more undefined references to `systrace_probe_func' follow
> *** Error code 1
> 
> Stop in /obj/sparc64/src/sys/LINT.
> *** Error code 1
> 
> Stop in /src.
> *** Error code 1

I expect that the following patch would fix the issue, currently run
make universe to confirm.

diff --git a/sys/amd64/conf/NOTES b/sys/amd64/conf/NOTES
index b16db62..9412334 100644
--- a/sys/amd64/conf/NOTES
+++ b/sys/amd64/conf/NOTES
_at__at_ -11,6 +11,12 _at__at_
 # We want LINT to cover profiling as well.
 profile         2
 
+#
+# Enable the kernel DTrace hooks which are required to load the DTrace
+# kernel modules.
+#
+options 	KDTRACE_HOOKS
+
 
 #####################################################################
 # SMP OPTIONS:
diff --git a/sys/conf/NOTES b/sys/conf/NOTES
index e3e6079..0a872b2 100644
--- a/sys/conf/NOTES
+++ b/sys/conf/NOTES
_at__at_ -372,12 +372,6 _at__at_ options 	DDB_NUMSYM
 options 	GDB
 
 #
-# Enable the kernel DTrace hooks which are required to load the DTrace
-# kernel modules.
-#
-options 	KDTRACE_HOOKS
-
-#
 # SYSCTL_DEBUG enables a 'sysctl' debug tree that can be used to dump the
 # contents of the registered sysctl nodes on the console.  It is disabled by
 # default because it generates excessively verbose console output that can
diff --git a/sys/i386/conf/NOTES b/sys/i386/conf/NOTES
index cc62ed9..a0169c3 100644
--- a/sys/i386/conf/NOTES
+++ b/sys/i386/conf/NOTES
_at__at_ -11,6 +11,12 _at__at_
 # We want LINT to cover profiling as well.
 profile         2
 
+#
+# Enable the kernel DTrace hooks which are required to load the DTrace
+# kernel modules.
+#
+options 	KDTRACE_HOOKS
+
 
 #####################################################################
 # SMP OPTIONS:

Received on Fri Jun 18 2010 - 09:40:33 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:04 UTC