Commits on Jun 25, 2009
  1. Add buildinfo files to the bindist

    igfoo committed Jun 25, 2009
  2. Fix Trac #3323: naughty record selectors again

    I boobed when I decoupled record selectors from their data types.
    The most straightforward and robust fix means attaching the TyCon
    of a record selector to its IfaceIdInfo, so 
       you'll need to rebuild all .hi files
    That said, the fix is easy. committed Jun 25, 2009
Commits on Jun 24, 2009
  1. Make C and CMM objects way-dependent

    In particular, in the integer-gmp package the C and CMM code depends
    on the size of STG structures, which vary between ways.
    igfoo committed Jun 24, 2009
Commits on Jun 23, 2009
  1. Fix buffering problem when GHCi is using the new IO library

    Behind the scenes, the new IO library always does buffering for read
    Handles regardless of NoBuffering.  Normally this isn't visible, but
    it causes a problem in GHCi where there are two stdin Handles.
    This should fix those ghci test failures that sprung up in full
    testsuite runs recently.
    simonmar committed Jun 23, 2009
  2. Optimise the %.hi : %.o rule

    Previously this rule had a sanity check for the existence of the .o
    file.  However, the sanity check is expensive, especially on Windows,
    because it requires spawning a shell.  So now we use an empty command
    This change reduced the time to do 'make' in an up-to-date tree on
    Windows from 33s to 16s for me.  (the actual saving depends on how
    much rebuilding you've been doing, and how many .hi files are older
    than their .o files).
    The comments in this file now describe various versions of the rule
    that don't work.
    simonmar committed Jun 23, 2009
Commits on Jun 22, 2009
  1. fix comment

    simonmar committed Jun 22, 2009
  2. Follow Integer changes

    igfoo committed Jun 22, 2009
  3. Add the integer package

    integer-gmp's Integer is now wrapped by an Integer type in integer.
    igfoo committed Jun 22, 2009
  4. Add a couple more symbols to the Linker.c table

    Fixes ghci loading gmp on Windows
    igfoo committed Jun 22, 2009
Commits on Jun 17, 2009
  1. fix 'make 1'

    simonmar committed Jun 17, 2009
  2. makefile tweak

    igfoo committed Jun 17, 2009
Commits on Jun 16, 2009
  1. Remove more GMP bits

    igfoo committed Jun 16, 2009
Commits on Jun 15, 2009
  1. Make sure we aren't passing -Werror in the CFLAGS for configure scripts

    When configure tests for a feature it may not generate warning-free C
    code, and thus may think that the feature doesn't exist if -Werror is
    igfoo committed Jun 15, 2009
Commits on Jun 14, 2009
Commits on Jun 13, 2009
  1. Stop building the rts against gmp

    Nothing from gmp is used in the rts anymore.
    dcoutts committed Jun 13, 2009
  2. Stop setting the gmp memory functions in the rts

    and remove the implementations of stg(Alloc|Realloc|Dealloc)ForGMP
    dcoutts committed Jun 13, 2009
  3. Remove the gmp/Integer primops from the compiler

    The implementations are still in the rts.
    dcoutts committed Jun 13, 2009
  4. Exports a few rts things we need for cmm code in external packages

    In particular we need alloc_blocks and alloc_blocks_lim for MAYBE_GC.
    The gmp cmm primops also use stg_ARR_WORDS_info.
    dcoutts committed Jun 13, 2009
Commits on Jun 12, 2009
  1. Add and export rts_unsafeGetMyCapability from rts

    We need this, or something equivalent, to be able to implement
    stgAllocForGMP outside of the rts. That's because we want to use
    allocateLocal which allocates from the given capability without
    having to take any locks. In the gmp primops we're basically in
    an unsafe foreign call, that is a context where we hold a current
    capability. So it's safe for us to use allocateLocal. We just
    need a way to get the current capability. The method to get the
    current capability varies depends on whether we're using the
    threaded rts or not. When stgAllocForGMP is built inside the rts
    that's ok because we can do it conditionally on THREADED_RTS.
    Outside the rts we need a single api we can call without knowing
    if we're talking to a threaded rts or not, hence this addition.
    dcoutts committed Jun 12, 2009
Commits on Jun 11, 2009
  1. Require GHCForeignImportPrim for "foreign import prim"

    In practise currently you also need UnliftedFFITypes, however
    the restriction to just unlifted types may be lifted in future.
    dcoutts committed Jun 11, 2009
  2. Add missing StgPrimCallOp case in repCCallConv

    We don't handle "foreign import prim" in TH stuff.
    dcoutts committed Jun 11, 2009
Commits on Jun 3, 2009
  1. remove unused cruft

    simonmar committed Jun 3, 2009