Re: [FYI] GCC segfaults under heavy multithreaded compilation with AMD Ryzen
From: Alan Cox
Date: Mon Jul 31 2017 - 08:04:47 EST
On Wed, 26 Jul 2017 06:54:01 +0900
Satoru Takeuchi <satoru.takeuchi@xxxxxxxxx> wrote:
> # I'm a LKML subscriber, but not a x86 list subscriber
>
> I found the following new linux kernel bugzilla about Ryzen related problem.
> Since many developers don't check this bugzilla and I've also
> encountered this problem,
> I decided to introduce this problem here.
Historically we've seen exactly these symptoms on all kinds of systems
where the memory is at fault, even in cases where memtest86 passes.
Whether there's a specific problem on some Ryzen boards is a question for
AMD, but if I saw this without knowing the CPU I'd suspect memory
firstly. GCC it turns out is by accident an amazingly effective memory
testing tool.
If it is memory corruption problems then no - the kernel cannot work
around that level of hardware failure. The BIOS may be able to if it is a
board or compatibility problem as memory tuning is usually done by the
BIOS.
Alan