aterm-2.8: add comment about build failures with gcc 4.8.x

This commit is contained in:
Peter Simons 2013-04-06 12:35:03 +02:00
parent ce5b1fd053
commit 98bf728dce

View file

@ -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 {}) )