[Buildroot] [PATCH] package/qemu: fix crash with uClibc-ng

Thomas Petazzoni thomas.petazzoni at bootlin.com
Sun Oct 20 14:26:36 UTC 2019


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

> From: Carlos Santos <unixmania at 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 at 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


More information about the buildroot mailing list