From owner-freebsd-toolchain@freebsd.org Tue Aug 29 21:35:24 2017 Return-Path: Delivered-To: freebsd-toolchain@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 83FCDDE64CA for ; Tue, 29 Aug 2017 21:35:24 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-210-93.reflexion.net [208.70.210.93]) (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 39EAA720DA for ; Tue, 29 Aug 2017 21:35:23 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 25889 invoked from network); 29 Aug 2017 21:35:22 -0000 Received: from unknown (HELO rtc-sm-01.app.dca.reflexion.local) (10.81.150.1) by 0 (rfx-qmail) with SMTP; 29 Aug 2017 21:35:22 -0000 Received: by rtc-sm-01.app.dca.reflexion.local (Reflexion email security v8.40.2) with SMTP; Tue, 29 Aug 2017 17:35:22 -0400 (EDT) Received: (qmail 16716 invoked from network); 29 Aug 2017 21:35:22 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with (AES256-SHA encrypted) SMTP; 29 Aug 2017 21:35:22 -0000 Received: from [192.168.1.109] (c-67-170-167-181.hsd1.or.comcast.net [67.170.167.181]) by iron2.pdx.net (Postfix) with ESMTPSA id 61871EC93AB; Tue, 29 Aug 2017 14:35:21 -0700 (PDT) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: poudriere's -x (build_native_tools) vs. use of "-m null" : how to enable it Message-Id: <9B2F4539-AAA9-45EB-AC92-F47E9CAA21FF@dsl-only.net> Date: Tue, 29 Aug 2017 14:35:20 -0700 To: Bryan Drewery , FreeBSD Toolchain X-Mailer: Apple Mail (2.3273) X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Aug 2017 21:35:24 -0000 In a command command such as: poudriere jail -c -j zrFBSDx64SLppc64 -a powerpc.powerpc64 -x -m null -M = /usr/obj/DESTDIRs/clang-powerpc64-altbinutils-installworld-dist-from-src = -S /usr/src/ -v 11.1-STABLE the -x is silently ignored. I added the "build_native_xtools" into the /usr/local/share/poudriere/jail.sh code to have it contain: null) JAILFS=3Dnone FCT=3Dbuild_native_xtools ;; in order to avoid this. A similar "jail -c" for "-j zrFBSDx64SLarmv7 -a arm.armv6" (and -M /usr/obj/DESTDIRs/clang-armv7-installworld-dist-from-src=20 in my context) and the later bulk build for it seems to be working fine for building lang/gcc7 (as a test). So far: [00:00:16] [01] [00:00:00] Building ports-mgmt/pkg | pkg-1.10.1 [00:01:02] [01] [00:00:46] Finished ports-mgmt/pkg | pkg-1.10.1: Success [00:01:03] [01] [00:00:00] Building print/indexinfo | indexinfo-0.2.6 [00:01:03] [02] [00:00:00] Building lang/perl5.24 | perl5-5.24.2 [00:01:06] [01] [00:00:03] Finished print/indexinfo | indexinfo-0.2.6: = Success [00:01:06] [01] [00:00:00] Building devel/gettext-runtime | = gettext-runtime-0.19.8.1_1 [00:01:35] [01] [00:00:29] Finished devel/gettext-runtime | = gettext-runtime-0.19.8.1_1: Success [00:01:35] [01] [00:00:00] Building devel/gettext-tools | = gettext-tools-0.19.8.1 ^C[00:03:18] Error: Signal SIGINT caught, cleaning up and exiting [00:03:18] Cleaning up [00:00:10] [01] [00:00:00] Building devel/gettext-tools | = gettext-tools-0.19.8.1 [00:00:10] [02] [00:00:00] Building lang/perl5.24 | perl5-5.24.2 [00:02:12] [01] [00:02:02] Finished devel/gettext-tools | = gettext-tools-0.19.8.1: Success [00:02:13] [01] [00:00:00] Building devel/gmake | gmake-4.2.1_1 [00:02:54] [01] [00:00:41] Finished devel/gmake | gmake-4.2.1_1: Success [00:12:44] [02] [00:12:34] Finished lang/perl5.24 | perl5-5.24.2: = Success [00:12:44] [01] [00:00:00] Building devel/p5-Locale-gettext | = p5-Locale-gettext-1.07 [00:13:13] [01] [00:00:29] Finished devel/p5-Locale-gettext | = p5-Locale-gettext-1.07: Success [00:13:14] [01] [00:00:00] Building misc/help2man | help2man-1.47.4 [00:13:37] [01] [00:00:23] Finished misc/help2man | help2man-1.47.4: = Success [00:13:37] [01] [00:00:00] Building print/texinfo | texinfo-6.4_1,1 ^C[00:14:43] Error: Signal SIGINT caught, cleaning up and exiting [00:14:43] Cleaning up [00:00:17] [01] [00:00:00] Building print/texinfo | texinfo-6.4_1,1 [00:03:03] [01] [00:02:46] Finished print/texinfo | texinfo-6.4_1,1: = Success [00:03:03] [01] [00:00:00] Building math/gmp | gmp-6.1.2 [00:03:03] [02] [00:00:00] Building devel/m4 | m4-1.4.18,1 [00:04:02] [02] [00:00:59] Finished devel/m4 | m4-1.4.18,1: Success [00:04:03] [02] [00:00:00] Building devel/bison | bison-3.0.4,1 [00:04:28] [01] [00:01:25] Finished math/gmp | gmp-6.1.2: Success [00:04:28] [01] [00:00:00] Building math/mpfr | mpfr-3.1.5_1 [00:04:45] [02] [00:00:42] Finished devel/bison | bison-3.0.4,1: Success [00:04:48] [01] [00:00:20] Finished math/mpfr | mpfr-3.1.5_1: Success [00:04:48] [01] [00:00:00] Building devel/binutils | binutils-2.28,1 [00:04:48] [02] [00:00:00] Building math/mpc | mpc-1.0.3 [00:05:00] [02] [00:00:12] Finished math/mpc | mpc-1.0.3: Success [00:20:29] [01] [00:15:41] Finished devel/binutils | binutils-2.28,1: = Success [00:20:30] [01] [00:00:00] Building lang/gcc7 | gcc7-7.2.0 So I expect that the change is appropriate. [Unfortunately qemu-ppc64-static seems to not work: the qemu-ppc64-static process just sits and eats CPU time with increasing SIZE when qemu-ppc64-static is put to use via poudriere. This blocks progress.] =3D=3D=3D Mark Millard markmi at dsl-only.net