Bug #38535 AMD64 support for Falcon
Submitted: 4 Aug 2008 9:27 Modified: 27 Aug 2008 16:59
Reporter: Susanne Ebrecht Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Falcon storage engine Severity:S3 (Non-critical)
Version:6.0 OS:FreeBSD (Ubuntu)
Assigned to: Olav Sandstå CPU Architecture:Any

[4 Aug 2008 9:27] Susanne Ebrecht
Description:
For making some SAVEPOINT comparison tests with InnoDB I wanted to install MySQL 6.0 bzr tree with Falcon.

$ ./configure ... --with-plugin-falcon ....

...
checking if Falcon Storage Engine is supported on amd64... no
...

I think AMD64 is the most used platform at the moment.

Looking into: ./storage/falcon/plug.in:

case "$BASE_MACHINE_TYPE" in
    i386)   falcon_supported_by_machine="yes" ;;
    x86_64) falcon_supported_by_machine="yes" ;;
    powerpc)falcon_supported_by_machine="yes" ;;
    sparc)

No amd64 in that list.

How to repeat:
Try to compile MySQL 6.0 on a AMD64 platform

Suggested fix:
--- mysql-6.0-orig/storage/falcon/plug.in  2008-07-25 10:02:09.000000000 +0200
+++ mysql-6.0-falcon-fix/storage/falcon/plug.in   2008-08-04 10:38:36.000000000 +0200
@@ -9,6 +9,7 @@
                           falcon_supported_by_machine,[
   case "$BASE_MACHINE_TYPE" in
     i386)   falcon_supported_by_machine="yes" ;;
+    amd64) falcon_supported_by_machine="yes" ;;
     x86_64) falcon_supported_by_machine="yes" ;;
     powerpc)falcon_supported_by_machine="yes" ;;
     sparc)
[4 Aug 2008 9:37] Olav Sandstå
Hi Susanne, when I configure/compile Falcon on Linux and Solaris on an AMD 64 processor configure classify my machine type as x86_64. On what OS is it that configure decides the the machine type to be amd64? (the bug report says "Any" OS)
[4 Aug 2008 10:48] Susanne Ebrecht
Olav,

I tested with FreeBSD and Ubuntu
[13 Aug 2008 4:23] Olav Sandstå
I have committed at patch for this problem, see:

   http://lists.mysql.com/commits/51464

Added "amd64" as a recognized and supported machine type for compiling Falcon.
[23 Aug 2008 0:45] Kevin Lewis
This fix is in version 6.0.7
[27 Aug 2008 16:59] Paul DuBois
Noted in 6.0.7 changelog.

Falcon builds on AMD64 platforms now.
[28 Aug 2008 20:17] Bugs System
Pushed into 6.0.7-alpha  (revid:cbell@mysql.com-20080822132131-uveo6wiuecy6m2b8) (version source revid:cbell@mysql.com-20080822132131-uveo6wiuecy6m2b8) (pib:3)
[13 Sep 2008 20:31] Bugs System
Pushed into 6.0.6-alpha  (revid:olav.sandstaa@sun.com-20080812215050-tkwzsds9bso3f113) (version source revid:sergefp@mysql.com-20080611231653-nmuqmw6dedjra79i) (pib:3)