News for hackers. Stuff that matters.
Re:Users report parallel compiling is causing segfault on Ry... by watt on Sunday June 04, 2017 @02:21AM (#14480136)
Sounds like a CPU bug then. Recompiling made it so that certain instruction (or sequence of instructions) are not hit - avoiding hitting some kind of hardware problem. But the problem is still there.
Re:Users report parallel compiling is causing segfault on Ry... by qb45 on Sunday June 04, 2017 @03:27AM (#14480282)
Not really, it could equally well be a pre-6.3 GCC bug which resulted in outputting bad code.

What makes me think it may be CPU rather than GCC is that the segfault seems to happen nondeterministicly in a single-threaded bash binary running the same shell script with the same arguments each time.

Somebody also reported this oddity:

Strangely enough, the machine can run mprime for days on end without any trouble. However, an average run of the Glasgow Haskell Compiler's testsuite exhibits a handful of failures (typically segmentation faults). Even stranger, if I run a few mprime threads alongside a run of GHC's testsuite, mprime will itself sometimes crash with a segmentation fault.

So you have the same mprime binary which either crashes or not depending on whether GHC tests are running at the same time.