[GHC] #12078: ghc-boot-th package reveals issue with build system's treatment of transitive dependencies
GHC
ghc-devs at haskell.org
Tue May 17 16:23:40 UTC 2016
#12078: ghc-boot-th package reveals issue with build system's treatment of
transitive dependencies
-------------------------------------+-------------------------------------
Reporter: bgamari | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Build System | Version: 8.0.1
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Description changed by bgamari:
@@ -9,1 +9,2 @@
- this for the time being by adding
+ this for the time being by adding transitive dependencies to the rule in
+ `rules/build-prog.mk` which builds programs (including `ghc-pkg`).
New description:
The `ghc-boot-th` introduced in the resolution of #12052 seems to have
uncovered a bug in the build system's treatment of transitive
dependencies. Namely, it seems to be possible for the build system to
attempt to link `ghc-pkg` before `libghc-boot-th` has been produced. This
is odd since `ghc-pkg` has a dependency on `ghc-boot`, which in turn has a
dependency on `ghc-boot-th`.
In the interest of moving the 8.0.1 release along I'm going to work around
this for the time being by adding transitive dependencies to the rule in
`rules/build-prog.mk` which builds programs (including `ghc-pkg`).
--
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12078#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list