Core Lint error when compiling ghc with -g3
Building ghc with the following build.mk:
BuildFlavour = validate
ifneq "$(BuildFlavour)" ""
include mk/flavours/$(BuildFlavour).mk
endif
GhcLibHcOpts += -g3
GhcRtsHcOpts += -g3
GhcStage2Opts += -g3
gives
*** Core Lint errors : in result of Simplifier ***
<no location info>: warning:
[RHS of str_sjjS :: Addr#]
The type of this binder is unlifted: str_sjjS
Binder's type: Addr#
*** Offending Program ***
...
str_sjjS :: Addr#
[LclId,
Unf=Unf{Src=<vanilla>, TopLvl=False, Value=True, ConLike=True,
WorkFree=True, Expandable=True, Guidance=IF_ARGS [] 20 0}]
str_sjjS = src<libraries/base/Data/Data.hs:1099:38-41> ":%"#
...
libraries/base/ghc.mk:4: recipe for target 'libraries/base/dist-install/build/Data/Data.o' failed
Trac metadata
Trac field | Value |
---|---|
Version | 8.3 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |