[GHC] #10274: foreign import ccall "rand" in System.IO fails on Android

GHC ghc-devs at haskell.org
Thu Apr 9 15:31:22 UTC 2015


#10274: foreign import ccall "rand" in System.IO fails on Android
-------------------------------------+-------------------------------------
        Reporter:  rwbarton          |                   Owner:  ekmett
            Type:  bug               |                  Status:  new
        Priority:  normal            |               Milestone:
       Component:  Core Libraries    |                 Version:  7.10.1
      Resolution:                    |                Keywords:
Operating System:  Other             |            Architecture:
 Type of failure:  Building GHC      |  Unknown/Multiple
  failed                             |               Test Case:
      Blocked By:                    |                Blocking:
 Related Tickets:                    |  Differential Revisions:  Phab:D826
-------------------------------------+-------------------------------------

Comment (by Reid Barton <rwbarton@…>):

 In [changeset:"f536d89603bb49dea192b47f54416dc88da980af/ghc"]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="f536d89603bb49dea192b47f54416dc88da980af"
 Import rand using capi

 Summary: Android has no rand symbol (it's a static inline function there).

 Test Plan: ghc-android builds

 Reviewers: trofi, austin, hvr

 Reviewed By: hvr

 Subscribers: thomie

 Differential Revision: https://phabricator.haskell.org/D826

 GHC Trac Issues: #10274
 }}}

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


More information about the ghc-tickets mailing list