[GHC] #7690: iOS patch no 1: Select operating system

GHC cvs-ghc at haskell.org
Fri Feb 15 05:43:05 CET 2013


#7690: iOS patch no 1: Select operating system
------------------------------+---------------------------------------------
Reporter:  StephenBlackheath  |          Owner:          
    Type:  bug                |         Status:  patch   
Priority:  normal             |      Component:  Compiler
 Version:  7.7                |       Keywords:          
      Os:  Other              |   Architecture:  arm     
 Failure:  None/Unknown       |      Blockedby:          
Blocking:                     |        Related:          
------------------------------+---------------------------------------------

Comment(by chak):

 Stephen, it's great to see progress on this!

 I had a look at the patch (well, actually the `master-merge-ios` branch in
 the ghc-ios repo on !GitHub) and noticed that the changes in
 https://github.com/ghc-ios/ghc/blob/master-merge-
 ios/compiler/deSugar/DsForeign.lhs hardcoded iOS-specific settings, which
 can be traced back to this patch: https://github.com/ghc-
 ios/ghc/commit/6f01b16ba94c275683fccdc748f0b6e95f94e5d0 (e.g., the setting
 of `libFFI` and the removal of `insertRetAddr`) — it might be worthwhile
 to double check that that patch didn't hardcoded platform-specifics in
 other places as well. Do you know how to get at the platform info in
 `DsForeign`?

 Moreover, my compile dies with
 {{{
 Configuring ghctags-0.1...
 Configuring ghc-pwd-0.1...
 Configuring ghc-pkg-6.9...
 Configuring hsc2hs-0.67...
 Configuring haddock-2.13.2...
 ghc-cabal: At least the following dependencies are missing:
 terminfo -any
 make[1]: *** [utils/ghc-pkg/dist-install/package-data.mk] Error 1
 make[1]: *** Waiting for unfinished jobs....
 make: *** [all] Error 2
 }}}

 (I wonder why we are using crappy Trac instead of !GitHub for such
 discussions?!?)

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



More information about the ghc-tickets mailing list