Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] package/qemu: fix crash with uClibc-ng
Date: Sun, 20 Oct 2019 16:26:36 +0200	[thread overview]
Message-ID: <20191020162636.16c339ae@windsurf.home> (raw)
In-Reply-To: <20191019020928.2931-1-unixmania@gmail.com>

On Fri, 18 Oct 2019 23:09:28 -0300
unixmania at gmail.com wrote:

> From: Carlos Santos <unixmania@gmail.com>
> 
> On uClibc-ng sysconf(_SC_LEVEL1_{I,D}CACHE_LINESIZE) returns -1, which
> is a valid result, meaning that the limit is indeterminate. Add a patch
> that handles this situation using fallback values instead of crashing
> due to an assertion failure.
> 
> Upstream status:
>    https://lists.nongnu.org/archive/html/qemu-devel/2019-10/msg04115.html
> 
> Signed-off-by: Carlos Santos <unixmania@gmail.com>
> ---
>  ...fix-crash-when-compiling-with-uClibc.patch | 43 +++++++++++++++++++
>  1 file changed, 43 insertions(+)
>  create mode 100644 package/qemu/3.1.1/0003-util-cacheinfo-fix-crash-when-compiling-with-uClibc.patch

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

  reply	other threads:[~2019-10-20 14:26 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-19  2:09 [Buildroot] [PATCH] package/qemu: fix crash with uClibc-ng unixmania at gmail.com
2019-10-20 14:26 ` Thomas Petazzoni [this message]
2019-10-21 14:28   ` Carlos Santos
2019-10-21 14:31     ` Thomas Petazzoni
2019-10-30  8:58 ` Peter Korsgaard

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=20191020162636.16c339ae@windsurf.home \
    --to=thomas.petazzoni@bootlin.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