← Back to team overview

maria-discuss team mailing list archive

Re: Linux Build requirements

 

On Tue, 06 Apr 2010 10:16:00 -0400
Brian Evans <grknight@xxxxxxxxxxxxxx> wrote:

Brian> On 4/1/2010 11:00 AM, Michael Widenius wrote:
Brian> > Brian> [2] http://bugs.gentoo.org/show_bug.cgi?id=284946
Brian> > The real bug seams to be:
Brian> >
Brian> > ./include/sync0rw.h:425:2: #error HAVE_ATOMIC_BUILTINS is not
Brian> > defined. Do you use enough new GCC or compatibles?      
Brian> >
Brian> > Looks like a bug in the MySQL code. This code has however
Brian> > changed since then, so it may not be an issue anymore.
Brian> > (After all, we do build now with gcc 3.4.3)
Brian> >   
Brian> 
Brian> Robin Johnson did some more digging and found that MySQL
Brian> 5.0.8[3-6] needed GCC 4.3 due to mutex locking changes that were
Brian> changed again in 5.0.87.
Brian> Gentoo now recognizes gcc 3.4.3 as the minimum requirement.

Ok, good. Thanks!

Brian> > Daniel> Thanks. I've added a "Gentoo Build Notes" section to
Brian> > Daniel> the bottom of the page with this information.
Brian> >
Brian> > Daniel> http://askmonty.org/wiki/index.php/Building_MariaDB:Generic_Linux
Brian> >
Brian> >   
Brian> 
Brian> 
Brian> Daniel,
Brian> If you can, please remove my overlay from the instructions for
Brian> building in Gentoo.
Brian> Instead, users should build from the Gentoo main tree.
Brian> 
Brian> The correct procedure is now:
Brian> 1.  Synchronize your tree with "emerge --sync"
Brian> 2.  Build MariaDB using "emerge mariadb"

I've updated the Gentoo page:

http://askmonty.org/wiki/Building_MariaDB:Gentoo

Thanks!

-- 
Daniel Bartholomew
Monty Program - http://askmonty.org




References