#9040: fatal relocation error installing R on OpenSolaris
------------------------+---------------------------------------------------
Reporter: drkirkby | Owner: drkirkby
Type: defect | Status: new
Priority: major | Milestone: sage-4.4.3
Component: solaris | Keywords:
Author: | Upstream: None of the above - read trac for
reasoning.
Reviewer: | Merged:
Work_issues: |
------------------------+---------------------------------------------------
Comment(by drkirkby):
This might be difficult to solve.
1) The R manual
http://cran.r-project.org/doc/manuals/R-admin.html#Solaris
makes it clear that R has never been successfully built with gcc on
!OpenSolaris, though it can be built with Sun Studio. I'd prefer not to
need to have both compilers installed, but it may be the only option, as
there are too many GNUisms to get Sage to build all with Sun Studio.
2) If the particular error message occurs with Sun Studio,
http://developers.sun.com/solaris/articles/about_amd64_abi.html
suggests using the Sun Studio option '-Kpic' to build Position Independent
Code (PIC) code.
Since the R package appears to use '-fpic' with gcc, which generates PIC
code, generating PIC code does not appear to be working with gcc.
(However, normally one uses -fPIC, which is slightly different.)
So I'm not sure how to solve this. Maybe making Sun Studio (which is free)
a prequisite is the only sensible option on !OpenSolaris on x64 hardware.
Dave
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9040#comment:3>
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.