From owner-freebsd-current@freebsd.org Mon Jun 20 08:15:32 2016 Return-Path: Delivered-To: freebsd-current@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 94A50A7B6C9 for ; Mon, 20 Jun 2016 08:15:32 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-211-154.reflexion.net [208.70.211.154]) (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 3D3C72B7A for ; Mon, 20 Jun 2016 08:15:31 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 1413 invoked from network); 20 Jun 2016 08:15:31 -0000 Received: from unknown (HELO mail-cs-02.app.dca.reflexion.local) (10.81.19.2) by 0 (rfx-qmail) with SMTP; 20 Jun 2016 08:15:31 -0000 Received: by mail-cs-02.app.dca.reflexion.local (Reflexion email security v7.90.3) with SMTP; Mon, 20 Jun 2016 04:15:26 -0400 (EDT) Received: (qmail 32751 invoked from network); 20 Jun 2016 08:15:25 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with (AES256-SHA encrypted) SMTP; 20 Jun 2016 08:15:25 -0000 X-No-Relay: not in my network X-No-Relay: not in my network Received: from [192.168.0.105] (ip70-189-131-151.lv.lv.cox.net [70.189.131.151]) by iron2.pdx.net (Postfix) with ESMTPSA id E2A1CB1E001; Mon, 20 Jun 2016 01:15:27 -0700 (PDT) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: FYI: how long for a "nothing new" 11.0 -r301975 WITH_META_MODE=yes build on an rpi2? Message-Id: Date: Mon, 20 Jun 2016 01:15:27 -0700 To: freebsd-arm , FreeBSD Current Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) X-Mailer: Apple Mail (2.3124) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Jun 2016 08:15:32 -0000 [One oddity of the rpi2 context for the below is that the root file = system is on a fast USB SSD drive: it is really a fast USB 3.0 SSD drive = just used on the USB 2 bus via a USB 3.0 capable hub.] I just did the following sort of sequence on an rpi2 for 11.0 -r301975 = rebuilding itself where the .sh script used indicates to use = WITH_META_MODE=3Dyes for the make command : > # = ~/sys_build_scripts.rpi2-host/make_rpi2_nodebug_clang_bootstrap-rpi2-host.= sh -j 5 buildworld buildkernel > # = ~/sys_build_scripts.rpi2-host/make_rpi2_nodebug_clang_bootstrap-rpi2-host.= sh -j 5 buildworld buildkernel (Also the .sh runs script to log all the make output. The first build = was actually more involved than shown above, see later notes.) The 2nd one took about 15 or 16 minutes to go through everything and, in = essence, discover that nothing needed to be rebuilt. This was (still) = using WITH_LIBSOFT=3D in the src.conf file. Also: WITH_CLANG_FULL=3D = WITH_CLANG_EXTRAS=3D WITH_LLDB=3D were in use. . . > # more ~/src.configs/src.conf.rpi2-clang-bootstrap.rpi2-host=20 > TO_TYPE=3Darmv6 > # > KERNCONF=3DRPI2-NODBG > TARGET=3Darm > .if ${.MAKE.LEVEL} =3D=3D 0 > TARGET_ARCH=3D${TO_TYPE} > .export TARGET_ARCH > .endif > # > #WITH_CROSS_COMPILER=3D > WITH_SYSTEM_COMPILER=3D > # > #CPUTYPE=3Dsoft > WITH_LIBSOFT=3D > WITH_LIBCPLUSPLUS=3D > WITH_BINUTILS_BOOTSTRAP=3D > #WITHOUT_CLANG_BOOTSTRAP=3D > WITH_CLANG=3D > WITH_CLANG_IS_CC=3D > WITH_CLANG_FULL=3D > WITH_CLANG_EXTRAS=3D > WITH_LLDB=3D > # > WITH_BOOT=3D > WITHOUT_LIB32=3D > # > WITHOUT_ELFTOOLCHAIN_BOOTSTRAP=3D > WITHOUT_GCC_BOOTSTRAP=3D > WITHOUT_GCC=3D > WITHOUT_GCC_IS_CC=3D > WITHOUT_GNUCXX=3D > # > NO_WERROR=3D > #WERROR=3D > MALLOC_PRODUCTION=3D > # > WITH_DEBUG_FILES=3D > # > XCFLAGS+=3D -march=3Darmv7-a -mcpu=3Dcortex-a7 > XCXXFLAGS+=3D -march=3Darmv7-a -mcpu=3Dcortex-a7 > # There is no XCPPFLAGS but XCPP ets XCFLAGS content. ~/src.configs/make.conf was empty. Other notes: I've not had any problems with WITH_META_MODE=3Dyes use for the self = hosting 11.0 -r301975 rpi2 builds. Going from not using WITH_META_MODE=3Dyes to using WITH_META_MODE=3Dyes = in the self-hosting context did not require a cleanworld between the = builds. (Cross build transitions in that direction do require such = still.) I do not report the WITH_META_MODE=3Dyes build time for the first time = because I actually did more. I: A) forced a root file system I/O failure/panic (during what happened to be libxo building) B) then started WITH_META_MODE=3Dyes again (after booting) C) let it run until the incomplete file(s) from the failure caused it to = stop D) did a make clean for libxo E) then started WITH_META_MODE=3Dyes yet again F) let it run to completion The WITH_META_MODE=3Dyes use appears to have worked just fine despite = the abusive nature of the test. I will report that not using WITH_META_MODE=3Dyes took between 15 hr and = 16 hr (no such odd testing sequence involved). =3D=3D=3D Mark Millard markmi at dsl-only.net