From owner-freebsd-amd64@FreeBSD.ORG Sun Jun 3 23:22:19 2007 Return-Path: X-Original-To: amd64@freebsd.org Delivered-To: freebsd-amd64@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 37DC516A421; Sun, 3 Jun 2007 23:22:19 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from mxout4.cac.washington.edu (mxout4.cac.washington.edu [140.142.33.19]) by mx1.freebsd.org (Postfix) with ESMTP id EFEBA13C489; Sun, 3 Jun 2007 23:22:18 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from smtp.washington.edu (smtp.washington.edu [140.142.33.9] (may be forged)) by mxout4.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW07.05) with ESMTP id l53NMIPg026317 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 3 Jun 2007 16:22:18 -0700 X-Auth-Received: from [192.168.10.45] (c-67-166-149-71.hsd1.ca.comcast.net [67.166.149.71]) (authenticated authid=youshi10) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW07.03) with ESMTP id l53NMHFd002507 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sun, 3 Jun 2007 16:22:18 -0700 Message-ID: <46634D28.8060503@u.washington.edu> Date: Sun, 03 Jun 2007 16:22:16 -0700 From: Garrett Cooper User-Agent: Thunderbird 2.0.0.0 (Windows/20070326) MIME-Version: 1.0 To: Doug Barton References: <20070603170828.E45BB73068@freebsd-current.sentex.ca> <4662FFA5.4000602@u.washington.edu> <46633EBF.4080209@FreeBSD.org> In-Reply-To: <46633EBF.4080209@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-PMX-Version: 5.3.1.294258, Antispam-Engine: 2.5.1.298604, Antispam-Data: 2007.6.3.160256 X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0, __USER_AGENT 0' Cc: amd64@freebsd.org, FreeBSD Tinderbox , current@freebsd.org Subject: Re: [head tinderbox] failure on amd64/amd64 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Jun 2007 23:22:19 -0000 Doug Barton wrote: > Garrett Cooper wrote: > >> Is there a reason why this line of code is invalid for amd64 (from >> /usr/src/contrib/bind9/lib/isc/x86_64/include/isc/atomic.h:25-28)? >> >> #ifdef ISC_PLATFORM_USEGCCASM >> >> /* We share the gcc-version with x86_32 */ >> #error "impossible case. check build configuration" >> >> After doing some searching, all that that macro does is use says the >> OS can use gcc asm instructions. >> > > Yeah, I looked at that header and asked myself the same question. I'm > going to follow up with the ISC folks on that issue. > > Meanwhile I finally got access to an amd64 machine that I could build > the port on (our reference system is literally FUBAR), and it looks > like things are in better shape than I feared. Ruslan's suggestion of > using the x86_32 atomic.h header that I already committed turns out to > be how the port does it, and the other generated headers look good, so > the build should be fine now. If anyone could confirm that with > sources that include v. 1.18 of src/lib/bind/config.mk the world > actually builds, I'd appreciate it. If you could do some rudimentary > testing of the results, I'd be eternally grateful. :) > > FWIW, I relied on the fact that the bind94 port builds just fine on > our platforms to convince me that things would be fine for the base. > While that seems to have worked for most of the cases, it turns out to > have not been a good assumption to make. I apologize for the > inconvenience that I created. > > > Mea culpa, > > Doug Ok, I'll give it a shot now Doug. Thanks! -Garrett