Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
GHC
GHC
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 4,391
    • Issues 4,391
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge Requests 371
    • Merge Requests 371
  • Requirements
    • Requirements
    • List
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Code Review
    • Insights
    • Issue
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Glasgow Haskell Compiler
  • GHCGHC
  • Issues
  • #14057

Closed
Open
Opened Jul 29, 2017 by Ben Gamari@bgamari🐢Maintainer

Upstream Alpine Linux distribution patches

Alpine Linux has a variety of 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 9ae24bb6.
  • 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 4c56ad36.
  • 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 (closed) to track this.
  • 0003-do-not-use-SHELL.patch: Looks reasonable to me. Merged as a10c2e6e.
  • 0004-reproducible-tmp-names.patch: Seems plausible.
  • 0005-buildpath-abi-stability.patch: There's some discussion in #10424.
  • 0006-fix-madvise.patch: Merged in 6576bf83. See #12865 (closed)
  • 0007-build-hp2ps-twice.patch, 0008-build-unlit-twice.patch: Why?
Edited Mar 10, 2019 by Ben Gamari
Assignee
Assign to
8.2.3
Milestone
8.2.3
Assign milestone
Time tracking
None
Due date
None
Reference: ghc/ghc#14057