Bug#841420: fix

2016-10-29 Thread S. R. Wright
As just a data point, when -march=i686, the kernel builds and seems to work well using 6.2.0-10 and with no patches to Makefile at all. On 10/29/2016 10:24 AM, Oswald Buddenhagen wrote: -no-pie is not a useful option here, because it's passed to the _linker_ only. i got it to build with this

Bug#841420: --enable-default-pie breaks kernel builds

2016-10-21 Thread S. R. Wright
y mean that the kernels are currently only built/supported with gcc-5. vanilla kernels (Linus' tree and the stable ones) could be compiled just fine with gcc 6.2.0-6 and that now fails. I still think this is a major regression and regard gcc 6.2.0-7 simply as broken. On Thu, 2016-10-20 at 11:

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

2016-10-20 Thread S. R. Wright
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 cons

Bug#841420: --enable-default-pie breaks kernel builds

2016-10-20 Thread S R Wright
Concurring with Wolfgang; pulling the source straight from kernel.org and using identical .config files will work with 6.2.0-6 but fail with 6.2.0-7. I was able to build and install 4.8.3 with no issues after back-revving gcc et. al. to 6.2.0-6 -- sRw On 10/20/16 11:09, Wolfgang Walter wr