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:   maintainer-feedback requested: [Bug 201523] python2.7 on raspberry B, _ctypes libffi sysv.S 'invalid instruction'
Message-ID:  <bug-201523-21822-gif2yBCSBZ@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-201523-21822@https.bugs.freebsd.org/bugzilla/>
References:  <bug-201523-21822@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
ArnoB <bug@rgbaz.nl> has reassigned Bugzilla Automation
<bugzilla@FreeBSD.org>'s request for maintainer-feedback to python@FreeBSD.=
org:
Bug 201523: python2.7 on raspberry B, _ctypes libffi sysv.S 'invalid
instruction'
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D201523



--- 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/0745=
31.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=20
399c399
<     stmeqia	 r2, {r0, r1}
---
>	stmiaeq r2, {r0, r1}=



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