Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Reinoud Koornstra <reinoudkoornstra@gmail.com>
To: Joel Brobecker <brobecker@adacore.com>
Cc: Andreas Schwab <schwab@suse.de>, gdb@sourceware.org
Subject: Re: --host=x86_64-linux-gnu --target=arm-linux-gnueabihf
Date: Thu, 10 May 2018 00:20:00 -0000	[thread overview]
Message-ID: <CAAA5faFOkxyiXgqNWeh1RynCBwotF1bTLuA892-7YvY578=GSA@mail.gmail.com> (raw)
In-Reply-To: <20180509133625.r5ho32icq2mu5tnm@adacore.com>

Ah thanks, that worked.
I earlier build gdb for arm that also runs on arm itself.
That's why it likely was giving errors, I deleted the dir and
extracted again, worked like a charm.
Thanks,

Reinoud.

On Wed, May 9, 2018 at 6:36 AM, Joel Brobecker <brobecker@adacore.com> wrote:
>> 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
>
> Try starting from scratch. It looks like these files were compiled
> with a compiler for another platform.
>
> --
> Joel


      reply	other threads:[~2018-05-10  0:20 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
2018-05-09 13:36     ` Joel Brobecker
2018-05-10  0:20       ` Reinoud Koornstra [this message]

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='CAAA5faFOkxyiXgqNWeh1RynCBwotF1bTLuA892-7YvY578=GSA@mail.gmail.com' \
    --to=reinoudkoornstra@gmail.com \
    --cc=brobecker@adacore.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