To build a new version of gmpy, I normally use the configure.bat and
make.bat approach to building MPIR. This only requires the SDK tools
and it works very well when targeting 64-bit code. It works fine with
1.3.1 and 2.0.0 but fails with 2.1.0.
After installing yasm.exe and copying yasm.rules, I use the following commands:
> "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\vcvars64.bat"
> cd C:\src\mpir-2.1.0\build.vc9
> configure
> make
> make check
The first test that fails is:
mpf.reuse : ERROR ( -1073741819 )
and then more failures:
mpn.dc_bdiv_q : ERROR ( -1073741819 )
mpn.dc_bdiv_q_n : ERROR ( -1073741819 )
mpn.dc_bdiv_qr : ERROR ( 3 )
failed: quotient wrong!
nn = 584, dn = 212, qn = 372
<<skipping the rest of the failures>>
Is this a tuning bug?
casevh
Oops. I just realized I made an error in my bug report. When it fails,
I'm actually passing the --cpu-k8 option to configure. I thought I saw
the failure without that option last night, too.
I don't have an actual K8 machine but I'm using that option to build a
cross-CPU binary. Is K8 still the best "generic" option or should I
use "core2"?
I just tried --cpu-K10 and that fails to compile with:
c:\src\mpir-2.1.0\gmp-impl.h(117) : fatal error C1083: Cannot open
include file: 'gmp-mparam.h': No such file or directory
casevh
>
> Brian
>
> --
> You received this message because you are subscribed to the Google Groups "mpir-devel" group.
> To post to this group, send email to mpir-...@googlegroups.com.
> To unsubscribe from this group, send email to mpir-devel+...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/mpir-devel?hl=en.
>
>
I am doing a "make clean" between attempts. I've even removed the
entire source directory and untarred the source distribution again.
I'm at work now so I won't be able to test until this evening.
I would prefer if the new release is called 2.1.1. One a source
distribution has been published, I don't think we should change the
contents of the file without changing the version number too.
>
> My apologies to all for not picking this up prior to the release - I
> would have done so in the past but all my K8 machines have gone to
> meet their maker :-(
>
> Brian
>
It should be called 2.1.1 which means running the setversion script again etc.
Bill.