On 13.07.21 23:28, Sandra Loosemore wrote:
ISO_Fortran_binding.h is now generated in the libgfortran build directory where it is on the default include path. Adjust includes in the gfortran testsuite not to include an explicit path pointing at the source directory.
...
-#include "../../../libgfortran/ISO_Fortran_binding.h" +#include "ISO_Fortran_binding.h"
Unfortunately, that does not help. When running the testsuite in the build directory (cd $BUILD/gcc), I get: testsuite/gfortran.dg/pr93524.c:5:10: fatal error: ISO_Fortran_binding.h: No such file or directory I wonder whether we need to do the same as with libgomp and libstdc++, namely adding a libgfortran/testsuite/ to handle this. In any case, compiling with '-v' shows all currently searched include paths are the same for -m32 and -m64, which is will pick up the wrong one for -m32. I tried it by using the command line used when running in tree make check-fortran RUNTESTFLAGS="dg.exp=pr93524.f90 --target_board=unix\{-m32,\}" Tobias ----------------- Siemens Electronic Design Automation GmbH; Anschrift: Arnulfstraße 201, 80634 München; Gesellschaft mit beschränkter Haftung; Geschäftsführer: Thomas Heurung, Frank Thürauf; Sitz der Gesellschaft: München; Registergericht München, HRB 106955