1. 02 Sep, 2012 3 commits
  2. 31 Aug, 2012 17 commits
  3. 22 Aug, 2012 2 commits
    • Simon Peyton Jones's avatar
      Numerous small changes to the constraint solver · 702f0db0
      Simon Peyton Jones authored
          The main thing is that we now keep unsolved Derived constraints in the
          wc_flats of a WantedConstraints, rather than discarding them each time.
          This actually fixes a poential (admittedly obscure) bug, when we currently
          discard a superclass constraint, and may never re-generate it, and may
          thereby miss a functional dependency.
      
          Instead, reportErrors filters out Derived constraints that we don't want
          to report.
      
          The other changes are all small refactorings following our walk-through.
      
      MERGED from commit 9c0a6bbb on HEAD
      702f0db0
    • Simon Peyton Jones's avatar
      Allocate a fresh META unique in newMetaKindVar · 5133bb97
      Simon Peyton Jones authored
      Fixes Trac #7176 on the branch.  HEAD has a better fix
      (the big patch to untouchable handling)
      5133bb97
  4. 20 Aug, 2012 3 commits
  5. 15 Aug, 2012 9 commits
  6. 14 Aug, 2012 4 commits
    • ian@well-typed.com's avatar
      Make .t files when running haddock · 1d1062e9
      ian@well-typed.com authored
      These files contain the "+RTS -t --machin-readable" output, so that
      we can spot performance regressions.
      1d1062e9
    • pcapriotti's avatar
      More dependency updates. · 221df3f9
      pcapriotti authored
      221df3f9
    • pcapriotti's avatar
      Update dependencies. · 97bdfda5
      pcapriotti authored
      97bdfda5
    • Erik de Castro Lopo's avatar
      Fix GHCi segfault during startup on linux-powerpc (#2972). · 0119fbc0
      Erik de Castro Lopo authored
      Slightly modified version of a patch from Ben Collins <bcollins@ubuntu.com>
      who did the final debugging that showed the segfault was being caused the
      memory protection mechanism.
      
      Due to the requirement of "jump islands" to handle 24 bit relative jump
      offsets, GHCi on PowerPC did not use mmap to load object files like the
      other architectures. Instead, it allocated memory using malloc and fread
      to load the object code. However there is a quirk in the GNU libc malloc
      implementation. For memory regions over certain size (dynamic and
      configurable), malloc will use mmap to obtain the required memory instead
      of sbrk and malloc's call to mmap sets the memory readable and writable,
      but not executable. That means when GHCi loads code into a memory region
      that was mmapped instead of malloc-ed and tries to execute it we get a
      segfault.
      
      This solution drops the malloc/fread object loading in favour of using
      mmap and then puts the jump island for each object code module at the
      end of the mmaped region for that object.
      
      This patch may also be a solution on other ELF based powerpc systems
      but does not work on darwin-powerpc.
      
      MERGED from commit 3e6c9308
      0119fbc0
  7. 13 Aug, 2012 2 commits