Ticket #11437: rubiks-20070912.p16-p17.diff

File rubiks-20070912.p16-p17.diff, 1.2 KB (added by jdemeyer, 11 years ago)

Diff for the rubiks spkg, for reviewing only

  • SPKG.txt

    diff -r e92532a5d59f SPKG.txt
    a b  
    2525
    2626== Changelog ==
    2727
     28=== rubiks-20070912.p17 (Jeroen Demeyer, 8 June 2011) ===
     29 * #11437: Apply workaround for versions 4.6.0 and 4.6.1 of gcc.
     30   The bug is supposed to be fixed in the final gcc 4.6.1 but we still
     31   apply the workaround for gcc 4.6.1 to support pre-release versions
     32   of gcc 4.6.1.
     33
    2834=== rubiks-20070912.p16 (Jeroen Demeyer, 3 May 2011) ===
    2935 * #11168: Apply workaround for versions 4.6.x of gcc, not only
    3036   version 4.6.0.
  • spkg-install

    diff -r e92532a5d59f spkg-install
    a b  
    1616OPTIMIZATION_FLAGS="-O2"
    1717# Work around a bug in gcc 4.6.0: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48702
    1818if [ "x`$SAGE_LOCAL/bin/testcc.sh $CC`" = xGCC ] ; then
    19     if $CC -dumpversion 2>/dev/null |grep >/dev/null '^4\.6\.' ; then
     19    if $CC -dumpversion 2>/dev/null |grep >/dev/null '^4\.6\.[01]$' ; then
    2020        echo "Warning: Working around bug in gcc 4.6.0"
    2121        OPTIMIZATION_FLAGS="$OPTIMIZATION_FLAGS -fno-ivopts"
    2222    fi