[GHC] #9421: Problems and workarounds when installing and using a 32bit GHC on 64bit Linux machine

GHC ghc-devs at haskell.org
Wed Sep 17 23:19:49 UTC 2014


#9421: Problems and workarounds when installing and using a 32bit GHC on 64bit
Linux machine
-------------------------------------+-------------------------------------
              Reporter:              |            Owner:  MikolajKonarski
  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):

 Replying to [comment:9 rwbarton]:

 Thank you for your feedback. I've updated the wiki page.

 Re anticipating setting for all possible systems, how would it hurt, if
 i386 GHC, whenever if detected that TARGET /= HOST, always kept setting
 something like
 {{{
 --ghc-option="-optc-m32" --ghc-option="-opta-m32" --ghc-option="-optl-m32"
 --ld-option="-melf_i386"
 }}}
 It's not x86_64 specific, at least, isn't it? As a default, it's less
 clean but more effective than the optimistic empty list of options.

 Thank you for the {{{lib/settings}}} suggestion. I will try that and
 report here.

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


More information about the ghc-tickets mailing list