Normally we should have: Executable -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu Module -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu Shared -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu but with jemallc enabled we have: Executable -ljemalloc Module -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu Shared -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu * QA Notice: Files built without respecting LDFLAGS have been detected * Please include the following list of files in your report: * /usr/sbin/mysqld * /usr/bin/my_print_defaults * /usr/bin/mysqltest * /usr/bin/mysqldump * /usr/bin/mysqlbinlog * /usr/bin/resolveip * /usr/bin/mysqlimport * /usr/bin/replace * /usr/bin/aria_ftdump * /usr/bin/mysql_tzinfo_to_sql * /usr/bin/mysql_waitpid * /usr/bin/mysqlcheck * /usr/bin/aria_chk * /usr/bin/myisampack * /usr/bin/mysqlslap * /usr/bin/mysql * /usr/bin/mysqladmin * /usr/bin/aria_dump_log * /usr/bin/resolve_stack_dump * /usr/bin/mysql_upgrade * /usr/bin/innochecksum * /usr/bin/perror * /usr/bin/aria_pack * /usr/bin/myisam_ftdump * /usr/bin/mysql_client_test * /usr/bin/aria_read_log * /usr/bin/mysqlshow * /usr/bin/myisamchk * /usr/bin/myisamlog * /usr/bin/mysql_plugin
Created attachment 342408 [details] build log
A fix was committed to the mysql overlay. If anyone would like to test it, please feel free.
Fix seems to be OK, Executable flags are now as expected and at the same time it fixed a related early build error.
Closing as fixed per last comment.