On 5/1/19 9:04 PM, David Gibson wrote: > I've staged this tentatively in ppc-for-4.1. However while it removes > the "Invalid ELF image" message I still get: > > TEST test-mmap (4096 byte pages) on ppc64le > test-mmap: Invalid argument > make[2]: *** [/home/dwg/qemu/tests/tcg/multiarch/Makefile.target:35: > run-test-mmap-4096] Error 255 > make[2]: Target 'run' not remade because of errors. > make[1]: *** [/home/dwg/qemu/tests/tcg/Makefile.include:71: run-guest-tests] > Error 2 > make: *** [/home/dwg/qemu/tests/Makefile.include:1079: > run-tcg-tests-ppc64le-linux-user] Error 2 > > Running on a POWER9 host. Do you see that as well?
Yes. It's a semi-bogus test, really. We can't run test-mmap with a page size smaller than that of the host, and of course ppc64le uses 64k pages. This needs a different set of cleanups. ;-) r~