From 98bf728dcee524bd4dd0fd018550cec3321e29bf Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Sat, 6 Apr 2013 12:35:03 +0200 Subject: [PATCH] aterm-2.8: add comment about build failures with gcc 4.8.x --- pkgs/development/libraries/aterm/2.8.nix | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/pkgs/development/libraries/aterm/2.8.nix b/pkgs/development/libraries/aterm/2.8.nix index 05fb6704d3b..498b0244b87 100644 --- a/pkgs/development/libraries/aterm/2.8.nix +++ b/pkgs/development/libraries/aterm/2.8.nix @@ -1,6 +1,6 @@ {stdenv, fetchurl}: -let +let isMingw = stdenv ? cross && stdenv.cross.config == "i686-pc-mingw32" ; in stdenv.mkDerivation ( { @@ -15,7 +15,12 @@ stdenv.mkDerivation ( { # Fix for http://bugzilla.sen.cwi.nl:8080/show_bug.cgi?id=841 ./max-long.patch ] ++ ( if isMingw then [./aterm-mingw-asm.patch] else [] ); - + + # The test programs stress, randgen, fib, and testsafio all fail with + # segmentation faults when compiled with GCC 4.8.x, and the code itself many + # warnings, complaining "cast from pointer to integer of different size". + # This looks really bad. I leave the test suite enabled, because those issue + # feel too serious to just ignore. doCheck = true; meta = { @@ -23,4 +28,4 @@ stdenv.mkDerivation ( { license = "LGPL"; description = "Library for manipulation of term data structures in C"; }; -} // ( if isMingw then { dontStrip = true; } else {}) ) +} // ( if isMingw then { dontStrip = true; } else {}) )