Self-hosting clang; building DragonFly with it too

clang, which many people look to as a gcc replacement, is now able to build itself.  (Thanks John Marino for the heads-up, some time ago)  It can also build world and kernel on DragonFly, going on the work of Sascha Wildner!

Using the pkgsrc package,  put

clang_CC=/usr/pkg/bin/clang

in /etc/compilers.conf and then set $CCVER to “clang” when building:

env WORLD_CCVER=clang make -DNO_GCC44 buildworld

I haven’t tried this, so any errors in description are mine, not Sascha’s – can someone verify? I don’t have a test system to run it on right now.

Edit: see Sascha’s comment for the definitive method.

Summer of Code mentors wanted

(reproduced from my email to users@/kernel@)

The application period for Google Summer of Code 2010 starts in about a
week. We were able to enter in 2008 and 2009, so I’m optimistic that we
will get in for 2010 too.

Saying “I’m willing to mentor” doesn’t force you to commit yet; you don’t
have to work with a student on a project you don’t find interesting.
However, mentoring is a multi-week commitment to support a student who may
or may not have the best planning skills – please be ready to help.

I need to know soon how many potential mentors we have since we have to
ask for a given number of slots from Google as part of the application
process.  If you are interested in mentoring, speak up here or by email, please. If
there’s a particular project on the GSoC 2010 page that looks interesting,
put your name by it.

http://www.dragonflybsd.org/docs/developer/gsoc2010/

32 to 64-bit Hammer mirroring fixed

Michael Neumann has fixed the ability to stream Hammer data between 32 and 64 bit systems.  However, this is a change to 64-bit systems that requires them to match; make sure that you are not mixing 64-bit systems built before and after this commit on the 21st.

I can’t find the commit message in the mail archive, so I’ll quote it here:

Continue reading “32 to 64-bit Hammer mirroring fixed”