#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.

Attachments (1)

Bug.hs (1.9 KB) - added by selinger 22 months ago.

Download all attachments as: .zip

Change History (2)

Changed 22 months ago by selinger

comment:1 Changed 22 months ago by simonmar

  • Difficulty set to Unknown
  • Milestone set to 7.4.1
  • Resolution set to fixed
  • Status changed from new to closed

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.