Skip to content
Snippets Groups Projects
  1. Jul 21, 2000
  2. Jul 20, 2000
    • Reuben Thomas's avatar
      [project @ 2000-07-20 17:06:41 by rrt] · ba5a490c
      Reuben Thomas authored
      What's the story, Rory?
      
         My name's not Rory. Owing to circumstances not fully understood, the RTS
         used to work DLLized, even though it was largely broken. Unfortunately,
         this was recently fixed.
      
      What used to happen?
      
         The EF_ macro from StgMacros.h was used to refer to primops &c.
      
      Why was this a Bad Thing?
      
         Because you need to use EDF_ when building with DLLs.
      
      What was the result?
      
         primops such as divExactInteger were compiled as _divExactInteger, rather
         than __imp__div_Exact_Integer, so they didn't refer to the DLL routines.
      
      How on earth did it work?
      
         I'm not sure, but somehow the code for the relevant routines got linked
         into the import libraries (e.g. libHSrts_imp.a), and were thus linked
         statically into the final binary.
      
      So that explains why the import libraries (supposedly just containing stubs)
      were larger than the DLLs they were stubbing, or the static libraries, for
      that matter?
      
         Perhaps.
      
      Golly!
      
         Indeed.
      
      What caused this code leakage?
      
         That's what I don't know. Perhaps a bug in the Cygwin DLL-building tools?
         I've upgraded from B20.1 to 1.1 recently.
      
      So, what's the hack, Mac?
      
         My name's not Mac. I added a new macro, ERTSF_, which uses DLL_IMPORT_RTS
         to make sure that the Right Thing is always done (because you mustn't
         make DLL references to RTS routines when compiling the RTS).
      
      Thanks for the chat, Matt!
      
         <punch>
      ba5a490c
    • Reuben Thomas's avatar
      [project @ 2000-07-20 12:33:09 by rrt] · 8e3dd3c9
      Reuben Thomas authored
      4.07->4.08
      8e3dd3c9
    • Reuben Thomas's avatar
      [project @ 2000-07-20 12:32:50 by rrt] · 71e271dc
      Reuben Thomas authored
      Fixed a version-o.
      71e271dc
    • Reuben Thomas's avatar
      [project @ 2000-07-20 10:50:47 by rrt] · d4d93d44
      Reuben Thomas authored
      &amp;gt; => &gt;
      d4d93d44
    • Reuben Thomas's avatar
      [project @ 2000-07-20 10:34:42 by rrt] · 6873ca83
      Reuben Thomas authored
      Updated instructions for Windows install to reflect reality as of v4.08.
      6873ca83
  3. Jul 19, 2000
  4. Jul 18, 2000
  5. Jul 17, 2000
  6. Jul 16, 2000
    • sven.panne@aedion.de's avatar
      [project @ 2000-07-16 21:31:36 by panne] · e399710f
      sven.panne@aedion.de authored
      Document new -fstrictfp option
      e399710f
    • sven.panne@aedion.de's avatar
      [project @ 2000-07-16 21:10:48 by panne] · 2869e22f
      sven.panne@aedion.de authored
      This commit tries to fix the discrepancies between the results of
      floating point calculations during runtime and compile time, see
      e.g. fptools/ghc/tests/numeric/should_run/arith008.hs. Part of the
      story was the fact that floating point values are represented as
      Rationals in GHC and therefore never lost precision, at least for the
      operations for which constant folding is done. To compensate for this,
      before and after floating point operations the operands are
      temporarily converted to/from Float/Double. This is wrong, because
      host architecture and target architecture are confused this way, but
      in a non-cross-compiling scenario it works.
      2869e22f
Loading