From owner-freebsd-current@FreeBSD.ORG Mon May 26 15:50:34 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 7C9751065671 for ; Mon, 26 May 2008 15:50:34 +0000 (UTC) (envelope-from leafy7382@gmail.com) Received: from ti-out-0910.google.com (ti-out-0910.google.com [209.85.142.184]) by mx1.freebsd.org (Postfix) with ESMTP id 013248FC17 for ; Mon, 26 May 2008 15:50:33 +0000 (UTC) (envelope-from leafy7382@gmail.com) Received: by ti-out-0910.google.com with SMTP id d27so1245284tid.3 for ; Mon, 26 May 2008 08:50:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=pgtadl3nnW/3K2JNJ0t7jaAuiSWR/tCkw7d+yJ1GcLo=; b=Ukr6u87sudT3ECUFi/CHdXnUFk3kHd4BRM+/wgZNEMWmd2XKqpQbk+0sP2OlEnHtZPaqZTRc/8vatE26yQHMdRldbiXvlvN4LqVlNySwwDii6+gfpkvKg6ogfQ4Y95qp2ti29HKH2kqKnPwuznnhO6l80f/by9qV9rqGDzr9Cx0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=bi9jUoIbUdh0scWSVAPVWUdrcYk5nyMfyX5Wt4zi92dWqIAM5pGOypDxaQ0290eG3KbAu/4jdQQZXbBYNHB05yr4pRMvNP0f9MTphn+jKB4MUpffR7PWgFXykYoSqF2HcAqk+mHHSB5pTR0w9Lg0Ld4eIMUbBz0JSY0VDOcNOXc= Received: by 10.110.60.2 with SMTP id i2mr45057tia.0.1211817031935; Mon, 26 May 2008 08:50:31 -0700 (PDT) Received: by 10.110.15.16 with HTTP; Mon, 26 May 2008 08:50:31 -0700 (PDT) Message-ID: Date: Mon, 26 May 2008 23:50:31 +0800 From: "Jiawei Ye" To: "Jiawei Ye" , freebsd-current@freebsd.org, freebsd-ports@freebsd.org In-Reply-To: <20080526151323.GB72053@wep4017.physik.uni-wuerzburg.de> MIME-Version: 1.0 References: <20080526151323.GB72053@wep4017.physik.uni-wuerzburg.de> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: dtrace and xorg-server problem on -current 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: Mon, 26 May 2008 15:50:34 -0000 On Mon, May 26, 2008 at 11:13 PM, Alexey Shuvaev < shuvaev@physik.uni-wuerzburg.de> wrote: > On Mon, May 26, 2008 at 10:49:51PM +0800, Jiawei Ye wrote: > > Hi, > > I get this weird building problem with xorg-server on -current with > dtrace: > > > > creating libxpstubs.la > > (cd .libs && rm -f libxpstubs.la && ln -s ../libxpstubs.la libxpstubs.la > ) > > /usr/sbin/dtrace -G -C -o dtrace-dix.o -s ../dix/Xserver.d .libs/*.o > > dtrace: failed to compile script ../dix/Xserver.d: > > "/usr/lib/dtrace/psinfo.d", line 37: syntax error near "uid_t" > > *** Error code 1 > > > > [snip] > > > > Something I've missed here? > > > > Jiawei > > > Hello! > > Please, have a look at a small thread: > "http://lists.freebsd.org/pipermail/freebsd-current/2008-May/085584.html" > "http://lists.freebsd.org/pipermail/freebsd-current/2008-May/085598.html" > "http://lists.freebsd.org/pipermail/freebsd-current/2008-May/085602.html" > > In my case the problem was in some old binaries not being swept out > after I have tried John Birrel's dtrace enabled snapshot in february. > Check you system (for examlpe "ll /usr/sbin/dtrace" and etc.). > > If your system is really up-to-date and the problem is caused by the > very recent dtrace import, then try the following patch to the > x11-servers/xorg-server/Makefile. > > Alexey. > ok, I've confirmed that /usr/sbin/dtrace is the latest and tried your patch, everything works now. Thanks, Jiawei -- "If it looks like a duck, walks like a duck, and quacks like a duck, then to the end user it's a duck, and end users have made it pretty clear they want a duck; whether the duck drinks hot chocolate or coffee is irrelevant."