Using gcc 4.7 and pkgsrc

If you were thinking you wanted to try gcc 4.7 with pkgsrc, John Marino’s described the option you need to set.  It only works in pkgsrc-master  right now (because of changes John made), and not every package in pkgsrc will build.

The advantage is that it’s also possible, with the same syntax, to set pkgsrc to build with gcc 4.4.  This means the default compiler in DragonFly can be changed to gcc 4.7 and pkgsrc packages that aren’t compatible can still be built.

Update: Check this minor change: ‘?=’ instead of ‘=’.

How to grind that axe, for donations

Whomever submitted this story to Slashdot really doesn’t like FreeBSD; they’re describing FreeBSD’s annual end-of-year fund drive as failed.  The month-long drive is only about a week old and has already picked up donations at a faster rate than any previous year’s donation drive, but apparently the poster – and Slashdot’s editors – can’t be bothered to do math.  While we’re on the topic, donate to the FreeBSD Foundation; they do good things.

(There’s DragonFly too, though we’re not as ambitious or officially 501(c)(3) non-profit.)

Another set of benchmarks

There’s more benchmarks for DragonFly vs. other systems on Phoronix.  It has the same problem as previous benchmarks; some of the benchmarks may have no connection to reality (what does the “Himeno Poisson Pressure Solver” actually test?), and almost every system has a different version of the gcc compiler.  So it’s meaningless in terms of comparative or absolute performance.  On the other hand, DragonFly doesn’t do badly.

You can also look at the comments to see someone absolutely freak out over the very existence of things that aren’t Linux.  I’m not sure if it’s actually trolling, since the comments are so exactly wrong.

Holiday Buying Guide

Shopping!  This is the big holiday shopping weekend in the US, and I usually put together something here.

If you have suggestions, please comment!

Clang-Day today for FreeBSD

Today is the day that FreeBSD moves to using clang by default.  This is not necessarily a surprise, but I like the finality of calling it “Clang-Day”.   I think Clang will probably be the next compiler brought into DragonFly’s base system, instead of the next release of gcc.  Don’t make any bets on my statement, though, cause I certainly won’t be the one doing it.  (It’s hard.)

If we only had the spiffy name…

I mentioned this before in the Lazy Reading from last Sunday, but it’s worth a second look: Apple’s new Fusion Drive product appears to be very much like DragonFly’s swapcache.  DragonFly doesn’t have exclusive right to the idea of caching on a faster disk, clearly, so I’m not complaining that it’s “ours”.  It’s frustrating to see product announcement/press releases stumbling all over this like it’s a new thing.

Then again, having new ideas about technology ideas and making sure they spread is one of the points of the BSD license, so perhaps there’s no good reason to complain at all.

(Before anyone reads too much into this: No, I don’t know of any direct relationship between swapcache and Fusion Drive; they may have no common background other than structure.)

From make to bmake

John Marino is working on a very good idea: bringing bmake into DragonFly as a replacement for the current ‘make’.  bmake is going through more active development and apparently also in use/will be used? on FreeBSD, so syncing up with the same make flavor as FreeBSD and NetBSD will help everyone.  It’ll also remove the problem where you ‘make’ everything in DragonFly, except pkgsrc packages which you ‘bmake’.  It’s not changed over yet.

(What does OpenBSD use for make?)