source-dist from GHC master branch

2020-02-16 Thread Csaba Hruska
Hello, I'd like to create a source distribution (source-dist) from GHC git master branch. I tried hadrian (hadrian/build.sh source-dist) and make (make sdist-ghc) but both failed in different ways. Should this work (at all) for any git snapshot? Hadrian successfully built a source dist

Re: GHC 8.8.2 miscompiles program with -fcatch-bottoms

2020-02-16 Thread omer
This is a known bug, fixed in master with MR 1304.On Feb 16, 2020 16:19, Csaba Hruska wrote:Hello,I've tried to compile GHC from source using -fcatch-bottoms on the stage2.I compiled GHC with having GhcStage2HcOpts += -fcatch-bottoms in build.mk.Unfortunately it breaks programs and causes runtime

GHC 8.8.2 miscompiles program with -fcatch-bottoms

2020-02-16 Thread Csaba Hruska
Hello, I've tried to compile GHC from source using -fcatch-bottoms on the stage2. I compiled GHC with having *GhcStage2HcOpts += -fcatch-bottoms* in build.mk. Unfortunately it breaks programs and causes runtime error. I wanted to use this feature in an experiment. My motivation: *I'm working on