From owner-freebsd-current@FreeBSD.ORG Thu Oct 25 11:51:35 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6F86C990 for ; Thu, 25 Oct 2012 11:51:35 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from albert.catwhisker.org (m209-73.dsl.rawbw.com [198.144.209.73]) by mx1.freebsd.org (Postfix) with ESMTP id 248878FC12 for ; Thu, 25 Oct 2012 11:51:34 +0000 (UTC) Received: from albert.catwhisker.org (localhost [127.0.0.1]) by albert.catwhisker.org (8.14.5/8.14.5) with ESMTP id q9PBpRHF030902; Thu, 25 Oct 2012 04:51:27 -0700 (PDT) (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.14.5/8.14.5/Submit) id q9PBpRK2030901; Thu, 25 Oct 2012 04:51:27 -0700 (PDT) (envelope-from david) Date: Thu, 25 Oct 2012 04:51:27 -0700 From: David Wolfskill To: Piotr Kubaj Subject: Re: Compilling CURRENT with libc++ Message-ID: <20121025115127.GQ1609@albert.catwhisker.org> References: <50892562.6040202@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="pnwJnpr18esoRWH7" Content-Disposition: inline In-Reply-To: <50892562.6040202@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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, 25 Oct 2012 11:51:35 -0000 --pnwJnpr18esoRWH7 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Oct 25, 2012 at 01:41:22PM +0200, Piotr Kubaj wrote: > Is it actually possible? I've used clang before for compiling world, but > when I try to use libc++, it fails with several errors. It's a quite > recent revision, with the newest libc++ MFV. > .... My build machine, yesterday morning, was running: FreeBSD freebeast.catwhisker.org 10.0-CURRENT FreeBSD 10.0-CURRENT #964 241= 801M: Sun Oct 21 06:53:46 PDT 2012 root@freebeast.catwhisker.org:/usr/o= bj/usr/src/sys/GENERIC i386 I updated its /usr/src to: Path: /usr/src Working Copy Root Path: /usr/src URL: file:///svn/freebsd/src/base/head Repository Root: file:///svn/freebsd/src/base Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f Revision: 241994 Node Kind: directory Schedule: normal Last Changed Author: hselasky Last Changed Rev: 241988 Last Changed Date: 2012-10-24 01:00:01 -0700 (Wed, 24 Oct 2012) I used the following in /etc/make.conf: SENDMAIL_MC=3D/etc/mail/client.mc I used the follwoing in /etc/src.conf: CC=3Dclang CXX=3Dclang++ CPP=3Dclang-cpp WITH_LIBCPLUSPLUS=3Dyes I used a csh alias that expands to: setenv TMPDIR /tmp && id && mount && cd /usr/src && uname -a && date && mak= e -j4 buildworld && date && make -j4 buildkernel && date && make installker= nel && date && mergemaster -U -u 0022 -p && date && rm -fr /usr/include.old= && date && mv /usr/include{,.old} && date && rm -fr /usr/share/man && date= && make installworld && date && make delete-old && date && mergemaster -F = -U -u 0022 -i && date && df -k to perform a source upgrade; following a reboot, "uname -a" reports: FreeBSD freebeast.catwhisker.org 10.0-CURRENT FreeBSD 10.0-CURRENT #965 241= 994M: Wed Oct 24 07:14:45 PDT 2012 root@freebeast.catwhisker.org:/usr/o= bj/usr/src/sys/GENERIC i386 Peace, david --=20 David H. Wolfskill david@catwhisker.org Taliban: Evil men with guns afraid of truth from a 14-year old girl. See http://www.catwhisker.org/~david/publickey.gpg for my public key. --pnwJnpr18esoRWH7 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlCJJ78ACgkQmprOCmdXAD1AaACfb4WENbVvhmsgQOMGpHIXSpBD RhkAmwX1VhnBUbPAjE38E7HccdH9wII8 =M9DJ -----END PGP SIGNATURE----- --pnwJnpr18esoRWH7--