I seem to remember doing something to fix a similar error on another port for arm. [ 64%] Building CXX object sql/CMakeFiles/sql.dir/mysqld.cc.o cd /wrkdirs/usr/ports/databases/percona56-server/work/percona-server-5.6.22-71.0/sql && /nxb-bin/usr/bin/c++ -DGTEST_USE_OWN_TR1_TUPLE=1 -DHAVE_CONFIG_H -DHAVE_EVENT_SCHEDULER -DHAVE_POOL_OF_THREADS -DMYSQL_SERVER -O -pipe -fno-strict-aliasing -Wall -Wextra -Wformat-security -Wvla -Woverloaded-virtual -Wno-unused-parameter -Wno-null-conversion -Wno-unused-private-field -O -pipe -fno-strict-aliasing -DDBUG_OFF -I/wrkdirs/usr/ports/databases/percona56-server/work/percona-server-5.6.22-71.0/include -I/wrkdirs/usr/ports/databases/percona56-server/work/percona-server-5.6.22-71.0/sql -I/wrkdirs/usr/ports/databases/percona56-server/work/percona-server-5.6.22-71.0/regex -I/wrkdirs/usr/ports/databases/percona56-server/work/percona-server-5.6.22-71.0/zlib -I/wrkdirs/usr/ports/databases/percona56-server/work/percona-server-5.6.22-71.0/extra/yassl/include -I/wrkdirs/usr/ports/databases/percona56-server/work/percona-server-5.6.22-71.0/extra/yassl/taocrypt/include -DHAVE_YASSL -DYASSL_PREFIX -DHAVE_OPENSSL -DMULTI_THREADED -o CMakeFiles/sql.dir/mysqld.cc.o -c /wrkdirs/usr/ports/databases/percona56-server/work/percona-server-5.6.22-71.0/sql/mysqld.cc /wrkdirs/usr/ports/databases/percona56-server/work/percona-server-5.6.22-71.0/sql/mysqld.cc:194:19: error: cannot combine with previous 'type-name' declaration specifier typedef fp_except fp_except_t; ^ /usr/include/machine/ieeefp.h:51:21: note: expanded from macro 'fp_except_t' #define fp_except_t int ^ /wrkdirs/usr/ports/databases/percona56-server/work/percona-server-5.6.22-71.0/sql/mysqld.cc:194:1: warning: typedef requires a name [-Wmissing-declarations] typedef fp_except fp_except_t; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/databases/percona56-server/work/percona-server-5.6.22-71.0/sql/mysqld.cc:232:3: error: use of undeclared identifier 'fpsetmask'; did you mean 'sigsetmask'? fpsetmask(~(FP_X_INV | FP_X_OFL | FP_X_UFL | FP_X_DZ | ^~~~~~~~~ sigsetmask /usr/include/signal.h:119:5: note: 'sigsetmask' declared here int sigsetmask(int); ^ In file included from /wrkdirs/usr/ports/databases/percona56-server/work/percona-server-5.6.22-71.0/sql/mysqld.cc:1276: /wrkdirs/usr/ports/databases/percona56-server/work/percona-server-5.6.22-71.0/extra/yassl/include/openssl/crypto.h:22:9: warning: 'ysSSL_crypto_h__' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef ysSSL_crypto_h__ ^~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/databases/percona56-server/work/percona-server-5.6.22-71.0/extra/yassl/include/openssl/crypto.h:23:9: note: 'yaSSL_crypto_h__' is defined here; did you mean 'ysSSL_crypto_h__'? #define yaSSL_crypto_h__ ^~~~~~~~~~~~~~~~ ysSSL_crypto_h__ 2 warnings and 2 errors generated. *** Error code 1
Auto-assigned to maintainer flo@FreeBSD.org
Created attachment 152897 [details] fix build on armv6 For armv6, Declare FPSETMASK 0 and FEDISABLEEXCEPT 1 build log: http://mikael.urankar.free.fr/FreeBSD/arm/build_logs/percona56-server-5.6.22.71.0.log
confirmed. flo: You want to commit this or shall I?
(In reply to Sean Bruno from comment #3) There is an update pending, I'll try to get that in today, if it works out I'll include your patches. Thanks.
A commit references this bug: Author: flo Date: Thu Feb 12 22:38:20 UTC 2015 New revision: 378901 URL: https://svnweb.freebsd.org/changeset/ports/378901 Log: Update to 5.6.22-72.0 Fix build on arm [1] PR: 197550 [1] Submitted by: mikael.urankar@gmail.com [1] Tested by: sbruno [1] Changes: head/databases/percona56-client/files/patch-scripts_CMakeLists.txt head/databases/percona56-client/pkg-plist head/databases/percona56-server/Makefile head/databases/percona56-server/distinfo head/databases/percona56-server/files/extra-patch-config.h.cmake head/databases/percona56-server/files/patch-scripts_CMakeLists.txt head/databases/percona56-server/pkg-plist
Committed. Thanks.