From: Changqing Li <changqing...@windriver.com> STACK_DIRECTION = 1 means stack grow upwards STACK_DIRECTION = -1 means stack grow downwards
In the majority of modern architectures, stack grows downwards. So set STACK_DIRECTION = 1 is not right. But the failure is not exposed before, mysqld can start normally, and simple runtime operation like create db, table, select info, works well. But it is exposed after commit [1] is merged, mysqld will start failed with error: 2025-02-12 3:18:19 0 [ERROR] Could not open mysql.plugin table: "Thread stack overrun: 16752824 bytes used of a 299008 byte stack, and 81920 bytes needed Since commit [2], mariadb started to determine the default STACK_DIRECTION in CMake based on the ISA, and we have set correct CMAKE_SYSTEM_PROCESSOR in cmake.bbclass, so just don't pass it. [1] https://github.com/MariaDB/server/commit/bddbef3573349b0565c43c27beba47c89358f39f [2] https://github.com/MariaDB/server/commit/d0abbdf56e11ccc88447c1dc80caaf355c94be3b [3] https://jira.mariadb.org/browse/MDEV-36051 Signed-off-by: Changqing Li <changqing...@windriver.com> --- meta-oe/recipes-dbs/mysql/mariadb.inc | 1 - 1 file changed, 1 deletion(-) diff --git a/meta-oe/recipes-dbs/mysql/mariadb.inc b/meta-oe/recipes-dbs/mysql/mariadb.inc index c90e17e129..b620355730 100644 --- a/meta-oe/recipes-dbs/mysql/mariadb.inc +++ b/meta-oe/recipes-dbs/mysql/mariadb.inc @@ -96,7 +96,6 @@ EXTRA_OECMAKE = "-DWITH_EMBEDDED_SERVER=ON \ -DINSTALL_SYSCONFDIR:PATH=${sysconfdir} \ -DMYSQL_DATADIR:PATH=/var/mysql \ -DCAT_EXECUTABLE=`which cat` \ - -DSTACK_DIRECTION=1 \ -DHAVE_SYSTEM_LIBFMT_EXITCODE=0 \ -DLSTAT_FOLLOWS_SLASHED_SYMLINK_EXITCODE=0 \ -DSTAT_EMPTY_STRING_BUG_EXITCODE=0 \ -- 2.34.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#115462): https://lists.openembedded.org/g/openembedded-devel/message/115462 Mute This Topic: https://lists.openembedded.org/mt/111159986/21656 Group Owner: openembedded-devel+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-