I do indeed have SplitObs=YES in my validate.mk.
In the past at least, that made binaries quite a bit smaller.
Happy to change it to SplitSections=YES if that is more kosher these days?
Simon
From: Andreas Klebinger
Sent: 19 November 2018 20:38
To: Ben Gamari
Cc: Phyx ; Simon Peyton Jones ; ghc-devs@haskell.org
Subject: Re: split_marker crash
I might already have found the specific cause.
It seems with split sections we generate a dummy CmmProc, which has as entry label
error (split_sections_entry)
My patch likely introduces strictness on that field where it was lazy before.
If this is the cause I expect to have a patch up in a hour or two and will merge
it after it validates.
Cheers,
Andreas
Ben Gamari schrieb:
Andreas Klebinger mailto:klebinger.andreas@gmx.at writes:
Hello,
I'm fine with reverting for now. But could you give me a way to
reproduce this error?
I've not seen crashes on either linux and windows in various configs.
I suspect that Simon is building with SplitObjects enabled. To be
honest, I would really like to remove this feature; SplitSections is
better in nearly every regard. However, we have been stalled since
SplitSections doesn't quite work yet on Windows (or, IIRC, the toolchain
is prohibitively slow when it's used). I believe Tamar was working on
fixing this.
Cheers,
- Ben