1. 16 Jul, 2002 2 commits
    • stolz's avatar
      [project @ 2002-07-16 07:04:49 by stolz] · 03e9edb3
      stolz authored
      The <dlfcn.h> constants RTLD_NOW, RTLD_GLOBAL, RTLD_LOCAL
      are not defined in the OpenBSD implementation of the dl library.
      
      dons@cse.unsw.edu.au (Donald Bruce Stewart)
      03e9edb3
    • sof's avatar
      [project @ 2002-07-16 06:42:04 by sof] · 05bead0e
      sof authored
      Treat ';' and '{' as word separators, so that from
      input like like "{import Foo" and ";;;;import Foo",
      the 'Foo' imports are identified.
      05bead0e
  2. 15 Jul, 2002 5 commits
    • panne's avatar
      [project @ 2002-07-15 16:43:34 by panne] · be2cd17f
      panne authored
      * Solaris' quite spartanic /bin/sh doesn't know about the '!' keyword,
        so let's simply reverse the operator in the test instead.
      
      * The FPTOOLS_SEARCH_LIBS macro expects a function without any
        arguments, but glXChooseVisual *does* have arguments. glXWaitX is a
        better test for GLX libs.
      
      MERGE TO STABLE
      be2cd17f
    • simonmar's avatar
      [project @ 2002-07-15 14:49:17 by simonmar] · 2e925075
      simonmar authored
      Unbreak the registering of foreign exports as stable pointers, which
      was brokwn in rev. 1.64.  This will eventually cause any program that
      uses the same foreign export repeatedly to seg fault.  Dunno why we
      don't have a test for this.
      
      *sigh* the first bad bug in 5.04
      
      MERGE TO STABLE
      2e925075
    • simonmar's avatar
      [project @ 2002-07-15 08:41:46 by simonmar] · d846cdf3
      simonmar authored
      Don't declare the StgClosures 'const' (they aren't declared 'const' in
      generated code).
      d846cdf3
    • simonmar's avatar
      [project @ 2002-07-15 08:41:02 by simonmar] · 3ccd3959
      simonmar authored
      Static closures are not declared 'const' in generated code, so don't
      declare them 'const' in here.
      
      Spotted-by: GCC 3.1
      3ccd3959
    • chak's avatar
      [project @ 2002-07-15 07:24:58 by chak] · c1d02536
      chak authored
      Let `configure' know about the "m68k-unknown-openbsd" architecture.
      Patch contributed by Donald Stewart <dons@cse.unsw.edu.au>.
      c1d02536
  3. 12 Jul, 2002 5 commits
  4. 11 Jul, 2002 5 commits
  5. 10 Jul, 2002 6 commits
    • sof's avatar
      [project @ 2002-07-10 16:33:09 by sof] · de37d36e
      sof authored
      printDump,printErrs,printSDoc: flush stdout and stderr
      de37d36e
    • simonpj's avatar
      [project @ 2002-07-10 13:07:42 by simonpj] · 5562ede1
      simonpj authored
      Fix trivial bug in WorkWrap that killed all INLINE pragmas!  Merge to STABLE
      5562ede1
    • simonpj's avatar
      [project @ 2002-07-10 13:06:35 by simonpj] · 309b08d2
      simonpj authored
      Improve error message; merge to STABLE
      309b08d2
    • simonmar's avatar
      [project @ 2002-07-10 09:28:54 by simonmar] · f477a85c
      simonmar authored
      Fix a GC bug.  In a "large block", only the block descriptor for the
      head of the block has the fields step, gen_no and flags set.  So
      whenever we want one of these fields in the descriptor for a random
      object anywhere in the large block, we have to check whether it is in
      the head block, and if not follow the link to the head block
      descriptor.
      
      evacuate() was doing this correctly, but isAlive() wasn't (and
      goodness knows what other places are broken in this way - I identified
      several other possible cases of the same bug).
      
      So to try to make things more robust, when we allocate a large block
      we now initialise the step, gen_no, and flags fields in the descriptor
      for *every* sub-block, not just the first one.  Now, as long as you
      only want one of these fields from the descriptor, there's no need to
      try to find the block head.  evacuate() gets minutely faster, and
      hopefully multiple obscure bugs are fixed by this.
      f477a85c
    • simonmar's avatar
      [project @ 2002-07-10 08:39:00 by simonmar] · ea927921
      simonmar authored
      change #ifdef USING_LIBBFD to #if defined(DEBUG) && defined(HAVE_LIBBFD).
      ea927921
    • simonmar's avatar
      [project @ 2002-07-10 08:34:19 by simonmar] · 81b0f793
      simonmar authored
      Fix a bug in the handling of libbfd - we should be checking for DEBUG
      in $(GhcRtsHcOpts) not $(GhcHcOpts), and we can get HAVE_LIBBFD from
      config.h so there's no need to unconditionally define USING_LIBBFD.
      81b0f793
  6. 09 Jul, 2002 5 commits
    • sof's avatar
      [project @ 2002-07-09 20:44:24 by sof] · d4fc9665
      sof authored
      awaitEvent: better handling of EBADFs, i.e., don't
      unconditionally barf() and exit if select() reports
      an EBADF. See source code comments for details, but
      in short, we attempt to unblock all threads to handle
      the error condition before bailing out.
      
      If only select() would indicate which file descriptor
      that was the bad one.
      
      (There's no good reason why select() errors other
      than EBADF could also be handled this way, but let's
      focus on it for now..)
      d4fc9665
    • sof's avatar
      [project @ 2002-07-09 18:02:48 by sof] · 689f0ca9
      sof authored
      gcc versionitis wrt gcc -E -MM .. usage:
      
      2.95.<wurble> is silent on stdout if -MM is used, 2.96 ain't
      (even when -o is used..hmm.) 2.95 (on mingw32) even fails if
      you try to redirect the output.
      
      So, be more accepting in first trying to run CPP with a redirect,
      and if that fails, try without.
      689f0ca9
    • sof's avatar
      [project @ 2002-07-09 15:57:09 by sof] · d89f0e2d
      sof authored
      merge rev. 1.1.6.1
      d89f0e2d
    • simonpj's avatar
      [project @ 2002-07-09 08:19:14 by simonpj] · 75c431d1
      simonpj authored
      Improve error message
      
      	*** MERGE TO STABLE BRANCH ***
      75c431d1
    • panne's avatar
      [project @ 2002-07-09 06:16:14 by panne] · 1d37807e
      panne authored
      Fixed my email address
      1d37807e
  7. 08 Jul, 2002 2 commits
  8. 06 Jul, 2002 1 commit
    • chak's avatar
      [project @ 2002-07-06 10:14:31 by chak] · 9b6803a6
      chak authored
      Reverted to check for `null srcs' (instead of `null real_srcs') to determine
      whether to throw "no input files".  Otherwise, something like
      
        ghc -o foo ObjectGeneratedByGHC.o
      
      doesn't work anymore.
      9b6803a6
  9. 05 Jul, 2002 4 commits
  10. 04 Jul, 2002 3 commits
  11. 03 Jul, 2002 2 commits