[GHC] #9421: magic number mismatch when installing 32bit on 64bit machine

GHC ghc-devs at haskell.org
Fri Aug 29 22:00:09 UTC 2014


#9421: magic number mismatch when installing 32bit on 64bit machine
-------------------------------------+-------------------------------------
              Reporter:              |            Owner:
  MikolajKonarski                    |           Status:  new
                  Type:  bug         |        Milestone:
              Priority:  normal      |          Version:  7.8.3
             Component:  Compiler    |         Keywords:
            Resolution:              |     Architecture:  x86_64 (amd64)
      Operating System:  Linux       |       Difficulty:  Unknown
       Type of failure:  Installing  |       Blocked By:
  GHC failed                         |  Related Tickets:
             Test Case:              |
              Blocking:              |
Differential Revisions:              |
-------------------------------------+-------------------------------------

Comment (by MikolajKonarski):

 This is now documented on [wiki:Building/Compiling32on64 the wiki].

 The problem with GTK is indeed in the gtk2hs setup scripts:
 https://github.com/gtk2hs/gtk2hs/issues/49

 This suggests that on multi-arch OSes it would be helpful if GHC called
 gcc and linker (and itself) with the flags implied by the target arch. I
 guess we don't support gcc and ld old enough to reject such options, so
 the only problem is verbosity of the calls when they are shown during
 debugging. But then, having options spelled out explicitly tends to be
 good for debugging.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9421#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list