[GHC] #8206: Add support for Portable Native Client

GHC ghc-devs at haskell.org
Thu Jul 2 20:58:53 UTC 2015


#8206: Add support for Portable Native Client
-------------------------------------+-------------------------------------
        Reporter:  guest             |                   Owner:  Alex
            Type:  feature request   |  Sayers
        Priority:  normal            |                  Status:  new
       Component:  Compiler          |               Milestone:
      Resolution:                    |                 Version:
Operating System:  Unknown/Multiple  |                Keywords:  NaCl PNaCl
 Type of failure:  None/Unknown      |  Portable Native Client pexe
      Blocked By:                    |            Architecture:
 Related Tickets:                    |  Unknown/Multiple
                                     |               Test Case:
                                     |                Blocking:
                                     |  Differential Revisions:
-------------------------------------+-------------------------------------
Changes (by jakzale):

 * cc: jakzale (added)


Comment:

 I'm working on this issue as a part of GSOC'15.

 Apart from minor issues with the build system, there are some additional
 clashes between ghc's dependencies and native client's (nacl) newlib I
 found so far:
 - the rts depends on posix signals, which are not supported in nacl newlib
 (although there seems to be a workaround),
 - the unix package depends on posix semaphores, which are currently not
 supported in nacl newlib,
 - additionally, dlfcn.h (and all functionality regarding dynamic linking)
 is not available in nacl newlib.

 Would it be possible to build ghc without the unix package?

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


More information about the ghc-tickets mailing list