Opened 8 years ago

Closed 8 years ago

#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 Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:


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:


Error: symbol `aKS_info' is already defined


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.

Attachments (1)

Bug.hs (1.9 KB) - added by selinger 8 years ago.

Download all attachments as: .zip

Change History (2)

Changed 8 years ago by selinger

Attachment: Bug.hs added

comment:1 Changed 8 years ago by simonmar

difficulty: Unknown
Milestone: 7.4.1
Resolution: fixed
Status: newclosed

I'm afraid we're not planning another release of the 7.2 branch, and I can't find a ticket for this particular bug so I'm not sure which patch fixed it.

Even if we backported the fix, you would have to build GHC with the fix anyway. Why not upgrade?

Note: See TracTickets for help on using tickets.