From owner-freebsd-current@FreeBSD.ORG Tue Feb 12 10:11:45 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A6AA716A419 for ; Tue, 12 Feb 2008 10:11:45 +0000 (UTC) (envelope-from shuvaev@physik.uni-wuerzburg.de) Received: from mailrelay.rz.uni-wuerzburg.de (wrzx28.rz.uni-wuerzburg.de [132.187.3.28]) by mx1.freebsd.org (Postfix) with ESMTP id 1754D13C457 for ; Tue, 12 Feb 2008 10:11:44 +0000 (UTC) (envelope-from shuvaev@physik.uni-wuerzburg.de) Received: from virusscan.mail (localhost [127.0.0.1]) by mailrelay.mail (Postfix) with ESMTP id CE931198E72; Tue, 12 Feb 2008 11:11:42 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by virusscan.mail (Postfix) with ESMTP id C1AEF198E1B; Tue, 12 Feb 2008 11:11:42 +0100 (CET) Received: from mail.physik.uni-wuerzburg.de (wptd92.physik.uni-wuerzburg.de [132.187.40.192]) by mailmaster.uni-wuerzburg.de (Postfix) with ESMTP id 8B195198E11; Tue, 12 Feb 2008 11:11:41 +0100 (CET) Received: from wep4017.physik.uni-wuerzburg.de ([132.187.37.17]) by mail.physik.uni-wuerzburg.de (Lotus Domino Release 7.0.3HF96) with ESMTP id 2008021211114033-15002 ; Tue, 12 Feb 2008 11:11:40 +0100 Received: by wep4017.physik.uni-wuerzburg.de (sSMTP sendmail emulation); Tue, 12 Feb 2008 11:11:40 +0100 From: "Alexey Shuvaev" Date: Tue, 12 Feb 2008 11:11:40 +0100 To: John Birrell Message-ID: <20080212101140.GA26120@wep4017.physik.uni-wuerzburg.de> Mail-Followup-To: John Birrell , freebsd-current@freebsd.org References: <20080210224247.GA70317@what-creek.com> MIME-Version: 1.0 In-Reply-To: <20080210224247.GA70317@what-creek.com> Organization: Universitaet Wuerzburg User-Agent: Mutt/1.5.17 (2007-11-01) X-MIMETrack: Itemize by SMTP Server on domino1/uni-wuerzburg(Release 7.0.3HF96 | December 5, 2007) at 02/12/2008 11:11:40, Serialize by Router on domino1/uni-wuerzburg(Release 7.0.3HF96 | December 5, 2007) at 02/12/2008 11:11:41, Serialize complete at 02/12/2008 11:11:41 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Virus-Scanned: by amavisd-new at uni-wuerzburg.de Cc: freebsd-current@freebsd.org Subject: Re: New DTrace source snapshot 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: Tue, 12 Feb 2008 10:11:45 -0000 On Sun, Feb 10, 2008 at 10:42:47PM +0000, John Birrell wrote: > This one fixes problems with the previous one: > > - buildkernel would fail because NO_CTF=1 was not set when > building the lone kernel build tool. > - A number of things were missing from the dtrace kernel > module on i386. > - Missing syscall names in the kernel without witness have > been resolved so this snapshot should build with and without > witness, invariants, smp etc. > > > > Known problems: > - This is a snapshot of current which contains lock order > reversal warnings. These are not related to the DTrace-specific > code. > - ustack() as reported by Drew hasn't been ported yet, so don't > expect it to do anything. > - On i386 mp_maxid in the kernel doesn't behave the same way that > it does on amd64. Work-around code exists for this, but it is > less than optimal. > - A few of the tests that pass on amd64 don't work on i386. The > causes are under investigation. The worst one is the tailcall > test which causes the machine to reboot. Ugh. > > Note: > - This snapshot should build cleanly on either a CURRENT or a > RELENG_7 system. If not, please tell me. RELENG_6 users should > upgrade to RELENG_7 first or contact me. The tool bootstrap > will fail to build when hosted on RELENG_6. > - It should be ABI compatible with CURRENT and RELENG_7. If > not, please tell me. > - This snapshot extends the basic OpenSolaris DTrace functionality > to support: > > printm(const size_t bufrsize, uintptr_t *memref); > > where: > > 'memref' is an an array of 2 uintptr_t entries -- address and > size. > > [snip] > > Target audience: > > I'd like to get more people involved with running this code. > If you just like to follow FreeBSD current and don't even try > to contribute stuff back... this snapshot is something you > could try. I need some feeback from people who just use > FreeBSD-CURRENT. > > -- > John Birrell > Hello! The procedure I went through: # cd /usr # rm -R src # tar -xvf /path/to/dtrace-20080211.tar.bz # cd src # time make buildworld Buildworld failed in: -------------------------------------------------------------- >>> stage 5.1: building 32 bit shim libraries -------------------------------------------------------------- mkdir -p /usr/obj/usr/src/lib32/usr/include mkdir -p /usr/obj/usr/src/lib32/usr/lib32 mkdir -p /usr/obj/usr/src/lib32/usr/share/misc mtree -deU -f /usr/src/etc/mtree/BSD.include.dist -p /usr/obj/usr/src/lib32/usr/include >/dev/null mkdir -p /usr/obj/usr/src/tmp ln -sf /usr/src/sys /usr/obj/usr/src/tmp cd /usr/src/kerberos5/tools; MAKEOBJDIRPREFIX=/usr/obj/lib32 make DESTDIR= obj ===> make-print-version (obj) /usr/obj/lib32/usr/src/kerberos5/tools/make-print-version created for /usr/src/kerberos5/tools/make-print-version ===> make-roken (obj) /usr/obj/lib32/usr/src/kerberos5/tools/make-roken created for /usr/src/kerberos5/tools/make-roken ===> asn1_compile (obj) /usr/obj/lib32/usr/src/kerberos5/tools/asn1_compile created for /usr/src/kerberos5/tools/asn1_compile cd /usr/src/kerberos5/tools; MAKEOBJDIRPREFIX=/usr/obj/lib32 make DESTDIR= depend ===> make-print-version (depend) rm -f .depend mkdep -f .depend -a -DHAVE_CONFIG_H -I/usr/src/kerberos5/tools/make-print-version/../../include /usr/src/kerberos5/tools/make-print-version/../../../crypto/heimdal/lib/vers/make-print-version.c echo make-print-version: /usr/lib/libc.a >> .depend ===> make-roken (depend) awk -f /usr/src/kerberos5/tools/make-roken/../../../crypto/heimdal/lib/roken/roken.awk /usr/src/kerberos5/tools/make-roken/../../../crypto/heimdal/lib/roken/roken.h.in > make-roken.c rm -f .depend mkdep -f .depend -a -DHAVE_CONFIG_H -I/usr/src/kerberos5/tools/make-roken/../../include make-roken.c echo make-roken: /usr/lib/libc.a >> .depend ===> asn1_compile (depend) sed -e '106s/"/"#ifdef __PARSE_UNITS_H__\\n/;' -e '106s/",/\\n#endif\\n",/' /usr/src/kerberos5/tools/asn1_compile/../../../crypto/heimdal/lib/asn1/gen_glue.c > gen_glue-fixed.c lex -t /usr/src/kerberos5/tools/asn1_compile/../../../crypto/heimdal/lib/asn1/lex.l > lex.c yacc -d -o parse.c /usr/src/kerberos5/tools/asn1_compile/../../../crypto/heimdal/lib/asn1/parse.y cd /usr/src/kerberos5/tools/asn1_compile/../make-print-version && make cc -O2 -fno-strict-aliasing -pipe -march=nocona -DHAVE_CONFIG_H -I/usr/src/kerberos5/tools/make-print-version/../../include -g -c /usr/src/kerberos5/tools/make-print-version/../../../crypto/heimdal/lib/vers/make-print-version.c ctfconvert -L VERSION make-print-version.o ctfconvert:No such file or directory *** Error code 1 Stop in /usr/src/kerberos5/tools/make-print-version. *** Error code 1 Stop in /usr/src/kerberos5/tools/asn1_compile. *** Error code 1 Stop in /usr/src/kerberos5/tools. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. 4693.728u 1668.096s 1:44:52.91 101.0% 5904+7451k 36308+18539io 13261pf+0w The system is: FreeBSD wep4017.physik.uni-wuerzburg.de 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Thu Jan 31 13:04:43 CET 2008 lexx@wep4017.physik.uni-wuerzburg.de:/usr/obj/usr/src/sys/GENERIC amd64 /etc/make.conf contains: CPUTYPE ?= nocona Should I disable building 32-bit compatibility libraries? If so, how can I do that? I saw some make switch some time ago, but now I see nothing similar in src/Makefile or src/Makefile.inc1. The second question, is parallel build with make -jN option supposed to work? Thanks, Alexey.