From: Ard Biesheuvel <ard.biesheuvel@linaro.org>
To: edk2-devel-01 <edk2-devel@lists.01.org>,
Leif Lindholm <leif.lindholm@linaro.org>,
Laszlo Ersek <lersek@redhat.com>
Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Subject: Re: [PATCH 0/2] ArmVirtPkg EmbeddedPkg: fix build for CLANG35/ARM
Date: Wed, 3 Aug 2016 15:46:51 +0200 [thread overview]
Message-ID: <CAKv+Gu9h-3bdsV3cMvQ6wx4ATNnS+d8XshuUcmR-yWRKgE-0-w@mail.gmail.com> (raw)
In-Reply-To: <1470212464-28071-1-git-send-email-ard.biesheuvel@linaro.org>
On 3 August 2016 at 10:21, Ard Biesheuvel <ard.biesheuvel@linaro.org> wrote:
> Currently, the ArmVirtQemuKernel and ArmVirtXen platforms will not build
> for ARM when using CLANG35, due to the fact that the compiler emits
> MOVT/MOVW pairs into objects that are used by the relocatable PrePi, and
> such instruction pairs are not runtime relocatable in ELF (i.e., there are
> no dynamic relocation types to describe them)
>
> So fix this by selectively inhibiting the use of these pairs when building
> these platforms for ARM using CLANG35
>
Pushed as
f846969796d3 EmbeddedPkg: make PrePiMemoryAllocationLib a SEC type library
87ee6390cbeb ArmVirtPkg ARM: make relocatable PrePi users build with CLANG35
with Laszlo's suggested commit log change to #2
Thanks all
prev parent reply other threads:[~2016-08-03 13:46 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-03 8:21 [PATCH 0/2] ArmVirtPkg EmbeddedPkg: fix build for CLANG35/ARM Ard Biesheuvel
2016-08-03 8:21 ` [PATCH 1/2] EmbeddedPkg: make PrePiMemoryAllocationLib a SEC type library Ard Biesheuvel
2016-08-03 9:56 ` Laszlo Ersek
2016-08-03 10:00 ` Ard Biesheuvel
2016-08-03 11:21 ` Laszlo Ersek
2016-08-03 12:50 ` Ard Biesheuvel
2016-08-03 13:07 ` Leif Lindholm
2016-08-03 8:21 ` [PATCH 2/2] ArmVirtPkg ARM: make relocatable PrePi users build with CLANG35 Ard Biesheuvel
2016-08-03 10:00 ` Laszlo Ersek
2016-08-03 10:02 ` Ard Biesheuvel
2016-08-03 11:19 ` Laszlo Ersek
2016-08-03 12:51 ` Ard Biesheuvel
2016-08-03 13:46 ` Ard Biesheuvel [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=CAKv+Gu9h-3bdsV3cMvQ6wx4ATNnS+d8XshuUcmR-yWRKgE-0-w@mail.gmail.com \
--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