Bill Allombert on Mon, 05 Jan 2015 14:18:16 +0100


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

Re: Problems in 'make bench' under Cygwin/64 with testing elliptic


On Mon, Jan 05, 2015 at 10:09:56AM +0100, Andreas Kellers wrote:
> I'm able to build GP using Cygwin/64 under Win 7 (using gmp and current GP
> extra packages), but running 'make bench' states problems while testing
> elliptic (diff files attached).
> 
> I also tried a clean build without extra packages with the same result.
> 
> Any hints? If necessary I can provide further information about my
> environment.

We never tested Cygwin/64. If I read the documentation correctly, Cygwin/64 use
the LP64 model (as on linux) rather than the usual LLP64 model on windows which
is not supported by PARI. So you should be able to build 64bit PARI binaries
that will run on windows which is great news!

This is probably a compiler related issue. Either the compiler generates wrong code
or the PARI code is not standard compliant at some point.

If you use './Configure -g' for debug mode, do you get the same error ?

If you have a debugger, you can try to provide a backtrace by setting a breakpoint
on pari_err_INV() or pari_err().

Which version of PARI are you building ? 
Which version of gcc are you using ?

You can check here the list of systems and compilers we test:
<http://pari.math.u-bordeaux.fr/buildlog.html>

Cheers,
Bill.