From owner-freebsd-arm@freebsd.org Mon Jul 23 19:42:53 2018 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CEC3810536B8 for ; Mon, 23 Jul 2018 19:42:52 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic309-14.consmr.mail.bf2.yahoo.com (sonic309-14.consmr.mail.bf2.yahoo.com [74.6.129.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4C1E28BC41 for ; Mon, 23 Jul 2018 19:42:52 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: TNVtgaAVM1mO3ge_JdzFTLU5vfyAL4BSNf9RrFghOneKzVHM7szPwL.6PVr8dTG SqgWO.wZCxbPc0UElY5KpGsAkH_8n4deiW6Xl.OvKkzjP08giYz7V1patjBDglDsIAJVVrUmpAhu gE1NyRwPpT424MqrJdXJldQ4da1Vx1br2QH3h4jfZbvzWOJokx1wHtyNKeNmcAPL7mkAjr8iS5E_ bkDaLmNrOqaj3j808UTt0vtCrRtZlz_lzCmF9Ulyhi60snCrHCl0si0dl4sIIQD154PjXFbu8A0B kRjkfGbd3T47YXO5EyPHco6ylhAqT6Nu9673QlsbqJq4vVwF8hoEo4uezm7XZ3PKuYWp9zorZGeS NicXHVHcq8JmCauU5pg3SCAyARDlixl6IWMVDuxAKQ3PXq.reoGu0ldCczxYjcgp.E8DJc9_EaGN 7elaS1aF21d..05.FzwTs.wsfu7FKLhvhOsIDruEU6f8wRei.Mqxgb7Y9nEZ8I9vKOe0r4w9nw.9 fzzGRYxO5BgFVM4h3RfZUowwGBZi1M1dmg3G6Io4jWD04IhjMnPpYRsDlqyidUE_iVTT3H3xlmDJ x6MKbap9QDCL7EVAiTdBBdG_eI6UWFgVZHgTJ1J1lCXJBHXZlZgdHYBeZYK5fdP00QGI_f_T_AN8 0qEtdMahroRdxNMKztT5XUV2M39S1kVZPD5wk_i03DQiceQCC9IwyGEzEjxZBafgrkJZA8bHYmHS Eu4cOCYbk5b95P6lkzWZyGE2Pv4hxC_10y.Up_YEBdzVOBaPuHCHunnryJO.oM5qdWhpmJnZJTEY 2RjQDBrlLY7DYDgneavx9isWpDy6TElp3_sCEuhVtt2ps6Qbs0T1m0ttCnhJL1MPSxwrkzgAZfQg I0gxyLNnqwg2IEafd9gVRIhXQ4bKfCFiNhg8YJ3.tjm6.SW7izXqW5XC9P6mrU2qfP3jMGKM9_80 AHexS.j8Lytt3e6fGYWeXQTjwuMU4QpooWID5wdHPUPBOhRLhdN25bVLWIFHN4uJRl.MRaSEUbM5 lyMtmeDXoFA-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic309.consmr.mail.bf2.yahoo.com with HTTP; Mon, 23 Jul 2018 19:42:45 +0000 Received: from ip70-189-131-151.lv.lv.cox.net (EHLO [192.168.0.105]) ([70.189.131.151]) by smtp413.mail.bf1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 93008fd70d1c0c00c172c8400c29bef1; Mon, 23 Jul 2018 19:42:42 +0000 (UTC) From: Mark Millard Message-Id: <76BCFCB9-1071-4557-9FDE-017444ADBF42@yahoo.com> Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) Subject: Re: RPI3 swap experiments Date: Mon, 23 Jul 2018 12:42:39 -0700 In-Reply-To: <20180723190257.GA47869@www.zefox.net> Cc: Trev , freebsd-arm@freebsd.org To: bob prohaska References: <20180630005145.GA43801@www.zefox.net> <6f3406e2-71f3-d0c2-2b65-703e1a1d3c25@sentry.org> <8e92b2b7-da61-3efb-7231-9fac76b2c1d4@sentry.org> <2deaaec3-f78f-0b09-5ca7-27e14c6979f9@sentry.org> <20180723063526.GA45726@www.zefox.net> <20180723155311.GB45726@www.zefox.net> <4ED9B658-A5A8-4BA6-9412-EBB7150B4B66@yahoo.com> <20180723190257.GA47869@www.zefox.net> X-Mailer: Apple Mail (2.3445.9.1) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jul 2018 19:42:53 -0000 On 2018-Jul-23, at 12:02 PM, bob prohaska wrote: > . . . > Here's a point I find confusing: What is the purpose of cross tools = when the build > is self-hosted? Is "cross-tools" a component of bootstrap tools?=20 When clang is updated, using the existing system clang need not be sufficient. Imagine an extreme case: the jump from clang 5 to clang 6 as the system compiler. clang 6 should be built and used to make the new version of FreeBSD. (Think of other llvm toolchain items than clang as well.) Lesser updates can end up with a similar status. Another context is, say, some 11.x building to update to a 12.x . The temporary bootstrap compiler/toolchain is a form of "self hosted cross-tools". (The "cross" aspect does not involve cpu architecture but other context differences.) (Of course there are FreeBSD architectures that still can not use clang or the related system-llvm tool chain.) Of: -------------------------------------------------------------- >>> stage 1.2: bootstrap tools -------------------------------------------------------------- . . . -------------------------------------------------------------- >>> stage 2.3: build tools -------------------------------------------------------------- . . . -------------------------------------------------------------- >>> stage 3: cross tools -------------------------------------------------------------- it is stage 3 that has the likes of, for example, --- cross-tools --- =3D=3D=3D> lib/clang (obj,all,install) --- all_subdir_lib/clang/libllvm --- =3D=3D=3D> lib/clang/libllvm (all) --- all_subdir_lib/clang/libclang --- =3D=3D=3D> lib/clang/libclang (all) --- all_subdir_lib/clang/headers --- =3D=3D=3D> lib/clang/headers (all) --- realinstall_subdir_lib/clang/libllvm --- =3D=3D=3D> lib/clang/libllvm (install) --- realinstall_subdir_lib/clang/libclang --- =3D=3D=3D> lib/clang/libclang (install) --- realinstall_subdir_lib/clang/headers --- =3D=3D=3D> lib/clang/headers (install) clang 5 would build clang 6 in my example. Then clang 6 would be used to build FreeBSD. =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)