View Single Post
Old 20th March 2014
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Tcpdump Spy
 
Join Date: Apr 2008
Location: Netherlands
Posts: 2,243
Default

Currently, OpenBSD uses 3 different GCC versions, depending on the architecture. Using Clang/LLVM only for the architectures where it's available, doesn't seem very far-fetched to me.
The current GCC version is closed to 6 years old. Obviously *something* needs to be done, sooner or later.

I also don't understand why Clang/LLVM wouldn't be `suitable for creating system binaries'? I've been using it for a bunch of years on my FreeBSD system, and it works pretty good.
There are a *few* programs that don't compile with either clang, mainly C++ stuff. The problem usually seems to sit in the libc++ library which differs from GCC's libstdc++, rather than the actual clang++ frontend.
I suspect most of these problems will be gone in a fairly short amount of time, though.
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote