Skip to content

Duplicate cases for EM_AMD64 and EM_X86_64

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.

Trac metadata
Trac field Value
Version 6.8
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC Christian.Maeder@dfki.de
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information