Date: Thu, 11 Feb 2016 02:20:58 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 207096] archivers/lzo2: on arm cortex-a7, ./lzotest/lzotest -mlzo -n2 -q ./COPYING gets "Signal 10" and stops the build Message-ID: <bug-207096-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D207096 Bug ID: 207096 Summary: archivers/lzo2: on arm cortex-a7, ./lzotest/lzotest -mlzo -n2 -q ./COPYING gets "Signal 10" and stops the build Product: Ports & Packages Version: Latest Hardware: arm OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: mandree@FreeBSD.org Reporter: markmi@dsl-only.net Flags: maintainer-feedback?(mandree@FreeBSD.org) Assignee: mandree@FreeBSD.org [Context basics: projects/clang380-import -r295351 for buildworld/buildkern= el 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/powermaster 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-acce= ss -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 . . . (which stops the overall build). Stop reading the description here if you do not care about supporting detai= ls at this point. Other context details: # freebsd-version -ku; uname -aKU 11.0-CURRENT 11.0-CURRENT FreeBSD rpi2 11.0-CURRENT FreeBSD 11.0-CURRENT #14 r295351M: Sun Feb 7 03:23:24 PST 2016=20=20=20=20 markmi@FreeBSDx64:/usr/obj/clang/arm.armv6/usr/src/sys/RPI2-NODBG arm 1100= 097 1100097 # more /etc/make.conf=20 DEFAULT_VERSIONS+=3Dperl5=3D5.22 WRKDIRPREFIX=3D/usr/obj/portswork WITH_DEBUG_FILES=3D MALLOC_PRODUCTION=3D # TO_TYPE=3Darmv6 VERSION_CONTEXT=3D11.0 CFLAGS+=3D-target ${TO_TYPE}--freebsd${VERSION_CONTEXT}-gnueabi -march=3Dar= mv7-a -mcpu=3Dcortex-a7 -mfloat-abi=3Dsoftfp -mno-unaligned-access .if ${.MAKE.LEVEL} =3D=3D 0 CC=3D/usr/bin/clang CXX=3D/usr/bin/clang++ CPP=3D/usr/bin/clang-cpp .export CC .export CXX .export CPP .endif # gdb /usr/obj/portswork/usr/ports/archivers/lzo2/work/lzo-2.09/lzotest/.libs/lzo= test /var/crash/lzotest.90450.core=20 GNU gdb 6.1.1 [FreeBSD] . . . #0 _lzo_config_check () at src/lzo_init.c:117 117 r &=3D UA_GET_NE16(p) =3D=3D 0; (gdb) bt #0 _lzo_config_check () at src/lzo_init.c:117 #1 0x2007de68 in __lzo_init_v2 (v=3D8336, s1=3D2, s2=3D4, s3=3D4, s4=3D4, = s5=3D4, s6=3D4, s7=3D4, s8=3D4, s9=3D24) at src/lzo_init.c:226 #2 0x0000b958 in main (argc=3D5, argv=3D0xbfbfe928) at lzotest/lzotest.c:1= 916 For reference. . . (gdb) info reg r0 0xbfbfe581 -1077942911 . . . lr 0x2007d8b0 537385136 pc 0x2007d8b4 537385140 . . . 0x2007d8ac <_lzo_config_check+192>: bl 0x2007dc08 <u2p> 0x2007d8b0 <_lzo_config_check+196>: str r0, [r11, #-36] 0x2007d8b4 <_lzo_config_check+200>: ldrh r0, [r0] . . . u.a[0] =3D u.a[1] =3D 0; u.b[0] =3D 1; u.b[3] =3D 2; p =3D u2p(&u, 1); r &=3D UA_GET_NE16(p) =3D=3D 0; --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-207096-13>