#11278: singular 3-1-1-4.p8 fails on Mac OS X 10.4
------------------------+---------------------------------------------------
Reporter: jdemeyer | Owner: tbd
Type: defect | Status: new
Priority: blocker | Milestone: sage-4.7
Component: packages | Keywords:
Work_issues: | Upstream: N/A
Reviewer: | Author:
Merged: | Dependencies:
------------------------+---------------------------------------------------
Comment(by drkirkby):
What version of gcc is this failing with? I assume it is not 4.6.0, but
can you confirm that?
This error message reminds me of ones that existed with R and ECL on
Solaris. The ECL bug has been fixed, but not the R bug (#9040), so R will
not build 64-bit on Solaris x86 with gcc. The R bug is caused by a shared
library being built with position dependent code. There are some
conditions that can cause non-PIC code to be generated even when the flag
-fPIC is given.
I would check if -fPIC is being passed first. I had a long battle with the
Singular developers to get them to accept that -fPIC should be used on
Solaris. I think I'd convinced them on Linux too, but never tried on OS X.
It could be that there's no -fPIC flag and it just happens this is ok with
-O3 but not with -O2.
Take a look at
http://blogs.sun.com/rie/entry/my_relocations_don_t_fit
which discusses this issue. It is a Sun blog aimed at Solaris, but the
error message seems remarkably similar. Which makes me think this might be
a PIC/non-PIC issue.
Time for bed here - it is 0300 local time!!
dave
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11278#comment:5>
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.