From owner-freebsd-tinderbox@FreeBSD.ORG Mon Jun 1 08:30:38 2009 Return-Path: Delivered-To: tinderbox@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A96A2106566B; Mon, 1 Jun 2009 08:30:38 +0000 (UTC) (envelope-from rea-fbsd@codelabs.ru) Received: from 0.mx.codelabs.ru (0.mx.codelabs.ru [144.206.177.45]) by mx1.freebsd.org (Postfix) with ESMTP id 53B698FC1C; Mon, 1 Jun 2009 08:30:37 +0000 (UTC) (envelope-from rea-fbsd@codelabs.ru) DomainKey-Signature: a=rsa-sha1; q=dns; c=simple; s=one; d=codelabs.ru; h=Received:Date:From:To:Cc:Subject:Message-ID:Reply-To:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To:Sender; b=qz79GjZVivWlyQPMeKvaojIkB/R13u+yJ+kV4VUnd5cND2teJeuayMkwjgTgUqsw/Bt1GZkHZmfcBZoQZfpI5L6E11SlZYr2IlXneXd8fluDb3kkueQpEA7vrQ6ajql4w2wvqN+60j/90xwCjtWzD+suPXBQpa8zB8CweiZz4uo=; Received: from shadow.codelabs.ru (shadow.codelabs.ru [144.206.177.8]) by 0.mx.codelabs.ru with esmtpsa (TLSv1:AES256-SHA:256) id 1MB2gv-0000W9-Vm; Mon, 01 Jun 2009 12:16:22 +0400 Date: Mon, 1 Jun 2009 12:16:18 +0400 From: Eygene Ryabinkin To: Doug Barton Message-ID: References: <20090601042258.909C77302F@freebsd-current.sentex.ca> <4A2360BC.8040109@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="ikeVEW9yuYc//A+q" Content-Disposition: inline In-Reply-To: <4A2360BC.8040109@FreeBSD.org> Sender: rea-fbsd@codelabs.ru X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: ia64@freebsd.org, FreeBSD Tinderbox , current@freebsd.org Subject: Re: [head tinderbox] failure on ia64/ia64 X-BeenThere: freebsd-tinderbox@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: rea-fbsd@codelabs.ru List-Id: "Tinderbox reports, responses, and meta-comments" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Jun 2009 08:30:39 -0000 --ikeVEW9yuYc//A+q Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Doug, good day. Sun, May 31, 2009 at 10:01:48PM -0700, Doug Barton wrote: > FYI, I'm aware of this issue and I've filed a bug report with the ISC > folks. If anyone has a bright idea on how to fix it I'm all ears, but > I tried everything I can think of already and no luck so far. Seems like GCC likes to see __attribute__ stuff only for function prototypes, not for declarations. The attached patch seems to fix the stuff, but I have no ia64 system to test on. Quick test with 'make ISC_ATOMIC_ARCH=ia64' eliminates errors. This is very weird (judging by the GCC's manual) since the simplest C program, ----- int main(void) { return 0; } void foo(void) __attribute__ ((unused)) { return; } ----- but ICC 10.x produces the same error and happily chewes __attribute__ on the function prototype. Anyway, I see no warnings even without '((unused)) attribute with -Wall, so '__attribute__ ((unused))' looks like no-op nowadays. -- Eygene _ ___ _.--. # \`.|\..----...-'` `-._.-'_.-'` # Remember that it is hard / ' ` , __.--' # to read the on-line manual )/' _/ \ `-_, / # while single-stepping the kernel. `-'" `"\_ ,_.-;_.-\_ ', fsc/as # _.-'_./ {_.' ; / # -- FreeBSD Developers handbook {_.-``-' {_/ # --ikeVEW9yuYc//A+q--