Bug 196481
Summary: | GCC segfaults under heavy multithreaded compilation with AMD Ryzen | ||
---|---|---|---|
Product: | Platform Specific/Hardware | Reporter: | Paulo J. S. Silva (pjssilva) |
Component: | x86-64 | Assignee: | platform_x86_64 (platform_x86_64) |
Status: | NEW --- | ||
Severity: | normal | CC: | chewi, chithanh, kmueller |
Priority: | P1 | ||
Hardware: | x86-64 | ||
OS: | Linux | ||
Kernel Version: | 4.13rc1 | Subsystem: | |
Regression: | No | Bisected commit-id: |
Description
Paulo J. S. Silva
2017-07-25 17:30:48 UTC
DragonFlyBSD has applied the following workaround to mitigate the issue: http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/b48dd28447fc8ef62fbc963accd301557fd9ac20 Some traces during kernel compile or afterwards can be found here: http://lists-archives.com/linux-kernel/28885552-gcc-segfaults-under-heavy-multithreaded-compilation-with-amd-ryzen.html It seems to be confirmed as a hardware problem. See: https://www.phoronix.com/scan.php?page=news_item&px=Ryzen-Segv-Response I have entered in contact with AMD and am doing an RMA of my CPU in the next days. From what I could grasp the bug is usual in the first batches of Ryzen, so there might be many affected CPUs in the wild. AMD is not issuing a recall, it will treat with it in a case by case basis. Anyone can check if their CPU has the problem by running the kill-ryzen.sh script described in the original bug report. If your CPU has the problem contact AMD technical support using the link in the Phoronix article linked above. Maybe I should mark this bug as RESOLVED? At least the bug report will remain here so that other affected users may find out how to proceed. I did a RMA and the "new" CPU now works as expected. It is not a linux problem. I can also confirm that an RMA replacement deals with the issue. It is said that any CPU manufactured after around week 25 is okay. I don't know whether it is possible to detect this but if it is, one workaround is to disable ASLR (norandmaps). It doesn't prevent it entirely but it makes it very much less frequent. |