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

Carlos Santos unixmania at gmail.com
Mon Oct 21 14:28:55 UTC 2019


On Sun, Oct 20, 2019 at 11:26 AM Thomas Petazzoni
<thomas.petazzoni at bootlin.com> wrote:
>
> 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

Still appears as "New" in patchwork: https://patchwork.ozlabs.org/patch/1179727/

-- 
Carlos Santos <unixmania at gmail.com>


More information about the buildroot mailing list