archivers/lzo2 on arm cortex-a7 (rpi2b) : ./lzotest/lzotest -mlzo -n2 -q ./COPYING gets "Signal 10" and stops the build
Mark Millard
markmi at dsl-only.net
Thu Feb 11 02:35:24 UTC 2016
[Context basics: projects/clang380-import -r295351 for buildworld/buildkernel that targeted an rpi2 (armv7-a/cortex-a7). This context requires strict alignment: FreeBSD 11.0-CURRNET has SCTLR bit[1]==1 for such contexts.]
When I attempt portinstall/portmaster builds for an arm rpi2 context that depend on lzo2 I get the following.
. . .
LZO configuration summary
-------------------------
LZO version : 2.09
configured for host : armv6-portbld-freebsd11.0
source code location : .
compiler : /usr/bin/clang
preprocessor definitions : -DLZO_HAVE_CONFIG_H=1
preprocessor flags :
compiler flags : -O -pipe -target armv6--freebsd11.0-gnueabi -march=armv7-a -mcpu=cortex-a7 -mfloat-abi=softfp -mno-unaligned-access -mfloat-abi=softfp -fno-strict-aliasing
build static library : yes
build shared library : yes
enable i386 assembly code : no
. . .
===> Running self-tests for lzo2-2.09 (can take a few minutes)
cd /usr/obj/portswork/usr/ports/archivers/lzo2/work/lzo-2.09 && /usr/bin/env MALLOC_OPTIONS=jz make check test SHELL="/bin/sh -x"
make check-local
./lzotest/lzotest -mlzo -n2 -q ./COPYING
*** Signal 10
Stop.
make[3]: stopped in /usr/obj/portswork/usr/ports/archivers/lzo2/work/lzo-2.09
*** Error code 1
. . .
I have submitted Bug 207096 for this misalignment problem. It has some more supporting detail in its description.
===
Mark Millard
markmi at dsl-only.net
More information about the freebsd-arm
mailing list