On Tue, Sep 04, 2018 at 05:09:17PM +0200, Alberto Garcia wrote: >On Tue, Sep 04, 2018 at 12:00:57PM -0300, David Bremner wrote: >> > running /usr/bin/highlight on armel fails with this error message: >> > >> > $ /usr/bin/highlight /dev/null >> > Illegal instruction >> > >> > Because of this I can't build WebKitGTK+ for this platform. >> >> I can't duplicate this problem on abel (armel porterbox). > >I can reproduce it in amdahl using an armel chroot. The rest of the >build works fine, it only fails at the end when calling highlight.
amdahl is an arm64 machine, and so doesn't support the SWP instruction directly in hardware. It was deprecated a long time ago, and was removed in most implementation of version 8 of the ARM architecture. There *is* support for emulating SWP in software, but it's not enabled on amdahl: 93sam@amdahl:~$ cat /proc/sys/abi/swp 0 That *can* be changed, but a better solution for now would be to use a machine with a v7 or earlier CPU (like abel). (I'm working on a distro-wide rebuild of armel on arm64 machines at the moment, hoping to publish results in a week or so.) -- Steve McIntyre, Cambridge, UK. [email protected] Mature Sporty Personal More Innovation More Adult A Man in Dandism Powered Midship Specialty

