https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119301
Bug ID: 119301 Summary: cobol FE uses get_current_dir_name unconditionally Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: build Severity: normal Priority: P3 Component: cobol Assignee: iains at gcc dot gnu.org Reporter: iains at gcc dot gnu.org Target Milestone: --- I think we can fix this by falling back to getcwd() which libiberty provides if it's not available on $host.