#1860: GMP dyn link dependencies in binary distributions
--------------------------+-------------------------------------------------
Reporter: chak | Owner:
Type: bug | Status: new
Priority: normal | Milestone: 6.10 branch
Component: Build System | Version: 6.8.1
Severity: normal | Resolution:
Keywords: | Difficulty: Unknown
Testcase: | Architecture: Unknown
Os: Multiple |
--------------------------+-------------------------------------------------
Comment (by chak):
This problem does actually not only affect binary-dist distributions.
When building an installer package for the Mac or an rpm for Linux, we use
the vanilla "install" target with a non-empty DESTDIR to install into a
temporary location from where the package contents is archived. So, I
think, the Right Thing is
* during stage 1 only to build those utils/ that are needed during the
rest of the build process (e.g., ghc-pkg) in an '''inplace''' version and
* during stage 2 build all utils/ with the stage 1 compiler (in an for-
installation version).
The only problem with that is if we want to install (locally, I presume) a
stage 1 compiler - then some utils/ are not yet built. The question is
whether we really need to support that (i.e., is it useful, it certainly
makes things more complicated). If we want to retain the ability to
install a stage 1 compiler, we could build all utils/ during stage 1
'''and''' stage 2, where the stage 2 build overwrites the stage 1 build
(given the very small fraction of the overall build time spent on utils/,
the slightly overhead of this scheme doesn't matter IMHO).
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1860#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs