On Tue, Jan 17, 2012 at 3:20 PM, Justin C. Walker <jus...@mac.com> wrote:
>
> On Jan 17, 2012, at 14:04 , William Stein wrote:
>
>> On Tue, Jan 17, 2012 at 1:47 PM, John Cremona <john.crem...@gmail.com> wrote:
>>>>> After building Sage on OS X 10.7, "make test" did this:
>
>> Let me run the full test suite of Sage first, having built PARI with
>> -O0 and see what happens.   If that works, I will just need to figure
>> out how to build only bezout* with -O0 (or -O1).   I'm guessing the
>> best thing the PARI devs could do at this point is report a bug to
>> Apple (maybe Justin Walker could file a bug report to Apple about
>> their compiler)?  Also, suggestions about how to properly build only
>> *one* file with -O1 would be helpful.
>
> I can certainly do that.  It would help to know a little more than the above, 
> since the only "bezout" files I could find are text files that (I don't 
> think) get compiled.
>
> Do we know what ".c" files are involved?  Could the problem like with a 
> library (whose initials might once have been GPM)?  I have not delved into 
> the innards of pari enough to be able to sort this out quickly on my own.
>
> Anything more specific than "it breaks" will get a lot more attention from 
> Apple, and I think Apple knows that their compiler suite for 10.7 has 
> significant issues.

There's a lot of discussion related to your question in the PARI
mailing list thread I linked to.  Fortunately, this is something that
can be observed outside of Sage (purely with Pari), and there is even
a variant of it if you don't use GMP (or MPIR).   It doesn't look like
GMP/MPIR is the problem by the way.

Incidentally, with both Symmetrica and PARI built using -O0, the only
test failures in devel/sage/sage are:


        sage -t  devel/sage/sage/matrix/matrix_double_dense.pyx # 4
doctests failed
        sage -t  devel/sage/sage/matrix/matrix2.pyx # 4 doctests failed
        sage -t
devel/sage/sage/rings/polynomial/polynomial_element.pyx # 1 doctests
failed
        sage -t  devel/sage/sage/tests/interrupt.pyx # 13 doctests failed

The matrix stuff is numerical noise being slightly different.

The polynomial_element.pyx thing looks pretty weird.

The interrupt.pyx looks scary -- somehow the current clever interrupt
handling and counting code isn't working right at all with OS X 10.7.

 -- William

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to