From: Alan Modra <amodra@bigpond.net.au>
To: Dave Korn <dave.korn@artimi.com>
Cc: 'Nick Clifton' <nickc@redhat.com>, binutils@sourceware.org
Subject: Re: Mainline and branch: --enable-targets=all dead on cygwin
Date: Wed, 26 Apr 2006 20:07:00 -0000 [thread overview]
Message-ID: <20060426124717.GZ27430@bubble.grove.modra.org> (raw)
In-Reply-To: <05e901c66928$bd9e3bf0$a501a8c0@CAM.ARTIMI.COM>
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
next prev parent reply other threads:[~2006-04-26 12:47 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-19 16:27 Dave Korn
2006-04-26 11:31 ` Nick Clifton
2006-04-26 12:47 ` Dave Korn
2006-04-26 14:38 ` Alan Modra
2006-04-26 16:59 ` Dave Korn
2006-04-26 18:18 ` Dave Korn
2006-04-26 20:07 ` Alan Modra [this message]
2006-05-29 18:00 ` Aaron W. LaFramboise
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060426124717.GZ27430@bubble.grove.modra.org \
--to=amodra@bigpond.net.au \
--cc=binutils@sourceware.org \
--cc=dave.korn@artimi.com \
--cc=nickc@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).