Haven't seen that failure before. Does it still break with -O2 or less
(is this even reliable - I mean will it use the same random seeds
etc., or is this test fixed values).

Bill.

On 2 June 2010 04:02, Jason Moxham <[email protected]> wrote:
> On varro 64 we get this failure
>
>
> creating t-urndmm
> make  check-TESTS
> PASS: t-iset
> PASS: t-lc2exp
> PASS: t-mt
> PASS: t-rand
> PASS: t-urbui
> PASS: t-urmui
> PASS: t-urndmm
> ==================
> All 7 tests passed
> ==================
> Making check in misc
> make  t-printf t-scanf t-locale
> gcc -std=gnu99 -DHAVE_CONFIG_H -I. -
> I/home/jasonmoxham/mpir/branches/test_stuff/../../../sourcecode/mpir-2.1.0/tests/misc
> -I../.. -
> I/home/jasonmoxham/mpir/branches/test_stuff/../../../sourcecode/mpir-2.1.0 -
> I/home/jasonmoxham/mpir/branches/test_stuff/../../../sourcecode/mpir-2.1.0/tests
> -m64 -mcpu=970 -O3 -c
> /home/jasonmoxham/mpir/branches/test_stuff/../../../sourcecode/mpir-2.1.0/tests/misc/t-
> printf.c
> gcc -std=gnu99 -DHAVE_CONFIG_H -I. -
> I/home/jasonmoxham/mpir/branches/test_stuff/../../../sourcecode/mpir-2.1.0/tests/misc
> -I../.. -
> I/home/jasonmoxham/mpir/branches/test_stuff/../../../sourcecode/mpir-2.1.0 -
> I/home/jasonmoxham/mpir/branches/test_stuff/../../../sourcecode/mpir-2.1.0/tests
> -m64 -mcpu=970 -O3 -c
> /home/jasonmoxham/mpir/branches/test_stuff/../../../sourcecode/mpir-2.1.0/tests/misc/t-
> scanf.c
> gcc -std=gnu99 -DHAVE_CONFIG_H -I. -
> I/home/jasonmoxham/mpir/branches/test_stuff/../../../sourcecode/mpir-2.1.0/tests/misc
> -I../.. -
> I/home/jasonmoxham/mpir/branches/test_stuff/../../../sourcecode/mpir-2.1.0 -
> I/home/jasonmoxham/mpir/branches/test_stuff/../../../sourcecode/mpir-2.1.0/tests
> -m64 -mcpu=970 -O3 -c
> /home/jasonmoxham/mpir/branches/test_stuff/../../../sourcecode/mpir-2.1.0/tests/misc/t-
> locale.c
> /bin/sh ../../libtool --tag=CC   --mode=link gcc -std=gnu99  -m64 -mcpu=970 -
> O3   -o t-printf t-printf.o ../../tests/libtests.la ../../libmpir.la
> mkdir .libs
> /bin/sh ../../libtool --tag=CC   --mode=link gcc -std=gnu99  -m64 -mcpu=970 -
> O3   -o t-locale t-locale.o ../../tests/libtests.la ../../libmpir.la
> gcc -std=gnu99 -m64 -mcpu=970 -O3 -o .libs/t-printf t-printf.o
> ../../tests/.libs/libtests.a
> /home/jasonmoxham/mpir/branches/test_stuff/varro/.libs/libmpir.dylib
> ../../.libs/libmpir.dylib
> gcc -std=gnu99 -m64 -mcpu=970 -O3 -o .libs/t-locale t-locale.o
> ../../tests/.libs/libtests.a
> /home/jasonmoxham/mpir/branches/test_stuff/varro/.libs/libmpir.dylib
> ../../.libs/libmpir.dylib
> creating t-locale
> /bin/sh ../../libtool --tag=CC   --mode=link gcc -std=gnu99  -m64 -mcpu=970 -
> O3   -o t-scanf t-scanf.o ../../tests/libtests.la ../../libmpir.la
> gcc -std=gnu99 -m64 -mcpu=970 -O3 -o .libs/t-scanf t-scanf.o
> ../../tests/.libs/libtests.a
> /home/jasonmoxham/mpir/branches/test_stuff/varro/.libs/libmpir.dylib
> ../../.libs/libmpir.dylib
> creating t-printf
> creating t-scanf
> make  check-TESTS
> PASS: t-printf
> gmp_fscanf wrong ftell
>  fmt   "%Zx"
>  input "+7B"
>  ignore 0
>  ret   want=1
>        got =1
>  value want=0x7b
>        got =0x7b
>  upto  want =3
>        got  =3
>  ftell want =-137438953473
>        got  =3
> FAIL: t-scanf
> PASS: t-locale
> =============================================================
> 1 of 3 tests failed
> Please report to http://groups.google.co.uk/group/mpir-devel/
> =============================================================
> make[4]: *** [check-TESTS] Error 1
> make[3]: *** [check-am] Error 2
> make[2]: *** [check-recursive] Error 1
> make[1]: *** [check-recursive] Error 1
> make: *** [check] Error 2
> varro
>
> PASSED CC=gcc CXX=g++ configure=
> FAILED CC=gcc CXX=g++ configure= --enable-cxx --enable-gmpcompat
> varro:~/mpir/branches/test_stuff jasonmoxham$ pwd
> /home/jasonmoxham/mpir/branches/test_stuff
> varro:~/mpir/branches/test_stuff jasonmoxham$ ls
> FFT-tuning.c            mpirtest                profiler.c              sca-
> m0n8.scsystem       varro32
> FFT-tuning2.c           mpirtest.bat            profiler.h              trytry
> iras                    mpirtest32              runfft                  varro
> varro:~/mpir/branches/test_stuff jasonmoxham$ cd varro
> varro:~/mpir/branches/test_stuff/varro jasonmoxham$ cd tests/
> varro:~/mpir/branches/test_stuff/varro/tests jasonmoxham$ ls
> Makefile        misc.lo         refmpf.lo       refmpz.o        t-count_zeros
> t-modlinv.o     trace.lo
> cxx             misc.o          refmpf.o        spinner.lo      t-
> count_zeros.o t-parity        trace.o
> devel           mpf             refmpn.lo       spinner.o       t-gmpmax
> t-parity.o
> libtests.la     mpn             refmpn.o        t-bswap         t-gmpmax.o
> t-popc
> memory.lo       mpq             refmpq.lo       t-bswap.o       t-hightomask
> t-popc.o
> memory.o        mpz             refmpq.o        t-constants     t-hightomask.o
> t-sub
> misc            rand            refmpz.lo       t-constants.o   t-modlinv
> t-sub.o
> varro:~/mpir/branches/test_stuff/varro/tests jasonmoxham$ cd misc
> varro:~/mpir/branches/test_stuff/varro/tests/misc jasonmoxham$ make check
> make  t-printf t-scanf t-locale
> make[1]: `t-printf' is up to date.
> make[1]: `t-scanf' is up to date.
> make[1]: `t-locale' is up to date.
> make  check-TESTS
> PASS: t-printf
> gmp_fscanf wrong ftell
>  fmt   "%Zx"
>  input "+7B"
>  ignore 0
>  ret   want=1
>        got =1
>  value want=0x7b
>        got =0x7b
>  upto  want =3
>        got  =3
>  ftell want =-137438953473
>        got  =3
> FAIL: t-scanf
> PASS: t-locale
> =============================================================
> 1 of 3 tests failed
> Please report to http://groups.google.co.uk/group/mpir-devel/
> =============================================================
> make[1]: *** [check-TESTS] Error 1
> make: *** [check-am] Error 2
> varro:~/mpir/branches/test_stuff/varro/tests/misc jasonmoxham$ gcc -v
> Using built-in specs.
> Target: powerpc-apple-darwin8
> Configured with: /var/tmp/gcc/gcc-5370~2/src/configure --disable-checking -
> enable-werror --prefix=/usr --mandir=/share/man --enable-
> languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/$/-4.0/
> --with-gxx-include-dir=/include/c++/4.0.0 --with-slibdir=/usr/lib --
> build=powerpc-apple-darwin8 --host=powerpc-apple-darwin8 --target=powerpc-
> apple-darwin8
> Thread model: posix
> gcc version 4.0.1 (Apple Computer, Inc. build 5370)
> varro:~/mpir/branches/test_stuff/varro/tests/misc jasonmoxham$ cc -v
> Using built-in specs.
> Target: powerpc-apple-darwin8
> Configured with: /var/tmp/gcc/gcc-5370~2/src/configure --disable-checking -
> enable-werror --prefix=/usr --mandir=/share/man --enable-
> languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/$/-4.0/
> --with-gxx-include-dir=/include/c++/4.0.0 --with-slibdir=/usr/lib --
> build=powerpc-apple-darwin8 --host=powerpc-apple-darwin8 --target=powerpc-
> apple-darwin8
> Thread model: posix
> gcc version 4.0.1 (Apple Computer, Inc. build 5370)
> varro:~/mpir/branches/test_stuff/varro/tests/misc jasonmoxham$ gcc-
> gcc-3.3  gcc-4.0
> varro:~/mpir/branches/test_stuff/varro/tests/misc jasonmoxham$ gcc-3.3 -v
> Reading specs from /usr/libexec/gcc/darwin/ppc/3.3/specs
> Thread model: posix
> gcc version 3.3 20030304 (Apple Computer, Inc. build 1819)
> varro:~/mpir/branches/test_stuff/varro/tests/misc jasonmoxham$ gcc-4.0 -v
> Using built-in specs.
> Target: powerpc-apple-darwin8
> Configured with: /var/tmp/gcc/gcc-5370~2/src/configure --disable-checking -
> enable-werror --prefix=/usr --mandir=/share/man --enable-
> languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/$/-4.0/
> --with-gxx-include-dir=/include/c++/4.0.0 --with-slibdir=/usr/lib --
> build=powerpc-apple-darwin8 --host=powerpc-apple-darwin8 --target=powerpc-
> apple-darwin8
> Thread model: posix
> gcc version 4.0.1 (Apple Computer, Inc. build 5370)
>
>
> I think this compiler is broken , as I went thru skynet/math.wash and put all
> available compilers in our test script , whereas I know some are broken but I
> couldn't remember which ones , and the only notes I kept were "gcc is broken
> on this machine" with saying which version :( duh
>
> Note how it fails the t-scanf test , but only if we build with c++
>
>
> On Wednesday 02 June 2010 03:36:21 Jason Moxham wrote:
>> I'm testing on cato,varro(64 & 32) and have done
>>
>> atom 64bit
>>
>> Linux box1 2.6.29.6 #2 SMP Mon Aug 17 11:58:18 CDT 2009 x86_64 Intel(R)
>> Atom(TM) CPU  330   @ 1.60GHz GenuineIntel GNU/Linux
>> atom-unknown-linux-gnu
>> Compiler gcc is
>> Reading specs from /usr/lib64/gcc/x86_64-slackware-linux/4.3.3/specs
>> Target: x86_64-slackware-linux
>> Configured with: ../gcc-4.3.3/configure --prefix=/usr --libdir=/usr/lib64
>> -- enable-shared --enable-bootstrap --enable-
>> languages=ada,c,c++,fortran,java,objc --enable-threads=posix --enable-
>> checking=release --with-system-zlib --disable-libunwind-exceptions
>> --enable- __cxa_atexit --enable-libssp --with-gnu-ld --verbose
>> --disable-multilib -- target=x86_64-slackware-linux
>> --build=x86_64-slackware-linux --host=x86_64- slackware-linux
>> Thread model: posix
>> gcc version 4.3.3 (GCC)
>>
>> box1
>>
>> PASSED CC=gcc CXX=g++ configure=
>> PASSED CC=gcc CXX=g++ configure= --enable-cxx --enable-gmpcompat
>> PASSED CC=gcc CXX=g++ configure= --enable-cxx --enable-gmpcompat --enable-
>> assert --enable-alloca=debug
>> PASSED CC=gcc CXX=g++ configure= --enable-cxx --enable-gmpcompat --enable-
>> assert --enable-alloca=debug --build=none-unknown-linux-gnu
>> PASSED CC=gcc CXX=g++ configure= --enable-fat
>> PASSED CC=gcc CXX=g++ configure= --enable-fat --enable-cxx
>> --enable-gmpcompat PASSED CC=gcc CXX=g++ configure= --enable-fat
>> --enable-cxx --enable-gmpcompat --enable-assert --enable-alloca=debug
>>
>> k7 32bit with the same specs as above
>>
>> I'll also do atom 32bit, and k8 32 and 64bit all with the same specs
>> then I will install the latest slackware , and try it all again with
>> gcc-4.4
>>
>> I can do some/all of skynet/math.wash if you want , also cuda1
>>
>> Jason
>>
>> On Tuesday 01 June 2010 22:14:51 Minh Nguyen wrote:
>> > Hi folks,
>> >
>> > MPIR 2.1.0-rc2 was released on 01st June 2010.
>> >
>> > Source:
>> > http://www.mpir.org/mpir-2.1.0-rc2.tar.gz
>> >
>> > Documentation:
>> > http://www.mpir.org/mpir-2.1.0.pdf
>> >
>> > A number of issues reported with the 2.1.0-rc1 release [1] are fixed.
>> > Please test and report all issues.
>> >
>> > If you are having failures when building or tuning, try setting the
>> > following prior to configuring and build:
>> >
>> > $ export MAKE='make'
>> >
>> > If you have failures when running the test suite, try edit the file
>> > mpirtest to use only one CPU. You can use/tweak this script [2] to
>> > automate these steps: configure, build, check, tune, run test suite.
>> >
>> > [1]
>> > http://groups.google.com/group/mpir-devel/browse_thread/thread/4550cb9a8a
>> >ae 0719/
>> >
>> > [2] http://sage.math.washington.edu/home/mvngu/apps/mpir/go-build.sh
>> >
>> > --
>> > Regards
>> > Minh Van Nguyen
>
> --
> 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