From: Andreas Ziegler <br015@umbiko.net>
To: Horst Noecker <horst.noecker@cellomation.de>
Cc: buildroot <buildroot@buildroot.org>
Subject: Re: [Buildroot] MariaDB 11 for buildroot
Date: Tue, 26 Aug 2025 06:59:59 +0000 [thread overview]
Message-ID: <3a19733885c4da8194cfe95b063323b3@umbiko.net> (raw)
In-Reply-To: <mailman.73751.1756165330.2108631.buildroot@buildroot.org>
Hi Horst,
On 2025-08-25 17:32, Horst Noecker wrote:
>
> Dear Buildroot community,
>
>
> I'm trying to build MariaDB 11.4.8 with Buildroot for Aarch64 for a
> RasPi4 / Compute Module 4.
>
> I've been doing this all the time by downloading the sources,
> configuring it with cmake-gui, using the toolchain built by buildroot,
> build it and put the binaries, libs, etc. into an overlay being then
> packaged into the image by buildroot.
>
> That worked fine for years - also with MariaDB 11.4.x. - but only for
> Arm32 (ARMv7a, gnueabihf, etc. etc.). For Aarch64 the only version that
> works is the latest 10.11.11.
>
> I've also tried to adapt the mariadb-package from buildroot to have it
> build inside by builtroot itself.
>
> The build itself works for Arm32 and AArch64.
>
> BUT: no matter what I do, when trying to start mariadbd (i.e. the
> server) it gives a segmentation fault without any further hint (in the
> log file it only states that it started and immediately stopped).
>
>
> If anybody has any clue that would be awesome!
>
Which standard library do you use? MariaDB is a C++ project and uClibc
does not fully implement thread local storage on Aarch64, which is used
by C++ exception handling. C code works, C++ code dies with SIGSEGV on
the first try/catch block. musl functions correctly and glibc should
work.
Kind regards,
Andreas
>
> Kind regards,
>
> Horst
<cut>
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next parent reply other threads:[~2025-08-26 7:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.73751.1756165330.2108631.buildroot@buildroot.org>
2025-08-26 6:59 ` Andreas Ziegler [this message]
2025-08-26 7:23 ` [Buildroot] MariaDB 11 for buildroot Nicolas Cavallari
2025-08-27 15:54 ` Horst Noecker via buildroot
2025-08-29 13:43 ` Andreas Ziegler
2025-08-25 15:32 Horst Noecker via buildroot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3a19733885c4da8194cfe95b063323b3@umbiko.net \
--to=br015@umbiko.net \
--cc=buildroot@buildroot.org \
--cc=horst.noecker@cellomation.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.