1 Jun 2009 18:32
Results of the FreeBSD Ports build with CC=clang
Hello all, Because we at FreeBSD have a source package manager called Ports with over 20000 packages, we thought it would be nice to waste some CPU cycles on the build cluster to see how well Clang performs. Unfortunately it was only capable of building 7030 packages successfully. This sounds very bad, but when you keep in mind that it wasn't able to build libiconv (on which 9600 other ports depend directly or indirectly, mainly because of GNU make), that's still quite impressive. The build cluster only attempted to build 7241 ports, of which 211 failed. The error logs can be viewed here: http://pointyhat.freebsd.org/errorlogs/i386-8-exp-latest/ After some filtering and sorting, I've come up with this list, where I've categorized all error logs: http://80386.nl/pub/clang-portsbuild.txt I'll discuss some of the categories here: GNU89: A lot of ports currently don't build, because they depend on C89, or at least GCC's `-std=gnu89' semantics. Most of them have missing symbols, because they use GNU-style inlining, while Clang uses ISO C99 style inlining by default (because it uses -std=gnu99).(Continue reading)
RSS Feed