#4396: tc003(hpc) failing with link error
----------------------------------------+-----------------------------------
Reporter: simonmar | Owner:
Type: bug | Status: new
Priority: highest | Milestone: 7.0.1
Component: Compiler (Type checker) | Version: 7.1
Keywords: | Testcase:
Blockedby: | Difficulty:
Os: Unknown/Multiple | Blocking:
Architecture: Unknown/Multiple | Failure: None/Unknown
----------------------------------------+-----------------------------------
{{{
=====> tc003(hpc) 1980 of 2622 [0, 37, 0]
cd ./typecheck/should_compile && '/64playpen/simonmar/nightly/HEAD-
cam-04-unx/x86_64-unknown-linux/inplace/bin/ghc-stage2' -fforce-recomp
-dcore-lint -dcmm-lint -dno-debug-output -no-user-package-conf -rtsopts
-c tc003.hs -O -fhpc -fno-warn-incomplete-patterns >tc003.comp.stderr
2>&1
Compile failed (status 256) errors were:
/tmp/ghc14267_0/ghc14267_0.s: Assembler messages:
/tmp/ghc14267_0/ghc14267_0.s:173:0:
Error: symbol `ShouldSucceed_e_closure' is already defined
/tmp/ghc14267_0/ghc14267_0.s:196:0:
Error: symbol `ShouldSucceed_e_info' is already defined
/tmp/ghc14267_0/ghc14267_0.s:237:0:
Error: symbol `ShouldSucceed_d_closure' is already defined
/tmp/ghc14267_0/ghc14267_0.s:260:0:
Error: symbol `ShouldSucceed_d_info' is already defined
*** unexpected failure for tc003(hpc)
}}}
Apparently the simplifier is generating multiple bindings for `d` and `e`.
(Core Lint ought to check for this too).
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4396>
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