grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: binutils 2.26: PIC vs. PIE


From: Vladimir 'phcoder' Serbinenko
Subject: Re: binutils 2.26: PIC vs. PIE
Date: Wed, 16 Mar 2016 11:47:50 +0100



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?

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]