[GHC] #14057: Upstream Alpine Linux distribution patches

GHC ghc-devs at haskell.org
Sat Jul 29 23:11:53 UTC 2017


#14057: Upstream Alpine Linux distribution patches
-------------------------------------+-------------------------------------
           Reporter:  bgamari        |             Owner:  (none)
               Type:  task           |            Status:  new
           Priority:  normal         |         Milestone:  8.4.1
          Component:  Compiler       |           Version:  8.0.1
           Keywords:                 |  Operating System:  Unknown/Multiple
       Architecture:                 |   Type of failure:  None/Unknown
  Unknown/Multiple                   |
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 Alpine Linux has a variety of
 [[https://git.alpinelinux.org/cgit/aports/tree/community/ghc?h=3.6-stable|patches]]
 to allow GHC to build against the musl libc implementation. Let's get
 these upstream.

 Here is my take on the patches:

 * `0000-alpine.patch`: This is a no-brainer. Will gladly accept.
 * `0000-bootstrap.patch`: I really don't know about this one. The
 motivation is quite unclear. Needs discussion.
 * `0001-rm-ghc-pwd.patch`: Already merged in
 4c56ad36ee0d1f8b6f1b2bc0d8fff1c9acd1a389.
 * `0002-Correct-issue-with-libffi-and-glibc.patch`: This is,
 unfortunately, a `libffi` fix, not a GHC fix. I'm not enthusiastic about
 patching libffi like this. However, `libffi`'s upstream is quite
 unresponsive and we are waiting for them to act on a number of issues, so
 perhaps we'll need to reconsider this. I've created #14056 to track this.
 * `0003-do-not-use-SHELL.patch`: Looks reasonable to me.
 * `0004-reproducible-tmp-names.patch`: Seems plausible.
 * `0005-buildpath-abi-stability.patch`: There's some discussion in #10424.
 * `0006-fix-madvise.patch`: Merged in
 6576bf83cdf4eac05eb88a24aa934a736c91e3da. See #12865
 * `0007-build-hp2ps-twice.patch`, `0008-build-unlit-twice.patch`: Why?

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


More information about the ghc-tickets mailing list