Skip to content

Assembler error message in GHC 7.2.2

This is related to #5649 (closed), although a different combination of options produces this bug.

ghc -O Bug.hs [1 of 1] Compiling Bug ( Bug.hs, Bug.o ) /tmp/ghc23962_0/ghc23962_0.s: Assembler messages:

/tmp/ghc23962_0/ghc23962_0.s:2849:0:

Error: symbol `aKS_info' is already defined

/tmp/ghc23962_0/ghc23962_0.s:3291:0:

Error: symbol `aKS_info' is already defined

I realize the bug is not present in 7.4, but I am using 7.2.2 in a production system and this is messing things up. Is there any chance the fix for this bug could be backported to 7.2.2?

Further info: the attached file seems pretty minimal in producing this bug. For example, if using up to 8-tuples, the bug is not present; it is present if 9-tuples and 10-tuples are used. The -O option is necessary; neither -O0 nor -O2 produces the bug.

Trac metadata
Trac field Value
Version 7.2.2
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
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