← Back to team overview

maria-discuss team mailing list archive

Re: Linux Build requirements

 

On 4/1/2010 11:00 AM, Michael Widenius wrote:
> Brian> [2] 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)
>   

Robin Johnson did some more digging and found that MySQL 5.0.8[3-6]
needed GCC 4.3 due to mutex locking changes that were changed again in
5.0.87.
Gentoo now recognizes gcc 3.4.3 as the minimum requirement.

> Daniel> Thanks. I've added a "Gentoo Build Notes" section to the bottom of the
> Daniel> page with this information.
>
> Daniel> http://askmonty.org/wiki/index.php/Building_MariaDB:Generic_Linux
>
>   


Daniel,
If you can, please remove my overlay from the instructions for building
in Gentoo.
Instead, users should build from the Gentoo main tree.

The correct procedure is now:
1.  Synchronize your tree with "emerge --sync"
2.  Build MariaDB using "emerge mariadb"

 




Follow ups

References