A person labeled only as ‘wicked’ sent me a link to this conversation about BSD unification. I’ve seen the topic brought up before, and I’d argue that it’s already happening, slowly. DragonFly has code brought in from FreeBSD, pkgsrc from NetBSD, pf and dhclient from OpenBSD, etc. ’bmake’ is used in NetBSD, FreeBSD, and DragonFly [...]
Results for clang
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 [...]
Lazy Reading for 2012/09/09
Whee! deadweight, “Find unused CSS selectors by scraping your HTML”. I’ve needed something like this for years. (via) The same sort of thing for pkgsrc: pkg_leaves. Worth running at least yearly, or at least before any significant pkgsrc upgrade. There’s no point in updating a package you don’t use or need. GNU Coreutils cheat sheet, [...]
gcc47 means gcc-aux for you
John Marino has added a ‘gcc47′ compiler ccvar, so you can build world and kernel with it. ’It’ is actually gcc-aux, since it seems to work better than the basic (“vanilla”?) gcc47. You also get Ada support, though that wasn’t the driving reason to pick it. This is brand new so don’t try it unless [...]
pkgsrc-2012Q2 released
The release announcement for pkgsrc-2012Q2 is out. New in this quarterly release: statistics about clang and pkgsrc. A surprisingly large number of packages build just fine with clang instead of gcc.
Lazy Reading for 2012/06/10
I got to use the ‘roguelike’ tag again this week, which always makes me happy. Surprisingly, it’s not about… that roguelike. RSA encryption explained. (via) Someone from Google went to BSDCan 2012 and blogged about it. The takeaways are interesting, especially something I’ve seen elsewhere: “Don’t buy systems that can’t take registered RAM in a [...]
Building pkgsrc with clang
I think I’ve mentioned building DragonFly with clang before, but not pkgsrc. There’s two variables to set, plus some special handling for libf2c. Thomas Klausner has details. This is not tested on DragonFly.
New clang 3.0 and DragonFly work
Juan Francisco Cantero Hurtado has been working with clang and DragonFly, along with Sascha Wildner. DragonFly mostly compiles using clang, with lib/citrus being (the only? one of?) the last holdouts. Juan Francisco Cantero Hurtado detailed how to test it out using clang 3.0 in case someone else wants to help solve this.
Lazy Reading for 2011/11/13
I’m going for more verbose linking. Because my opinion layered over a bunch of linkblogging is just what you wanted on a weekend, isn’t it? If not – too late! NYCBUG posts audio of their regular presentations, and I’m linking to this one by James K. Lowden, titled “Free Database Systems: What They Should Be, [...]
More clang and pkgsrc
I recently saw some terse notes on tech-pkg@netbsd.org about compiling using clang for pkgsrc. I haven’t tried this on DragonFly…
clang and pkgsrc bulk builds
I spied a bulk build of pkgsrc using clang. It’s interesting to see the results… It’s on NetBSD, but it should be possible to try the same thing with CCVER on DragonFly. Any takers?
Lazy Reading for 2011/05/29
Whee! Do you like the Opera browser? Apparently all it takes is a little misspelling to confuse it with a U.S. daytime talk show host. The “Best of Oprah emails to Opera“. (via) Mistaken identity on the Internet is always fun. Popular free software licenses, described. (via) One of the better, non-polemic descriptions I’ve seen. [...]
pkgsrc database, compiler changes
I mentioned previously that Postgres 9 is already in pkgsrc, but the flip side of that is both Postgres 8.2, and MySQL 4 are being removed. If you still have these installed, be ready to migrate at your next upgrade. Oh, and you can switch to clang for building pkgsrc, too.
An easy way to use clang
Sascha Wildner has set up $CCVER so that it can be used with ‘clangsvn’. If you install clang from svn into /usr/local, it’ll get picked up and used as the system compiler.
Messylaneous – Unixy articles, clang, pkgsrc projects, more
IBM’s developerWorks has an article up about GNU screen. It’s not BSD-specific, but the tips in using screen are useful. (Before someone brings it up: yes, tmux too.) Another article talks about inspecting network traffic using various tools including tcpdump and wireshark. It is a tremendous advantage to see what happens on a network at [...]
New BSDTalk: clang clang clang
BSDTalk has a very timely interview with Roman Divácký and Ed Schouten about the switch to clang/LLVM in FreeBSD. It’s 17 minutes, recorded at the recent BSDCan 2010.
More pcc notes
The compiler pcc, while having both history and speed, doesn’t get the attention that clang/LLVM gets. There’s a NetBSD blog article about building NetBSD with pcc. (via) I recall it couldn’t be used for DragonFly because of TLS support; I don’t know if that’s still an issue. It’s been covered here before.
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” [...]
Progress with clang
Several people have been working on having DragonFly compile with clang. Alex Hornung’s updated the clang page on the DragonFly site for details; if this interests you, a conversation on EFNet #dragonflybsd may be in order.
More compilers, easily
Sascha Wildner has posted a patch that makes it very easy to switch out the compiler used to build DragonFly. This builds on earlier work from Alex Hornung. This should make it into the base system. Everyone’s looking at compilers that aren’t gcc these days, it seems.
Progress with clang
Alex Hornung has done some preliminary work with llvm/clang, and has successfully compiled a GENERIC DragonFly kernel, and completed a buildworld, using it. He also has some very nice notes available detailing the work. There’s potential for cross-BSD work with FreeBSD on this one, too.
Messylaneous, 03/12/2009
A bunch of links, cause that’s the easiest way to get this all out: ‘Beket’ has added a vkernel debugging howto on the DragonFly site. The Open64 compiler may work may work with some tweaking on DragonFly. And llvm/clang too. You can use BSD almost any way you want. Linux, not so much. (via) Hammer [...]
Analysis benefits
Sascha Wildner has been fixing various bugs in DragonFly through use of reports generated by the LLVM/Clang static analyzer. There are many more fixes made by Sascha than what I linked here – thanks, Sascha!
GCC alternatives
pcc has been added to NetBSD (via pkgsrc) and OpenBSD, and Steve Mynott has been messing with it on DragonFly. It doesn’t work as a replacement for GCC, but it looks promising. There are other alternatives in progress, too.