[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: binutils 2.26: PIC vs. PIE
From: |
Andrei Borzenkov |
Subject: |
Re: binutils 2.26: PIC vs. PIE |
Date: |
Wed, 16 Mar 2016 14:22:05 +0300 |
On Wed, Mar 16, 2016 at 1:47 PM, Vladimir 'phcoder' Serbinenko
<address@hidden> wrote:
>
>
> On Wednesday, March 16, 2016, Andrei Borzenkov <address@hidden> wrote:
>>
>> At least x86 32 bit kernel built with binutils 2.26 does not boot.
>>
>> https://bugzilla.kernel.org/show_bug.cgi?id=114671
>>
>> I have a feeling that we may be affected as well (we do build with PIC
>> and we do use self relocating image and we do not use PIE).
>
> AFAICT we explicitly use -fno-PIC and don't use self-relocatable images on
> x86. Do I miss sth?
>
No, I did :) Thanks!
> TARGET_CFLAGS="$TARGET_CFLAGS -fno-PIC"
>
> TARGET_CFLAGS="$TARGET_CFLAGS -fno-PIC"
>
> TARGET_CFLAGS="$TARGET_CFLAGS -fno-PIC" TARGET_CFLAGS="$TARGET_CFLAGS
> -fno-PIC" TARGET_CFLAGS="$TARGET_CFLAGS -fno-PIC"
> TARGET_CFLAGS="$TARGET_CFLAGS -fno-PIC" TARGET_CFLAGS="$TARGET_CFLAGS
> -fno-PIC" TARGET_CFLAGS="$TARGET_CFLAGS -fno-PIC"
>
>
>
> --
> Regards
> Vladimir 'phcoder' Serbinenko
>
>
> _______________________________________________
> Grub-devel mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/grub-devel
>