#9871: Change compiler flags on Solaris to build without text relocations.
----------------------------+-----------------------------------------------
Reporter: drkirkby | Owner: GeorgSWeber
Type: defect | Status: needs_work
Priority: critical | Milestone: sage-4.6
Component: build | Keywords:
Author: David Kirkby | Upstream: None of the above - read trac for
reasoning.
Reviewer: | Merged:
Work_issues: |
----------------------------+-----------------------------------------------
Comment(by drkirkby):
On 32-bit !OpenSolaris this is passing tests, and having no text
relocation issues:
{{{
sage:
/export/home/drkirkby/sage-4.5.3/http://boxen.math.washington.edu/home/kirkby/patches/cliquer-1.2.p7.spkg
is already installed
drkir...@hawk:~/sage-4.5.3$ ./sage -t devel/sage/sage/graphs/cliquer.pyx
sage -t "devel/sage/sage/graphs/cliquer.pyx"
[5.2 s]
----------------------------------------------------------------------
All tests passed!
Total time for all tests: 5.2 seconds
drkir...@hawk:~/sage-4.5.3$ elfdump -d local/lib/libcliquer.so | grep
TEXTREL
}}}
On 64-bit !OpenSolaris there are no text relocation issues, though I'm not
even going to bother doctesting, as Sage is too unstable.
I think between John and I we now have.
* 32-bit Solaris 10 on SPARC - builds with no text relocation problems
and passes {{{devel/sage/sage/graphs/cliquer.pyx}}}.
* 64-bit Solaris 10 on SPARC - build without test relocation problems.
Not doctested, as there is no stable 64-bit Sage on any sort of Solaris.
* 32-bit Solaris 10 on x86 - builds with no text relocation problems and
passes {{{devel/sage/sage/graphs/cliquer.pyx}}}.
* 64-bit Solaris 10 on x86 - builds with no text relocation problems.
Again not doctested.
* 32-bit !OpenSolaris on x86 - builds with no text relocation problems
and passes {{{devel/sage/sage/graphs/cliquer.pyx}}}.
* 64-bit !OpenSolaris on x86 - builds with no text relocation problems.
Again not doctested.
That covers any sort of "Solaris" system in common use. The only exception
is !OpenSolaris on SPARC, which is quite rare.
So I think this is ok now. I will update the package, commit the changes
and mark it for review.
Dave
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9871#comment:34>
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.