All of lore.kernel.org
 help / color / mirror / Atom feed
From: MikeW <mw_phil@yahoo.co.uk>
To: buildroot@busybox.net
Subject: [Buildroot] 'ld' gives "unrecognised emulation mode" - ARM	toolchain unbuildable ??
Date: Wed, 22 Nov 2006 09:34:37 +0000 (UTC)	[thread overview]
Message-ID: <loom.20061122T095656-727@post.gmane.org> (raw)
In-Reply-To: f2b55d220611211208yef912b8p4c00bfd2ee2a2eca@mail.gmail.com

Michael K. Edwards <medwards.linux@...> writes:

> 
> You probably want to stick to armelf(b)-linux-eabi, since that's
> clearly the right thing in later toolchains.  EABI on ARM seems to be
> better supported in an up-to-date toolchain combination consisting of
> gcc 4.1.1, binutils 2.17.50.0.6, and headers from glibc 2.5 and kernel
> 2.6.16 or later.  I used crosstool to build a glibc toolchain first,
> and am currently grinding through compiling a full glibc/NPTL
> userspace with ptxdist, cleaning up all the non-uClibc-specific
> issues.  Once I have the kinks worked out of that, I'll be trying a
> uClibc version; I'll keep the list posted.
> 
> As of gcc 4.1.1, it seems that one still needs this patch to fix up
> some include issues:
>
http://www.kegel.com/crosstool/crosstool-0.42/contrib/2006/crosstool-0.38-add-gcc-4.1-20060210.diff
> 
> Also, if your target is big-endian, you need the one-line patch below
> so that big-endian is really big-endian.
> 
> Cheers,
> - Michael

Many thanks - but I am unable to configure Buildroot to give an EABI
compatible (version != 0) toolchain.
I have now tried also using the most recent GCC and Binutils in the
Buildroot menuconfig options, this using buildroot-20061031.

What is the required 'GNU target suffix' or other setting to enable
EABI operation ? (Obviously I have set 'Target ABI: EABI')

The only target suffix that appears to give a workable toolchain
(i.e. one that doesn't say 'unrecognised emulation mode') 
is 'elf-linux', and that doesn't seem to support EABI (objects built
with it have EABI version 0)

If I use any other target suffix settings in the menuconfig 
(e.g. elf-linux-eabi or even tried elf-linux_eabi) I get:
".../bin/ld: unrecognised emulation mode: armelf_linux
Supported emulations: armelf_linux_eabi" ... but I am unable to
obtain that setting :(

Regards,
Mike

  reply	other threads:[~2006-11-22  9:34 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-01 14:14 [Buildroot] 'ld' gives "unrecognised emulation mode" during make; gcc-3.4.3 MikeW
2006-11-02 12:09 ` [Buildroot] 'ld' gives "unrecognised emulation mode" - ARM toolchain unbuildable ?? MikeW
2006-11-02 18:01 ` [Buildroot] 'ld' gives MikeW
2006-11-21 19:19   ` [Buildroot] 'ld' gives "unrecognised emulation mode" - ARM toolchain unbuildable ?? MikeW
2006-11-21 20:08     ` Michael K. Edwards
2006-11-22  9:34       ` MikeW [this message]
2006-11-22 17:08         ` Michael K. Edwards
2006-11-29 14:58           ` MikeW
2006-11-29 15:06             ` [Buildroot] 'ld' gives MikeW

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=loom.20061122T095656-727@post.gmane.org \
    --to=mw_phil@yahoo.co.uk \
    --cc=buildroot@busybox.net \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.