From owner-freebsd-current@freebsd.org Thu Jan 19 09:17:00 2017 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 20A6DCB7C07 for ; Thu, 19 Jan 2017 09:17:00 +0000 (UTC) (envelope-from ohartmann@walstatt.org) Received: from mout.gmx.net (mout.gmx.net [212.227.17.21]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 90A3F1D6C for ; Thu, 19 Jan 2017 09:16:58 +0000 (UTC) (envelope-from ohartmann@walstatt.org) Received: from freyja.zeit4.iv.bundesimmobilien.de ([87.138.105.249]) by mail.gmx.com (mrgmx103 [212.227.17.168]) with ESMTPSA (Nemesis) id 0MU0U9-1cuv492d7Z-00QmVk; Thu, 19 Jan 2017 10:16:52 +0100 Date: Thu, 19 Jan 2017 10:16:46 +0100 From: "O. Hartmann" To: Matthias Apitz Cc: freebsd-current@freebsd.org Subject: Re: ISO image: where is the CLANG compiler? Message-ID: <20170119101636.5537f4fd@freyja.zeit4.iv.bundesimmobilien.de> In-Reply-To: <20170119055816.GA2184@c720-r292778-amd64> References: <20170118084502.617bfc94@freyja.zeit4.iv.bundesimmobilien.de> <20170118101915.523d7d7b@freyja.zeit4.iv.bundesimmobilien.de> <20170118123515.GE58505@zxy.spb.ru> <20170118160801.229b4134@freyja.zeit4.iv.bundesimmobilien.de> <20170118153832.GA6905@c720-r292778-amd64> <20170118203726.7dea0515@thor.intern.walstatt.dynvpn.de> <20170119055816.GA2184@c720-r292778-amd64> Organization: Walstatt X-Mailer: Claws Mail 3.14.1 (GTK+ 2.24.29; amd64-portbld-freebsd12.0) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Provags-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5a2ki+RzSqV3A4 nexk/Fo7efwLpORBFOzDggWQVPjjtz2Ehv4QHG3q/uEy3xypsdfIi/RxgWLodOk9Ry3rCRTTe 1SVybi51zc45KAtGYgxlE95hK5+1fj39KxhVDfCBP2ylS+FQkXr5dm/i014DOKk+6o2rgkuJx bC90FdHvRu9DGg9oQKoFnRK316IpnxDCH2mHSC1M4EW0W651G7tnGbtUH8pcIriH5X1hoe8gU 0xu2pzS49LkhKRKnVN6tPyHqTJYwiVDVHV4/CXEJJ/TmCfeqGM2wLCbqyyUMlGl0Pg== X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 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: Thu, 19 Jan 2017 09:17:00 -0000 On Thu, 19 Jan 2017 06:58:16 +0100 Matthias Apitz wrote: > El d=C3=ADa Wednesday, January 18, 2017 a las 08:00:04PM -0500, Allan Jude > escribi=C3=B3: >=20 > > On 2017-01-18 14:37, O. Hartmann wrote: =20 > > > Am Wed, 18 Jan 2017 16:38:32 +0100 > > > Matthias Apitz schrieb: > > > =20 > > >> Why you do not just boot from USB some mem stick image, mount some d= isk > > >> space to /mnt, svn checkout CURRENT to /mnt and build a booteable sy= stem > > >> (world and kernel) and install to DESTDIR=3D/mnt ? > > >> > > >> I do not understand all this hassle? > > >> > > >> matthias > > >> =20 > > >=20 > > > Wow! > > >=20 > > > As I initially stated, that is EXACTLY what I was inclined to do exce= pt > > > the fact that I had already an intact /usr/obj and usr/src with a > > > complete compiled system. > > >=20 > > > I booted from mem stick and I was lost due to no cc! > > >=20 > > > Even for "make installworld" it seems I have to rely on the compiler.= And > > > the images (ISO, memstick et cetera) provided these days do not conta= in > > > any clang. =20 >=20 > Yes, you will need it and it will complain about missing it, if for > example you moved 'obj and 'src' to other dirs after 'make build...' >=20 > But, in your case the mem image really is lacking the cc/clang; I > fetched the image an did: >=20 >=20 > # mdconfig -a -t vnode -u 1 -f > ~guru/Downloads/FreeBSD-11.0-RELEASE-amd64-memstick.img # mount -o > ro /dev/md1p3 /mnt # find /mnt -name clang > /mnt/usr/share/doc/llvm/clang > /mnt/usr/lib/clang > /mnt/usr/lib/debug/usr/lib/clang > # find /mnt -name cc > /mnt/usr/include/netinet/cc >=20 > With this img alone, you can't compile a system :-( >=20 > Setup a system from DVD and build your own image containing a complete > system on an USB key; with this boot your damaged system, recompile and > reinstall world and kernel. If you (O. Hartmann) need a step by step > guide, I could send it to you. >=20 > matthias >=20 Hello, thanks for your help offering! very kind. I've already solved the problem - not with the suggested process, but via copying missing libs and files from and identical intact source. After that= , I ran make buildword/buildkernel and was able to successfully install the new system. As I stated before: I already had a complete compiled world and kernel exis= ting in their proper, intact folders (usr/src and usr/obj). There was no need to compile a whole world. Intending to "make installworld" failed, this is the real problem, because = the ISO/memstick images provided lack obviously in the required infrastructure = and so these images are worthless for sophisticated rescue operations - or even such a simple ask as described initially in my posting. I created images on CURRENT of my own - they all lack in the ability of hav= ing the necessary tools aboard. So I consider every image useless for rescue operations except, maybe, the DVD image - but this one is not provided anym= ore. For what reason? Time? Accepted. Space/disk usage? Well, welcome back in the stoneage of computer technology ...=20 I remember faintly that there was a small discussion on the @CURRENT list, = but I didn't realize that the result would be the extraction of the compiler. Just for the record: most servers delivered to us do not have CD/DVD drives anymore - they are outdated and considered an extra these days. Purchasing = 1 GB USB thumbdrives is getting even harder, smallest size my employer provides = now is 2 GB. And most optical drives are DVD. From my point of view - and this = is a personal view - the "standard" is > 1GB so there is no need to break down by force the FreeBSD image (if size is the reason) down to < 800 MB or < 1 GB.= I'd consider having < 2GB the line of standards (2 GB USB mem drive). And for those, with need of very small images, smaller images could be prov= ided as the extra. Thank you very much, kind regards, Oliver