Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Jul 2015 12:09:07 +0000
From:      bugzilla-noreply@freebsd.org
To:        python@FreeBSD.org
Subject:   [Bug 201523] python2.7 on raspberry B, _ctypes libffi sysv.S 'invalid instruction'
Message-ID:  <bug-201523-21822@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D201523

            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@FreeBSD.org
          Reporter: bug@rgbaz.nl
                CC: freebsd-arm@FreeBSD.org
                CC: freebsd-arm@FreeBSD.org
          Assignee: python@FreeBSD.org
             Flags: maintainer-feedback?(python@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/0745=
31.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=20
399c399
<     stmeqia    r2, {r0, r1}
---
> 	stmiaeq	r2, {r0, r1}

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-201523-21822>