1. 17 Nov, 2008 3 commits
    • Simon Marlow's avatar
      fix compile breakage on Windows · 27f66c28
      Simon Marlow authored
      27f66c28
    • Simon Marlow's avatar
      Attempt to fix #2512 and #2063; add +RTS -xm<address> -RTS option · 11f6f411
      Simon Marlow authored
      On x86_64, the RTS needs to allocate memory in the low 2Gb of the
      address space.  On Linux we can do this with MAP_32BIT, but sometimes
      this doesn't work (#2512) and other OSs don't support it at all
      (#2063).  So to work around this:
      
        - Try MAP_32BIT first, if available.
      
        - Otherwise, try allocating memory from a fixed address (by default
          1Gb)
      
        - We now provide an option to configure the address to allocate
          from.  This allows a workaround on machines where the default
          breaks, and also provides a way for people to test workarounds
          that we can incorporate in future releases.
      11f6f411
    • Simon Marlow's avatar
      Another shutdown fix · cb905327
      Simon Marlow authored
      If we encounter a runnable thread during shutdown, just kill it.  All
      the threads are supposed to be dead at this stage, but this catches
      threads that might have just returned from a foreign call, or were
      finalizers created by the GC.
      
      Fixes memo002(threaded1)
      cb905327
  2. 16 Nov, 2008 2 commits
  3. 14 Nov, 2008 7 commits
  4. 13 Nov, 2008 7 commits
  5. 12 Nov, 2008 2 commits
  6. 11 Nov, 2008 2 commits
    • Simon Marlow's avatar
      Fix parse error with older gccs (#2752) · 7ebf1a69
      Simon Marlow authored
      7ebf1a69
    • Simon Marlow's avatar
      Fix to i386_insert_ffrees (#2724, #1944) · dcd38ff7
      Simon Marlow authored
      The i386 native code generator has to arrange that the FPU stack is
      clear on exit from any function that uses the FPU.  Unfortunately it
      was getting this wrong (and has been ever since this code was written,
      I think): it was looking for basic blocks that used the FPU and adding
      the code to clear the FPU stack on any non-local exit from the block.
      In fact it should be doing this on a whole-function basis, rather than
      individual basic blocks.
      dcd38ff7
  7. 10 Nov, 2008 1 commit
  8. 05 Nov, 2008 1 commit
  9. 10 Nov, 2008 5 commits
  10. 08 Nov, 2008 7 commits
  11. 07 Nov, 2008 3 commits