From owner-freebsd-current@FreeBSD.ORG Fri Jun 18 11:40:33 2010 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6CA4C106566C; Fri, 18 Jun 2010 11:40:33 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.zoral.com.ua (mx0.zoral.com.ua [91.193.166.200]) by mx1.freebsd.org (Postfix) with ESMTP id 035838FC12; Fri, 18 Jun 2010 11:40:32 +0000 (UTC) Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id o5IBeEaf076547 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 18 Jun 2010 14:40:14 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.4/8.14.4) with ESMTP id o5IBeEFD008603; Fri, 18 Jun 2010 14:40:14 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.4/8.14.4/Submit) id o5IBeEUi008602; Fri, 18 Jun 2010 14:40:14 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Fri, 18 Jun 2010 14:40:14 +0300 From: Kostik Belousov To: FreeBSD Tinderbox Message-ID: <20100618114014.GL13238@deviant.kiev.zoral.com.ua> References: <201006180426.o5I4QJEt041263@freebsd-current.sentex.ca> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="UDq0p1ry40hcSP8u" Content-Disposition: inline In-Reply-To: <201006180426.o5I4QJEt041263@freebsd-current.sentex.ca> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: clamav-milter 0.95.2 at skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-2.3 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_50, DNS_FROM_OPENWHOIS autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua Cc: rpaulo@freebsd.org, current@freebsd.org, sparc64@freebsd.org Subject: Re: [head tinderbox] failure on sparc64/sparc64 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jun 2010 11:40:33 -0000 --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--