From owner-freebsd-current@freebsd.org Thu Jan 19 05:58:22 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 1BDB3CB7D45 for ; Thu, 19 Jan 2017 05:58:22 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms-10.1blu.de (ms-10.1blu.de [178.254.4.101]) (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 C46961B1E for ; Thu, 19 Jan 2017 05:58:21 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from [88.217.96.17] (helo=localhost.unixarea.de) by ms-10.1blu.de with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.86_2) (envelope-from ) id 1cU5jm-0002MC-Dd for freebsd-current@freebsd.org; Thu, 19 Jan 2017 06:58:18 +0100 Received: from localhost.my.domain (c720-r292778-amd64 [127.0.0.1]) by localhost.unixarea.de (8.15.2/8.14.9) with ESMTPS id v0J5wHtm002428 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Thu, 19 Jan 2017 06:58:17 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.15.2/8.14.9/Submit) id v0J5wG7a002427 for freebsd-current@freebsd.org; Thu, 19 Jan 2017 06:58:16 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Thu, 19 Jan 2017 06:58:16 +0100 From: Matthias Apitz To: freebsd-current@freebsd.org Subject: Re: ISO image: where is the CLANG compiler? Message-ID: <20170119055816.GA2184@c720-r292778-amd64> Reply-To: Matthias Apitz Mail-Followup-To: Matthias Apitz , freebsd-current@freebsd.org 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> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Operating-System: FreeBSD 11.0-CURRENT r292778 (amd64) User-Agent: Mutt/1.5.24 (2015-08-30) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 88.217.96.17 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 05:58:22 -0000 El día Wednesday, January 18, 2017 a las 08:00:04PM -0500, Allan Jude escribió: > On 2017-01-18 14:37, O. Hartmann wrote: > > Am Wed, 18 Jan 2017 16:38:32 +0100 > > Matthias Apitz schrieb: > > > >> Why you do not just boot from USB some mem stick image, mount some disk > >> space to /mnt, svn checkout CURRENT to /mnt and build a booteable system > >> (world and kernel) and install to DESTDIR=/mnt ? > >> > >> I do not understand all this hassle? > >> > >> matthias > >> > > > > Wow! > > > > As I initially stated, that is EXACTLY what I was inclined to do except the fact that I > > had already an intact /usr/obj and usr/src with a complete compiled system. > > > > I booted from mem stick and I was lost due to no cc! > > > > 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 contain any clang. 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...' But, in your case the mem image really is lacking the cc/clang; I fetched the image an did: # 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 With this img alone, you can't compile a system :-( 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. matthias -- Matthias Apitz, ✉ guru@unixarea.de, ⌂ http://www.unixarea.de/ ☎ +49-176-38902045 "Wo ist der antiimperialistische Schutzwall, wenn man ihn braucht? US-Panzertransport durch ex-DDR" "Where is the anti-imperialistic wall, if it's needed? Transport of US-tanks through the ex-GDR" https://deutsch.rt.com/kurzclips/45282-us-panzertransporte-durch-ex-ddr/