From: MikeW <mw_phil@yahoo.co.uk>
To: buildroot@busybox.net
Subject: [Buildroot] 'ld' gives "unrecognised emulation mode" - ARM toolchain unbuildable ??
Date: Thu, 2 Nov 2006 12:09:41 +0000 (UTC) [thread overview]
Message-ID: <loom.20061102T125839-749@post.gmane.org> (raw)
In-Reply-To: loom.20061101T111436-827@post.gmane.org
MikeW <mw_phil@...> writes:
>
> Am using buildroot-20061031 to build arm926t system,
> Toolchain options gcc-3.4.3 (-final), ARM, EABI, binutils-2.16.91.0.7
> and have set the GNU target suffix to linux-uclibcgnueabi.
> [Host system gcc-3.4.6 20060404]
>
> During building libgcc, I get the message
> ->>
> /home/fred/buildroot/build_arm_nofpu/staging_dir/
> arm-linux-uclibcgnueabi/b in/ld: unrecognised emulation mode:
armelf_linux
> Supported emulations: armelf_linux_eabi
> collect2: ld returned 1 exit status
> make[3]: *** [libgcc/./_udivsi3.oS] Error 1
> -<<
>
> From Google, I note that this type of problem is not infrequent
(for other
> target types), but the usual reponse is 'get the latest version'
which seems a bit of
> a cop-out, plus I am currently required to use 3.4.3 so
this does not apply.
>
> a) any ideas to defeat this problem (not involving 3.4.x, x>3 !)
> b) if it's frequent, how come it's not been resolved once & for all
>
> Thanks,
> MikeW
>
This seems to be due to an incompatibility between:
1) toolchain.../gcc-x.x.x/config/arm/linux-elf.h
2) toolchain.../binutils-x.x.x/ld/earmelf_linux_eabi.c
In 1) there is a setting TARGET_LINKER_EMULATION "armelf_linux"
In 2) there is a string (part of a struct initialiser) "armelf_linux_eabi"
so unless I can find matching strings in a version of gcc and ld,
buildroot will never be able to build a toolchain.
But 2) says the file is generated by a shell script, so maybe it's
that script which is to blame !
Or maybe I could just hack 1) to have the correct string.
But that raises the question - how does anyone build an ARM toolchain,
with this incompatibility in place ?
Regards,
MikeW
next prev parent reply other threads:[~2006-11-02 12:09 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 ` MikeW [this message]
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
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.20061102T125839-749@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox