Opened 3 years ago

Closed 3 years ago

#7013 closed feature request (invalid)

GHC should complain if LLVM doesn't use the same architecture

Reported by: chak Owned by:
Priority: normal Milestone:
Component: Driver Version: 7.4.1
Keywords: Cc:
Operating System: MacOS X Architecture: Unknown/Multiple
Type of failure: None/Unknown Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:


It appears #7004 is due to using a x86 (32bit) GHC with LLVM built for generating x86_64. It would be helpful if the driver could check that the architectures assumed by GHC and LLVM match up (or force LLVM to use the right architecture if there are multiple backends).

Change History (1)

comment:1 Changed 3 years ago by dterei

  • Resolution set to invalid
  • Status changed from new to closed

LLVM is generally built with all supported backends included (a cross compiler). The .ll files contain some metadata saying what platform is being targeted. GHC does all this correctly right now.

The issue in #7004 has nothing to do with this.

Note: See TracTickets for help on using tickets.