Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Feb 2016 18:35:14 -0800
From:      Mark Millard <markmi@dsl-only.net>
To:        freebsd-arm <freebsd-arm@freebsd.org>
Subject:   archivers/lzo2 on arm cortex-a7 (rpi2b) : ./lzotest/lzotest -mlzo -n2 -q ./COPYING gets "Signal 10" and stops the build
Message-ID:  <549E3A9E-302B-4412-B7FE-650E3986EFAD@dsl-only.net>

next in thread | raw e-mail | index | archive | help
[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]=3D=3D1 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=3D1
   preprocessor flags         :=20
   compiler flags             : -O -pipe -target =
armv6--freebsd11.0-gnueabi -march=3Darmv7-a -mcpu=3Dcortex-a7 =
-mfloat-abi=3Dsoftfp -mno-unaligned-access -mfloat-abi=3Dsoftfp  =
-fno-strict-aliasing
   build static library       : yes
   build shared library       : yes
   enable i386 assembly code  : no
. . .
=3D=3D=3D>  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=3Djz make check test SHELL=3D"/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.


=3D=3D=3D
Mark Millard
markmi at dsl-only.net




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?549E3A9E-302B-4412-B7FE-650E3986EFAD>