469,926 Members | 2,497 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,926 developers. It's quick & easy.

problem using ctypes with MMX intrinsics

Is it possible to use ctypes with a shared library which uses MMX/SSE
intrinsics? I can load the library and access functions inside it, but
I getting a seg fault when I hit one of the intrinsics. I'm wondering
if there might be some sort of stack alignment problem.

I am using gcc version 4.2.3 and Python 2.5.2 on Ubuntu 8.04.

Any suggestions would be helpful.
Oct 15 '08 #1
1 1303
In message <ma**************************************@python.o rg>, dcharno
wrote:
I can load the library and access functions inside it, but
I getting a seg fault when I hit one of the intrinsics.
I assume that SIGSEGV indicates some (mis)alignment issue. If the
instructions were not valid, you'd get SIGILL instead.
Oct 15 '08 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by sjdevnull | last post: by
27 posts views Thread by Licheng Fang | last post: by
6 posts views Thread by Jack | last post: by
3 posts views Thread by Andrew Lentvorski | last post: by
1 post views Thread by kaer | last post: by
2 posts views Thread by Robert Kern | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.