Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] libsigsegv: make the architecture dependencies more robust
Date: Tue, 9 Aug 2016 15:50:25 +0200	[thread overview]
Message-ID: <20160809155025.615afd36@free-electrons.com> (raw)
In-Reply-To: <1470661864-15936-1-git-send-email-thomas.petazzoni@free-electrons.com>

Hello,

On Mon,  8 Aug 2016 15:11:04 +0200, Thomas Petazzoni wrote:
> While musl and glibc provide the ucontext structure definition on all
> architectures they support, it is not the case of uClibc. We have been
> excluding more and more architectures over time, but this isn't really
> nice as we continuously need to add more. Latest example: the fact that
> ucontext on ARM is only available on ARM platforms that support the ARM
> instruction set (i.e not on the Thumb-2 only Cortex-M platforms).
> 
> Therefore, we introduce a BR2_PACKAGE_LIBSIGSEGV_ARCH_SUPPORTS variable,
> which:
> 
>  - is set to 'y' for musl and glibc
> 
>  - is set to 'y' for uClibc for the only architectures that are known to
>    provide ucontext (those are the ones that select ARCH_HAS_UCONTEXT in
>    uClibc.
> 
> Note that we remove the comment, as it would become a way too
> complicated comment, and we usually don't add comment for such
> complicated situations (see libunwind for a similar example).
> 
> Fixes:
> 
>   http://autobuild.buildroot.net/results/b1e40b3ec64cd98b535d83e89e5780c46680e095/
> 
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
> ---
>  package/libsigsegv/Config.in | 23 ++++++++++++++---------
>  1 file changed, 14 insertions(+), 9 deletions(-)

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

      reply	other threads:[~2016-08-09 13:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-08 13:11 [Buildroot] [PATCH] libsigsegv: make the architecture dependencies more robust Thomas Petazzoni
2016-08-09 13:50 ` Thomas Petazzoni [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=20160809155025.615afd36@free-electrons.com \
    --to=thomas.petazzoni@free-electrons.com \
    --cc=buildroot@busybox.net \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox