#9703: Doctest failures caused by non-working sympow on 32-bit Solaris x86 and
32-bit OpenSolaris
----------------------------+-----------------------------------------------
Reporter: drkirkby | Owner: GeorgSWeber
Type: defect | Status: needs_review
Priority: major | Milestone: sage-4.5.3
Component: build | Keywords:
Author: David Kirkby | Upstream: Reported upstream. Little or no
feedback.
Reviewer: | Merged:
Work_issues: |
----------------------------+-----------------------------------------------
Comment(by drkirkby):
Replying to [comment:15 jdemeyer]:
> Maybe the attached program might be useful. It runs a simple
computation to check whether or not the FPU is 53-bit or more. For
example, on a x86_64 Intel machine, I get:
It is an interesting little program. It does show the behavior someone
(probably you) suspected, that in 64-bit builds, the behaviour changes.
> You could use to check
> * whether or not the patch needs to be applied
> * whether the result is correct after possibly applying the patch (do
this on all systems!)
I don't personally feel there is a need to do this.
* It makes use of gcc-specific options. It would be nice to get Sage to
build with the Sun compiler. At least now, this will try to build with the
Sun compiler, and the error message seen is useful, as it highlights where
the code is not valid C.
* Some of those compiler options may not be supported in gcc 4.0.1, which
is the earliest Sage supports. I think you said some were very new.
* It was not done before, so I end up making further changes to a package
which is already a complete mess.
* If the FPU is already in using the lower precision, changing the bits
to put it there will do no harm.
* This has been quite extensively tested now, and has not failed on any
system at all.
I think if the result is incorrect (i.e. for some reason the FPU remained
in the wrong precision), the doctests will pick this up very quickly. This
was the reason the program built, but failed tests on Cygwin and Solairs
x86.
Dave
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9703#comment:18>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" 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/sage-trac?hl=en.