ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> scipy-dev
scipy-dev
[SciPy-dev] Failure under Solaris 9, 64-bit
by Jett Logic other posts by this author
Nov 23 2006 6:17AM messages near this date
Re: [SciPy-dev] Does it worth the trouble to support non contiguous array in C extensions ? | [SciPy-dev] Kronecker sum
I have to use Sun C 5.7 and Sun Fortran 95 8.1, producing ELF64's with 
F77='f90 -xcode=pic32 -xarch=v9' (also tried f77, no difference) and 
CC='cc -mt -xcode=pic32 -xarch=v9'   I compiled Python 2.5 
(--enable-shared) then built blas and lapack following 
http://www.scipy.org/Installing_SciPy/BuildingGeneral.

I passed -L and -R to ld for each library directory.  I had to pass -G 
to ld as well for the Fortran linking steps to prevent error of missing 
"main" symbol in crt1.o.

However, "from scipy import special" fails as below beause of the 
_cephes module which has a bunch of Fortran constants in it:

{{
Python 2.5 (r25:51908, Nov 20 2006, 02:58:57) [C] on sunos5
Type "help", "copyright", "credits" or "license" for more information.
> >> from scipy import special
Traceback (most recent call last):
   File "<stdin> ", line 1, in <module>
   File
"/export/home/medscan/local64/lib/python2.5/site-packages/scipy/special/__init__.py", 


line 8, in <module> 
     from basic import *
   File
"/export/home/medscan/local64/lib/python2.5/site-packages/scipy/special/basic.py", 


line 8, in <module> 
     from _cephes import *
ImportError: ld.so.1: python: fatal: relocation error: R_SPARC_H44: file
/export/home/medscan/local64/lib/python2.5/site-packages/scipy/special/_cephes.so: 


symbol __f90_default_input_unit: value 0x3fffffffde7 does not fit
}}

(note that scipy compiles and runs fine using the 32-bit gcc toolchain, 
but I need 64-bit)

Should I file this as a bug?  Is there a workaround?

_______________________________________________
Scipy-dev mailing list
Scipy-dev@[...].org
http://projects.scipy.org/mailman/listinfo/scipy-dev

Privacy Policy | Email Opt-out | Feedback | Syndication
© 2004 ActiveState, a division of Sophos All rights reserved