Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 06 Dec 2014 17:18:32 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 195750] New: [PATCH] databases/mysql55-server fails to build on arm
Message-ID:  <bug-195750-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195750

            Bug ID: 195750
           Summary: [PATCH] databases/mysql55-server fails to build on arm
           Product: Ports Tree
           Version: Latest
          Hardware: arm
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ale@FreeBSD.org
          Reporter: mikael.urankar@gmail.com
                CC: sbruno@FreeBSD.org
          Assignee: ale@FreeBSD.org
             Flags: maintainer-feedback?(ale@FreeBSD.org)

Created attachment 150271
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=150271&action=edit
patch for mysql55-server or mysql56-server

The port fails on armv6:
/wrkdirs/usr/ports/databases/mysql55-server/work/mysql-5.5.40/sql/mysqld.cc:167:19:
error: cannot combine with previous 'type-name' declaration specifier
typedef fp_except fp_except_t;

mysql currently uses the deprecated FPU control interface (fpsetmask) that is
not available on ARM (and other arch, see r226607 for details). 

fedisableexception is available on ARM, so use that on this platform. It can be
applied on other (all) arch but I don't know the consequences of such a change.

to apply the attached patch:
cd /usr/ports/databases/mysql55-server
patch < /path/to/patch

The same patch can be applied to databases/mysql56-server

build logs:
http://mikael.urankar.free.fr/FreeBSD/arm/build_logs/mysql55-server-5.5.41.log
http://mikael.urankar.free.fr/FreeBSD/arm/build_logs/mysql56-server-5.6.22.log

--- Comment #1 from Bugzilla Automation <bugzilla@FreeBSD.org> ---
Auto-assigned to maintainer ale@FreeBSD.org

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-195750-13>