From 44bba495071f754a5cc91b15a3bbfa221de0e55e Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Fri, 29 Aug 2025 13:12:10 +0200 Subject: [PATCH] package/mariadb: explicitly disable the column store plugin Building the column store plugin (which gets automatically enabled when Boost with a bunch of submodules is found) currently fails as it requires a number of runtime checks that obviously cannot work when cross-compiling. OpenEmbedded has defined them as such: -DLSTAT_FOLLOWS_SLASHED_SYMLINK_EXITCODE=0 \ -DSTAT_EMPTY_STRING_BUG_EXITCODE=0 \ -DMASK_LONGDOUBLE_EXITCODE=0 \ but it really isn't clear whether those values are completely correct for all CPU architectures, especially the last one. So instead, let's disable the column store plugin until someone actually needs it and figures out how to set those variables properly. The issue fixed by this commit can be reproduced using the following defconfig: BR2_aarch64=y BR2_ARM_FPU_VFPV3D16=y BR2_TOOLCHAIN_EXTERNAL=y BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y BR2_PACKAGE_MARIADB=y BR2_PACKAGE_MARIADB_SERVER=y BR2_PACKAGE_BOOST=y BR2_PACKAGE_BOOST_DATE_TIME=y BR2_PACKAGE_BOOST_FILESYSTEM=y BR2_PACKAGE_BOOST_REGEX=y BR2_PACKAGE_BOOST_THREAD=y Signed-off-by: Thomas Petazzoni Signed-off-by: Peter Korsgaard --- package/mariadb/mariadb.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/mariadb/mariadb.mk b/package/mariadb/mariadb.mk index 0d872442f2..53395afc91 100644 --- a/package/mariadb/mariadb.mk +++ b/package/mariadb/mariadb.mk @@ -112,7 +112,8 @@ MARIADB_CONF_OPTS += \ -DINSTALL_SQLBENCHDIR=share/mysql/bench \ -DINSTALL_SUPPORTFILESDIR=share/mysql \ -DMYSQL_DATADIR=/var/lib/mysql \ - -DMYSQL_UNIX_ADDR=$(MYSQL_SOCKET) + -DMYSQL_UNIX_ADDR=$(MYSQL_SOCKET) \ + -DPLUGIN_COLUMNSTORE=NO HOST_MARIADB_DEPENDENCIES = host-openssl HOST_MARIADB_CONF_OPTS += -DWITH_SSL=system