maria-discuss team mailing list archive
Mailing list archive
Re: Generic Linux Build requirements
>>>>> "Daniel" == Daniel Bartholomew <dbart@xxxxxxxxxxxx> writes:
Daniel> On Thu, 11 Mar 2010 13:40:50 -0500, Brian Evans
Daniel> <grknight@xxxxxxxxxxxxxx> wrote:
Brian> * gcc 2.95.2 or later
Brian> However, according to  , Gentoo claims that GCC 4.3 is
Brian> required due the use of c++ templates in the server.
Brian>  also states that GCC-4 is absolutely required with a failing
Brian> build log.
A note here is that MariaDB / MySQL builds fine with gcc 3.4.3 on our
OpenSolaris machine. I am sure that c++ templates was supported even
for gcc 2.95.2 as we have used c++ templates (for lists) in the code
since 1995, way before gcc 3.x.
There may be another reason for using gcc 4.3 on Gentoo, but it can't
be because of c++ templates.
Brian>  http://bugs.gentoo.org/show_bug.cgi?id=307251#c5
This bug report doesn't give any indication of why gcc 4.3 would be
required; It's only about marking the packet to require gcc 4.3
Brian>  http://bugs.gentoo.org/show_bug.cgi?id=284946
The real bug seams to be:
./include/sync0rw.h:425:2: #error HAVE_ATOMIC_BUILTINS is not defined. Do you
use enough new GCC or compatibles?
Looks like a bug in the MySQL code. This code has however changed
since then, so it may not be an issue anymore.
(After all, we do build now with gcc 3.4.3)
Daniel> Thanks. I've added a "Gentoo Build Notes" section to the bottom of the
Daniel> page with this information.