#1784: Duplicate cases for  EM_AMD64 and EM_X86_64
-----------------------+----------------------------------------------------
  Reporter:  guest     |          Owner:         
      Type:  bug       |         Status:  new    
  Priority:  normal    |      Milestone:         
 Component:  Compiler  |        Version:  6.8    
  Severity:  normal    |       Keywords:         
Difficulty:  Unknown   |             Os:  Solaris
  Testcase:            |   Architecture:  x86    
-----------------------+----------------------------------------------------
 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.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1784>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to