From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] Makefile: Set default emulation for MIPS64/MIPS64el n64
Date: Sat, 18 May 2013 19:31:29 +0200 [thread overview]
Message-ID: <20130518193129.47c18aba@skate> (raw)
In-Reply-To: <1368819760-11931-1-git-send-email-markos.chandras@gmail.com>
Dear Markos Chandras,
On Fri, 17 May 2013 20:42:40 +0100, Markos Chandras wrote:
> From: Markos Chandras <markos.chandras@imgtec.com>
>
> binutils set the default emulation for MIPS64/MIPS64el to
> elf32btsmipn32 and elf32ltsmipn3 respectively. This breaks
> linking for programs calling the linker directly without passing
> the appropriate emulation parameter (-m). Unfortunately,
> binutils do not provide a way to set the default emulation when
> building the linker therefore we export the LDEMULATION variable
> to set the preferred emulation ourselves. This fixes
>
> http://autobuild.buildroot.net/results/0f2a760b94069ac915d856cd1ae1998e5483807a/
>
> and possibly other build failures as well.
I am not sure this is the right fix for the problem. I believe the
problem is that the external toolchain wrapper should also wrap "ld" in
order to pass the right arguments to select the correct emulation, just
like we have a wrapper for "gcc" to select the correct architecture,
ABI and so on.
No?
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
next prev parent reply other threads:[~2013-05-18 17:31 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-17 19:42 [Buildroot] [PATCH] Makefile: Set default emulation for MIPS64/MIPS64el n64 Markos Chandras
2013-05-18 17:31 ` Thomas Petazzoni [this message]
2013-05-18 17:58 ` Markos Chandras
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=20130518193129.47c18aba@skate \
--to=thomas.petazzoni@free-electrons.com \
--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