[PATCH] arm64: Set -fno-PIC along with -mcmodel=large
Geoff Levand
geoff at infradead.org
Thu Apr 12 16:37:25 PDT 2018
Hi Simon,
On 02/02/2018 03:48 PM, Geoff Levand wrote:
> Hi,
>
> On 01/07/2018 08:26 AM, David Michael wrote:
>> As seen in GCC's gcc/config/aarch64/aarch64.c, -fPIC with large
>> code model is unsupported. This fixes the "sorry, unimplemented"
>> errors when building with compilers defaulting to -fPIC.
>> ---
>>
>> purgatory/arch/arm64/entry.S:1:0: sorry, unimplemented: code model 'large' with -fPIC
>>
>> This change fixes it. Can something like this be applied?
>
> This change seems reasonable considering large model + PIC is unsupported.
>
> Reviewed by: Geoff Levand <geoff at infradead.org>
Could you please merged this fix so arm64 builds work OK on Gentoo
and Gentoo derivatives.
Thanks.
-Geoff
More information about the kexec
mailing list