From owner-freebsd-arm@freebsd.org Sun Dec 31 00:15:06 2017 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 75F4AEB3FB7 for ; Sun, 31 Dec 2017 00:15:06 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-210-135.reflexion.net [208.70.210.135]) (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 3478A74816 for ; Sun, 31 Dec 2017 00:15:05 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 27172 invoked from network); 31 Dec 2017 00:08:18 -0000 Received: from unknown (HELO mail-cs-01.app.dca.reflexion.local) (10.81.19.1) by 0 (rfx-qmail) with SMTP; 31 Dec 2017 00:08:18 -0000 Received: by mail-cs-01.app.dca.reflexion.local (Reflexion email security v8.40.3) with SMTP; Sat, 30 Dec 2017 19:08:18 -0500 (EST) Received: (qmail 6442 invoked from network); 31 Dec 2017 00:08:18 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with (AES256-SHA encrypted) SMTP; 31 Dec 2017 00:08:18 -0000 Received: from [192.168.1.25] (c-76-115-7-162.hsd1.or.comcast.net [76.115.7.162]) by iron2.pdx.net (Postfix) with ESMTPSA id 6B8C6EC9265; Sat, 30 Dec 2017 16:08:17 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: armv7 cross-build of port: devel/libunistring stuck in configure for over an hour: ***MEMORY-ERROR***: [27504]: GSlice: failed to allocate 496 bytes (alignment: 512): Cannot allocate memory From: Mark Millard In-Reply-To: Date: Sat, 30 Dec 2017 16:08:16 -0800 Cc: Freebsd-arm , FreeBSD Ports Content-Transfer-Encoding: quoted-printable Message-Id: References: To: Sean Bruno X-Mailer: Apple Mail (2.3273) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 Dec 2017 00:15:06 -0000 [top shows /usr/local/bin/qemu-arm-static is stuck in uwait.] On 2017-Dec-30, at 3:15 PM, Mark Millard wrote: > = /usr/local/poudriere/data/.m/FBSDFSSDjailArmV7-default/06/wrkdirs/usr/port= s/devel/libunistring/work/libunistring-0.9.8/config.log >=20 > shows: >=20 > configure:25883: checking whether printf survives out-of-memory = conditions > configure:26055: /nxb-bin/usr/bin/cc -o conftest -O2 -pipe = -mcpu=3Dcortex-a7 -DLIBICONV_PLUG -g -fno-strict-aliasing = -mcpu=3Dcortex-a7 -DLIBICONV_PLUG -D_THREAD_SAFE conftest.c >&5 > configure:26058: $? =3D 0 >=20 > ***MEMORY-ERROR***: [27504]: GSlice: failed to allocate 496 bytes = (alignment: 512): Cannot allocate memory >=20 >=20 >=20 > And there is no more to the tail of the config.log file: it does not = grow. >=20 > # ls -lTdt = /usr/local/poudriere/data/.m/FBSDFSSDjailArmV7-default/06/wrkdirs/usr/port= s/devel/libunistring/work/libunistring-0.9.8/* > -rw-r--r-- 1 root wheel 130860 Dec 30 14:51:04 2017 = /usr/local/poudriere/data/.m/FBSDFSSDjailArmV7-default/06/wrkdirs/usr/port= s/devel/libunistring/work/libunistring-0.9.8/config.log > . . . >=20 >=20 > It has been sitting like this for well over an hour: >=20 > [06]: devel/libunistring | libunistring-0.9.8 configure (01:35:18)=20 >=20 >=20 >=20 > # uname -apKU > FreeBSD FBSDFSSD 12.0-CURRENT FreeBSD 12.0-CURRENT r327364M amd64 = amd64 1200054 1200054 >=20 >=20 > # svnlite info /usr/ports/ | grep "Re[plv]" > Relative URL: ^/head > Repository Root: svn://svn.freebsd.org/ports > Repository UUID: 35697150-7ecd-e111-bb59-0022644237b5 > Revision: 457579 > Last Changed Rev: 457579 top indicates that it is /usr/local/bin/qemu-arm-static that is stuck (in uwait), a range of the "top -Cawopid" output shows: 27504 root 2 52 0 87228K 9324K 0K uwait 22 0:00 = 0.00% /usr/local/bin/qemu-arm-static ./conftest 27499 root 1 52 0 11260K 2540K 0K wait 10 0:00 = 0.00% /bin/sh ./configure --disable-static --prefix=3D/usr/local = --localstatedir=3D/var --mandir=3D/usr/local/man --disable-silent- 9769 root 1 52 0 11260K 2544K 0K wait 22 0:01 = 0.00% /bin/sh ./configure --disable-static --prefix=3D/usr/local = --localstatedir=3D/var --mandir=3D/usr/local/man --disable-silent- 8294 root 1 52 0 10224K 1772K 0K wait 13 0:00 = 0.00% [sh] 7730 root 1 20 0 10296K 1712K 0K wait 1 0:00 = 0.00% /usr/bin/make -C /usr/ports/devel/libunistring configure 7729 root 1 52 0 12944K 3552K 0K wait 5 0:00 = 0.00% sh: poudriere[FBSDFSSDjailArmV7-default][06]: build_pkg = (libunistring-0.9.8) (sh) 99854 root 1 20 0 12944K 3560K 0K select 0 0:00 = 0.00% sh: poudriere[FBSDFSSDjailArmV7-default][06]: build_pkg = (libunistring-0.9.8) (sh) 99817 root 1 27 0 12944K 3548K 0K piperd 17 0:03 = 0.00% sh -e /usr/local/share/poudriere/bulk.sh -jFBSDFSSDjailArmV7 -w = -f /root/armv7-origins.txt 74826 root 1 52 0 12944K 3512K 0K nanslp 26 1:39 = 0.53% sh -e /usr/local/share/poudriere/bulk.sh -jFBSDFSSDjailArmV7 -w = -f /root/armv7-origins.txt 74601 root 1 52 0 12728K 3608K 0K select 19 0:12 = 0.00% sh -e /usr/local/share/poudriere/bulk.sh -jFBSDFSSDjailArmV7 -w = -f /root/armv7-origins.txt (This was after letting it get to the point that only the libunistring poudriere job was being run.) Apparently, "checking whether printf survives out-of-memory conditions" and qemu-arm-static to not mix well. =3D=3D=3D Mark Millard markmi at dsl-only.net