Bug#996419: gcc-11: Fails to compile the linux kernel on ARM

2021-11-06 Thread Salvatore Bonaccorso
For cross-reference: On Mon, Oct 18, 2021 at 11:52:31AM +0200, Arnd Bergmann wrote: [...] > I'll send the kernel workaround soon, and that should make it into all > stable kernels. > > The compilers I build for kernel.org do not set a default -march value > and end up with the default that gcc pi

Bug#996419: gcc-11: Fails to compile the linux kernel on ARM

2021-10-19 Thread Matthias Klose
On 10/18/21 9:03 AM, Sebastian Andrzej Siewior wrote: > On 2021-10-16 12:17:40 [+0200], Matthias Klose wrote: >> The change is intended; the configure changes are already in GCC 8, but the >> configure options that we used, are now being deprecated upstream. >> >> Changes: https://gcc.gnu.org/gcc-8

Bug#996419: gcc-11: Fails to compile the linux kernel on ARM

2021-10-18 Thread Arnd Bergmann
On Mon, Oct 18, 2021 at 9:03 AM Sebastian Andrzej Siewior wrote: > On 2021-10-16 12:17:40 [+0200], Matthias Klose wrote: > > The change is intended; the configure changes are already in GCC 8, but the > > configure options that we used, are now being deprecated upstream. > > > > Changes: https://g

Bug#996419: gcc-11: Fails to compile the linux kernel on ARM

2021-10-18 Thread Sebastian Andrzej Siewior
On 2021-10-16 12:17:40 [+0200], Matthias Klose wrote: > The change is intended; the configure changes are already in GCC 8, but the > configure options that we used, are now being deprecated upstream. > > Changes: https://gcc.gnu.org/gcc-8/changes.html I guess you refer to | The -march and -mcpu

Bug#996419: gcc-11: Fails to compile the linux kernel on ARM

2021-10-16 Thread Matthias Klose
The change is intended; the configure changes are already in GCC 8, but the configure options that we used, are now being deprecated upstream. Changes: https://gcc.gnu.org/gcc-8/changes.html > On gcc-10 it evaluated to "-march=armv7-a". > On gcc-11 it evaluates to "-march=armv5t -Wa,-march=armv7-

Bug#996419: gcc-11: Fails to compile the linux kernel on ARM.

2021-10-13 Thread Sebastian Andrzej Siewior
Package: gcc-11 Version: 11.2.0-9 Severity: important The linux kernel has the following in its ARM Makefile: $(call cc-option,-march=armv7-a,-march=armv5t -Wa$(comma)-march=armv7-a) This means the switch "-march=armv7-a" is tested if supported by the compiler and if so it is used, otherw