[Bug 274918] databases/mysql80-server: fails with alignment error on i386
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 04 Nov 2023 19:04:56 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274918 Bug ID: 274918 Summary: databases/mysql80-server: fails with alignment error on i386 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: joneum@FreeBSD.org Reporter: d8zNeCFG@aon.at Flags: maintainer-feedback?(joneum@FreeBSD.org) Assignee: joneum@FreeBSD.org Created attachment 246122 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=246122&action=edit patch to fix mysql80-server on i386 Scenario: - FreeBSD stable/14 098273e6 - System = i386 KVM (Linux) - ports latest - using portmaster to build ports - building databases/mysql80-server 8.0.33 Result: - Build fails with (edited for brevity) In file included from .../work/mysql-8.0.33/sql/rpl_rli.cc:53: In file included from .../mysql-8.0.33/sql/auth/sql_auth_cache.h:28: In file included from .../mysql-8.0.33/boost/boost_1_77_0/boost/graph/adjacency_list.hpp:20: In file included from .../mysql-8.0.33/boost/boost_1_77_0/boost/unordered_set.hpp:17: In file included from .../mysql-8.0.33/boost/boost_1_77_0/boost/unordered/unordered_set.hpp:19: In file included from .../mysql-8.0.33/boost/boost_1_77_0/boost/move/move.hpp:29: In file included from .../mysql-8.0.33/boost/boost_1_77_0/boost/move/utility.hpp:30: In file included from .../mysql-8.0.33/boost/boost_1_77_0/boost/move/traits.hpp:31: .../mysql-8.0.33/boost/boost_1_77_0/boost/move/detail/type_traits.hpp:1107:21: error: size of array element of type 'long double' (12 bytes) isn't a multiple of its alignment (8 bytes) { long double dummy[4]; }; ^ .../mysql-8.0.33/boost/boost_1_77_0/boost/move/detail/type_traits.hpp:1125:28: error: size of array element of type 'long double' (12 bytes) isn't a multiple of its alignment (8 bytes) long double long_double_[4]; ^ 2 errors generated. *** [sql/CMakeFiles/rpl_replica.dir/rpl_rli.cc.o] Error code 1 Expected result: - build should succeed A (crude) patch is attached. The problem probably stems from -malign-double, which is not used with devel/boost-libs, which can be built successfully. The resulting binary has not yet been tested. -- Martin -- You are receiving this mail because: You are the assignee for the bug.