Ticket #1784 (closed merge: fixed)

Opened 6 years ago

Last modified 6 years ago

Duplicate cases for EM_AMD64 and EM_X86_64

Reported by: guest Owned by: igloo
Priority: normal Milestone: 6.8.1
Component: Runtime System Version: 6.8
Keywords: Cc: Christian.Maeder@…
Operating System: Solaris Architecture: x86
Type of failure: Difficulty: Unknown
Test Case: Blocked By:
Blocking: Related Tickets:

Description

The Solaris compiler gcc_4.2.2 complained about the values EM_AMD64 and EM_X86_64 being identical:

Linker.c: In function 'ocVerifyImage_ELF':

Linker.c:2908:0:  error: duplicate case value

Linker.c:2905:0:  error: previously used here
gmake[1]: *** [Linker.o] Error 1

As a workaround I've deleted the EM_AMD64 case in rts/Linker.c of the ghc-6.8.0.20071017 sources.

Change History

Changed 6 years ago by simonmar

  • owner set to simonmar
  • component changed from Compiler to Runtime System
  • milestone set to 6.8 branch

I'm testing a fix.

Changed 6 years ago by simonmar

  • owner changed from simonmar to igloo
  • type changed from bug to merge

Fixed:

Fri Oct 19 04:02:23 PDT 2007  Simon Marlow <simonmar@microsoft.com>
  * FIX #1784: EM_AMD64 and EM_X86_64 might both be defined to the same value

Changed 6 years ago by igloo

  • status changed from new to closed
  • resolution set to fixed

Merged

Changed 6 years ago by igloo

  • milestone changed from 6.8 branch to 6.8.1
Note: See TracTickets for help on using tickets.