1. 31 Mar, 2010 2 commits
    • Ian Lynagh's avatar
      Pass "-i org.haskell.GHC" to packagemaker when building the OS X installer · db9f94f7
      Ian Lynagh authored
      This seems to fix this failure:
      [...]
      ** BUILD SUCCEEDED **
      rm -f -f GHC-system.pmdoc/*-contents.xml
      /Developer/usr/bin/packagemaker -v --doc GHC-system.pmdoc\
                   -o /Users/ian/to_release/ghc-6.12.1.20100330/GHC-6.12.1.20100330-i386.pkg
      2010-03-31 15:08:15.695 packagemaker[13909:807] Setting to : 0 (null)
      2010-03-31 15:08:15.709 packagemaker[13909:807] Setting to : 0 org.haskell.glasgowHaskellCompiler.ghc.pkg
      2010-03-31 15:08:15.739 packagemaker[13909:807] relocate: (null) 0
      2010-03-31 15:08:15.740 packagemaker[13909:807] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[NSXMLDocument initWithXMLString:options:error:]: nil argument'
      2010-03-31 15:08:15.741 packagemaker[13909:807] Stack: (
          2511962091,
          2447007291,
          2511961547,
          2511961610,
          2432803204,
          453371,
          447720,
          436209,
          435510,
          9986,
          9918
      )
      make[1]: *** [framework-pkg] Trace/BPT trap
      make: *** [framework-pkg] Error 2
      db9f94f7
    • Ian Lynagh's avatar
      Use machdepCCOpts when compiling the file to toggle -(no-)rtsopts · 07846c5a
      Ian Lynagh authored
      Should fix toggling on OS X "Snow Leopard". Diagnosed by Roman Leshchinskiy.
      07846c5a
  2. 30 Mar, 2010 6 commits
  3. 29 Mar, 2010 6 commits
  4. 27 Mar, 2010 1 commit
  5. 26 Mar, 2010 5 commits
  6. 25 Mar, 2010 2 commits
  7. 24 Mar, 2010 1 commit
  8. 25 Mar, 2010 3 commits
    • Simon Marlow's avatar
      A sanity check · 18f1d72e
      Simon Marlow authored
      18f1d72e
    • Simon Marlow's avatar
      do_checks: do not set HpAlloc if the stack check fails · 5c3ea9fb
      Simon Marlow authored
      This fixes a very rare heap corruption bug, whereby
      
       - a context switch is requested, which sets HpLim to zero
         (contextSwitchCapability(), called by the timer signal or
         another Capability).
      
       - simultaneously a stack check fails, in a code fragment that has
         both a stack and a heap check.
      
      The RTS then assumes that a heap-check failure has occurred and
      subtracts HpAlloc from Hp, although in fact it was a stack-check
      failure and retreating Hp will overwrite valid heap objects.  The bug
      is that HpAlloc should only be set when Hp has been incremented by the
      heap check.  See comments in rts/HeapStackCheck.cmm for more details.
      
      This bug is probably incredibly rare in practice, but I happened to be
      working on a test that triggers it reliably:
      concurrent/should_run/throwto001, compiled with -O -threaded, args 30
      300 +RTS -N2, run repeatedly in a loop.
      5c3ea9fb
    • Simon Marlow's avatar
      comments and formatting only · 813f208a
      Simon Marlow authored
      813f208a
  9. 24 Mar, 2010 8 commits
  10. 23 Mar, 2010 1 commit
    • Ian Lynagh's avatar
      Tweak the Makefile code for making .a libs; fixes trac #3642 · 64c64a6e
      Ian Lynagh authored
      The main change is that, rather than using "xargs ar" we now put
      all the filenames into a file, and do "ar @file". This means that
      ar adds all the files at once, which works around a problem where
      files with the same basename in a later invocation were overwriting
      the existing file in the .a archive.
      64c64a6e
  11. 20 Mar, 2010 1 commit
  12. 21 Mar, 2010 2 commits
  13. 20 Mar, 2010 1 commit
  14. 19 Mar, 2010 1 commit
    • Simon Marlow's avatar
      UNDO: slight improvement to scavenging ... · 78f5cf9c
      Simon Marlow authored
      Accidnetally pushed this patch which, while it validates, isn't
      correct.
      
      rolling back:
      
      Fri Mar 19 11:21:27 GMT 2010  Simon Marlow <marlowsd@gmail.com>
        * slight improvement to scavenging of update frames when a collision has occurred
      
          M ./rts/sm/Scav.c -19 +15
      78f5cf9c