Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Aug 2013 13:56:14 +0100
From:      David Chisnall <theraven@FreeBSD.org>
To:        Andriy Gapon <avg@FreeBSD.org>
Cc:        toolchain@FreeBSD.org, "re@FreeBSD.org Engineering Team" <re@FreeBSD.org>, current@FreeBSD.org
Subject:   Re: patch to add AES intrinsics to gcc
Message-ID:  <422728FC-CE88-4AEF-AD10-3BF8910A2109@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 23 Aug 2013, at 13:26, Andriy Gapon <avg@freebsd.org> wrote:

> 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.

Nathan has already dealt with this.

> I do not care about C11, C++11 and modern C++ codebases.  I care about =
what's
> in /usr/src and what gets compiled by buildkernel/buildworld.  That's =
just me,
> of course.  But, OTOH, those who care modern C++ codebases should be =
perfectly
> capable to install a compiler from ports or switch to clang as their =
default
> compiler.

So you don't want a working debugger?  Our gdb doesn't work at all on =
MIPS and barely works with code compiled with clang or a recent gcc.  We =
are planning on importing LLDB soon (Ed Maste has been working on it, =
funded by the FreeBSD Foundation), and it is a C++11 code base.  It will =
not build with our gcc or with our libstdc++ (and, in fact, since it =
uses the LLVM libraries, will require LLVM in base to link libc++).=20

Or perhaps you don't care about flattened device trees.  The device tree =
compiler that we have in base is written in C++ and contains numerous =
occurrences of ugly code to make it work with old compilers.  I will be =
very happy to remove a load of hacks once C++11 support is available in =
the base system (not for 10.0, as dtc is used on a lot of tier 2 archs =
where gcc is still default).

David




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?422728FC-CE88-4AEF-AD10-3BF8910A2109>