[GHC] #8910: cross compiling for x86_64 solaris2

GHC ghc-devs at haskell.org
Wed Mar 26 14:08:25 UTC 2014


#8910: cross compiling for x86_64 solaris2
----------------------------------+----------------------------------
        Reporter:  maeder         |            Owner:
            Type:  task           |           Status:  new
        Priority:  normal         |        Milestone:
       Component:  Compiler       |          Version:  7.8.1-rc2
      Resolution:                 |         Keywords:
Operating System:  Solaris        |     Architecture:  x86_64 (amd64)
 Type of failure:  Runtime crash  |       Difficulty:  Unknown
       Test Case:                 |       Blocked By:
        Blocking:                 |  Related Tickets:
----------------------------------+----------------------------------

Comment (by maeder):

 Obviously, I can create a stage1 cross-compiler showing
 {{{
  ,("Build platform","i386-unknown-solaris2")
  ,("Host platform","i386-unknown-solaris2")
  ,("Target platform","x86_64-unknown-solaris2")
 }}}

 However, "inplace/bin/ghc-stage2 --info" shows
 {{{
  ,("Build platform","i386-unknown-solaris2")
  ,("Host platform","x86_64-unknown-solaris2")
  ,("Target platform","x86_64-unknown-solaris2")
 }}}
 which looks wrong, since build and host should be equal.
 The problem is that the auto-detected build platform always remains i386
 -unknown-solaris2.

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


More information about the ghc-tickets mailing list