I didn't realise, I assumed it was essential. Oops, sorry! I'll give
that a go now.
Hamish
On 28/06/2019 17:17, Marko Mäkelä wrote:
> Hamish,
>
> The error comes from the Connect storage engine, which is a virtual
> storage engine that connects to other servers. If you do not need
> that, you can
Hamish,
The error comes from the Connect storage engine, which is a virtual
storage engine that connects to other servers. If you do not need
that, you can disable it. Similar storage engines are Federated,
FederatedX, Spider.
cmake -DPLUGIN_CONNECT=NO
(which was part of my initial reply).
Best
So, it seems the failing command:
cd /home/wmt/Downloads/build-mariadb/storage/connect && /usr/bin/cmake
-E cmake_link_script CMakeFiles/connect.dir/link.txt --verbose=1
/home/wmt/x-tools/arm-unknown-linux-gnueabi/bin/arm-unknown-linux-gnueabi-g++
-fPIC -pie -fPIC -Wl,-z,relro,-z,now -fstack-pro
Okay, well this is weird:
Same error, and even if I use the bundled zlib (WITH_ZLIB="bundled"), it
still fails when trying to link with:
/home/wmt/x-tools/arm-unknown-linux-gnueabi/lib/gcc/arm-unknown-linux-gnueabi/4.7.2/../../../../arm-unknown-linux-gnueabi/bin/ld:
cannot find -lz
Any ideas any
I could probably use clang, but crosstool-ng doesn't support it, and it
took me ages to get this cross compiler working :)
I think 10.3 will be fine, given the target is currently running the
ancient mysql 5.1! I'll give it a go, hopefully with more luck.
Hamish
On 28/06/2019 15:32, Marko Mäkelä
I think that the earliest GCC that supports enough of C++11 is 4.8.
So, you should be out of luck compiling 10.4 with GCC 4.7.
You might also try clang, if that is available for your platform.
Marko
On Fri, Jun 28, 2019 at 5:23 PM Hamish MB wrote:
>
> Hi,
>
> Maybe I should try 10.3 then - the
Hi,
Maybe I should try 10.3 then - the newest cross compiler I can build for
this platform is GCC 4.7, which has only experimental support for C++11.
I could also try the bundled Zlib, seeing as I'm trying to use the
system one at the moment. It gets fairly far, so I imagine it should be
possible.
Hi Harnish,
It can be WITH_SSL=bundled or WITH_SSL=system. Possibly the bundled
zlib is missing some recent change.
For WITH_SSL=system to work, you should have installed a package like
zlib1g-dev.
I think that there are good chances that MariaDB 10.4 can be compiled
for ARMv5 (or at least ARMv7)
Hi Marko,
I found that option, but eventually ran into a different issue. It turns
out that zlib isn't being found by the linker, even if I explicitly set
the path. Are there any examples of working toolchain.cmake files
you/anyone else knows of?
I think it's mostly because I'm misconfiguring tha
Hi Harnish,
Yes, you can disable storage engines that you do not need, like this:
cmake -DPLUGIN_MROONGA=NO
This syntax works starting with MariaDB 10.1.
For example, I am developing InnoDB, and to cut the time for
compilation and running tests, I disable a bunch of storage engines:
cmake -DPLU
Hi Hamish,
If you don't need Mroonga (which needs groonga) you can compile without it
by adding this cmake option:
-DPLUGIN_MROONGA=NO
Rasmus
Den fre 28 juni 2019 13:31Hamish MB skrev:
> Hi all,
>
> I've been having some issues attempting to cross compile MariaDB 10.4.6
> for ARMv5. I always
Hi all,
I've been having some issues attempting to cross compile MariaDB 10.4.6
for ARMv5. I always get to a certain point, and it tries to compile
storage/mroonga/vendor/groonga/lib/CMakeFiles/libgroonga.dir/ts/ts_util.c.o.
This hangs for a long time, and eventually I get two notes about the
var
12 matches
Mail list logo