This project is mirrored from Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer.
Last successful update .
  1. 08 Oct, 2014 5 commits
  2. 07 Oct, 2014 16 commits
  3. 06 Oct, 2014 4 commits
  4. 05 Oct, 2014 2 commits
    • Sergei Trofimovich's avatar
      rts: unrust 'libbfd' debug symbols parser · cb0a503a
      Sergei Trofimovich authored
      Patch does the following:
      - fixes detection of working libbfd on modern linux
        platforms (where bfd_uncompress_section_contents is a macro)
      - disables 'bfd' by default and adds '--enable-bfd-debug'
        configure option. As bfd's ABI is unstable
        the feature is primarily useful by ghc hackers.
      Not done (subject for another patch):
      - one-time bfd object memory leak in DEBUG_LoadSymbols
      - in '-dynamic' mode debugging symbols are loaded only for
        current executable, not all libraries it is linked against.
      Fixes Issue #8790
      Signed-off-by: default avatarSergei Trofimovich <>
      Test Plan: built unregisterised ghc on amd64 and ran './hello +RTS -Di' there
      Reviewers: simonmar, austin
      Reviewed By: simonmar, austin
      Subscribers: thomie, simonmar, ezyang, carter
      Differential Revision:
      GHC Trac Issues: #8790
    • Herbert Valerio Riedel's avatar
      Implement `MIN_VERSION_GLASGOW_HASKELL()` macro · 3549c952
      Herbert Valerio Riedel authored
      This exposes the `cProjectPatchLevel{1,2}` value at the CPP level to
      allow it to be used in CPP conditionals. Concretely, GHC
      would result in
        #define __GLASGOW_HASKELL__             710
        #define __GLASGOW_HASKELL_PATCHLEVEL1__ 2
        #define __GLASGOW_HASKELL_PATCHLEVEL2__ 20150623
      while GHC 7.10.3 results in
        #define __GLASGOW_HASKELL__             710
        #define __GLASGOW_HASKELL_PATCHLEVEL1__ 3
      and finally GHC 7.9.20141009 results in
        #define __GLASGOW_HASKELL__             709
        #define __GLASGOW_HASKELL_PATCHLEVEL1__ 20141009
      As it's error-prone to properly express CPP conditionals for testing GHC
      multi-component versions, a new macro `MIN_VERSION_GLASGOW_HASKELL()` is
      provided (also via the new CPP include file `ghcversion.h`)
      Finally, in order to make it easier to define the new CPP macro
      `MIN_VERSION_GLASGOW_HASKELL()`, a new default-included
      `include/ghcversion.h` is used for the new CPP definitions.
      Reviewed By: ekmett, austin, #ghc
      Differential Revision:
  5. 04 Oct, 2014 1 commit
    • Sergei Trofimovich's avatar fix list for dll-split on GHCi-less builds · 2a8ea474
      Sergei Trofimovich authored
      To reproduce build failure it's enough to try
      to build GHC on amd64 with the following setup:
          $ cat mk/
          # for #9552
          GhcWithInterpreter = NO
      It gives:
          Reachable modules from DynFlags out of date
          Please fix compiler/, or building DLLs on Windows may break (#7780)
          Redundant modules: Bitmap BlockId ... <list of 42 modules>
          <make error>
      dll-split among other things makes sure
      all mentioned modules are used by DynFlags.
      '#ifdef GHCI' keeps is from happening.
      Patch moves those 42 modules under
      'GhcWithInterpreter' guard.
      Fixes Issue #9552
      Signed-off-by: default avatarSergei Trofimovich <>
  6. 03 Oct, 2014 5 commits
  7. 02 Oct, 2014 7 commits