I agree. When the version changes from 6.2.0-6 to 6.2.0-7, only bug fixes should be included, not changes in functionality. In this case setting enable-default-pie essentially broke backwards compatibility. Kernel code that built in -6 failed to build in -7. That, I agree, should be considered a bug, and the change should be rolled back.

-- sRw

On 10/20/2016 05:49 PM, Ben Hutchings wrote:
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.

Ben.

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.



Reply via email to