diff -r f281f846707a SPKG.txt
a
|
b
|
|
46 | 46 | |
47 | 47 | == Changelog == |
48 | 48 | |
| 49 | === sympow-1.018.1.p9 (Jeroen Demeyer, 2 May 2011) === |
| 50 | * #11226: Add flag -fno-expensive-optimizations when compiling with |
| 51 | gcc 4.6.x on a ia64 system. See also gcc bugzilla: |
| 52 | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48823 |
| 53 | |
49 | 54 | === sympow-1.018.1.p8 (David Kirkby, 21st August 2010) === |
50 | 55 | * #9703 + #9166 Implement inline assembly code to set the control |
51 | 56 | word of the floating point processor to round to an |
diff -r f281f846707a spkg-install
a
|
b
|
|
21 | 21 | export LDFLAGS |
22 | 22 | fi |
23 | 23 | |
| 24 | # Workaround problems with gcc 4.6.0 on ia64 systems: |
| 25 | if [ "x`uname -m`" = "xia64" ] && [ "x`$SAGE_LOCAL/bin/testcc.sh $CC`" = xGCC ] ; then |
| 26 | if $CC -dumpversion 2>/dev/null |grep >/dev/null '^4\.6\.' ; then |
| 27 | echo "Detected GCC version `$CC -dumpversion` on Itanium. Adding" |
| 28 | echo "work-around to fix a bug when sympow is compiled with gcc 4.6.0" |
| 29 | CFLAGS="$CFLAGS -fno-expensive-optimizations" |
| 30 | export CFLAGS |
| 31 | fi |
| 32 | fi |
| 33 | |
| 34 | |
24 | 35 | # Add some code to disable the extended precision of Intel |
25 | 36 | # x86 based floating point processors. The code in SYMPOW |
26 | 37 | # already works for Linux, so there's no need to do that. |