Skip to content

New versions of time and Cabal are causing a Core Lint error on Windows

Commit c8d995db in ghc bumped the time submodule to the latest version 4eb06c0e (time-1.8). But it caused a Core Lint error while compiling Distribution.Compat.Time, in the Cabal library:

*** Core Lint errors : in result of Float out(FOS {Lam = Just 0,
                                                   Consts = True,
                                                   OverSatApps = True}) ***
<no location info>: warning:
    In the expression: $wsystemToUTCTime
                         (case lvl_sdDL of v_B1 { I# v_B2 -> v_B2 })
                         (case lvl_sdDM of v_B1 { W# v_B2 -> v_B2 })
    This argument does not satisfy the let/app invariant:
      case lvl_sdDL of v_B1 { I# v_B2 -> v_B2 }

See https://phabricator.haskell.org/harbormaster/build/21371/ for the full build log.

For now the submodule bumps have been reverted.

Trac metadata
Trac field Value
Version 8.1
Type Bug
TypeOfFailure OtherFailure
Priority highest
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information