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

Re: Bug#841368: gcc-6 6.2.0-7 breaks kernel build if stack protection is enabled

On Fri, 2016-10-21 at 01:21 +0300, Konstantin Demin wrote:
> It's not a GCC bug but kind of new feature.

It's a bug when a compiler fails to compile valid code.


> Take a look at this changelog entry:
>  gcc-6 (6.2.0-7) unstable; urgency=medium
>    [ Matthias Klose ]
>    * Configure with --enable-default-pie and pass -z now when pie is enabled;
>      on amd64 arm64 armel armhf i386 mips mipsel mips64el ppc64el s390x.
>      Closes: #835148.
> Starting at gcc 6.2.0-7 we must provide "-fno-PIE -fno-PIC" in
> beginning of CFLAGS to build kernel successfully.
> I'm currently looking for correct way to do this trick.
Ben Hutchings
Never put off till tomorrow what you can avoid all together.

Attachment: signature.asc
Description: This is a digitally signed message part

Reply to: