← Back to team overview

maria-discuss team mailing list archive

Re: Issues cross-compiling MariaDB for ARM

 

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 <hamishmb@xxxxxxxxxx> skrev:

> 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
> variable size tracking limit being exceeded, and then the build fails
> with no clear explanation:
>
> [ 38%] Building C object
> storage/mroonga/vendor/groonga/lib/CMakeFiles/libgroonga.dir/ts/ts_util.c.o
>
> /home/wmt/Downloads/mariadb-10.4.6/storage/mroonga/vendor/groonga/lib/expr.c:
> In function 'grn_expr_exec':
>
> /home/wmt/Downloads/mariadb-10.4.6/storage/mroonga/vendor/groonga/lib/expr.c:2620:1:
> note: variable tracking size limit exceeded with
> -fvar-tracking-assignments, retrying without
>
> /home/wmt/Downloads/mariadb-10.4.6/storage/mroonga/vendor/groonga/lib/expr.c:2620:1:
> note: variable tracking size limit exceeded
> Linking CXX static library libgroonga.a
> [ 38%] Built target libgroonga
> make: *** [all] Error 2
>
> Does anyone have any idea why? Can I disable building this storage
> engine or something?
>
> Hamish
>
> _______________________________________________
> Mailing list: https://launchpad.net/~maria-discuss
> Post to     : maria-discuss@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~maria-discuss
> More help   : https://help.launchpad.net/ListHelp
>

References