3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development
Eelco Dolstra da4fb573a7 * Added ATerm 2.8. Also removed some old versions and patches that
were no longer in use.

* A patch for compiling the ATerm library with GCC 4.3.  Without it,
  the code for resizing ATerm tables gets stuck in an infinite loop
  (http://bugzilla.sen.cwi.nl:8080/show_bug.cgi?id=841).  The problem
  is in this bit of code in hash.c, which tries to dynamically figure
  out the maximum signed integer:

    long try_long_max;
    long long_max;
    long delta;

    try_long_max = 1;
    do {
      long_max = try_long_max;
      try_long_max = long_max * 2;
    } while (try_long_max > 0);

  At -O2, GCC 4.3 determines that 1 * 2 * 2 * ... can never be <= 0,
  and so it optimises this into a 1-instruction infinite loop:

    0x0805a782 <keyPut+1282>: jmp  0x805a782 <keyPut+1282>

  Quite beautiful really. ;-)

  The fix is to use the LONG_MAX macro instead.

svn path=/nixpkgs/branches/stdenv-updates/; revision=13888
2009-01-27 17:46:07 +00:00
..
compilers * GCC 4.3.3, just in time too :-) 2009-01-27 11:53:35 +00:00
eclipse updated eclipse to version 3.3.2 -- do we really need a special nix expression for jdt in development/eclipse? 2008-03-11 13:40:27 +00:00
guile-modules/guile-lib Guile: Use `share/guile/site' as the standard Guile module location. 2008-04-09 08:15:30 +00:00
interpreters * stdenv branch: synced with the trunk. 2009-01-16 10:59:27 +00:00
libraries * Added ATerm 2.8. Also removed some old versions and patches that 2009-01-27 17:46:07 +00:00
misc added hg2git 2008-10-18 21:08:42 +00:00
perl-modules * Merged from the trunk. Let's see how well this works with 2008-12-10 09:59:21 +00:00
python-modules PyGame: Use SDL_mixer. 2008-10-06 22:47:20 +00:00
ruby-modules Two Ruby modules 2008-10-05 09:00:56 +00:00
tools * Make the nested output patch in GNU Make runtime configurable (by 2009-01-19 18:49:58 +00:00