1. 19 Mar, 2015 11 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
      Summary:
      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
      83afcd17
    • 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
      DynFlags.parseDynamicFlagsFull.
      
      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
      5166ee94
    • 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
      beee618c
    • Simon Peyton Jones's avatar
      Test Trac #10156 · 817d2c34
      Simon Peyton Jones authored
      817d2c34
    • Austin Seipp's avatar
      libraries/win32: update submodule · e935a7f4
      Austin Seipp authored
      
      Signed-off-by: default avatarAustin Seipp <austin@well-typed.com>
      e935a7f4
  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
      builders.
      
      Reviewed By: austin
      
      Differential Revision: https://phabricator.haskell.org/D728
      cc07a0ba
  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
      `$(CONF_GCC_LINKER_OPTS_STAGEn)`.
      
      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
      71fcc4c0
  9. 11 Mar, 2015 6 commits
  10. 10 Mar, 2015 1 commit
    • Edward Z. Yang's avatar
      Refactor testsuite with normalise_version() · 8cbd7f5d
      Edward Z. Yang authored
      
      
      Summary:
      This function generalizes the normaliseBytestringPackage and other similar
      one-off functions into normalise_version() with takes a package name to
      normalize against.  This JUST manages package versions; we also could use
      a normalize for keys.
      
      In the process, I modified all the normalization functions to be accumulative;
      I don't think this makes a difference for current test cases but I think it
      makes things nicer.
      Signed-off-by: default avatarEdward Z. Yang <ezyang@cs.stanford.edu>
      
      Reviewers: austin
      
      Subscribers: thomie
      
      Differential Revision: https://phabricator.haskell.org/D725
      8cbd7f5d