]> code.ossystems Code Review - openembedded-core.git/commit
qemu: Backport patch to avoid assertion fails on icache line size
authorAndrei Gherzan <andrei.gherzan@huawei.com>
Sat, 20 Feb 2021 01:12:55 +0000 (01:12 +0000)
committerSteve Sakoman <steve@sakoman.com>
Thu, 4 Mar 2021 14:19:50 +0000 (04:19 -1000)
commitfdb3ff363c6f8408058f362f3bfdeee4e18150fa
tree6bd271ffbf6703eb2e3439d8e295ae38a8ded6df
parent48acaa7d53b677f55c96289750aa0dd26345af7f
qemu: Backport patch to avoid assertion fails on icache line size

Due to a bug in glibc 2.33, the value of the icache line size is now
reported as unsupported option. This breaks qemu at runtime with:

cacheinfo.c:182: init_cache_info: Assertion `(isize & (isize - 1)) == 0'
failed.
Aborted (core dumped)

We haven't caught this one yet because we were already on qemu 5.2.0
when we started to play with glibc 2.33 so it was only reproducible on
dunfell.

Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/recipes-devtools/qemu/qemu.inc
meta/recipes-devtools/qemu/qemu/0012-util-cacheinfo-fix-crash-when-compiling-with-uClibc.patch [new file with mode: 0644]