[GHC] #14057: Upstream Alpine Linux distribution patches

GHC ghc-devs at haskell.org
Tue Nov 21 17:04:24 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:                |
---------------------------------+----------------------------------------

Comment (by bgamari):

 I have posted `0004-reproducible-tmp-names.patch` as Phab:D4220.

 The remaining patches are:
 * `0000-bootstrap.patch`: This seems quite suspicious. Moreover, it very
 likely won't be needed in Hadrian.
 * `0002-Correct-issue-with-libffi-and-glibc.patch`: Someone is going to
 need to take ownership of this to get it upstreamed into `libffi`
 * `0005-buildpath-abi-stability.patch`: This doesn't seem like a
 reasonable approach as it kills potentially useful information in the
 interface file. Either we should find a way to encode this information in
 a deterministic way (e.g. module name and unit ID) or remove it entirely
 if it really isn't necessary
 * `0007-build-hp2ps-twice.patch`, `0008-build-unlit-twice.patch`: Looking
 at these again, they actually look fairly reasonable. In general we
 shouldn't pollute the final build artifacts with things produced by the
 bootstrap toolchain. I would say we should just fix this in Hadrian. I've
 opened #14501 to fix this.

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


More information about the ghc-tickets mailing list