From: Leif Lindholm <leif.lindholm@linaro.org>
To: Andrew Fish <afish@apple.com>
Cc: edk2-devel@lists.01.org
Subject: Re: CLANG cross-compilation issue
Date: Thu, 15 Sep 2016 10:49:49 +0100 [thread overview]
Message-ID: <20160915094949.GF16080@bivouac.eciton.net> (raw)
In-Reply-To: <16C7C619-A87D-4FCD-AD7C-145E554C91C1@apple.com>
Hi Andrew, list,
Just a follow-up.
On Wed, Sep 07, 2016 at 08:34:47AM -0700, Andrew Fish wrote:
> > The symptom is a failed link step with the message:
> > /usr/bin/ld: unrecognised emulation mode: aarch64linux
> >
> > As a workaround, I was able to get my build functional again by
> > creating a symbolic link /usr/bin/aarch64-linux-gnueabi-ld pointing at
> > the actual location of my cross-ld.
>
> I'm not sure it works the same as Xcode, but one of the search paths
> is often relative to the current location of the tools. This could
> be macOS specific as the tools don't install in /usr/bin anymore,
> and those locations just contain a reflector to the active
> toolchain.
I had a chat with our toolchain guys, and apparently this bug was
fixed over 5 years ago for the BSD platforms (including OS X), but for
some reason didn't get carried across to GNU:
https://llvm.org/bugs/show_bug.cgi?id=9777
They've now put on their schedule to fix this behaviour for GNU also.
Regards,
Leif
prev parent reply other threads:[~2016-09-15 9:49 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-07 15:27 CLANG cross-compilation issue Leif Lindholm
2016-09-07 15:34 ` Andrew Fish
2016-09-15 9:49 ` Leif Lindholm [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-list 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=20160915094949.GF16080@bivouac.eciton.net \
--to=devel@edk2.groups.io \
/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