2b82e014b4
Release notes:
https://mariadb.com/kb/en/library/mariadb-10310-release-notes/
Changelog: https://mariadb.com/kb/en/mariadb-10310-changelog/
This bump also fixes broken atomic support for
BR2_TOOLCHAIN_HAS_LIBATOMIC=y with mariadb-10.2:
[ 59%] Linking CXX executable mariabackup
../../storage/innobase/libinnobase.a(handler0alter.cc.o): In function `my_atomic_add64':
/home/bernd/buildroot/output/build/mariadb-10.2.17/include/my_atomic.h:274:
undefined reference to `__sync_fetch_and_add_8'
with this defconfig
BR2_arcle=y
BR2_archs38=y
BR2_TOOLCHAIN_EXTERNAL=y
BR2_TOOLCHAIN_EXTERNAL_CUSTOM=y
BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD=y
BR2_TOOLCHAIN_EXTERNAL_URL="http://autobuild.buildroot.org/toolchains/tarballs/br-arcle-hs38-full-2018.02-926-gb393c24.tar.bz2"
BR2_TOOLCHAIN_EXTERNAL_GCC_7=y
BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_1=y
BR2_TOOLCHAIN_EXTERNAL_LOCALE=y
BR2_TOOLCHAIN_EXTERNAL_CXX=y
BR2_PACKAGE_MYSQL=y
BR2_PACKAGE_MARIADB=y
BR2_PACKAGE_MARIADB_SERVER=y
Adding "-latomic" to CXXFLAGS and/or adding -DHAVE_GCC_ATOMIC_BUILTINS=1
to CONF_OPTS, like we do for mariadb-10.3, does not fix the build error
with mariadb-10.2. There the build would stop even earlier without these
options:
/home/bernd/buildroot/output/build/mariadb-10.2.17/include/my_atomic.h:138:2:
error: #error atomic ops for this platform are not implemented
#error atomic ops for this platform are not implemented
Mariadb-10.3 contains improved atomic support, this build error does
not occur here.
Updated license hash of README.md after upstream commits:
https://github.com/MariaDB/server/commits/10.3/README.md
my-small.cnf.sh is not provided anymore by upstream:
7fee164faf
[Peter Seiderer: bumped to version 10.3.7]
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
[Bernd: bumped to version 10.3.10, fixed atomic support,
fixed my-small.cnf.sh, updated license hash]
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
81 lines
1.8 KiB
Plaintext
81 lines
1.8 KiB
Plaintext
config BR2_PACKAGE_MYSQL
|
|
bool "mysql support"
|
|
depends on BR2_INSTALL_LIBSTDCPP
|
|
depends on BR2_USE_MMU # fork()
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS
|
|
help
|
|
Select the desired mysql provider.
|
|
|
|
if BR2_PACKAGE_MYSQL
|
|
|
|
choice
|
|
prompt "mysql variant"
|
|
default BR2_PACKAGE_ORACLE_MYSQL
|
|
help
|
|
Select either the oracle mysql server or the mariadb server
|
|
|
|
config BR2_PACKAGE_MARIADB
|
|
bool "mariadb"
|
|
depends on !BR2_STATIC_LIBS
|
|
depends on BR2_TOOLCHAIN_HAS_ATOMIC || BR2_TOOLCHAIN_HAS_SYNC_8
|
|
select BR2_PACKAGE_LIBAIO
|
|
select BR2_PACKAGE_LIBXML2
|
|
select BR2_PACKAGE_NCURSES
|
|
select BR2_PACKAGE_OPENSSL
|
|
select BR2_PACKAGE_READLINE
|
|
select BR2_PACKAGE_HAS_MYSQL
|
|
help
|
|
MariaDB is one of the most popular database servers in the
|
|
world. It's made by the original developers of MySQL and
|
|
guaranteed to stay open source.
|
|
|
|
http://www.mariadb.org/
|
|
|
|
comment "mariadb needs a toolchain w/ dynamic library"
|
|
depends on BR2_STATIC_LIBS
|
|
depends on BR2_TOOLCHAIN_HAS_ATOMIC || BR2_TOOLCHAIN_HAS_SYNC_8
|
|
|
|
config BR2_PACKAGE_ORACLE_MYSQL
|
|
bool "oracle mysql"
|
|
select BR2_PACKAGE_NCURSES
|
|
select BR2_PACKAGE_READLINE
|
|
select BR2_PACKAGE_HAS_MYSQL
|
|
help
|
|
The MySQL Open Source Database System
|
|
|
|
http://www.mysql.com/
|
|
|
|
endchoice
|
|
|
|
if BR2_PACKAGE_MARIADB
|
|
|
|
config BR2_PACKAGE_MARIADB_SERVER
|
|
bool "mariadb server"
|
|
help
|
|
Install the mariadb server on the target.
|
|
|
|
endif
|
|
|
|
if BR2_PACKAGE_ORACLE_MYSQL
|
|
|
|
config BR2_PACKAGE_ORACLE_MYSQL_SERVER
|
|
bool "oracle mysql server"
|
|
help
|
|
Install the MySQL server on the target.
|
|
|
|
endif
|
|
|
|
config BR2_PACKAGE_HAS_MYSQL
|
|
bool
|
|
|
|
config BR2_PACKAGE_PROVIDES_MYSQL
|
|
string
|
|
default "mariadb" if BR2_PACKAGE_MARIADB
|
|
default "oracle-mysql" if BR2_PACKAGE_ORACLE_MYSQL
|
|
|
|
endif
|
|
|
|
comment "mysql needs a toolchain w/ C++, threads"
|
|
depends on BR2_USE_MMU
|
|
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
|