From owner-freebsd-stable@FreeBSD.ORG Wed Mar 30 08:56:10 2011 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 906C1106566C; Wed, 30 Mar 2011 08:56:10 +0000 (UTC) (envelope-from ndenev@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id DB6318FC0C; Wed, 30 Mar 2011 08:56:09 +0000 (UTC) Received: by bwz12 with SMTP id 12so958962bwz.13 for ; Wed, 30 Mar 2011 01:56:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:subject:mime-version:content-type:from :in-reply-to:date:cc:message-id:references:to:x-mailer; bh=U2zQse5B/VwfsO5hdFJd/FlS3SoOA1LQNZHA4tYH1aM=; b=WCq/771QCW2MogXVD0/6LOgClf9gsCPznxx2D+x8iJWDxQjlFr3isYIvwmGm3ct/uT qt7jkhjrgRS6ws3JRuSPZgUhPtFFMpiYYXB3Pclqaa7dgLdm6zyeK0TO+Xa34Z60qCmx J8ZfBQsf427fkNEnAHW2HKufRWTTC+pI8MjLQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:mime-version:content-type:from:in-reply-to:date:cc :message-id:references:to:x-mailer; b=wzT1GXeQCeXEF2o8kgpq93SiaTm3GiGjjuyx9jap0fJeYgAVtSkg0Wh2DBdPeveQ6U qEHyg0UmpykdLShFNJpquIbjqORFXirVfHE48bq4u9tivhwsp9qv5gaBQrj1bp8NXToU Ihv50aetlNUcvTsDIpwCd4CKxjiIOZF1D1J+U= Received: by 10.204.180.80 with SMTP id bt16mr768954bkb.184.1301475368648; Wed, 30 Mar 2011 01:56:08 -0700 (PDT) Received: from imba-brutale.totalterror.net (93-152-151-19.ddns.onlinedirect.bg [93.152.151.19]) by mx.google.com with ESMTPS id q24sm141220bks.9.2011.03.30.01.56.06 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 30 Mar 2011 01:56:07 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v1084) From: Nikolay Denev In-Reply-To: Date: Wed, 30 Mar 2011 11:56:05 +0300 Message-Id: <16E90817-1FFF-4790-8E77-3A66C3D7F016@gmail.com> References: <20110301101015.GN78089@deviant.kiev.zoral.com.ua> <08280117-07E0-42CF-A250-3E418E48A8E7@gmail.com> To: Zhihao Yuan X-Mailer: Apple Mail (2.1084) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Kostik Belousov , stable@freebsd.org, Robert Watson Subject: Re: FYI: Userspace DTrace MFC to stable/8 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Mar 2011 08:56:10 -0000 On Mar 30, 2011, at 11:24 AM, Zhihao Yuan wrote: > On Wed, Mar 30, 2011 at 2:57 AM, Nikolay Denev = wrote: >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >>=20 >> On Mar 1, 2011, at 12:10 PM, Kostik Belousov wrote: >>=20 >>> On Tue, Mar 01, 2011 at 11:03:07AM +0200, Nikolay Denev wrote: >>>> On 1 Mar, 2011, at 01:33 , Robert Watson wrote: >>>>=20 >>>>> Dear all: >>>>>=20 >>>>> Just an FYI that I've gone ahead and merged userspace DTrace = support to FreeBSD 8.x from 9.x. While it appeared to pass build tests = locally, boot and run, etc, this is a non-trivial merge, and it's = possible I've messed up. If so, apologies in advance, and I'll try to = resolve any problems as quickly as I can! >>>>>=20 >>>>> And of course, many thanks go to Rui Paulo, who did the port of = userspace DTrace to FreeBSD 9.x with support from the FreeBSD = Foundation! >>>>>=20 >>>>> Thanks, >>>>>=20 >>>>> Robert N M Watson >>>>> Computer Laboratory >>>>> University of Cambridge >>>>>=20 >>>>=20 >>>> That's great news! Many thanks to all that made this possible! >>>>=20 >>>> I have a quick question though, now do I have to rebuild my world = with "WITH_CTF" ? >>>> I'm asking because I did that by mistake some months ago on a = RELENG_8 machine, and >>>> the world that was built had some problems, like gcc giving = segfault 11 while compiling world or some ports. >>>>=20 >>> It was a known issue that ctfconvert (I think it is ctfconvert) = damages >>> statically linked binaries. Most likely, it was not fixed yet. >>=20 >> I can confirm this is not fixed yet. >>=20 >> I have two STABLE-8 machines which had their world rebuilt with = WITH_CTF option, >> and now I'm unable to rebuild the world as both machines fail with = Segmentation Fault: 11 on exactly the same place : >>=20 >> mkdep -f .depend -a -I/usr/obj/usr/src/tmp/legacy/usr/include = -I/usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/lib = -I/usr/src/gnu/usr.bin/gperf = /usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/bool-array.cc = /usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/gen-perf.cc = /usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/hash-table.cc = /usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/iterator.cc = /usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/key-list.cc = /usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/list-node.cc = /usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/main.cc = /usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/new.cc = /usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/options.cc = /usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/read-line.cc = /usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/trace.cc = /usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/vectors.cc = /usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/version.cc = /usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/lib/hash.cc >> cc: Internal error: Segmentation fault: 11 (program cc1plus) >> Please submit a full bug report. >> See for instructions. >> mkdep: compile failed >> *** Error code 1 >>=20 >> Stop in /usr/src/gnu/usr.bin/gperf. >> *** Error code 1 >>=20 >> Stop in /usr/src. >> *** Error code 1 >>=20 >> Stop in /usr/src. >> *** Error code 1 >>=20 >> Stop in /usr/src. >=20 > I have met this problem before. WITH_CTF on world is not required to > use DTrace, and it seems that the gcc is broken. If can get a working > gcc4.2 in the base system, you are ucky. Or, you can download a base > system for the FreeBSD FTP site, and install it to a temp path, then > copy the gcc binary to /usr/bin. >=20 Yes, but since now the userspace DTrace portions have been MFCed I = believe one needs a world WITH_CTF to use it? Anyways, I've already fixed my installations, exactly by downloading a = ISO image and extracting only the=20 GCC stuff. Regards, Nikolay=