From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10877 invoked by alias); 26 Apr 2006 12:47:22 -0000 Received: (qmail 10867 invoked by uid 22791); 26 Apr 2006 12:47:21 -0000 X-Spam-Check-By: sourceware.org Received: from CPE-144-136-172-108.sa.bigpond.net.au (HELO grove.modra.org) (144.136.172.108) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 26 Apr 2006 12:47:20 +0000 Received: by bubble.grove.modra.org (Postfix, from userid 500) id DA41F1E139E; Wed, 26 Apr 2006 22:17:17 +0930 (CST) Date: Wed, 26 Apr 2006 20:07:00 -0000 From: Alan Modra To: Dave Korn Cc: 'Nick Clifton' , binutils@sourceware.org Subject: Re: Mainline and branch: --enable-targets=all dead on cygwin Message-ID: <20060426124717.GZ27430@bubble.grove.modra.org> Mail-Followup-To: Dave Korn , 'Nick Clifton' , binutils@sourceware.org References: <20060426113121.GX27430@bubble.grove.modra.org> <05e901c66928$bd9e3bf0$a501a8c0@CAM.ARTIMI.COM> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <05e901c66928$bd9e3bf0$a501a8c0@CAM.ARTIMI.COM> User-Agent: Mutt/1.4i X-IsSubscribed: yes Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org X-SW-Source: 2006-04/txt/msg00381.txt.bz2 On Wed, Apr 26, 2006 at 12:58:32PM +0100, Dave Korn wrote: > This is due to the fact that USE_UNIQUE is not defined when symbols.c is > compiled, which looks to me to be some kind of problem in the include file > hierarchy; when TE_PE, USE_UNIQUE gets defined in obj-coff.h, but symbols.c > doesn't appear to think it needs to include OBJ_HEADER. Any ideas about that? Yeah, throw rocks at whoever put that code in. :) With --enable-targets=all, you are trying to build i386 gas with AOUT, COFF and ELF support. That means anything format specific needs to be selected at runtime depending on the output. See config/obj-multi.h. There are a depressing number of ocurrences of #ifdef TE_PE scattered around the gas code. For an easy fix, just turn off the multi-obj support by editing gas/configure.in. Tweak the case statement just after # Turn on all targets if possible to exclude pe targets. -- Alan Modra IBM OzLabs - Linux Technology Centre