
17 Jan
2020
17 Jan
'20
3:58 p.m.
Steven Smith
I’m trying to upgrade the MacPorts ghc install to the latest 8.8.2.
The build fails with:
error: use of undeclared identifier 'TAG_MASK' :info:build return (StgWord)p & TAG_MASK;
This is an error observed with previous ghc versions and on other systems, so I do not believe it is macOS-specific. Also, the MacPorts build process simply follows the ghc Build & Install instructions: https://github.com/ghc/ghc/blob/master/README.md#building--installing
Is there a simple fix by adding an extra flag somewhere?
Sigh, this is #17146 which should have been backported. I'll have to investigate how this slipped through the cracks. Thanks for raising this. Cheers, - Ben