[commit: ghc] master: By default, use the dynamic way for programs in the GHC tree (b712667)

Karel Gardas karel.gardas at centrum.cz
Mon Mar 18 21:45:20 CET 2013


Hello Ian,

am I right assuming that this patch breaks ARM/Linux compilation which 
now fails with:

===--- building phase 0
make -r --no-print-directory -f ghc.mk phase=0 phase_0_builds
ghc.mk:133: *** dyn is not in $(GhcLibWays), but $(DYNAMIC_GHC_PROGRAMS) 
is YES.  Stop.
make: *** [all] Error 2

If so, will you fix this or shall I provide a patch?

Thanks,
Karel

On 03/17/13 01:50 AM, Ian Lynagh wrote:
> Repository : http://darcs.haskell.org/ghc.git/
>
> On branch  : master
>
> https://github.com/ghc/ghc/commit/b7126674a5f4ead9c73a6a2cbe0fbc85f7d36c12
>
>> ---------------------------------------------------------------
>
> commit b7126674a5f4ead9c73a6a2cbe0fbc85f7d36c12
> Author: Ian Lynagh<ian at well-typed.com>
> Date:   Wed Mar 13 21:29:27 2013 +0000
>
>      By default, use the dynamic way for programs in the GHC tree
>
>      In particular, this means that GHCi will use DLLs, rather than loading
>      object files itself.
>
>   compiler/ghc.mk             | 10 ++++++++++
>   compiler/ghci/Linker.lhs    | 28 +++++++++++-----------------
>   compiler/main/DynFlags.hs   |  2 ++
>   compiler/utils/Util.lhs     |  9 +--------
>   ghc.mk                      | 12 ++++++------
>   mk/build.mk.sample          |  2 +-
>   mk/config.mk.in             |  9 ++++++++-
>   mk/validate-settings.mk     |  4 ++--
>   rts/Linker.c                | 14 +++++++-------
>   rts/ghc.mk                  |  4 ++--
>   rules/build-package-data.mk |  2 +-
>   rules/build-package-way.mk  |  2 +-
>   rules/build-prog.mk         |  4 ++--
>   rules/shell-wrapper.mk      |  4 ++--
>   14 files changed, 56 insertions(+), 50 deletions(-)
>
>
> Diff suppressed because of size. To see it, use:
>
>      git show b7126674a5f4ead9c73a6a2cbe0fbc85f7d36c12
>
> _______________________________________________
> ghc-commits mailing list
> ghc-commits at haskell.org
> http://www.haskell.org/mailman/listinfo/ghc-commits
>




More information about the ghc-devs mailing list