Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 474956 - =dev-db/mariadb-5.5.30 patch to build on X32 (USE=minimal)
Summary: =dev-db/mariadb-5.5.30 patch to build on X32 (USE=minimal)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Linux MySQL bugs team
URL: https://mariadb.atlassian.net/browse/...
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2013-06-27 09:13 UTC by Bruno
Modified: 2013-09-17 20:38 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Build fixes for mariadb-5.5.30 on X32 (mariadb-5.5.30-x32.patch,1.28 KB, patch)
2013-06-27 09:14 UTC, Bruno
Details | Diff
Patch for MariaDB 5.5.31 (mariadb-5.5.31-x32.patch,501 bytes, patch)
2013-06-27 09:38 UTC, Bruno
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Bruno 2013-06-27 09:13:53 UTC
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
Comment 1 Bruno 2013-06-27 09:14:29 UTC
Created attachment 352062 [details, diff]
Build fixes for mariadb-5.5.30 on X32
Comment 2 Bruno 2013-06-27 09:38:32 UTC
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.
Comment 3 Brian Evans (RETIRED) gentoo-dev 2013-06-27 13:30:31 UTC
This was fixed upstream for 5.5.32 in https://mariadb.atlassian.net/browse/MDEV-4720
Comment 4 Brian Evans (RETIRED) gentoo-dev 2013-09-05 19:39:03 UTC
5.5.32 has hit the main tree.  Please test and/or close this bug.
Comment 5 Bruno 2013-09-17 20:38:25 UTC
(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.