Closed juhp closed 5 years ago
I believe this is caused by https://phabricator.haskell.org/D4784, which also explains how to correct this: These constants need to be renamed according to the summary there, i.e.
SMALL_MUT_ARR_PTRS_FROZEN0 -> SMALL_MUT_ARR_PTRS_FROZEN_DIRTY
SMALL_MUT_ARR_PTRS_FROZEN -> SMALL_MUT_ARR_PTRS_FROZEN_CLEAN
MUT_ARR_PTRS_FROZEN0 -> MUT_ARR_PTRS_FROZEN_DIRTY
MUT_ARR_PTRS_FROZEN -> MUT_ARR_PTRS_FROZEN_CLEAN
If you tell me how you prefer this, I'll submit a pull request. Would #ifdef
be the way to go? Which GHC version should I use -- 860?
... or should I change the code to use the new names, and use a #define
to make things work on older GHC versions?
Ping?
I just see these two issues: So sorry for the delay! Apparently I am not getting any notifications at all for issues in this repository for quite a while already.
The compilation error is caused by changes in the GHC internals. Specifically the renaming causes a simple error - there may be more to discover.
Code on master
won't support GHCs newer than 8.2, but there is a branch for ghc 8.6, see commit fb2aac53ba8d27df1fb981ce93e5d3dad0360bde
I was quite busy recently and haven't had much time to look into this code. Will try to get an upgrade to a newer GHC done within a month or so but I cannot promise it.
I'm happy to answer questions and kead "guided tours" of the code for people who want to contribute or take over.
Sorry for not commenting; also I see it would have been better in retrospect if I had reported the ghc-version in my report.
Yes these constants got renamed in ghc-8.6 - #ifdef would probably work...
I have merged the earlier branch that should fix this problem.
Not sure why this started happening, but packman-0.5.0 no longer rebuilds in current Stackage Nightly: