From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 678C8385840D; Sun, 8 Aug 2021 21:11:46 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 678C8385840D From: "ubizjak at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug libfortran/101820] New: fatal error: ISO_Fortran_binding.h: No such file or directory Date: Sun, 08 Aug 2021 21:11:46 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libfortran X-Bugzilla-Version: 12.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ubizjak at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Aug 2021 21:11:46 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D101820 Bug ID: 101820 Summary: fatal error: ISO_Fortran_binding.h: No such file or directory Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libfortran Assignee: unassigned at gcc dot gnu.org Reporter: ubizjak at gmail dot com Target Milestone: --- There are quite some FAILs in the gfortran testsuite, e.g.: FAIL: gfortran.dg/ISO_Fortran_binding_1.f90 -O0 (test for excess errors) FAIL: gfortran.dg/ISO_Fortran_binding_1.f90 -O1 (test for excess errors) FAIL: gfortran.dg/ISO_Fortran_binding_1.f90 -O2 (test for excess errors) FAIL: gfortran.dg/ISO_Fortran_binding_1.f90 -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions (test for excess errors) FAIL: gfortran.dg/ISO_Fortran_binding_1.f90 -O3 -g (test for excess erro= rs) FAIL: gfortran.dg/ISO_Fortran_binding_1.f90 -Os (test for excess errors) ... where: /home/uros/git/gcc/gcc/testsuite/gfortran.dg/ISO_Fortran_binding_1.c:3:10: fatal error: ISO_Fortran_binding.h: No such file or directory compilation terminated. compiler exited with status 1 FAIL: gfortran.dg/ISO_Fortran_binding_1.f90 -O3 -g (test for excess erro= rs) Excess errors: /home/uros/git/gcc/gcc/testsuite/gfortran.dg/ISO_Fortran_binding_1.c:3:10: fatal error: ISO_Fortran_binding.h: No such file or directory compilation terminated. UNRESOLVED: gfortran.dg/ISO_Fortran_binding_1.f90 -O3 -g compilation fai= led to produce executable The file ISO_Fortran_binding.h is present in the libgfortran build director= y, but it looks to me that -I is missing when building the testcase: /home/uros/gcc-build/gcc/testsuite/gfortran/../../gfortran -B/home/uros/gcc-build/gcc/testsuite/gfortran/../../ -B/home/uros/gcc-build/x86_64-pc-linux-gnu/./libgfortran/ /home/uros/git/gcc/gcc/testsuite/gfortran.dg/ISO_Fortran_binding_1.f90 -fdiagnostics-plain-output -fdiagnostics-plain-output -O3 -g -pedantic-erro= rs /home/uros/git/gcc/gcc/testsuite/gfortran.dg/ISO_Fortran_binding_1.c -dumpb= ase=20 -B/home/uros/gcc-build/x86_64-pc-linux-gnu/./libgfortran/.libs -L/home/uros/gcc-build/x86_64-pc-linux-gnu/./libgfortran/.libs -L/home/uros/gcc-build/x86_64-pc-linux-gnu/./libgfortran/.libs -L/home/uros/gcc-build/x86_64-pc-linux-gnu/./libatomic/.libs -B/home/uros/gcc-build/x86_64-pc-linux-gnu/./libquadmath/.libs -L/home/uros/gcc-build/x86_64-pc-linux-gnu/./libquadmath/.libs -L/home/uros/gcc-build/x86_64-pc-linux-gnu/./libquadmath/.libs -lm -o ./ISO_Fortran_binding_1.exe /home/uros/git/gcc/gcc/testsuite/gfortran.dg/ISO_Fortran_binding_1.c:3:10: fatal error: ISO_Fortran_binding.h: No such file or directory compilation terminated. Adding "-I/home/uros/gcc-build/x86_64-pc-linux-gnu/libgfortran" to the above command fixes the compilation.=