Bug 233518 - devel/flang-clang: Clang is broken: error: unable to execute command: Executable "flang1" doesn't exist!
Summary: devel/flang-clang: Clang is broken: error: unable to execute command: Executa...
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Johannes M Dieterich
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-11-25 21:14 UTC by Yuri Victorovich
Modified: 2019-10-21 00:30 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (jmd)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yuri Victorovich freebsd_committer freebsd_triage 2018-11-25 21:14:02 UTC
It fails this way for all fortran programs.
Comment 1 Dima Pasechnik 2019-01-25 17:31:31 UTC
Could you post a minimal example of what's not working?

For me it works (in released 12.0), if I add -I/usr/local/flang/include to the compilation calls to flang, and add -lexecinfo to linking calls to flang.

(IMHO the need to add these extras is a bug in itself)
Comment 2 Johannes M Dieterich freebsd_committer freebsd_triage 2019-10-21 00:30:24 UTC
I've just made a major update to flang (and dependencies). With it, lexecinfo and -I/usr/local/flang/include are not necessary any longer. OpenMP pragmas seem to work out of the box.

Please reopen if this is still an issue.