Trent Nelson added the comment:

On Thu, Oct 18, 2012 at 07:47:40AM -0700, Stefan Krah wrote:
> 
> Stefan Krah added the comment:
> 
> --with-system-ffi should probably solve some problems, see #12927.

    This isn't an option on Solaris 10, as it doesn't ship with a
    "system ffi", unfortunately.  (That being said, after building
    the latest libffi with Sun C, I do use --with-system-ffi in
    order to override the building of Modules/_ctypes/libffi.)
>
> The summary of that issue is that the unpatched libffi is not
> compatible with suncc and any issues should be reported upstream
> (at least that was Meador's and my own opinion).

    Sun CC is supported by libffi for SPARC only.  You're right
    regarding x86/x64 though; libffi explicitly doesn't support
    using anything other than gcc on Solaris if it's x86.

    (Unfortunately, my only SPARC boxes are running Solaris 9
     and 10.  I don't have new-enough SPARC CPUs that can run
     Solaris 11.  If I did, this would probably be moot, as I
     could just use the system libffi Sun provide.)

    Side note: on my Solaris 11 x64 box, --with-system-ffi works
    (once -I and -L are tweaked), but test_ctypes still fails if
    you're building with Sun CC.

----------
title: test_ctypes fails on Solaris 10 SPARC 2.7 (nitrogen/s10) (Sun C 
compiler) -> test_ctypes fails on Solaris 10 SPARC 2.7 (nitrogen/s10)    (Sun C 
compiler)

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue16275>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to