From owner-freebsd-dtrace@FreeBSD.ORG Sun Jun 9 13:49:22 2013 Return-Path: Delivered-To: freebsd-dtrace@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 7FD536A5 for ; Sun, 9 Jun 2013 13:49:22 +0000 (UTC) (envelope-from venture37@gmail.com) Received: from mail-lb0-f181.google.com (mail-lb0-f181.google.com [209.85.217.181]) by mx1.freebsd.org (Postfix) with ESMTP id 0BEE11A43 for ; Sun, 9 Jun 2013 13:49:21 +0000 (UTC) Received: by mail-lb0-f181.google.com with SMTP id w10so2800178lbi.26 for ; Sun, 09 Jun 2013 06:49:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=PH8k/uJYfhsvI5anwdrFPIGtbbdrjtlavzZcBM45yJo=; b=1KXSa+zS2oqpwadTD5Ui2Zp+MsbMPtZwd7cmRgZEwGTZzo4Mqa4B4j5CtgzmFUDYmk DLUV4A4Gh4R+5i7+GtN9jCeuJn3QIyRzCjs8WpwxQQyuJ+jvnYDQG6zob80E5Z/x4Lbj O8+gGxGPjKHbvRJGVlGQK+DPkC6chkeIxtLWUeQ1jBJJzVI4oUQkbbPWzppUkiZzUxiI tPGonR1I5QGfJlj/MLEpJBPeL3sLlK/OWJz8conKwPXf3XwdlghmRzIuwdYg9r+KFBA/ HF8bxvtj70HytVka8AKsMfR39GU3TzFN2PaN52WDziFE95p0jSn8IPaQgVsj0o9zvQ4/ ejfA== X-Received: by 10.152.3.227 with SMTP id f3mr2989573laf.75.1370785755499; Sun, 09 Jun 2013 06:49:15 -0700 (PDT) Received: from Sevans-MacBook-Air-11.local (burger-king.hloptic.ru. [217.144.105.206]) by mx.google.com with ESMTPSA id n7sm4040969lbd.12.2013.06.09.06.49.13 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 09 Jun 2013 06:49:14 -0700 (PDT) Message-ID: <51B487C8.8040007@gmail.com> Date: Sun, 09 Jun 2013 17:48:56 +0400 From: Sevan / Venture37 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 MIME-Version: 1.0 To: freebsd-dtrace@freebsd.org Subject: State of DTrace on FreeBSD Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-dtrace@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "A discussion list for developers working on DTrace in FreeBSD." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Jun 2013 13:49:22 -0000 Hi Guys, I started off with wanting to run postgresql on FreeBSD with DTrace support enabled but ran into various problems, digging further I discovered that the issue is not specific to Postgreqsl. My test system was FreeBSD-CURRENT/amd64 but I went back to 8.4/i386 to test. On fresh 8.4 install it's not possible to build a kernel or world WITH_CTF=1, build fails with WITH_CTF & WITHOUT_CTF can't both be set On FreeBSD-CURRENT (r251249 from last Sunday), postgresql & firefox build --with-dtrace but probes never show up when running dtrace -l On FreeBSD 9.1-STABLE (r250009) postgresql wouldn't build with dtrace support enabled. Failing with Assertion failed: (nrc == rc), function _libelf_resync_sections, file /usr/src/lib/libelf/elf_update.c, line 341. gmake: *** [utils/probes.o] Abort trap: 6 (core dumped) gmake: *** Deleting file 'utils/probes.o' *** [do-build] Error code 2 Previously reported here & http://lists.freebsd.org/pipermail/freebsd-questions/2013-May/250843.html I was wondering what the percieved state of DTrace support was from the developers perspective, is this known behaviour? Should I rais a PR to flag the postgresql port broken when attempting to build with dtrace support? Sevan / Venture37 From owner-freebsd-dtrace@FreeBSD.ORG Sun Jun 9 14:00:24 2013 Return-Path: Delivered-To: freebsd-dtrace@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id CA9E2BC0 for ; Sun, 9 Jun 2013 14:00:24 +0000 (UTC) (envelope-from gnn@freebsd.org) Received: from vps.hungerhost.com (vps.hungerhost.com [216.38.53.176]) by mx1.freebsd.org (Postfix) with ESMTP id A6C801A9D for ; Sun, 9 Jun 2013 14:00:24 +0000 (UTC) Received: from pool-96-250-5-62.nycmny.fios.verizon.net ([96.250.5.62]:62884 helo=minion.home) by vps.hungerhost.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.80) (envelope-from ) id 1UlgAL-0006EZ-Rb; Sun, 09 Jun 2013 10:00:17 -0400 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\)) Subject: Re: State of DTrace on FreeBSD From: George Neville-Neil In-Reply-To: <51B487C8.8040007@gmail.com> Date: Sun, 9 Jun 2013 10:00:16 -0400 Content-Transfer-Encoding: quoted-printable Message-Id: <2CA4BD16-DE04-419D-A26F-3D803D91687D@freebsd.org> References: <51B487C8.8040007@gmail.com> To: Sevan / Venture37 X-Mailer: Apple Mail (2.1508) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - vps.hungerhost.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - freebsd.org X-Get-Message-Sender-Via: vps.hungerhost.com: authenticated_id: gnn@neville-neil.com Cc: freebsd-dtrace@freebsd.org X-BeenThere: freebsd-dtrace@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "A discussion list for developers working on DTrace in FreeBSD." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Jun 2013 14:00:24 -0000 On Jun 9, 2013, at 9:48 , Sevan / Venture37 wrote: > Hi Guys, > I started off with wanting to run postgresql on FreeBSD with DTrace = support enabled but ran into various problems, digging further I = discovered that the issue is not specific to Postgreqsl. >=20 > My test system was FreeBSD-CURRENT/amd64 but I went back to 8.4/i386 = to test. >=20 > On fresh 8.4 install it's not possible to build a kernel or world = WITH_CTF=3D1, build fails with WITH_CTF & WITHOUT_CTF can't both be set > On FreeBSD-CURRENT (r251249 from last Sunday), postgresql & firefox = build --with-dtrace but probes never show up when running dtrace -l >=20 > On FreeBSD 9.1-STABLE (r250009) postgresql wouldn't build with dtrace = support enabled. > Failing with > Assertion failed: (nrc =3D=3D rc), function _libelf_resync_sections, = file > /usr/src/lib/libelf/elf_update.c, line 341. > gmake: *** [utils/probes.o] Abort trap: 6 (core dumped) > gmake: *** Deleting file 'utils/probes.o' > *** [do-build] Error code 2 >=20 > Previously reported here & = http://lists.freebsd.org/pipermail/freebsd-questions/2013-May/250843.html >=20 > I was wondering what the percieved state of DTrace support was from = the developers perspective, is this known behaviour? > Should I rais a PR to flag the postgresql port broken when attempting = to build with dtrace support? Please raise these bugs when you find them. There are several of us now = working to make sure that DTrace on FreeBSD is at parity with DTrace in illumos, and that's a = non trivial undertaking. Best, George