flang icon indicating copy to clipboard operation
flang copied to clipboard

flang1 does not exist error

Open wreckdump opened this issue 4 years ago • 2 comments

I build the flang according to the wiki and I am now trying to compile a simple fortran code. But, I am getting the following error message.

clang-10: error: unable to execute command: Executable "flang1" doesn't exist!

I don't see flang1 or flang2 in the install/bin directory. Did I do something wrong with the compilation stage?

wreckdump avatar Jan 07 '21 03:01 wreckdump

Hi @wreckdump , building flang according to the wiki is working fine, as we are running github actions on every PR and commit and they work fine. Please consider the possible divergence between your environment and a standard ubuntu-20.04 that we are using, perhaps looking at latest build logs will provide some useful insights?

michalpasztamobica avatar Jan 19 '21 10:01 michalpasztamobica

I just had that happen to me as well - it happens when one accidentally creates the build directory underneath runtime/flang and tries to build there instead of underneath the toplevel (which is an easy mistake to make, after just having built in runtime/libpgmath)

martin-frbg avatar Mar 11 '21 21:03 martin-frbg