From owner-freebsd-arm@freebsd.org Thu Feb 11 02:35:24 2016 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C1C6FAA4351 for ; Thu, 11 Feb 2016 02:35:24 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-210-1.reflexion.net [208.70.210.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 782B11206 for ; Thu, 11 Feb 2016 02:35:23 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 11235 invoked from network); 11 Feb 2016 02:35:14 -0000 Received: from unknown (HELO rtc-sm-01.app.dca.reflexion.local) (10.81.150.1) by 0 (rfx-qmail) with SMTP; 11 Feb 2016 02:35:14 -0000 Received: by rtc-sm-01.app.dca.reflexion.local (Reflexion email security v7.80.0) with SMTP; Wed, 10 Feb 2016 21:35:19 -0500 (EST) Received: (qmail 4450 invoked from network); 11 Feb 2016 02:35:18 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with SMTP; 11 Feb 2016 02:35:18 -0000 X-No-Relay: not in my network Received: from [192.168.1.8] (c-76-115-7-162.hsd1.or.comcast.net [76.115.7.162]) by iron2.pdx.net (Postfix) with ESMTPSA id 3154A1C43B3 for ; Wed, 10 Feb 2016 18:35:10 -0800 (PST) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable 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> Date: Wed, 10 Feb 2016 18:35:14 -0800 To: freebsd-arm Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) X-Mailer: Apple Mail (2.2104) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Feb 2016 02:35:24 -0000 [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