Changes between Version 26 and Version 27 of DynamicByDefault


Ignore:
Timestamp:
Nov 25, 2012 12:21:13 AM (3 years ago)
Author:
igloo
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DynamicByDefault

    v26 v27  
    202202== Other issues ==
    203203
     204=== Cabal support ===
     205
    204206Currently released versions of Cabal/cabal-install don't handle dynamic-by-default GHCs well, as they don't pass the `-static` flag when building for static ways (as they assume that it is enabled by default). We should get fixed versions out as soon as possible (#7439).
     207
     208=== Profiling ===
     209
     210Should we support both static and dynamic profiling ways? If not, which?
     211
     212If we support both, it would be a little odd if `ghc -prof` used the static profiling libraries. Presumably `ghc -prof -dynamic` would use dynamic profiling libraries, but what about `ghc -dynamic -prof`? So if we support both then you would presumably need to say `ghc -static -prof` to use the static ones.
     213
     214Currently Cabal has separate `--enable-library-profiling` and `--enable-shared` flags, but we don't have a way to distinguish static-profiling from dynamic-profiling. If we want to support both then we'll need to add a Cabal flag for it.
    205215
    206216== Questions ==
     
    216226 7. Should we enable dynamic by default on other platforms?
    217227 8. For platforms using dynamic by default, should Cabal also install static libraries by default?
     228 9. Should `ghc -prof` use dynamic or static libraries when dynamic by default?
    218229
    219230For 1 and 3, the performance impact appears negligible (or perhaps even negative) and some bugs will be fixed, so we would suggest that the answer should be yes.