Hi, There is a proposed fix now upstream that seems to work for me, see http://sourceware.org/ml/libffi-discuss/2013/msg00042.html
cheers