Am Donnerstag, 6. Oktober 2022, 10:55:00 CEST schrieb WANG Xuerui: > In commit 80f0fe3a85 ("linux-user: Fix syscall parameter handling for > MIPS n32") the ABI problem regarding offset64 on MIPS n32 was fixed, > but still some cases remain where the n32 is incorrectly treated as any > other 32-bit ABI that passes 64-bit arguments in pairs of GPRs. Fix by > excluding TARGET_ABI_MIPSN32 from various TARGET_ABI_BITS == 32 checks. > > Closes: https://gitlab.com/qemu-project/qemu/-/issues/1238 > Signed-off-by: WANG Xuerui <xe...@gentoo.org> > Cc: Philippe Mathieu-Daudé <f4...@amsat.org> > Cc: Jiaxun Yang <jiaxun.y...@flygoat.com> > Cc: Andreas K. Hüttel <dilfri...@gentoo.org> > Cc: Joshua Kinard <ku...@gentoo.org> > --- > > Note: I can't reproduce the crash with neither MIPS n32 sysroot at my hand > (a self-built one for Loongson-2F, and > stage3-mips64_n32-openrc-20221001T170527Z), > so I can only verify by looking at the (host and qemu) strace outputs, and > would have to ask you to review/test this harder. Thanks.
This solves the problem I observed in https://gitlab.com/qemu-project/qemu/-/issues/1238 Thank you!! Tested by having one mipsel n32 chroot rebuild itself completely. Tested-by: Andreas K. Huettel <dilfri...@gentoo.org> -- Andreas K. Hüttel dilfri...@gentoo.org Gentoo Linux developer (council, toolchain, base-system, perl, libreoffice)
signature.asc
Description: This is a digitally signed message part.