Hi James,

does cat /proc/cpuinfo work on your machine? We should add your CPU to
configure if it is misdetecting it.

Do you have the very latest mingw on your machine? Many older versions
simply don't work with MPIR.

Once we check those things, we'll try to get to the bottom of the
missing file, which is mysterious to me...

Bill.

On 16 July 2010 05:36, James M. <[email protected]> wrote:
> I tried compiling MPIR with my new laptop and it failed one of the
> tests in cxx. Anyways the test script asked me to report it here and
> so here I am. I am using MPIR with qt so using the cxx bindings would
> be nice. Here is the pertinent information.
>
> configured, built and tested with:
> ./configure --enable-gmpcompat --enable-cxx --build=i7-pc-mingw32
> make all
> make check
>
> make[4]: Leaving directory `/mpir-2.1.1/tests/misc'
> make[3]: Leaving directory `/mpir-2.1.1/tests/misc'
> Making check in cxx
> make[3]: Entering directory `/mpir-2.1.1/tests/cxx'
> make  t-assign.exe t-binary.exe t-cast.exe t-constr.exe t-headers.exe
> t-istream.exe t-locale.exe t-misc.exe t-ops.exe t-ostream.exe t-
> prec.exe t-rand.exe t-ternary.exe t-unary.exe
> make[4]: Entering directory `/mpir-2.1.1/tests/cxx'
> g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../tests    -O3 -mno-
> cygwin -c -o t-assign.o t-assign.cc
> /bin/sh ../../libtool --tag=CXX   --mode=link g++  -O3 -mno-cygwin   -
> o t-assign.exe t-assign.o -L../../.libs ../../tests/libtests.la ../../
> libmpirxx.la ../../libmpir.la
> mkdir .libs
> g++ -O3 -mno-cygwin -o t-assign.exe t-assign.o  -L/
> mpir-2.1.1/.libs ../../tests/.libs/libtests.a ../../.libs/libmpirxx.a /
> mpir-2.1.1/.libs/libmpir.a ../../.libs/libmpir.a
> g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../tests    -O3 -mno-
> cygwin -c -o t-binary.o t-binary.cc
> /bin/sh ../../libtool --tag=CXX   --mode=link g++  -O3 -mno-cygwin   -
> o t-binary.exe t-binary.o -L../../.libs ../../tests/libtests.la ../../
> libmpirxx.la ../../libmpir.la
> g++ -O3 -mno-cygwin -o t-binary.exe t-binary.o  -L/
> mpir-2.1.1/.libs ../../tests/.libs/libtests.a ../../.libs/libmpirxx.a /
> mpir-2.1.1/.libs/libmpir.a ../../.libs/libmpir.a
> g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../tests    -O3 -mno-
> cygwin -c -o t-cast.o t-cast.cc
> /bin/sh ../../libtool --tag=CXX   --mode=link g++  -O3 -mno-cygwin   -
> o t-cast.exe t-cast.o -L../../.libs ../../tests/libtests.la ../../
> libmpirxx.la ../../libmpir.la
> g++ -O3 -mno-cygwin -o t-cast.exe t-cast.o  -L/mpir-2.1.1/.libs ../../
> tests/.libs/libtests.a ../../.libs/libmpirxx.a /mpir-2.1.1/.libs/
> libmpir.a ../../.libs/libmpir.a
> g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../tests    -O3 -mno-
> cygwin -c -o t-constr.o t-constr.cc
> /bin/sh ../../libtool --tag=CXX   --mode=link g++  -O3 -mno-cygwin   -
> o t-constr.exe t-constr.o -L../../.libs ../../tests/libtests.la ../../
> libmpirxx.la ../../libmpir.la
> g++ -O3 -mno-cygwin -o t-constr.exe t-constr.o  -L/
> mpir-2.1.1/.libs ../../tests/.libs/libtests.a ../../.libs/libmpirxx.a /
> mpir-2.1.1/.libs/libmpir.a ../../.libs/libmpir.a
> g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../tests    -O3 -mno-
> cygwin -c -o t-headers.o t-headers.cc
> /bin/sh ../../libtool --tag=CXX   --mode=link g++  -O3 -mno-cygwin   -
> o t-headers.exe t-headers.o -L../../.libs ../../tests/
> libtests.la ../../libmpirxx.la ../../libmpir.la
> g++ -O3 -mno-cygwin -o t-headers.exe t-headers.o  -L/
> mpir-2.1.1/.libs ../../tests/.libs/libtests.a ../../.libs/libmpirxx.a /
> mpir-2.1.1/.libs/libmpir.a ../../.libs/libmpir.a
> g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../tests    -O3 -mno-
> cygwin -c -o t-istream.o t-istream.cc
> /bin/sh ../../libtool --tag=CXX   --mode=link g++  -O3 -mno-cygwin   -
> o t-istream.exe t-istream.o -L../../.libs ../../tests/
> libtests.la ../../libmpirxx.la ../../libmpir.la
> g++ -O3 -mno-cygwin -o t-istream.exe t-istream.o  -L/
> mpir-2.1.1/.libs ../../tests/.libs/libtests.a ../../.libs/libmpirxx.a /
> mpir-2.1.1/.libs/libmpir.a ../../.libs/libmpir.a
> g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../tests    -O3 -mno-
> cygwin -c -o t-locale.o t-locale.cc
> gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../tests    -
> O3 -mno-cygwin -c clocale.c
> /bin/sh ../../libtool --tag=CXX   --mode=link g++  -O3 -mno-cygwin   -
> o t-locale.exe t-locale.o clocale.o -L../../.libs ../../tests/
> libtests.la ../../libmpirxx.la ../../libmpir.la
> g++ -O3 -mno-cygwin -o t-locale.exe t-locale.o clocale.o  -L/
> mpir-2.1.1/.libs ../../tests/.libs/libtests.a ../../.libs/libmpirxx.a /
> mpir-2.1.1/.libs/libmpir.a ../../.libs/libmpir.a
> g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../tests    -O3 -mno-
> cygwin -c -o t-misc.o t-misc.cc
> /bin/sh ../../libtool --tag=CXX   --mode=link g++  -O3 -mno-cygwin   -
> o t-misc.exe t-misc.o -L../../.libs ../../tests/libtests.la ../../
> libmpirxx.la ../../libmpir.la
> g++ -O3 -mno-cygwin -o t-misc.exe t-misc.o  -L/mpir-2.1.1/.libs ../../
> tests/.libs/libtests.a ../../.libs/libmpirxx.a /mpir-2.1.1/.libs/
> libmpir.a ../../.libs/libmpir.a
> g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../tests    -O3 -mno-
> cygwin -c -o t-ops.o t-ops.cc
> /bin/sh ../../libtool --tag=CXX   --mode=link g++  -O3 -mno-cygwin   -
> o t-ops.exe t-ops.o -L../../.libs ../../tests/libtests.la ../../
> libmpirxx.la ../../libmpir.la
> g++ -O3 -mno-cygwin -o t-ops.exe t-ops.o  -L/mpir-2.1.1/.libs ../../
> tests/.libs/libtests.a ../../.libs/libmpirxx.a /mpir-2.1.1/.libs/
> libmpir.a ../../.libs/libmpir.a
> g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../tests    -O3 -mno-
> cygwin -c -o t-ostream.o t-ostream.cc
> /bin/sh ../../libtool --tag=CXX   --mode=link g++  -O3 -mno-cygwin   -
> o t-ostream.exe t-ostream.o -L../../.libs ../../tests/
> libtests.la ../../libmpirxx.la ../../libmpir.la
> g++ -O3 -mno-cygwin -o t-ostream.exe t-ostream.o  -L/
> mpir-2.1.1/.libs ../../tests/.libs/libtests.a ../../.libs/libmpirxx.a /
> mpir-2.1.1/.libs/libmpir.a ../../.libs/libmpir.a
> g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../tests    -O3 -mno-
> cygwin -c -o t-prec.o t-prec.cc
> /bin/sh ../../libtool --tag=CXX   --mode=link g++  -O3 -mno-cygwin   -
> o t-prec.exe t-prec.o -L../../.libs ../../tests/libtests.la ../../
> libmpirxx.la ../../libmpir.la
> g++ -O3 -mno-cygwin -o t-prec.exe t-prec.o  -L/mpir-2.1.1/.libs ../../
> tests/.libs/libtests.a ../../.libs/libmpirxx.a /mpir-2.1.1/.libs/
> libmpir.a ../../.libs/libmpir.a
> g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../tests    -O3 -mno-
> cygwin -c -o t-rand.o t-rand.cc
> /bin/sh ../../libtool --tag=CXX   --mode=link g++  -O3 -mno-cygwin   -
> o t-rand.exe t-rand.o -L../../.libs ../../tests/libtests.la ../../
> libmpirxx.la ../../libmpir.la
> g++ -O3 -mno-cygwin -o t-rand.exe t-rand.o  -L/mpir-2.1.1/.libs ../../
> tests/.libs/libtests.a ../../.libs/libmpirxx.a /mpir-2.1.1/.libs/
> libmpir.a ../../.libs/libmpir.a
> g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../tests    -O3 -mno-
> cygwin -c -o t-ternary.o t-ternary.cc
> /bin/sh ../../libtool --tag=CXX   --mode=link g++  -O3 -mno-cygwin   -
> o t-ternary.exe t-ternary.o -L../../.libs ../../tests/
> libtests.la ../../libmpirxx.la ../../libmpir.la
> g++ -O3 -mno-cygwin -o t-ternary.exe t-ternary.o  -L/
> mpir-2.1.1/.libs ../../tests/.libs/libtests.a ../../.libs/libmpirxx.a /
> mpir-2.1.1/.libs/libmpir.a ../../.libs/libmpir.a
> g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../tests    -O3 -mno-
> cygwin -c -o t-unary.o t-unary.cc
> /bin/sh ../../libtool --tag=CXX   --mode=link g++  -O3 -mno-cygwin   -
> o t-unary.exe t-unary.o -L../../.libs ../../tests/libtests.la ../../
> libmpirxx.la ../../libmpir.la
> g++ -O3 -mno-cygwin -o t-unary.exe t-unary.o  -L/
> mpir-2.1.1/.libs ../../tests/.libs/libtests.a ../../.libs/libmpirxx.a /
> mpir-2.1.1/.libs/libmpir.a ../../.libs/libmpir.a
> make[4]: Leaving directory `/mpir-2.1.1/tests/cxx'
> make  check-TESTS
> make[4]: Entering directory `/mpir-2.1.1/tests/cxx'
> /bin/sh ../../libtool --tag=CXX   --mode=link g++  -O3 -mno-cygwin   -
> o t-headers.exe t-headers.o -L../../.libs ../../tests/
> libtests.la ../../libmpirxx.la ../../libmpir.la
> g++ -O3 -mno-cygwin -o t-headers.exe t-headers.o  -L/
> mpir-2.1.1/.libs ../../tests/.libs/libtests.a ../../.libs/libmpirxx.a /
> mpir-2.1.1/.libs/libmpir.a ../../.libs/libmpir.a
> PASS: t-assign.exe
> PASS: t-binary.exe
> PASS: t-cast.exe
> PASS: t-constr.exe
> /bin/sh: line 8: ./t-headers.exe: No such file or directory
> FAIL: t-headers.exe
> PASS: t-istream.exe
> PASS: t-locale.exe
> PASS: t-misc.exe
> PASS: t-ops.exe
> PASS: t-ostream.exe
> PASS: t-prec.exe
> PASS: t-rand.exe
> PASS: t-ternary.exe
> PASS: t-unary.exe
> =============================================================
> 1 of 14 tests failed
> Please report to http://groups.google.co.uk/group/mpir-devel/
> =============================================================
> make[4]: *** [check-TESTS] Error 1
> make[4]: Leaving directory `/mpir-2.1.1/tests/cxx'
> make[3]: *** [check-am] Error 2
> make[3]: Leaving directory `/mpir-2.1.1/tests/cxx'
> make[2]: *** [check-recursive] Error 1
> make[2]: Leaving directory `/mpir-2.1.1/tests'
> make[1]: *** [check-recursive] Error 1
> make[1]: Leaving directory `/mpir-2.1.1'
> make: *** [check] Error 2
>
> Perhaps I should just let the configure script have it's way with
> things and let its guess of an i486 as the architecture go?
> If anyone has any suggestions they would be welcome.
>
> --
> 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.
>
>

-- 
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.

Reply via email to