Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Reinoud Koornstra <reinoudkoornstra@gmail.com>
To: Andreas Schwab <schwab@suse.de>
Cc: gdb@sourceware.org
Subject: Re: --host=x86_64-linux-gnu --target=arm-linux-gnueabihf
Date: Wed, 09 May 2018 07:40:00 -0000	[thread overview]
Message-ID: <CAAA5faEn-H-tGdxG8SGVEPJx79fHDV-L+Agt2E3QKbzDETd3nA@mail.gmail.com> (raw)
In-Reply-To: <mvmr2ml5md7.fsf@suse.de>

I get the same result if I only do
./configure --target=arm-linux-gnueabihf

It always faults at

/usr/bin/ld: libsim.a(arminit.o): Relocations in generic ELF (EM: 40)
libsim.a: error adding symbols: File in wrong format
collect2: error: ld returned 1 exit status
make[3]: *** [run] Error 1


On Wed, May 9, 2018 at 12:17 AM, Andreas Schwab <schwab@suse.de> wrote:
> On Mai 08 2018, Reinoud Koornstra <reinoudkoornstra@gmail.com> wrote:
>
>> ./configure -host=x86_64-linux-gnu --target=arm-linux-gnueabihf
>> configure: WARNING: If you wanted to set the --build type, don't use --host.
>>     If a cross compiler is detected then cross compile mode will be used.
>
> Use --build, not --host, or leave it out at all.
>
> Andreas.
>
> --
> Andreas Schwab, SUSE Labs, schwab@suse.de
> GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
> "And now for something completely different."


  reply	other threads:[~2018-05-09  7:40 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-09  0:33 Reinoud Koornstra
2018-05-09  7:17 ` Andreas Schwab
2018-05-09  7:40   ` Reinoud Koornstra [this message]
2018-05-09 13:36     ` Joel Brobecker
2018-05-10  0:20       ` Reinoud Koornstra

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=CAAA5faEn-H-tGdxG8SGVEPJx79fHDV-L+Agt2E3QKbzDETd3nA@mail.gmail.com \
    --to=reinoudkoornstra@gmail.com \
    --cc=gdb@sourceware.org \
    --cc=schwab@suse.de \
    /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