From: Thomas Petazzoni via buildroot <buildroot@buildroot.org>
To: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Cc: buildroot@buildroot.org, linux-amarula@amarulasolutions.com
Subject: Re: [Buildroot] [PATCH v2 1/1] package/babeld: disable for musl toolchains
Date: Sat, 30 May 2026 15:28:22 +0200 [thread overview]
Message-ID: <ahrl6W6ke617j5_Y@windsurf> (raw)
In-Reply-To: <20260530125556.3957719-1-dario.binacchi@amarulasolutions.com>
On Sat, May 30, 2026 at 02:55:56PM +0200, Dario Binacchi wrote:
> Building babeld with a musl toolchain fails with:
> ld: read-only segment has dynamic relocations
>
> This happens because babeld uses text relocations (textrels), which
> are not supported by the musl dynamic loader and would cause a
> runtime crash (segmentation fault).
>
> Since Buildroot passes '-ztext' to detect these unsafe relocations
> at build time, disable babeld entirely for musl configurations.
>
> Fixes:
> https://autobuild.buildroot.org/results/c75643713fd5f27fe063c226630680d26a8b9487/
>
> Suggested-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
> Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Applied to master, thanks!
Thomas
--
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
prev parent reply other threads:[~2026-05-30 13:28 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-30 12:55 [Buildroot] [PATCH v2 1/1] package/babeld: disable for musl toolchains Dario Binacchi
2026-05-30 13:28 ` Thomas Petazzoni via buildroot [this message]
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=ahrl6W6ke617j5_Y@windsurf \
--to=buildroot@buildroot.org \
--cc=dario.binacchi@amarulasolutions.com \
--cc=linux-amarula@amarulasolutions.com \
--cc=thomas.petazzoni@bootlin.com \
/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.