* [Buildroot] [git commit branch/2018.05.x] mariadb: needs dynamic library support
@ 2018-08-23 20:18 Peter Korsgaard
0 siblings, 0 replies; only message in thread
From: Peter Korsgaard @ 2018-08-23 20:18 UTC (permalink / raw)
To: buildroot
commit: https://git.buildroot.net/buildroot/commit/?id=6c784f79224e2a8b3773ca01881f7137f87ab753
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2018.05.x
In a static-only configuration, mariadb fails to build because it
tries to build a shared library:
[ 18%] Linking CXX shared module ha_spider.so
output/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/6.4.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: output/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/6.4.0/../../../../arm-buildroot-linux-uclibcgnueabi/lib/libstdc++.a(eh_globals.o)(.text.__cxa_get_globals_fast+0x14): R_ARM_TLS_LE32 relocation not permitted in shared object
This is not detected by the autobuilders, because mariadb is part of a
Config.in choice, and such choices are not randomized by our current
testing infrastructure.
Signed-off-by: Ryan Coe <bluemrp9@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 58cb24d883b106e7795c0cdbda906a3c6cbc80ed)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
package/mysql/Config.in | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/package/mysql/Config.in b/package/mysql/Config.in
index 278dc73e57..2abf5daecb 100644
--- a/package/mysql/Config.in
+++ b/package/mysql/Config.in
@@ -17,6 +17,7 @@ choice
config BR2_PACKAGE_MARIADB
bool "mariadb"
depends on BR2_PACKAGE_LIBAIO_ARCH_SUPPORTS
+ depends on !BR2_STATIC_LIBS
select BR2_PACKAGE_LIBAIO
select BR2_PACKAGE_LIBXML2
select BR2_PACKAGE_NCURSES
@@ -30,6 +31,10 @@ config BR2_PACKAGE_MARIADB
http://www.mariadb.org/
+comment "mariadb needs a toolchain w/ dynamic library"
+ depends on BR2_PACKAGE_LIBAIO_ARCH_SUPPORTS
+ depends on BR2_STATIC_LIBS
+
config BR2_PACKAGE_ORACLE_MYSQL
bool "oracle mysql"
select BR2_PACKAGE_NCURSES
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2018-08-23 20:18 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-23 20:18 [Buildroot] [git commit branch/2018.05.x] mariadb: needs dynamic library support Peter Korsgaard
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.