This project is mirrored from Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer.
Last successful update .
  1. 27 Apr, 2005 3 commits
    • simonmar's avatar
      [project @ 2005-04-27 09:48:34 by simonmar] · 03d63424
      simonmar authored
      Remove uses of stderr from .cmm code.
      We can't reliably refer to stdin/stdout/stderr from .cmm, because the
      C standard doesn't specify whether stderr is a variable or a macro.
    • simonmar's avatar
      [project @ 2005-04-27 09:39:27 by simonmar] · 8a1f6023
      simonmar authored
      Add comment
    • simonmar's avatar
      [project @ 2005-04-27 08:25:46 by simonmar] · a355262a
      simonmar authored
      newTempName: instead of bumping the processId until we find a name
      that isn't used, add an integer suffix to the processId.  This should
      prevent temp-file conflicts that appear to have been affecting our
      nightly builds and occasionally make -j.
      The right way to allocate a temporary file is to create it straight
      away, but I'm not sure of the implications of passing existing
      temporary files to the various sub-processes that GHC executes, hence
      this fix instead.
  2. 26 Apr, 2005 5 commits
    • simonmar's avatar
      [project @ 2005-04-26 15:44:48 by simonmar] · 68ded3ed
      simonmar authored
      resetStaticObjectForRetainerProfiling: catch up changes in ClosureMacros.h
    • simonmar's avatar
      [project @ 2005-04-26 15:08:16 by simonmar] · f6aa7ddc
      simonmar authored
      When chasing explicit imports, we now look for the module in both the
      home package and external packages, and complain if it is found in
      Chasing modules from: Overlap
      Cannot import `List':
        it was found in both overlap/List.hs and package haskell98-1.0.
        Possible fix: -ignore-package haskell98-1.0
        (imported from overlap/Overlap.hs)
      Previously the home module would have been ignored in favour of the
      package module.  It means we're doing a bit more searching, but the
      behaviour is less obscure.
    • simonmar's avatar
      [project @ 2005-04-26 14:43:31 by simonmar] · ff75ee77
      simonmar authored
      Back out previous revision.
      It appears that passing -g to the assembly phase of C compilation
      results in an object file with broken debug info, that gdb can't
      read.  This is probably a bug in gcc and/or binutils, but this change
      means that I can't avoid it (unless we were to hack the pipeline to
      do .c->.s->.o in one stage instead of two).
    • simonmar's avatar
      [project @ 2005-04-26 12:00:48 by simonmar] · 23951581
      simonmar authored
      Add entry about non-blocking stdin and System.Cmd.{system,rawSystem}.
    • sof's avatar
      [project @ 2005-04-26 00:08:17 by sof] · 136861d1
      sof authored
      runSomething: 'rawSystem' might raise an exception to indicate that
      'pgm' couldn't be executed, so catch this here & report.
      Merge to STABLE.
  3. 25 Apr, 2005 8 commits
    • simonmar's avatar
      [project @ 2005-04-25 15:56:19 by simonmar] · 17118d27
      simonmar authored
      scavenge_one: fix reversed PAP/AP cases
    • simonmar's avatar
      [project @ 2005-04-25 15:36:28 by simonmar] · b050008e
      simonmar authored
      Partial support for deadlock detection in the threaded/SMP RTS.
      The idea is to wait until a complete time slice has gone by without
      running any Haskell code, and then try doing a GC to detect deadlocked
      This kind of works: but we can only wake up a worker thread from the
      signal handler if there's another worker running - we can't wake up the
      current thread, it seems.
    • simonmar's avatar
      [project @ 2005-04-25 14:22:29 by simonmar] · 8974a27f
      simonmar authored
      interruptStgRts: call threadRunnable().  This might not work properly
      from a signal handler, but it's all we can do (and seems to do
      something reasonable on Linux).
    • simonmar's avatar
      [project @ 2005-04-25 14:13:23 by simonmar] · e343c124
      simonmar authored
      atomicModifyMutVarzh_fast: move the sm_mutex acquisition *after* the
      heap check
    • simonmar's avatar
      [project @ 2005-04-25 13:45:40 by simonmar] · 6d6a9574
      simonmar authored
      Yet another StgClosure that should be StgThunk
    • simonmar's avatar
      [project @ 2005-04-25 13:17:59 by simonmar] · c63c56c2
      simonmar authored
      stg_raise: we should by using StgThunk_payload(), not StgClosure_payload()
    • simonmar's avatar
      [project @ 2005-04-25 13:02:31 by simonmar] · 50b971bd
      simonmar authored
      Requested by Duncan Coutts: -optc flags get passed to the assembler
      phase too.  It's not obvious, when using GHC to compile a .c file,
      that options need to be passed both with -optc and -opta - gcc doesn't
      need this, for example.
      This is an experimental change - if it breaks anything we can back it
      out.  If anyone needs to pass flags to the .c->.s phase *only*, then
      we will need to add another flag for that purpose.  It seems unlikely,
      though (there aren't many flags that affect the assembler only, and
      those that do don't conflict with flags for the C phase).
    • simonmar's avatar
      [project @ 2005-04-25 09:32:23 by simonmar] · c03e133e
      simonmar authored
      daVinci is now called uDraw(Graph)
  4. 24 Apr, 2005 4 commits
  5. 23 Apr, 2005 4 commits
  6. 22 Apr, 2005 16 commits
    • simonmar's avatar
      [project @ 2005-04-22 22:00:00 by simonmar] · 29179ddf
      simonmar authored
      Don't split in here
    • simonmar's avatar
      [project @ 2005-04-22 21:57:42 by simonmar] · b5277a2b
      simonmar authored
      Fix a comment
    • simonmar's avatar
      [project @ 2005-04-22 21:54:37 by simonmar] · 395f4b28
      simonmar authored
      enable splitting on x86_64
    • simonmar's avatar
      [project @ 2005-04-22 21:54:08 by simonmar] · 3a324adb
      simonmar authored
      splitting support on x86_64
    • simonmar's avatar
      [project @ 2005-04-22 21:16:27 by simonmar] · f33bd72e
      simonmar authored
      fix uses of stderr
    • sof's avatar
      [project @ 2005-04-22 17:50:13 by sof] · fbf16357
      sof authored
      Switch to a manual-reset event for the completed-console-event object;
      with auto-reset, we ran the risk of leaving it in a signalled state.
      Merge to STABLE.
    • sof's avatar
      [project @ 2005-04-22 17:15:51 by sof] · c3b7d57d
      sof authored
      Switch away from using _spawnv() to CreateProcess(); the former has the
      annoying 'feature' that it quits upon Ctrl-C, leaving its child in the
      background. Use CreateProcess() instead and avoid the Ctrl-C issue by
      having the wrapper let go of its console before waiting for the sub-process
      running GHCi to exit.
      This still doesn't fix the issue of Ctrl-C handling when the 'ghci' wrapper
      is invoked from a cygwin-based bash. cmd.exe users will hopefully see
      an improvement in behaviour though.
      Merge to STABLE.
    • sof's avatar
      [project @ 2005-04-22 17:00:48 by sof] · ecb1a539
      sof authored
      [mingw only]
      Better handling of I/O request abortions upon throwing an exception
      to a Haskell thread. As was, a thread blocked on an I/O request was
      simply unblocked, but its corresponding worker thread wasn't notified
      that the request had been abandoned.
      This manifested itself in GHCi upon Ctrl-C being hit at the prompt -- the
      worker thread blocked waiting for input on stdin prior to Ctrl-C would
      stick around even though its corresponding Haskell thread had been
      thrown an Interrupted exception. The upshot was that the worker would
      consume the next character typed in after Ctrl-C, but then just dropping
      it. Dealing with this turned out to be even more interesting due to
      Win32 aborting any console reads when Ctrl-C/Break events are delivered.
      The story could be improved upon (at the cost of portability) by making
      the Scheduler able to abort worker thread system calls; as is, requests
      are cooperatively abandoned. Maybe later.
      Also included are other minor tidyups to Ctrl-C handling under mingw.
      Merge to STABLE.
    • sof's avatar
      [project @ 2005-04-22 16:53:48 by sof] · 68c13856
      sof authored
      oops;supposed to have been included with revert-back-to-__stginit-for-mingw commit
    • sof's avatar
      [project @ 2005-04-22 16:49:38 by sof] · 23e16cda
      sof authored
      resetStaticObjectForRetainerProfiling(): warning wibble
    • sof's avatar
      [project @ 2005-04-22 16:01:53 by sof] · a584b4ff
      sof authored
      Until the GHCi linker is made capable of handling .ctors sections in
      PEi object files, stick with __stginits. Being a bit sloppy by
      using 'mingw32_HOST_OS' to test for this.
    • simonmar's avatar
      [project @ 2005-04-22 14:19:07 by simonmar] · f4b45682
      simonmar authored
      Fix creation of raise_info closures: they're THUNKs
    • simonmar's avatar
      [project @ 2005-04-22 14:18:29 by simonmar] · 6444de58
      simonmar authored
      evacuate(): fix THUNK case
    • simonmar's avatar
      [project @ 2005-04-22 13:12:41 by simonmar] · 5d0394e2
      simonmar authored
      checkSanity: fix bug in nursery checking
    • simonmar's avatar
      [project @ 2005-04-22 13:05:51 by simonmar] · 3ac7c9a6
      simonmar authored
      SAVE_EVERYTHING: for some reason we used R10.w rather than R10 in this
      macro, which just broke with the change to the C backend.
    • simonmar's avatar
      [project @ 2005-04-22 12:28:00 by simonmar] · ec0984a9
      simonmar authored
      - Now that labels are always prefixed with '&' in .hc code, we have to
        fix some sloppiness in the RTS .cmm code.  Fortunately it's not too
      - SMP: acquire/release the storage manager lock around
        atomicModifyMutVar#.  This is a hack: atomicModifyMutVar# isn't
        atomic under SMP otherwise, but the SM lock is a large sledgehammer.
        I think I'll apply the sledgehammer to the MVar primitives too, for
        the time being.