On Jun 9, 8:06 am, Case Vanhorsen <[email protected]> wrote:
> Hi,
>
> 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
Hi Case,
I don't maintain the batch script - Jason does - so he may be able to
figure out what is going on better than I can.
It looks like the script is not setting up the build correctly.
What is the content of the file 'config_params.bat' after the build?
Which configuration are you trying to build?
Ohe thing I noticed is that the configure batch file sets up a
compilation environment itself so your first line:
"C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin
\vcvars64.bat"
may get over-ruled in some way before make.bat is invoked (i.e where
the build is done).
Maybe this would work:
cd C:\src\mpir-2.1.0\build.vc9
configure
"C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin
\vcvars64.bat"
make
"C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin
\vcvars64.bat"
make check
Brian
--
You received this message because you are subscribed to the Google Groups
"mpir-devel" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/mpir-devel?hl=en.