[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:08 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201523

            Bug ID: 201523
           Summary: python2.7 on raspberry B, _ctypes libffi sysv.S
                    'invalid instruction'
           Product: Ports & Packages
           Version: Latest
          Hardware: arm
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: python at FreeBSD.org
          Reporter: bug at rgbaz.nl
                CC: freebsd-arm at FreeBSD.org
                CC: freebsd-arm at FreeBSD.org
          Assignee: python at FreeBSD.org
             Flags: maintainer-feedback?(python at FreeBSD.org)

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.html

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}

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list