Ticket #1784 (closed merge: fixed)
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
Note: See
TracTickets for help on using
tickets.
