https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89830
--- Comment #2 from kargl at gcc dot gnu.org --- (In reply to Zaak from comment #0) > When compiled, even with the `-fno-working-directory` flag, the object file > still contains references to the full path to the source file: > > ``` > $ strings > src/mpi/CMakeFiles/opencoarrays_mod.dir/__/extensions/opencoarrays.F90.o > > Argument NCOPIES of REPEAT intrinsic is negative (its value is %ld) > At line 590 of file > /Users/ibeekman/Sandbox/OpenCoarrays/src/extensions/opencoarrays.F90 Not sure about the above. I doubt -fno-working-directory works with gfortran, and I doubt if anyone can or has the time to fix it. Do note that this option is pre-processor option. gfortran runs the processor in traditional mode, so the option may be a nop.