[GHC] #9938: cryptarithm2 fails with undefined reference to `transzuH9c1w14lEUN3zzdWCTsn8jG_ControlziMonadziTransziStateziLazzy_zdwzdcp0Alternative_info'
GHC
ghc-devs at haskell.org
Tue Dec 30 02:22:07 UTC 2014
#9938: cryptarithm2 fails with undefined reference to
`transzuH9c1w14lEUN3zzdWCTsn8jG_ControlziMonadziTransziStateziLazzy_zdwzdcp0Alternative_info'
-------------------------------------+-------------------------------------
Reporter: nomeata | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 7.11
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
Type of failure: Compile-time | Unknown/Multiple
crash | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Revisions:
-------------------------------------+-------------------------------------
Comment (by rwbarton):
I'm confused, isn't your minimized test case showing the expected
behavior? GHC doesn't really know what's in `Main.o` and that it needs to
link against transformers, so you have to specify `-package transformers`
at link time.
I don't understand how changing the order of the cases in `solve` could
affect anything, and I also can't reproduce it here.
Not sure what is going on with cryptarithm2 then, did it somehow gain a
link-time dependency on transformers (whereas previously, perhaps, all the
functions in transformers had been inlined)?
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9938#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list