From owner-freebsd-stable@FreeBSD.ORG Sun Aug 31 02:57:20 2008 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 A375D106566C for ; Sun, 31 Aug 2008 02:57:20 +0000 (UTC) (envelope-from dataefx@charter.net) Received: from mta21.charter.net (mta21.charter.net [216.33.127.81]) by mx1.freebsd.org (Postfix) with ESMTP id 24D2E8FC08 for ; Sun, 31 Aug 2008 02:57:20 +0000 (UTC) (envelope-from dataefx@charter.net) Received: from aarprv06.charter.net ([10.20.200.76]) by mta21.charter.net (InterMail vM.7.08.03.00 201-2186-126-20070710) with ESMTP id <20080831025719.VSRY9229.mta21.charter.net@aarprv06.charter.net>; Sat, 30 Aug 2008 22:57:19 -0400 Received: from [192.217.152.195] (really [75.142.57.80]) by aarprv06.charter.net with ESMTP id <20080831025719.DWSZ29012.aarprv06.charter.net@[192.217.152.195]>; Sat, 30 Aug 2008 22:57:19 -0400 From: John Scroggins To: John Birrell In-Reply-To: <20080831022037.GA49072@what-creek.com> References: <1220144983.37555.26.camel@rougehunter75.charterpipeline.net> <20080831022037.GA49072@what-creek.com> Content-Type: text/plain Date: Sat, 30 Aug 2008 19:57:33 -0700 Message-Id: <1220151454.37555.31.camel@rougehunter75.charterpipeline.net> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit X-Chzlrs: 0 Cc: stable@freebsd.org Subject: Re: unable to upgrade to 7.1-PRE 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: Sun, 31 Aug 2008 02:57:20 -0000 On Sun, 2008-08-31 at 02:20 +0000, John Birrell wrote: > On Sat, Aug 30, 2008 at 06:09:43PM -0700, John Scroggins wrote: > > Hello all, > > > > I have attempted to upgrade to 7.1-Pre with no avail. > > My source tree is has been cleaned and /usr/obj is cleared every time > > the system is rebuilt. I have swapped over the kernel config to the > > latest Generic and uncommented the dtrace hooks -- but my build > > continues to fall on its face compiling the dtrace module. > > > > Is there something I'm missing here ? good chance its obvious, but I'm > > at a loss --- :( > [...] > > In file included > > from /usr/src/sys/modules/dtrace/sdt/../../../cddl/dev/sdt/sdt.c:42: > > /usr/src/sys/modules/dtrace/sdt/./../../cddl/contrib/opensolaris/uts/common/sys/dtrace.h:630:19: warning: "_BIG_ENDIAN" is not defined > > Please check if you have any files in /usr/src/sys/cddl and subdirectories > which have #undef _BIG_ENDIAN. thanks for the pointer --- i'll post results in a while -- (gotta go to work :)) > > The ZFS port used to do this, but it broke the FreeBSD elf headers which rely on > both BtIG and LITTLE endian definitions being defined. And that broke the DTrace > build. > > The current code is _supposed_ to work with the standard endian definitions that > FreeBSD uses. The fact that your build barfs on a missing _BIG_ENDIAN define is > an indication that either something hasn't updated correctly in your cvsup or I've > f'up again (ugh). > > The problem you are seeing has nothing to do with the kernel config. You can have > KDTRACE_HOOKS in your kernel config or not and the result will be the same. > > -- > John Birrell