Bill Allombert on Sun, 10 Oct 1999 21:38:20 +0200 (MET DST)


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: bug report


Hello,
 I have trigger the following SIGBUS:

with version 2.0.15 and current CVS version

? charpoly(Mod(Mod(Mod(1, 2)*y^2, Mod(1, 2)*y^3 + Mod(1, 2)*y + Mod(1, 2))*x^4 + Mod(Mod(1, 2)*y^2 + Mod(1, 2)*y, Mod(1, 2)*y^3 + Mod(1, 2)*y + Mod(1, 2))*x^2 + Mod(Mod(1, 2), Mod(1, 2)*y^3 + Mod(1, 2)*y + Mod(1, 2))*x, Mod(Mod(1, 2), Mod(1, 2)*y^3 + Mod(1, 2)*y + Mod(1, 2))*x^7 + Mod(Mod(1, 2)*y, Mod(1, 2)*y^3 + Mod(1, 2)*y + Mod(1, 2))))
***   bus error: bug in GP (please report)

It's really a bug since it works with version 2.0.11, and still works
with bigger examples

The bug seem to be in caract2.(I tested it with install)
With gdb, the SIGBUS occurs in gmodulcp.

Moreover, to compile , I have needed the following patch
(current CVS version)

--- Configure   1999/09/28 15:39:41     1.3
+++ Configure   1999/10/10 19:30:53
@@ -862,7 +862,7 @@
             cppfl="-DUSE_ELF"
     fi ;;
 esac
-CPP="$cc $cppfl -E -I."
+CPP="$CC $cppfl -E -I."

 echo "C PreProcessor is      $CPP"

Without , it use gcc to compile and a buggy cc to preprocess kernel1.s 
and "as" complains.

Bill.