Skip to content

tc003(hpc) failing with link error

=====> 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).

Trac metadata
Trac field Value
Version 7.1
Type Bug
TypeOfFailure OtherFailure
Priority highest
Resolution Unresolved
Component Compiler (Type checker)
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information