[GHC] #14057: Upstream Alpine Linux distribution patches
GHC
ghc-devs at haskell.org
Tue Nov 21 16:34:19 UTC 2017
#14057: Upstream Alpine Linux distribution patches
---------------------------------+----------------------------------------
Reporter: bgamari | Owner: (none)
Type: task | Status: new
Priority: normal | Milestone: 8.2.3
Component: Compiler | Version: 8.0.1
Resolution: | Keywords:
Operating System: Linux | Architecture: Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
---------------------------------+----------------------------------------
Old description:
> 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?
New description:
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. Merged as
9ae24bb615416b3e8d972d45ebe3dd281242d213.
* `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. Merged as
a10c2e6e9e9af3addbf91c0bb374257fb6c72553.
* `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?
--
Comment (by bgamari):
`0000-alpine.patch` and `0003-do-not-use-SHELL.patch` were merged for
8.4.1.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14057#comment:5>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list