Re: 4.14.9 doesn't boot (regression)

From: Alexander Tsoy
Date: Fri Dec 29 2017 - 20:14:08 EST


Ð ÐÑ, 29/12/2017 Ð 17:10 -0700, Andy Lutomirski ÐÐÑÐÑ:
>
> Also, you wouldn't happen to be using Gentoo perchance?ÂÂI already
> have two reports of a Gentoo system miscompiling the vDSO due to
> Gentoo enabling -fstack-check and GCC generating stack check code
> that is highly suboptimal, actively incorrect, and doesn't even
> manage to check the stack in a particularly helpful way.
>
> If this is indeed what's going on, I'm going to try to come up with a
> patch to outright fail the build on these buggy systems.ÂÂWe could
> probably fudge the build options to avoid the problem, but Gentoo
> really just needs fix its toolchain.

You are right, It's due toÂfstack-check enabled in gentoo's gcc spec.
"-fstack-check=no" in KBUILD_CFLAGS fixed this problem for me. =/