FreeBSD throws the Clang/LLVM Switch

Following the decision to move away from the GCC compiler to Clang, there has been a lot of discussions about the pros and cons.

One such thread can be found on Slashdot: FreeBSD Throws the Clang/LLVM Switch: Future Releases Use LLVM.

This page contains two interesting links if you’re interested in Clang, how it works and how it differs from GCC:

Clang FreeBSD’s default compiler – November 5th is Clang-Day

Brooks Davis mentioned on the FreeBSD src-head mailinglist a few days ago that November 5th was going to be Clang-day and that he was going to make Clang the default compiler for FreeBSD 10. He has now committed the patch as promised.

This change follows a few years of preparation, feeding back improvements to the Clang and LLVM source code bases, and nightly builds of FreeBSD using LLVM over two years. Future snapshots and all major FreeBSD releases will ship compiled with LLVM by default.

 After years of hard work by many FreeBSD and LLVM developers, make clang the default compiler on i386 and amd64 systems.

FreeBSD news and links round-up – week 44

Welcome to the weekly (Free)BSD news round-up (week 44) where we have a mix of news snippets, links, howto’s and software/package updates for you all. These tid-bits are all very interesting and news worthy, yet too small to package as individual posts.

FreeBSD News

A FreeBSD Success Story

… Then, we switched the server to a new one, quad core, sixty gigabytes of ram and two terabytes of disk. This time, I chose FreeBSD because I knew that it would work greatly ! Linux could have worked too, maybe we could have more performance, but it would not be as easy to manage as our FreeBSD box… More

FreeBSD Ports

Bernhard Fröhlich joined the FreeBSD Ports Team in October.

Releases

1. FreeNAS 8.3 User Guide

The FreeNAS 8.3.0 Users Guide is available for download as EPUB, HTML and PDF.

2. M0n0wall 1.34b1 released

Manuel Kasper has announced Beta1 of M0n0wall 1.34.

“A maintenance version in the m0n0wall 1.3 branch has been released: 1.34b1 includes the CSRF-related fixes recently made to the beta branch, as well as a few others security-relevant things. Nothing is high priority, but once 1.34b1 has received some wider testing, it will be re-released as 1.34, and 1.33 users will be recommended to upgrade.”

Software/package updates

1. FreeBSD/Raspberry Pi

Gonzo has mentions that he has moved his FreeBSD/Raspberry Pi project into FreeBSD Head / Current.

2 KNemo 0.7.4 receives major improvements for FreeBSD

KNemo is a tool that monitors the network traffic and provides a tray widget for every network interface, support for network statistics, and different icon themes.

Highlights of the release are:

• Bugs in the BSD backend has been fixed;
• Wrong traffic bug reported on FreeBSD has been repaired;
• Wrong encryption state for mixed WEP connections on FreeBSD has been fixed;
• Default gateway previously undetected on FreeBSD is now working properly;
• A monochrome icon theme has been added;
• Support for the legacy system tray icon has been removed;
• Embedded plotter code has been dropped in favor of libksignalplotter.

Websites / Social Media

As some of you may have seen already RootBSD has a new website. It looks very clean and slick and looks more ‘web 2.0′ than the previous version.

RootBSD was established with one goal in mind: to provide reliable, flexible, and supported BSD-based hosting services to professionals and businesses. Our extensive selection of FreeBSD, OpenBSD, and Linux hosting packages means there is a right package for almost everyone.

(Free)BSD Events

1. PfSense Weekend (Brazil)

There will be a classroom pfSense weekend in Porto Alegre (Brazil) from 14-16 December. More details on http://www.cursopfsense.com.br/

New FreeBSD Committers

In October 2012 the following people became new committers or were given enhanced FreeBSD update rights: Simon J. Gerraty (src), Erwin Lansing (src, ports) and Eitan Adler (src, ports, doc).

BSD / Unix Family News

OpenBSD 5.2 arrives with improved multi-core support.

The OpenBSD project has released version 5.2 of its free BSD-based UNIX-like operating system. According to its developers, the most important change in the new release is the switch from user-level to kernel-level threads. This allows programs with multiple threads to use multiple CPU cores. (via)

FreeBSD Events Update (MeetBSD, KyivBSD)

We have a quick FreeBSD related events update: one that’s upcoming(MeetBSD) and one that has taken place already (KyivBSD).

MeetBSD California 2012

MeetBSD California will be held this upcoming weekend, November 3-4 at Yahoo! in Santa Clara, CA.

Josh Paetzel will be presenting “FreeNAS: Storage for Open Source” and Kris Moore will be presenting “The Warden – FreeBSD and Linux Jail Management

KyivBSD 2012

KyivBSD 2012 took place in September. Andrei has written up a summary (EN – Google Translate) of the day. Another conference took place that same weekend which had an effect on the number of visitors. The page contains links to the videos and presentation summaries.

Minimal FreeBSD desktop, with OpenBox (howto)

FreeBSD Forums user Taz has put together a very detailed howto showing you exactly how to setup a minimal FreeBSD installation with the OpenBox window manager.

If this is something you’ve been wanting to do for awhile but didn’t know where to start or what to tweak etc, have a look. You can’t go wrong.

After deciding that FreeBSD was going to be my new primary OS the question was “how to set it up for desktop usage?”. FreeBSD handbook helped me with this a lot in the beginning. But if you follow the handbook you will probably end up with GNOME or KDE desktop environment and this “how to” is about minimal but functional desktop on FreeBSD.

Fact is that FreeBSD is more than capable of being a desktop OS the only question is what are your own preferences/requests. Mine were: minimalism, functionality, speed, low memory footprint and avoiding linuxisms.

[howto] minimal FreeBSD desktop

FreeBSD or CentOS

FreeBSD or CentOS? FreeBSD or Linux, that is the question.

Well, the answer is: “It depends on what you need the operating system for and what your hardware requirements are”.

What I like about members of the FreeBSD community, they generally acknowledge that their is no perfect operating system and that Linux has some strong points over FreeBSD, and the other way round. Discussions about differences between FreeBSD and Linux are often level headed and based on facts, though not everything is always measurable (sometimes something just feels….)

A good example is a recent discussion (CentOS vs FreeBSD) on the FreeBSD Forums about whether one should use FreeBSD as server or CentOS, a Linux distribution entirely derived entirely from Red Hat Enterprise Linux (RHEL).

Some of the strong points in favours of FreeBSD mentioned in the discussion are:

  • Learning UNIX basics
  • Better on older hardware (low overhead)
  • Stable and secure
  • ZFS Snapshots
  • FreeBSD Jails
  • Better memory footprint
  • Preferred for VPS (RootBSD is a leading hoster FreeBSD VPS’s)
  • Can run some Linux apps faster than on Linux itself
  • Better control over software (ports)
  • Updates and upgrades without ending up reinstalling
  • Good documentation
  • etc

Strong points for  CentOS:

  • Experience handy as there are more CentOS related jobs
  • Security updates are easier
  • Beefier hardware preferred
  • Faster install and update times
  • Slow package patch processes
  • No compiling from source (FreeBSD has pkg though)
  • Better hardware support
  • etc

Note, these features were mentioned in thread, you may have different views. Please don’t start a flame here ;-)