1. 15 Mar, 2019 1 commit
  2. 06 Mar, 2019 1 commit
    • Ben Gamari's avatar
      Rip out object splitting · 37f257af
      Ben Gamari authored
      The splitter is an evil Perl script that processes assembler code.
      Its job can be done better by the linker's --gc-sections flag. GHC
      passes this flag to the linker whenever -split-sections is passed on
      the command line.
      
      This is based on @DemiMarie's D2768.
      
      Fixes Trac #11315
      Fixes Trac #9832
      Fixes Trac #8964
      Fixes Trac #8685
      Fixes Trac #8629
      37f257af
  3. 04 Mar, 2019 1 commit
  4. 28 Feb, 2019 1 commit
    • Moritz Angermann's avatar
      Cleanup iserv/iserv-proxy · f838809f
      Moritz Angermann authored
      This adds trace messages that include the processes name and as such
      make debugging and following the communication easier.
      
      It also adds a note regarding the fwd*Call proxy-communication logic
      between the proxy and the slave.
      
      The proxy will now also poll for 60s to wait for the remote iserv
      to come up. (Alternatively you can start the remote process
      beforehand; and just have iserv-proxy connect to it)
      f838809f
  5. 20 Feb, 2019 1 commit
    • Ryan Scott's avatar
      Bump ghc version to 8.9 · aa79f65c
      Ryan Scott authored
      Along the way, I discovered that `template-haskell.cabal` was
      hard-coding the GHC version (in the form of its `ghc-boot-th` version
      bounds), so I decided to make life a little simpler in the future by
      generating `template-haskell.cabal` with autoconf.
      aa79f65c
  6. 13 Feb, 2019 1 commit
  7. 01 Jan, 2019 2 commits
  8. 18 Dec, 2018 1 commit
  9. 11 Dec, 2018 1 commit
    • Ben Gamari's avatar
      configure: Don't use ln -v · 066d3989
      Ben Gamari authored
      There's no reason why we need to print the linked files and apparently
      ln on OpenBSD doesn't support -v.
      
      Fixes #15946.
      
      Test Plan: Validate
      
      Reviewers: monoidal
      
      Reviewed By: monoidal
      
      Subscribers: rwbarton, erikd, carter
      
      GHC Trac Issues: #15946
      
      Differential Revision: https://phabricator.haskell.org/D5425
      066d3989
  10. 08 Dec, 2018 1 commit
    • Alec Theriault's avatar
      Require 'libdw' for '--enable-dwarf-unwind' · cb882fc9
      Alec Theriault authored
      This causes './configure --enable-dwarf-unwind' to exit with a helpful
      error message when 'libdw' cannot be found (compared to the previous
      behaviour of silently pretending the user hadn't requested DWARF support
      at all).
      
      Test Plan: ./configure --enable-dwarf-unwind # on systems with/without
      libdw
      
      Reviewers: bgamari, nh2
      
      Reviewed By: nh2
      
      Subscribers: nh2, rwbarton, erikd, carter
      
      GHC Trac Issues: #15968
      
      Differential Revision: https://phabricator.haskell.org/D5424
      cb882fc9
  11. 26 Nov, 2018 1 commit
    • Ryan Scott's avatar
      Use autoconf to generate version numbers for libiserv and friends · 8f9f52d8
      Ryan Scott authored
      Summary:
      Currently, the version numbers for `libiserv`, `iserv`, and
      `iserv-proxy` are hard-coded directly into their `.cabal` files.
      These are easy to forget to update, and in fact, this has already
      happened once (see #15866). Let's use `autoconf` to do this for us
      so that it is not forgotten in the future.
      
      Test Plan: ./validate
      
      Reviewers: bgamari
      
      Reviewed By: bgamari
      
      Subscribers: rwbarton, erikd, carter
      
      GHC Trac Issues: #15866
      
      Differential Revision: https://phabricator.haskell.org/D5302
      8f9f52d8
  12. 23 Nov, 2018 1 commit
  13. 03 Oct, 2018 1 commit
    • Ryan Scott's avatar
      Drop GHC 8.2 compatibility · a838ae37
      Ryan Scott authored
      Summary:
      GHC 8.6.1 is out, so now GHC's support window only extends
      back to GHC 8.4. This means we can delete gobs of code that were
      only used for GHC 8.2 support. Hooray!
      
      Test Plan: ./validate
      
      Reviewers: bgamari, Phyx, erikd
      
      Reviewed By: bgamari, Phyx
      
      Subscribers: rwbarton, erikd, carter
      
      Differential Revision: https://phabricator.haskell.org/D5192
      a838ae37
  14. 20 Sep, 2018 1 commit
  15. 17 Jul, 2018 1 commit
    • Tamar Christina's avatar
      split-obj: disable split-objects on Windows. · 53649947
      Tamar Christina authored
      A change has caused GHC to generate excessive specializations.
      This is making GHC generate 1800 splits for a simple GHC.Prim module,
      which means 1800 fork/exec calls.
      
      Due to this compilation times on Windows with split-objs on take over
      24 hours to complete depending on your disk speed.  Also the end
      compiler
      compiling medium to large project is also much slower.
      
      So I think we need to just disable split-objects. As there's nothing
      that
      can be done about this.
      
      Test Plan: ./validate
      
      Reviewers: bgamari
      
      Subscribers: tdammers, rwbarton, thomie, erikd, carter
      
      GHC Trac Issues: #15051
      
      Differential Revision: https://phabricator.haskell.org/D4915
      53649947
  16. 06 Jul, 2018 2 commits
    • Ben Gamari's avatar
      Revert "rts: Enable two-step allocator on FreeBSD" · 67153736
      Ben Gamari authored
      This reverts commit 87367158.
      
      I hadn't intended on merging this.
      67153736
    • Ben Gamari's avatar
      rts: Enable two-step allocator on FreeBSD · 87367158
      Ben Gamari authored
      Previously we would prevent any operating system not providing the
      MEM_NORESERVE flag
      from using the two-step allocator. Afterall, Linux will reserve
      swap-space for
      a mapping unless this flag is given, which is most certainly not what
      we want.
      
      However, it seems that FreeBSD provides the reservation-only mapping
      behavior
      that we expect despite not providing the MEM_NORESERVE macro. In fact,
      it
      provided the macro until 2014, when it was removed on account of not
      being
      implemented in the kernel. However, empirical evidence suggests that
      just plain
      mmap does what we want.
      
      Reviewers: erikd, simonmar
      
      Subscribers: rwbarton, thomie, erikd, carter
      
      GHC Trac Issues: #15348
      
      Differential Revision: https://phabricator.haskell.org/D4939
      87367158
  17. 21 Jun, 2018 1 commit
  18. 20 Jun, 2018 2 commits
  19. 19 Jun, 2018 1 commit
  20. 17 Jun, 2018 2 commits
  21. 16 Jun, 2018 1 commit
  22. 15 Jun, 2018 1 commit
  23. 31 May, 2018 1 commit
    • Jens Petersen's avatar
      configure: Make sphinx-build version test work on recent versions · 533d3451
      Jens Petersen authored
      On Fedora: `/usr/libexec/sphinx-build --version` outputs `sphinx-build
      1.7.2`.  In bindir we actually have sphinx-build-2 and sphinx-build-3
      (python2 and python3 versions), which output `sphinx-build-2 1.7.2` and
      `sphinx-build-3 1.7.2` respectively.  Dunno what version others are
      using but at least this change should works for most versions I suppose.
      533d3451
  24. 20 May, 2018 1 commit
    • patrickdoc's avatar
      Add HeapView functionality · ec22f7dd
      patrickdoc authored
      This pulls parts of Joachim Breitner's ghc-heap-view library inside GHC.
      The bits added are the C hooks into the RTS and a basic Haskell wrapper
      to these C hooks. The main reason for these to be added to GHC proper
      is that the code needs to be kept in sync with the closure types
      defined by the RTS. It is expected that the version of HeapView shipped
      with GHC will always work with that version of GHC and that extra
      functionality can be layered on top with a library like ghc-heap-view
      distributed via Hackage.
      
      Test Plan: validate
      
      Reviewers: simonmar, hvr, nomeata, austin, Phyx, bgamari, erikd
      
      Reviewed By: bgamari
      
      Subscribers: carter, patrickdoc, tmcgilchrist, rwbarton, thomie
      
      Differential Revision: https://phabricator.haskell.org/D3055
      ec22f7dd
  25. 15 May, 2018 1 commit
  26. 13 Apr, 2018 1 commit
  27. 31 Mar, 2018 1 commit
    • Tamar Christina's avatar
      Remove MAX_PATH restrictions from RTS, I/O manager and various utilities · 4de585a5
      Tamar Christina authored
      Summary:
      This shims out fopen and sopen so that they use modern APIs under the hood
      along with namespaced paths.
      
      This lifts the MAX_PATH restrictions from Haskell programs and makes the new
      limit ~32k.
      
      There are only some slight caveats that have been documented.
      
      Some utilities have not been upgraded such as lndir, since all these things are
      different cabal packages I have been forced to copy the source in different places
      which is less than ideal. But it's the only way to keep sdist working.
      
      Test Plan: ./validate
      
      Reviewers: hvr, bgamari, erikd, simonmar
      
      Reviewed By: bgamari
      
      Subscribers: rwbarton, thomie, carter
      
      GHC Trac Issues: #10822
      
      Differential Revision: https://phabricator.haskell.org/D4416
      4de585a5
  28. 25 Mar, 2018 1 commit
  29. 19 Mar, 2018 2 commits
  30. 02 Mar, 2018 1 commit
  31. 21 Feb, 2018 1 commit
  32. 15 Feb, 2018 1 commit
  33. 03 Feb, 2018 1 commit
    • Ben Gamari's avatar
      ghc-prim: Emulate C11 atomics when not available · 217e4170
      Ben Gamari authored
      GCC's __sync primitives apparently "usually" imply a full barrier,
      meaning they can be used to emulate the more precise C11 atomics albeit
      with a loss of efficiency. This restores compatibility with GCC 4.4.
      
      This partially reverts commit 59de2909.
      
      Test Plan: Validate on Centos
      
      Reviewers: hvr, simonmar, trommler
      
      Subscribers: rwbarton, thomie, erikd, carter
      
      GHC Trac Issues: #14244
      
      Differential Revision: https://phabricator.haskell.org/D4364
      217e4170
  34. 15 Jan, 2018 1 commit
    • John Ericson's avatar
      configure: Various cleanups · 8de89305
      John Ericson authored
      Substitute RanlibCmd for consistency, and other configure cleanups that
      should have no effect
      
      The other commands are so substituted. Maybe we don't need ranlib at
      all, and the configure snippet can be removed all together, but that
      can always be done later.
      
      Reviewers: bgamari, hvr, angerman
      
      Reviewed By: bgamari, angerman
      
      Subscribers: rwbarton, thomie, erikd, carter
      
      Differential Revision: https://phabricator.haskell.org/D4286
      8de89305
  35. 04 Dec, 2017 1 commit