Here is the relevant line of code:
if (memcmp (got_data, data[i].want_data, got_count * data[i].size) != 0)
{
printf ("wrong result data\n");
error = 1;
}
As got_count is 0 then it is comparing two length 0 arrays and says
they are not equal. So this appears to be a problem with memcmp which
is just a C library function.
Why it passes on one version of MPIR and not the other I cannot say.
The data used is identical in both cases and the test code is
identical.
Bill.
2009/4/17 Burcin Erocal <[email protected]>:
>
> Hi,
>
> I got the following error while building Sage-3.4.1.rc3 on my 32-bit Pentium
> D workstation (prescott?):
>
> ...
> PASS: t-import
> wrong result data
> at data[0] align=0
> src "0"
> src=0x0
> order=1 size=1 endian=1 nail=0
> want count 0
> got count 0
> want
> got
> /bin/sh: line 4: 31987 Aborted ${dir}$tst
> FAIL: t-export
> PASS: t-pprime_p
> PASS: t-perfpow
> =============================================================
> 1 of 57 tests failed
> Please report to http://groups.google.co.uk/group/mpir-devel/
> =============================================================
> ...
>
>
> The tests for mpir-1.1.0, built outside of Sage don't report any problems.
>
> Here is my /proc/cpuinfo:
>
> processor : 1
> vendor_id : GenuineIntel
> cpu family : 15
> model : 6
> model name : Intel(R) Pentium(R) D CPU 3.40GHz
> stepping : 4
> cpu MHz : 3400.055
> cache size : 2048 KB
> physical id : 0
> siblings : 2
> core id : 1
> cpu cores : 2
> fdiv_bug : no
> hlt_bug : no
> f00f_bug : no
> coma_bug : no
> fpu : yes
> fpu_exception : yes
> cpuid level : 6
> wp : yes
> flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca
> cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm
> constant_tsc pebs bts sync_rdtsc pni monitor ds_cpl est cid cx16 xtpr lahf_lm
> bogomips : 6800.08
> clflush size : 64
>
>
> Let me know if you need any more info.
>
> Thanks.
>
> Burcin
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---