Date: Fri, 23 Aug 2013 07:34:13 -0500 From: Nathan Whitehorn <nwhitehorn@freebsd.org> To: Andriy Gapon <avg@FreeBSD.org> Cc: toolchain@FreeBSD.org, David Chisnall <theraven@FreeBSD.org>, current@FreeBSD.org, "re@FreeBSD.org Engineering Team" <re@FreeBSD.org> Subject: Re: patch to add AES intrinsics to gcc Message-ID: <521756C5.6050502@freebsd.org> In-Reply-To: <521754E6.3030906@FreeBSD.org> References: <20130822200902.GG94127@funkthat.com> <105E26EE-8471-49D3-AB57-FBE2779CF8D0@FreeBSD.org> <CAE-m3X324rbdP_C=az4eO-EkMcR-yFAeRG7S4q%2BMUsnMezGddw@mail.gmail.com> <5CE4B5FA-9DA0-45E4-8D67-161E0829FE6B@FreeBSD.org> <52173C8D.20608@freebsd.org> <D879DDDA-EF9D-470A-A82E-04E83DB2A7E4__13641.8188493282$1377255996$gmane$org@FreeBSD.org> <521754E6.3030906@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 08/23/13 07:26, Andriy Gapon wrote: > on 23/08/2013 14:06 David Chisnall said the following: >> Our gcc is from 2007. It has no C11, no C++11 support. It has bugs in its >> atomic generation so you can't use it sensibly without lots of inline >> assembly (which it doesn't support for newer architectures) for >> multithreaded things. >> >> Our libstdc++ is ancient and doesn't work with modern C++ codebases. > On the other hand these tools are perfect for building FreeBSD kernel and base. > Extrapolating my experience with base GCC I am very confident in it as a > FreeBSD development tool. > Extrapolating my experience with Clang I am not yet confident in it as a > FreeBSD development tool. > This isn't even true. As CPUs gain new features, the set of available intrinsics gets more and more ancient, requiring ever more patching, workarounds, and #ifdef. Just look at the original subject of this thread! We're just talking about the default of a make.conf setting here. Switching to clang is a long-term goal of the project for good reason. Other vendors (Apple, for instance) have made the plunge first. This seems like as good a time as any to do it. And if it goes wrong somehow, we have lots of BETAs and it is trivial to change back at any time. -Nathan
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?521756C5.6050502>