1. 20 Mar, 2015 3 commits
  2. 19 Mar, 2015 11 commits
  3. 18 Mar, 2015 3 commits
  4. 17 Mar, 2015 8 commits
  5. 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
    • Thomas Miedema's avatar
      Dont call unsafeGlobalDynFlags if it is not set · 5166ee94
      Thomas Miedema 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
    • Thomas Miedema's avatar
      Fix testsuite driver for a profiling compiler · beee618c
      Thomas Miedema 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>
  6. 15 Mar, 2015 2 commits
  7. 14 Mar, 2015 2 commits
  8. 13 Mar, 2015 1 commit
    • Thomas Miedema's avatar
      Move the function strip_quotes to testutil.py · cc07a0ba
      Thomas Miedema 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
  9. 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
  10. 11 Mar, 2015 4 commits