Opened 3 years ago

Closed 3 years ago

#10274 closed bug (fixed)

foreign import ccall "rand" in System.IO fails on Android

Reported by: rwbarton Owned by: ekmett
Priority: normal Milestone:
Component: Core Libraries Version: 7.10.1
Keywords: Cc: core-libraries-committee@…
Operating System: Other Architecture: Unknown/Multiple
Type of failure: Building GHC failed Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s): Phab:D826
Wiki Page:

Description

On Android rand is a static inline function.

Change History (5)

comment:1 Changed 3 years ago by rwbarton

Differential Rev(s): Phab:D826

comment:2 Changed 3 years ago by Reid Barton <rwbarton@…>

In f536d89603bb49dea192b47f54416dc88da980af/ghc:

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

comment:3 Changed 3 years ago by rwbarton

Status: newmerge

comment:4 Changed 3 years ago by thoughtpolice

comment:5 Changed 3 years ago by thoughtpolice

Resolution: fixed
Status: mergeclosed
Note: See TracTickets for help on using tickets.