Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Jun 2010 14:40:14 +0300
From:      Kostik Belousov <kostikbel@gmail.com>
To:        FreeBSD Tinderbox <tinderbox@freebsd.org>
Cc:        rpaulo@freebsd.org, current@freebsd.org, sparc64@freebsd.org
Subject:   Re: [head tinderbox] failure on sparc64/sparc64
Message-ID:  <20100618114014.GL13238@deviant.kiev.zoral.com.ua>
In-Reply-To: <201006180426.o5I4QJEt041263@freebsd-current.sentex.ca>
References:  <201006180426.o5I4QJEt041263@freebsd-current.sentex.ca>

next in thread | previous in thread | raw e-mail | index | archive | help

--UDq0p1ry40hcSP8u
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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.sen=
tex.ca
> TB --- 2010-06-18 03:09:26 - starting HEAD tinderbox run for sparc64/spar=
c64
> 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.sente=
x.ca /tinderbox/HEAD/sparc64/sparc64/supfile
> TB --- 2010-06-18 03:10:14 - building world
> TB --- 2010-06-18 03:10:14 - MAKEOBJDIRPREFIX=3D/obj
> TB --- 2010-06-18 03:10:14 - PATH=3D/usr/bin:/usr/sbin:/bin:/sbin
> TB --- 2010-06-18 03:10:14 - TARGET=3Dsparc64
> TB --- 2010-06-18 03:10:14 - TARGET_ARCH=3Dsparc64
> TB --- 2010-06-18 03:10:14 - TZ=3DUTC
> TB --- 2010-06-18 03:10:14 - __MAKE_CONF=3D/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=3D/obj
> TB --- 2010-06-18 04:12:49 - PATH=3D/usr/bin:/usr/sbin:/bin:/sbin
> TB --- 2010-06-18 04:12:49 - TARGET=3Dsparc64
> TB --- 2010-06-18 04:12:49 - TARGET_ARCH=3Dsparc64
> TB --- 2010-06-18 04:12:49 - TZ=3DUTC
> TB --- 2010-06-18 04:12:49 - __MAKE_CONF=3D/dev/null
> TB --- 2010-06-18 04:12:49 - cd /src
> TB --- 2010-06-18 04:12:49 - /usr/bin/make -B buildkernel KERNCONF=3DLINT
> >>> 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_fu=
nc' follow
> *** Error code 1
>=20
> Stop in /obj/sparc64/src/sys/LINT.
> *** Error code 1
>=20
> 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
@@ -11,6 +11,12 @@
 # We want LINT to cover profiling as well.
 profile         2
=20
+#
+# Enable the kernel DTrace hooks which are required to load the DTrace
+# kernel modules.
+#
+options 	KDTRACE_HOOKS
+
 =0C
 #####################################################################
 # SMP OPTIONS:
diff --git a/sys/conf/NOTES b/sys/conf/NOTES
index e3e6079..0a872b2 100644
--- a/sys/conf/NOTES
+++ b/sys/conf/NOTES
@@ -372,12 +372,6 @@ options 	DDB_NUMSYM
 options 	GDB
=20
 #
-# 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
@@ -11,6 +11,12 @@
 # We want LINT to cover profiling as well.
 profile         2
=20
+#
+# Enable the kernel DTrace hooks which are required to load the DTrace
+# kernel modules.
+#
+options 	KDTRACE_HOOKS
+
 =0C
 #####################################################################
 # SMP OPTIONS:

--UDq0p1ry40hcSP8u
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (FreeBSD)

iEYEARECAAYFAkwbWx4ACgkQC3+MBN1Mb4iNmQCg10rz0ylliQturiaE7LEdj/44
pJkAn2sxm1t/GO8U/CMz7nS+VkqhJLI0
=YFdR
-----END PGP SIGNATURE-----

--UDq0p1ry40hcSP8u--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100618114014.GL13238>