1. 15 Feb, 2005 4 commits
  2. 14 Feb, 2005 8 commits
  3. 11 Feb, 2005 5 commits
    • simonmar's avatar
      [project @ 2005-02-11 15:28:46 by simonmar] · 6f6ecab9
      simonmar authored
      Catch up with mutable list changes
      6f6ecab9
    • simonmar's avatar
      [project @ 2005-02-11 14:01:30 by simonmar] · 4d3ce736
      simonmar authored
      Careful with mutable list entries that point to THUNKs: the thunk
      might be updated, and the resulting IND_OLDGEN will be on the mutable
      list twice.
      
      We previously avoided this problem by having an extra MUT_CONS object
      on the mutable list pointing to the THUNK, so that we could tell the
      difference between the entry on the mutable list that used to be the
      THUNK, and the new entry for the IND_OLDGEN.
      
      We don't have MUT_CONS any more (this was part of the cleanup from
      separating the mutable list from the heap).  So, now, when scavenging
      an IND_OLDGEN on the mutable list, we check whether it is pointing to
      an already-evacuated object.  This is a bit crude, but at least it is
      a localised hack.
      4d3ce736
    • simonmar's avatar
      [project @ 2005-02-11 12:20:12 by simonmar] · a186d6f7
      simonmar authored
      Fix a bug: thunk_selector_depth was being incremented before checking
      that we had reached the depth limit, and not decremented if we had
      reached the limit.
      a186d6f7
    • simonmar's avatar
      [project @ 2005-02-11 10:35:06 by simonmar] · 259d0765
      simonmar authored
      Allow package identifiers with versions in the old command-line syntax
      259d0765
    • simonmar's avatar
      [project @ 2005-02-11 09:57:32 by simonmar] · b88b71c2
      simonmar authored
      Add a missing delcaration for stg_MUT_ARR_PTRS_FROZEN0_entry (unbreak
      the unregisterised build).
      b88b71c2
  4. 10 Feb, 2005 10 commits
    • simonmar's avatar
      [project @ 2005-02-10 15:26:23 by simonmar] · 32a11cd4
      simonmar authored
      Print the banner before the "reading package config file" messages in
      verbose mode.
      32a11cd4
    • simonmar's avatar
      [project @ 2005-02-10 15:12:22 by simonmar] · 6866c112
      simonmar authored
      Make sure we don't register a package with an identifier that cannot
      be parsed later.
      6866c112
    • simonmar's avatar
      [project @ 2005-02-10 13:38:50 by simonmar] · c43539c3
      simonmar authored
      NO_INSTALL_LIBRARY=YES
      c43539c3
    • simonmar's avatar
      [project @ 2005-02-10 13:38:35 by simonmar] · 394394f9
      simonmar authored
      Fix library installation: we now install libraries *unless*
      NO_INSTALL_LIBRARY=YES.
      394394f9
    • simonmar's avatar
      [project @ 2005-02-10 13:01:52 by simonmar] · e7c3f957
      simonmar authored
      GC changes: instead of threading old-generation mutable lists
      through objects in the heap, keep it in a separate flat array.
      
      This has some advantages:
      
        - the IND_OLDGEN object is now only 2 words, so the minimum
          size of a THUNK is now 2 words instead of 3.  This saves
          some amount of allocation (about 2% on average according to
          my measurements), and is more friendly to the cache by
          squashing objects together more.
      
        - keeping the mutable list separate from the IND object
          will be necessary for our multiprocessor implementation.
      
        - removing the mut_link field makes the layout of some objects
          more uniform, leading to less complexity and special cases.
      
        - I also unified the two mutable lists (mut_once_list and mut_list)
          into a single mutable list, which lead to more simplifications
          in the GC.
      e7c3f957
    • ross's avatar
      [project @ 2005-02-10 12:35:21 by ross] · 0c4c6606
      ross authored
      xrefs to Cabal docs
      0c4c6606
    • wolfgang's avatar
      [project @ 2005-02-10 07:01:45 by wolfgang] · 5c26ae92
      wolfgang authored
      Fix previous commit. Got distracted, thought I had already tested.
      5c26ae92
    • wolfgang's avatar
      [project @ 2005-02-10 05:46:46 by wolfgang] · 14a0bb7e
      wolfgang authored
      Fix Mac OS X-specific breakage introduced by rev. 1.67 of ghc/includes/Stg.h.
      Adding the used attribute to static functions caused gcc to emit
      Apple-specific .no_dead_strip directives, which messed things up.
      14a0bb7e
    • wolfgang's avatar
      [project @ 2005-02-10 04:58:09 by wolfgang] · 9449208e
      wolfgang authored
      Add a special case for Mac OS X to FP_PROG_AR_NEEDS_RANLIB.
      On Mac OS X, we need to run ranlib after installing .a files because
      they contain a timestamp which will be outdated after installing.
      
      We could do a proper test for that, but it would contain the command
      'sleep 6' and still apply only to one platform.
      9449208e
    • wolfgang's avatar
      [project @ 2005-02-10 03:08:26 by wolfgang] · 4bc08007
      wolfgang authored
      PowerPC: mangler trouble again
      4bc08007
  5. 09 Feb, 2005 4 commits
  6. 08 Feb, 2005 3 commits
  7. 07 Feb, 2005 6 commits
    • simonmar's avatar
      [project @ 2005-02-07 14:05:25 by simonmar] · 9803f480
      simonmar authored
      Fix doc building for binary distributions
      9803f480
    • simonpj's avatar
      [project @ 2005-02-07 13:51:26 by simonpj] · 861aaf19
      simonpj authored
      Missing commit from the module A export list commit
      861aaf19
    • simonpj's avatar
      [project @ 2005-02-07 12:16:50 by simonpj] · 3ab57e45
      simonpj authored
      -----------------------------------------------------
      	Switch off derivable type class generation by default
      	-----------------------------------------------------
      
      	Merge to STABLE
      
      This commit switches off the generation of the support code for 'Derivable
      Type Classes' by default.  Use -fgenerics to switch it on.
      
      Motivation: seldom used, and there's a nasty blowup in Core types for data
      types that have lots of constructors or lots of fields.
      
      We now put -fgenerics in the GhcLibOpts, so that the libraries have the
      support code, as before.
      3ab57e45
    • simonpj's avatar
      [project @ 2005-02-07 12:07:21 by simonpj] · 233b831b
      simonpj authored
      ------------------------------
      	Improve unused-import warnings
      	------------------------------
      
      	Merge to STABLE
      
      This commit improves the warning messages for unused imports, in the
      case where the 'module A' form is used in an export list.
      
      In doing this, I've realised that the unused-import checking is deficient
      in several ways.  At least
      
      	a) it doesn't recognise that there might be several import statements
      	   for the same module (TcRnTypes.imp_mods has only one entry per
      	   module
      
      	b) it doesn't understand about qualified modules at all
      
      	c) even more fundamentally, it starts from the used Names,
      	   but if the module mentions (say) aliases M.f and N.f for
      	   the same Name, then two imports might be necessary for it
      
      I'm not going to fix these problems now; this message just records them.
      233b831b
    • simonmar's avatar
      [project @ 2005-02-07 11:13:35 by simonmar] · f026ced9
      simonmar authored
      Mention that GHC is required for building GHC.
      f026ced9
    • simonmar's avatar
      [project @ 2005-02-07 11:11:33 by simonmar] · c6fd65f1
      simonmar authored
      Point directly to the Building Guide from here.
      c6fd65f1