#4497: hmatrix-0.10.0.0 fails to build with GHC 7.0.1 (worked with
7.0.0.20101111)
---------------------------------------------------------+------------------
Reporter: luite | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 7.0.1
Keywords: hmatrix context reduction stack overflow | Testcase:
Blockedby: | Difficulty:
Os: Windows | Blocking:
Architecture: Unknown/Multiple | Failure:
None/Unknown
---------------------------------------------------------+------------------
Comment(by simonpj):
Well, I can't build hmatrix. I get
{{{
~/builds/HEAD-1/inplace/bin/ghc-stage1 Setup.lhs
[1 of 1] Compiling Main ( Setup.lhs, Setup.o )
Setup.lhs:2:3:
Warning: In the use of `runTests'
(imported from Distribution.Simple, but defined in
Distribution.Simple.UserHooks):
Deprecated: "Please use the new testing interface instead!"
Linking Setup ...
simo...@cam-04-unx:~/tmp/hmatrix-0.10.0.0$ ./Setup configure --with-
ghc=/home/simonpj/builds/HEAD-1/inplace/bin/ghc-stage1 --global
Configuring hmatrix-0.10.0.0...
Checking foreign libraries...configure.hs: user error (Pattern match
failure in do expression at configure.hs:104:4-13)
}}}
I get the same error if I use ghc 6.12.3 instead of my local copy.
With Simon M's help, I managed to get it to compile by hand, both with and
without -DVECTOR, and the error did not show up.
Um. I wonder if these patches are in 7.0.1?
{{{
Mon Nov 15 14:28:05 GMT 2010 [email protected]
* Ensure that instance overlap errors are report properly
This (annoyingly) requires us to re-flatten the class predicate.
See Note [Flattening in error message generation]
M ./compiler/typecheck/TcErrors.lhs -37 +91
Mon Nov 15 12:15:40 GMT 2010 [email protected]
* Ensure that unification variables alloc'd during solving are
untouchable
This fixes Trac #4494. See Note [Extra TcsTv untouchables] in
TcSimplify.
M ./compiler/typecheck/TcCanonical.lhs -2 +2
M ./compiler/typecheck/TcInteract.lhs -1 +9
M ./compiler/typecheck/TcSMonad.lhs -8 +25
M ./compiler/typecheck/TcSimplify.lhs -23 +73
}}}
Checking... bother, they aren't.
Can you try with HEAD? Meanwhile we'll think about what to do about the
release.
Simon
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4497#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs