Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Oct 2012 04:51:27 -0700
From:      David Wolfskill <david@catwhisker.org>
To:        Piotr Kubaj <freebsd.current.list@gmail.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Compilling CURRENT with libc++
Message-ID:  <20121025115127.GQ1609@albert.catwhisker.org>
In-Reply-To: <50892562.6040202@gmail.com>
References:  <50892562.6040202@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20121025115127.GQ1609>