Re: [STABLE BACKPORT 4.4.y, 4.9.y and 4.14.y] compiler.h: Raise minimum version of GCC to 5.1 for arm64

2021-01-20 Thread Arnd Bergmann
On Wed, Jan 20, 2021 at 12:29 AM Nathan Chancellor wrote: > On Tue, Jan 19, 2021 at 02:15:43PM -0800, Nick Desaulniers wrote: > > > > Merging this from stable into "Android Common Kernel" trees that were > > built with AOSP GCC 4.9, I expect this to break some builds. Arnd, > > IIRC did you

Re: [STABLE BACKPORT 4.4.y, 4.9.y and 4.14.y] compiler.h: Raise minimum version of GCC to 5.1 for arm64

2021-01-19 Thread Nathan Chancellor
On Tue, Jan 19, 2021 at 02:15:43PM -0800, Nick Desaulniers wrote: > On Mon, Jan 18, 2021 at 5:54 AM Will Deacon wrote: > > > > commit dca5244d2f5b94f1809f0c02a549edf41ccd5493 upstream. > > > > GCC versions >= 4.9 and < 5.1 have been shown to emit memory references > > beyond the stack pointer,

Re: [STABLE BACKPORT 4.4.y, 4.9.y and 4.14.y] compiler.h: Raise minimum version of GCC to 5.1 for arm64

2021-01-19 Thread Nick Desaulniers
On Mon, Jan 18, 2021 at 5:54 AM Will Deacon wrote: > > commit dca5244d2f5b94f1809f0c02a549edf41ccd5493 upstream. > > GCC versions >= 4.9 and < 5.1 have been shown to emit memory references > beyond the stack pointer, resulting in memory corruption if an interrupt > is taken after the stack