On 9/15/2026 4:08 AM, Ilya Leoshkevich wrote:
> Running TCG tests from a build directory that is outside of the source
> tree fails with:
>
> [...]/qemu/tests/tcg/multiarch/libs/float_helpers.c:228:1: fatal error:
> opening dependency file tests/tcg/s390x-linux-user-float_convs.d: No such
> file or directory
>
> This is because the build directory is not mounted into the container.
> Add this mount. Do not bother with preventing overlapping mounts, they
> are harmless.
>
> Fixes: 27939ad414ca ("tests/tcg/meson.build: introduce cc_dockerfile and
> cc_docker_host_arch")
> Signed-off-by: Ilya Leoshkevich <[email protected]>
> ---
> tests/tcg/meson.build | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
Good catch, thanks.
Note: in case we need to add :z flag to mount for SELinux, this will
have to be done here also.
Reviewed-by: Pierrick Bouvier <[email protected]>