MariaDB fails to compile for X32: - configure with CMake because it tries to compile for X32 with march=i686 (addressed by first hunk of attached patch) - build fails later on due due to AMD64 ASM code code in mysys/my_context.c (addressed by second hunk) Reproducible: Always
Created attachment 352062 [details, diff] Build fixes for mariadb-5.5.30 on X32
Created attachment 352064 [details, diff] Patch for MariaDB 5.5.31 For mariadb-5.5.31 the problematic check in cmake/os/Linux.cmake is gone, thus only the patch part for include/my_context.h is needed.
This was fixed upstream for 5.5.32 in https://mariadb.atlassian.net/browse/MDEV-4720
5.5.32 has hit the main tree. Please test and/or close this bug.
(In reply to Brian Evans from comment #4) > 5.5.32 has hit the main tree. Please test and/or close this bug. 5.5.32 builds fine on X32 without extra patches, thanks. Closing as fixed as there is only 5.5.32 as 5.5.x and no stable MariaDB.