patch to add AES intrinsics to gcc

Warner Losh imp at bsdimp.com
Fri Aug 23 13:55:43 UTC 2013


On Aug 23, 2013, at 6:30 AM, Ian Lepore wrote:

> On Fri, 2013-08-23 at 12:06 +0100, David Chisnall wrote:
>> On 23 Aug 2013, at 11:42, Julian Elischer <julian at freebsd.org> wrote:
>> 
>>> no, I believe we have said that 10 would ship with clang by default. NO mention was made about gcc being absent, and I am uncomfortable with taking that step yet. Having gcc just present, will not hurt you..  even after it is gone we will  need to support those who will be replacing clang with newer versions of gcc in hteir own products.
>> 
>> The plan is not to delete gcc from the tree, it is to disable building gcc by default when clang is the system compiler.  If you are building products then you are perfectly at liberty to set WITH_GCC=yes in your src.conf.
>> 
>> 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.  Putting them in the base system means that people will use them.  If anyone wants them to remain, then speak now and this will be taken as your volunteering to:
>> 
>> - Maintain our forks of both gcc and libstdc++
>> - Handle every single PR that is filed by people using these
>> 
>> If you are willing to do this, then that's great.  If not, then you are asking other people to support ancient codebases that they are not using.
>> 
>> David
>> 
> 
> I don't understand, you start by pointing out that gcc will still be in
> the tree and usable, then you go on to point out that it it won't be
> supported or maintained unless someone volunteers to do that, and you
> seem to be doing your best to discourage anyone from volunteering.
> Doesn't that sort of moot the point that the source isn't being deleted?

If it is in the tree it's gotta work. And it has to be in the tree for !x86 architectures. So on or off for x86 doesn't really add to the load at all, and the C++/C11 stuff is a red herring. If it isn't cc, then people wanting clang by default won't care...

And besides, ports aren't completely ready to kill it, so it has to work for them.

Warner


More information about the freebsd-current mailing list