All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni via buildroot <buildroot@buildroot.org>
To: Angelo Compagnucci <angelo.compagnucci@gmail.com>
Cc: buildroot@buildroot.org, Francis Laniel <flaniel@linux.microsoft.com>
Subject: Re: [Buildroot] [PATCH 3/9] package/libabseil-cpp: allow building with musl
Date: Sun, 1 Nov 2026 22:28:55 +0100	[thread overview]
Message-ID: <auevFFXF0quq8FrR@windsurf> (raw)
In-Reply-To: <20261030152434.3738285-3-angelo.compagnucci@gmail.com>

On Fri, Oct 30, 2026 at 04:24:28PM +0100, Angelo Compagnucci wrote:
> libabseil-cpp depends on BR2_TOOLCHAIN_HAS_UCONTEXT, which is not set
> for musl, as it doesn't provide the {get,make,set}context functions.
> 
> However, absl/debugging/internal/examine_stack.cc only uses the ucontext
> data structures, to get the program counter from the signal context,
> and never calls those functions. musl provides those data structures,
> so allow building with musl.
> 
> On 32-bit powerpc, examine_stack.cc assumes the glibc layout of
> mcontext_t (uc_mcontext.uc_regs), which is different with musl, so keep
> it disabled there.
> 
> examine_stack.cc was build-tested with the Bootlin musl toolchains for
> aarch64, armv7, i686, x86-64, m68k, mips32el, powerpc64, powerpc64le,
> riscv32, riscv64, s390x and sh4, and libabseil-cpp, re2, protobuf, grpc
> and webrtc-audio-processing with the aarch64 and armv7 musl toolchains.
> 
> Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com>

Applied to master, thanks!

Best regards,

Thomas Petazzoni
-- 
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

  reply	other threads:[~2026-11-01 21:29 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-30 15:24 [Buildroot] [PATCH 1/9] package/uthash: new package Angelo Compagnucci
2026-10-30 15:24 ` [Buildroot] [PATCH 2/9] package/webrtc-audio-processing: fix build with musl Angelo Compagnucci
2026-11-01 21:27   ` Thomas Petazzoni via buildroot
2026-11-06 16:10   ` Raphaël Mélotte via buildroot
2026-10-30 15:24 ` [Buildroot] [PATCH 3/9] package/libabseil-cpp: allow building " Angelo Compagnucci
2026-11-01 21:28   ` Thomas Petazzoni via buildroot [this message]
2026-10-30 15:24 ` [Buildroot] [PATCH 4/9] package/falcosecurity-libs: bump to version 0.21.0 Angelo Compagnucci
2026-11-01 22:26   ` Thomas Petazzoni via buildroot
2026-10-30 15:24 ` [Buildroot] [PATCH 5/9] package/sysdig: bump to version 0.41.4 Angelo Compagnucci
2026-10-30 15:24 ` [Buildroot] [PATCH 6/9] package/falcosecurity-libs: convert to a virtual package Angelo Compagnucci
2026-11-01 21:33   ` Thomas Petazzoni via buildroot
2026-10-30 15:24 ` [Buildroot] [PATCH 7/9] package/sysdig: " Angelo Compagnucci
2026-10-30 15:24 ` [Buildroot] [PATCH 8/9] package/falcosecurity-libs: add falcosecurity-libs-legacy Angelo Compagnucci
2026-10-30 15:24 ` [Buildroot] [PATCH 9/9] package/sysdig: add sysdig-legacy Angelo Compagnucci
2026-10-30 15:58 ` [Buildroot] [PATCH 1/9] package/uthash: new package Fiona Klute via buildroot
2026-11-01 21:25 ` Thomas Petazzoni via buildroot
2026-11-02  8:54 ` [Buildroot] [PATCH v2 0/2] Bump sysdig to version 0.41.4 Angelo Compagnucci
2026-11-02  8:54   ` [Buildroot] [PATCH v2 1/2] package/falcosecurity-libs: bump to version 0.21.0 Angelo Compagnucci
2026-11-02  8:54   ` [Buildroot] [PATCH v2 2/2] package/sysdig: bump to version 0.41.4 Angelo Compagnucci
  -- strict thread matches above, loose matches on Subject: below --
2026-10-30 13:59 [Buildroot] [PATCH 1/9] package/uthash: new package Angelo Compagnucci
2026-10-30 13:59 ` [Buildroot] [PATCH 3/9] package/libabseil-cpp: allow building with musl Angelo Compagnucci

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=auevFFXF0quq8FrR@windsurf \
    --to=buildroot@buildroot.org \
    --cc=angelo.compagnucci@gmail.com \
    --cc=flaniel@linux.microsoft.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.