Compilling CURRENT with libc++

David Wolfskill david at catwhisker.org
Thu Oct 25 11:51:35 UTC 2012


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 241801M: Sun Oct 21 06:53:46 PDT 2012     root at freebeast.catwhisker.org:/usr/obj/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=/etc/mail/client.mc


I used the follwoing in /etc/src.conf:

CC=clang
CXX=clang++
CPP=clang-cpp
WITH_LIBCPLUSPLUS=yes


I used a csh alias that expands to:

setenv TMPDIR /tmp && id && mount && cd /usr/src && uname -a && date && make -j4 buildworld && date && make -j4 buildkernel && date && make installkernel && 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 241994M: Wed Oct 24 07:14:45 PDT 2012     root at freebeast.catwhisker.org:/usr/obj/usr/src/sys/GENERIC  i386

Peace,
david
-- 
David H. Wolfskill				david at 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20121025/0e48789e/attachment.sig>


More information about the freebsd-current mailing list