From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19523 invoked by alias); 18 Mar 2005 20:28:20 -0000 Mailing-List: contact binutils-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sources.redhat.com Received: (qmail 19379 invoked from network); 18 Mar 2005 20:28:14 -0000 Received: from unknown (HELO bluesmobile.specifixinc.com) (64.220.152.98) by sourceware.org with SMTP; 18 Mar 2005 20:28:14 -0000 Received: from [127.0.0.1] (bluesmobile.corp.specifixinc.com [192.168.1.2]) by bluesmobile.specifixinc.com (Postfix) with ESMTP id 8DCF4167EA; Fri, 18 Mar 2005 12:28:13 -0800 (PST) Subject: Re: build failure for ia64 (due to -Werror) From: James E Wilson To: Alan Modra Cc: Nick Clifton , Ben Elliston , binutils@sources.redhat.com In-Reply-To: <20050318122113.GY21148@bubble.modra.org> References: <423A2ADB.6090807@au.ibm.com> <423ABA6A.4030409@redhat.com> <20050318122113.GY21148@bubble.modra.org> Content-Type: text/plain Message-Id: <1111177693.9897.18.camel@aretha.corp.specifixinc.com> Mime-Version: 1.0 Date: Fri, 18 Mar 2005 22:15:00 -0000 Content-Transfer-Encoding: 7bit X-SW-Source: 2005-03/txt/msg00548.txt.bz2 On Fri, 2005-03-18 at 04:21, Alan Modra wrote: > I would guess 32-bit host, no --enable-64-bit-bfd. Then "bfd_vma insn" > is 32-bit and ia64_insn is long long. There's worse things in that code > than type-punned pointers.. I believe this can only happen if --enable-targets=all is used. I see this is a documented feature in configure.in. This seems like a flaw to me. The elfxx-ia64.c file won't work without a 64-bit integer type, and it seems unreasonable to try to fix this. A quick look seems to suggest that other elf64-* files have the same problem. elf64-ppc.c is using bfd_get_64 for instance, as are some others. I suppose I could add something like #ifndef BFD64 #error This target requires a 64 bit integer type. #endif to the elfxx-ia64.c file to make the problem more obvious if people think something needs to be done. It might be better to fix the --enable-targets=all support. We have enough 64-bit targets by now that perhaps --enable-targets=all should force use of BFD64. -- Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com