From owner-freebsd-ia64@FreeBSD.ORG Sun May 31 18:58:45 2009 Return-Path: Delivered-To: freebsd-ia64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 19FA5106566B for ; Sun, 31 May 2009 18:58:45 +0000 (UTC) (envelope-from dougb@dougbarton.us) Received: from mail2.fluidhosting.com (mx21.fluidhosting.com [204.14.89.4]) by mx1.freebsd.org (Postfix) with ESMTP id 0102F8FC18 for ; Sun, 31 May 2009 18:58:43 +0000 (UTC) (envelope-from dougb@dougbarton.us) Received: (qmail 30908 invoked by uid 399); 31 May 2009 18:32:03 -0000 Received: from localhost (HELO foreign.dougb.net) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 31 May 2009 18:32:03 -0000 X-Originating-IP: 127.0.0.1 X-Sender: dougb@dougbarton.us Message-ID: <4A22CD21.9040309@dougbarton.us> Date: Sun, 31 May 2009 11:32:01 -0700 From: Doug Barton User-Agent: Thunderbird 2.0.0.21 (X11/20090423) MIME-Version: 1.0 To: bind-users@isc.org, freebsd-ia64@freebsd.org X-Enigmail-Version: 0.95.7 OpenPGP: id=D5B2F0FB Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Subject: 9.6.1rc1 + FreeBSD 8 + IA64 compile problem X-BeenThere: freebsd-ia64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the IA-64 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 May 2009 18:58:45 -0000 Last night I imported 9.6.1rc1 to FreeBSD 8-current for inclusion in the upcoming 8-release. (Side note, hopefully 9.6.1 will go to release status first.) :) It seems to be compiling fine on all of our platforms except IA64 where I'm getting the following error building lib/bind9 In file included from /src/lib/bind/bind9/../../../contrib/bind9/lib/isc/include/isc/refcount.h:23, from /src/lib/bind/bind9/../../../contrib/bind9/lib/dns/include/dns/acl.h:39, from /src/lib/bind/bind9/../../../contrib/bind9/lib/bind9/check.c:38: /src/lib/bind/bind9/../../../contrib/bind9/lib/isc/ia64/include/isc/atomic.h:38: error: expected ',' or ';' before '{' token /src/lib/bind/bind9/../../../contrib/bind9/lib/isc/ia64/include/isc/atomic.h:64: error: expected ',' or ';' before '{' token /src/lib/bind/bind9/../../../contrib/bind9/lib/isc/ia64/include/isc/atomic.h:83: error: expected ',' or ';' before '{' token That's related to the following construction in that file: static inline isc_int32_t isc_atomic_xadd(isc_int32_t *p, isc_int32_t val) #ifdef __GNUC__ __attribute__ ((unused)) #endif { Line 38 is the last line with the { by itself. If I add a comma after ((unused)) I get a different error: In file included from /p/scratch/dougb/src/lib/bind/bind9/../../../contrib/bind9/lib/isc/include/isc/refcount.h:23, from /p/scratch/dougb/src/lib/bind/bind9/../../../contrib/bind9/lib/dns/include/dns/acl.h:39, from /p/scratch/dougb/src/lib/bind/bind9/../../../contrib/bind9/lib/bind9/check.c:38: /p/scratch/dougb/src/lib/bind/bind9/../../../contrib/bind9/lib/isc/ia64/include/isc/atomic.h:38: error: expected identifier or '(' before '{' token /p/scratch/dougb/src/lib/bind/bind9/../../../contrib/bind9/lib/isc/ia64/include/isc/atomic.h:64: error: expected identifier or '(' before '{' token /p/scratch/dougb/src/lib/bind/bind9/../../../contrib/bind9/lib/isc/ia64/include/isc/atomic.h:83: error: expected identifier or '(' before '{' token *** Error code 1 I also tried various other combinations of removing the #ifdef, running it all onto the same line, etc. I'm not really familiar with this usage of __attribute__ so I'm at a bit of a loss. Thanks, Doug