Skip to content

ISO_Fortran_binding.h not found #8

@rouson

Description

@rouson
% fpm test --compiler flang-new --verbose
 + mkdir -p build/dependencies
Initialized empty Git repository in /Users/rouson/Repositories/iso_fortran_binding_m/build/dependencies/sourcery/.git/
remote: Enumerating objects: 52, done.
remote: Counting objects: 100% (52/52), done.
remote: Compressing objects: 100% (48/48), done.
remote: Total 52 (delta 4), reused 10 (delta 1), pack-reused 0 (from 0)
Unpacking objects: 100% (52/52), 27.64 KiB | 690.00 KiB/s, done.
From https://github.com/sourceryinstitute/sourcery
 * tag               3.6.0      -> FETCH_HEAD
Initialized empty Git repository in /Users/rouson/Repositories/iso_fortran_binding_m/build/dependencies/assert/.git/
remote: Enumerating objects: 29, done.
remote: Counting objects: 100% (29/29), done.
remote: Compressing objects: 100% (27/27), done.
remote: Total 29 (delta 0), reused 14 (delta 0), pack-reused 0 (from 0)
Unpacking objects: 100% (29/29), 14.54 KiB | 595.00 KiB/s, done.
From https://github.com/sourceryinstitute/assert
 * tag               1.4.0      -> FETCH_HEAD
 <INFO> BUILD_NAME: build/flang-new
 <INFO> COMPILER:  flang-new
 <INFO> C COMPILER:  /opt/homebrew/Cellar/llvm/20.1.4/bin/clang
 <INFO> CXX COMPILER: /opt/homebrew/Cellar/llvm/20.1.4/bin/clang++
 <INFO> COMPILER OPTIONS:   -O3 -g
 <INFO> C COMPILER OPTIONS:  
 <INFO> CXX COMPILER OPTIONS: 
 <INFO> LINKER OPTIONS:  
 <INFO> INCLUDE DIRECTORIES:  []
 + mkdir -p build/flang-new_85BCFB6B99A9E02A
 + mkdir -p build/flang-new_00811D69250C8F7F
 + mkdir -p build/flang-new_ACA541B12069A010
[  0%]                   c_allocate.c
 + mkdir -p build/flang-new_00811D69250C8F7F/iso_fortran_binding_m/
 + /opt/homebrew/Cellar/llvm/20.1.4/bin/clang -c ././src/c_allocate.c   -o build/flang-new_00811D69250C8F7F/iso_fortran_binding_m/src_c_allocate.c.o
[  6%]                   c_allocate.c  done.
[  6%]        cfi_function_wrappers.c
 + /opt/homebrew/Cellar/llvm/20.1.4/bin/clang -c ././src/cfi_function_wrappers.c   -o build/flang-new_00811D69250C8F7F/iso_fortran_binding_m/src_cfi_function_wrappers.c.o
In file included from ././src/cfi_function_wrappers.c:3:
././src/cfi_function_wrappers.h:7:10: fatal error: 'ISO_Fortran_binding.h' file not found
    7 | #include <ISO_Fortran_binding.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[ 13%]        cfi_function_wrappers.c  done.

In file included from ././src/cfi_function_wrappers.c:3:
././src/cfi_function_wrappers.h:7:10: fatal error: 'ISO_Fortran_binding.h' file not found
    7 | #include <ISO_Fortran_binding.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
<ERROR> Compilation failed for object " src_cfi_function_wrappers.c.o "
<ERROR> stopping due to failed compilation
STOP 1

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions