[GHC] #14406: Core Lint error when compiling ghc with -g3
GHC
ghc-devs at haskell.org
Tue Oct 31 00:02:02 UTC 2017
#14406: Core Lint error when compiling ghc with -g3
-------------------------------------+-------------------------------------
Reporter: duog | Owner: (none)
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 8.3
Keywords: | Operating System: Unknown/Multiple
Architecture: | Type of failure: Building GHC
Unknown/Multiple | failed
Test Case: | Blocked By:
Blocking: | Related Tickets:
Differential Rev(s): | Wiki Page:
-------------------------------------+-------------------------------------
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
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14406>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list