Hello, I still have some systems around that need to run a vanilla kernel 3.2. This works without any issues as long as I am using gcc-4.9.4 or gcc-5.4 to compile the kernel. Using gcc-6.4 for compilation was not possible out-of-the-box as it is defaulting to --enable-default-pie. After reading https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=841420 I was able to get around this by adding -fno-pie to the build. However, when trying to run this kernel, it does not output anything and just reboots my system. Compiling the same source and setup (even including my additional -fno-pie settings) with gcc-5.4 or gcc-4.9.4 results in a kernel that is running fine, just with gcc-6.4 it appears to be broken.
Is there anyone around who successfully managed to get this to work (or who has any other hints how to fix this)? Now that Gentoo has deprecated 2013's profile, using gcc4 or gcc5 is not really supported for anything, and I'd like to avoid having to compile different parts of the system with different compilers. cu Gerrit