1. 19 Mar, 2015 2 commits
  2. 18 Mar, 2015 3 commits
  3. 17 Mar, 2015 8 commits
  4. 16 Mar, 2015 5 commits
    • Erik de Castro Lopo's avatar
      Fix build on amd64/solaris. · 83afcd17
      Erik de Castro Lopo authored
      Commit 71fcc4c0 breaks the 64bit build on Solaris 11. Solaris
      is a multi-lib OS so both 32bit and 64bit binaries may  be run, but
      by default it compiles to 32bit so that -m64 needs to be added in
      the appropriate place when compiling for 64 bits.
      Patch-from: Karel Gardas <karel.gardas@centrum.cz>
      Reviewers: kgardas, austin
      Subscribers: thomie
      Differential Revision: https://phabricator.haskell.org/D733
    • thomie's avatar
      Dont call unsafeGlobalDynFlags if it is not set · 5166ee94
      thomie authored
      Parsing of static and mode flags happens before any session is started,
      i.e., before the first call to 'GHC.withGhc'. Therefore, to report
      errors for invalid usage of these two types of flags, we can not call
      any function that needs DynFlags, as there are no DynFlags available yet
      (unsafeGlobalDynFlags is not set either). So we always print "on the
      commandline" as the location, which is true except for Api users, which
      is probably ok.
      When reporting errors for invalid usage of dynamic flags we /can/ make
      use of DynFlags, and we do so explicitly in
      Before, we called unsafeGlobalDynFlags when an invalid (combination of)
      flag(s) was given on the commandline, resulting in panics (#9963). This
      regression was introduced in 1d6124de.
      Also rename showSDocSimple to showSDocUnsafe, to hopefully prevent this
      from happening again.
      Reviewed By: austin
      Differential Revision: https://phabricator.haskell.org/D730
      GHC Trac Issues: #9963
    • thomie's avatar
      Fix testsuite driver for a profiling compiler · beee618c
      thomie authored
      This should have been part of commit 5258566e, to allow expansion of
      '{hp2ps}' in a command string to `config.hp2ps`.
      Reviewed by: austin
      Differential Revision: https://phabricator.haskell.org/D734
    • Simon Peyton Jones's avatar
      Test Trac #10156 · 817d2c34
      Simon Peyton Jones authored
    • Austin Seipp's avatar
      libraries/win32: update submodule · e935a7f4
      Austin Seipp authored
      Signed-off-by: default avatarAustin Seipp <austin@well-typed.com>
  5. 15 Mar, 2015 2 commits
  6. 14 Mar, 2015 2 commits
  7. 13 Mar, 2015 1 commit
    • thomie's avatar
      Move the function strip_quotes to testutil.py · cc07a0ba
      thomie authored
      If one runs the testsuite with a profiling compiler, during the import
      of `testlib.py`, `testlib.py` sets the global variable `gs_working`. To
      do so, it executes a few statements which require the function
      `strip_quotes` to be in scope. But that function only gets defined at
      the very end of testlib.py.
      This patch moves the definition of `strip_quotes` to testutil.py, which
      is imported at the very top of testlib.py. This unbreaks the nightly
      Reviewed By: austin
      Differential Revision: https://phabricator.haskell.org/D728
  8. 12 Mar, 2015 1 commit
    • Erik de Castro Lopo's avatar
      Use the gold linker for linux/ARM and android/ARM targets. · 71fcc4c0
      Erik de Castro Lopo authored
      Fixes #8976 and #9873 by making use of the Binutils ld.gold
      linker explicit whenever the target is linux/ARM or android/ARM.
      This does not affect iOS where Apple provides its own linker.
      In order to achieve this, we need to add `-fuse-ld=gold` to
      the SettingsCCompilerLinkFlags setting and set
      SettingsLdCommand to `ld.gold` (or `${target}-ld.gold` when
      cross-compiling). In addition, simplifying the use of
      This patch was tested by ensuring that the following worked
      as expected:
        * Native builds on linux/x86_64 (nothing changed).
        * Native builds on linux/arm (and uses the gold linker).
        * Linux to linux/arm cross compiles (and uses the cross
          gold linker).
      Contributions by Ben Gamari, Joachim Breitner and Reid Barton.
      Reviewers: nomeata, bgamari, austin, rwbarton
      Subscribers: thomie
      Differential Revision: https://phabricator.haskell.org/D715
      GHC Trac Issues: #8976 #9873
  9. 11 Mar, 2015 6 commits
  10. 10 Mar, 2015 8 commits
  11. 09 Mar, 2015 2 commits
    • AndreasVoellmy's avatar
    • AndreasVoellmy's avatar
      RTS/IOManager: fix trac issue #9722. · 74625d68
      AndreasVoellmy authored
      Whenever the RTS has been inactive for idleGCDelayTime, the idle timer
      fires and calls wakeUpRts(), which in turn calls ioManagerWakeup(),
      which in turn writes a byte (or a few) to a file descriptor (stored in
      the io_manager_wakeup_fd variable) registered by the TimerManager and
      on which the TimerManager will wait. (Note that the write will only
      occur if the file descriptor is non-negative.) When the RTS shuts
      down, it shuts down the TimerManager, and in this process the file
      descriptor stored in io_manager_wakeup_fd is closed. In the error
      case, the idle timer fires after the close of the file occurs, and
      then the write() call in ioManagerWakeup() fails and the
      aforementioned error message gets printed.
      This patch solves the problem by (1) having the TimerManager (via
      Control) write -1 to io_manager_wakeup_fd just before closing the file
      descriptor written in io_manager_wakeup_fd, and (2) having
      ioManagerWakeup() ignore an error returned by write() in the case that
      the write returned -1 and the io_manager_wakeup_fd is -1.
      Reviewers: austin, simonmar, hvr, thomie
      Reviewed By: thomie
      Subscribers: thomie
      Differential Revision: https://phabricator.haskell.org/D722
      GHC Trac Issues: #9722