public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* Re: gas: Fatal error: no compiled in support for x86_64
@ 2018-01-02 11:46 Nick Clifton
  0 siblings, 0 replies; 3+ messages in thread
From: Nick Clifton @ 2018-01-02 11:46 UTC (permalink / raw)
  To: Madhu; +Cc: binutils

Hi Madhu,

> However with binutils-2.29, calling `as --64' results in
> Fatal error: no compiled in support for x86_64
> 
> Doesn't the enable-targets=all include support for x86_64 in a 32bit
> gas?

No.  You need to add --enable-64-bit-bfd to the configure command line
to get this support.  (When using --enable-targets=all).

Cheers
  Nick



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: gas: Fatal error: no compiled in support for x86_64
       [not found] <5a3e7ebb.415b650a.12379.6a53SMTPIN_ADDED_MISSING@mx.google.com>
@ 2017-12-24  0:45 ` Alan Modra
  0 siblings, 0 replies; 3+ messages in thread
From: Alan Modra @ 2017-12-24  0:45 UTC (permalink / raw)
  To: Madhu; +Cc: binutils

On Mon, Dec 18, 2017 at 11:25:30PM -0700, Madhu wrote:
> --enable-64bit-bfd --enable-multilib --enable-gold --enable-plugins

You spelled --enable-64-bit-bfd incorrectly.  (I've done the same!)

-- 
Alan Modra
Australia Development Lab, IBM

^ permalink raw reply	[flat|nested] 3+ messages in thread

* gas: Fatal error: no compiled in support for x86_64
@ 2017-12-23 16:05 Madhu
  0 siblings, 0 replies; 3+ messages in thread
From: Madhu @ 2017-12-23 16:05 UTC (permalink / raw)
  To: binutils

Hello, In the past, I've configured binutils-2.23 with

configure -C --host=i586-linux --target=i586-linux --build=i586-linux
--enable-64bit-bfd --enable-multilib --enable-gold --enable-plugins
--enable-threads --enable-install-libiberty --enable-targets=all

And this produced a 32bit gas binary which accepted an --64 argument.

However with binutils-2.29, calling `as --64' results in
Fatal error: no compiled in support for x86_64

Doesn't the enable-targets=all include support for x86_64 in a 32bit
gas?

-- 
Madhu

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-01-02 11:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-02 11:46 gas: Fatal error: no compiled in support for x86_64 Nick Clifton
     [not found] <5a3e7ebb.415b650a.12379.6a53SMTPIN_ADDED_MISSING@mx.google.com>
2017-12-24  0:45 ` Alan Modra
  -- strict thread matches above, loose matches on Subject: below --
2017-12-23 16:05 Madhu

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).