Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1700294

Re: [FYI] GCC segfaults under heavy multithreaded compilation with AMD Ryzen

From Andreas Hartmann <andihartmann@01019freenet.de>
Newsgroups linux.kernel
Subject Re: [FYI] GCC segfaults under heavy multithreaded compilation with AMD Ryzen
Date 2017-07-31 20:10 +0200
Message-ID <u9niF-167-1@gated-at.bofh.it> (permalink)
References <u7jVU-2zU-15@gated-at.bofh.it> <u9niG-167-3@gated-at.bofh.it>
Organization privat

Show all headers | View raw


On 07/31/2017 at 02:10 PM Alan Cox wrote:
> On Wed, 26 Jul 2017 06:54:01 +0900
> Satoru Takeuchi <satoru.takeuchi@gmail.com> 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.

That's surely true. But meanwhile, I got rid of my memory problems (no
more traces like these [1] or even system hangs) by a correct memory
configuration, but the segfaults of gcc remain, most of the time with
kernel 4.12, kernel 4.11.x and 4.9.39ff are working mostly fine -
mostly, because I stopped tests and can't therefore say, if it's really
stable or not - but (k)aslr must be disabled always.

FreeBSD meanwhile provides this workaround after long research [2]:

https://reviews.freebsd.org/D11780

Please port it to Linux!


[1] https://www.spinics.net/lists/kernel/msg2565491.html
[2] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=219399#c89

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [FYI] GCC segfaults under heavy multithreaded compilation with  AMD Ryzen Andreas Hartmann <andihartmann@01019freenet.de> - 2017-07-31 20:10 +0200

csiph-web