maintainer-feedback requested: [Bug 201523] python2.7 on raspberry B, _ctypes libffi sysv.S 'invalid instruction'

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Jul 13 12:09:07 UTC 2015


ArnoB <bug at rgbaz.nl> has reassigned Bugzilla Automation
<bugzilla at FreeBSD.org>'s request for maintainer-feedback to python at FreeBSD.org:
Bug 201523: python2.7 on raspberry B, _ctypes libffi sysv.S 'invalid
instruction'
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201523



--- Description ---
compiling lang/python27 fails to compile _ctypes.so due to a non existent
assembly instruction:
...
/usr/ports/lang/python27/work/Python-2.7.10/Modules/_ctypes/libffi/src/arm/sysv
.S:399:2:
error: invalid instruction
 stmeqia r2, {r0, r1}
 ^
...


i found a similar report online:
http://lists.freedesktop.org/archives/gstreamer-commits/2013-September/074531.h
tml

so i replaced line 399:
    stmeqia r2, {r0, r1}
with:
    stmiaeq r2, {r0, r1}

and then it compiles fine.


# diff sysv.S sysv.S.new 
399c399
<     stmeqia	 r2, {r0, r1}
---
>	stmiaeq r2, {r0, r1}


More information about the freebsd-python mailing list