-
Notifications
You must be signed in to change notification settings - Fork 88
Open
Description
While trying to build HLS with ghc-9.12.3:
Building library for ormolu-0.8.0.2...
[ 1 of 56] Compiling GHC.DynFlags ( src/GHC/DynFlags.hs, dist/build/GHC/DynFlags.o, dist/build/GHC/DynFlags.dyn_o )
src/GHC/DynFlags.hs:18:3: error: [GHC-95909]
• Constructor ‘Settings’ does not have the required strict field(s):
sUnitSettings :: UnitSettings
• In the expression:
Settings
{sGhcNameVersion = GhcNameVersion
{ghcNameVersion_programName = "ghc",
ghcNameVersion_projectVersion = cProjectVersion},
sFileSettings = FileSettings {},
sTargetPlatform = Platform
{platformArchOS = ArchOS
{archOS_arch = ArchJavaScript,
archOS_OS = OSUnknown},
platformWordSize = PW8, platformUnregisterised = True,
platformByteOrder = LittleEndian,
platformHasGnuNonexecStack = False,
platformHasIdentDirective = False,
platformHasSubsectionsViaSymbols = False,
platformIsCrossCompiling = False,
platformLeadingUnderscore = False,
platformTablesNextToCode = False, platformHasLibm = False,
platform_constants = Nothing},
sPlatformMisc = PlatformMisc {},
sToolSettings = ToolSettings
{toolSettings_opt_P_fingerprint = fingerprint0,
toolSettings_pgm_F = ""}}
In an equation for ‘fakeSettings’:
fakeSettings
= Settings
{sGhcNameVersion = GhcNameVersion
{ghcNameVersion_programName = "ghc",
ghcNameVersion_projectVersion = cProjectVersion},
sFileSettings = FileSettings {},
sTargetPlatform = Platform
{platformArchOS = ArchOS
{archOS_arch = ArchJavaScript,
archOS_OS = OSUnknown},
platformWordSize = PW8, platformUnregisterised = True,
platformByteOrder = LittleEndian,
platformHasGnuNonexecStack = False,
platformHasIdentDirective = False,
platformHasSubsectionsViaSymbols = False,
platformIsCrossCompiling = False,
platformLeadingUnderscore = False,
platformTablesNextToCode = False, platformHasLibm = False,
platform_constants = Nothing},
sPlatformMisc = PlatformMisc {},
sToolSettings = ToolSettings
{toolSettings_opt_P_fingerprint = fingerprint0,
toolSettings_pgm_F = ""}}
|
18 | Settings
| ^^^^^^^^...
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels