Ticket #6168 (closed bug: fixed)
Assembler error message in GHC 7.2.2
| Reported by: | selinger | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 7.4.1 |
| Component: | Compiler | Version: | 7.2.2 |
| Keywords: | Cc: | ||
| Operating System: | Linux | Architecture: | x86_64 (amd64) |
| Type of failure: | Compile-time crash | Difficulty: | Unknown |
| Test Case: | Blocked By: | ||
| Blocking: | Related Tickets: |
Description
This is related to #5649, 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.

