Created attachment 205182 [details] v1 (has commit message) USES=fortran consumers cannot use LLVM openmp yet. Trying to mix GNU fortran and LLVM C compiler is also fragile. Why not embrace GCC for everything? $ echo "DEFAULT_VERSIONS += gcc=9" >>/etc/make.conf $ make [...] /usr/local/bin/ld: coulomb.o: in function `__coulomb_MOD_invrstress._omp_fn.0': coulomb.f90:(.text+0x42): undefined reference to `GOMP_loop_maybe_nonmonotonic_runtime_start' /usr/local/bin/ld: coulomb.f90:(.text+0x176): undefined reference to `GOMP_loop_maybe_nonmonotonic_runtime_next' /usr/local/bin/ld: coulomb.o: in function `__coulomb_MOD_invrstress._omp_fn.1': coulomb.f90:(.text+0xfbc): undefined reference to `GOMP_loop_maybe_nonmonotonic_runtime_start' /usr/local/bin/ld: coulomb.f90:(.text+0x1172): undefined reference to `GOMP_loop_maybe_nonmonotonic_runtime_next' [...] http://package22.nyi.freebsd.org/data/112amd64-default-PR238330/2019-06-09_20h29m30s/logs/errors/dftbplus-18.2_6.log http://package23.nyi.freebsd.org/data/112i386-default-PR238330/2019-06-09_20h28m31s/logs/errors/dftbplus-18.2_6.log http://package18.nyi.freebsd.org/data/120amd64-default-PR238330/2019-06-09_20h26m27s/logs/errors/dftbplus-18.2_6.log http://pb2.nyi.freebsd.org/data/120i386-default-PR238330/2019-06-09_20h27m22s/logs/errors/dftbplus-18.2_6.log
A commit references this bug: Author: tobik Date: Wed Jul 3 10:05:47 UTC 2019 New revision: 505742 URL: https://svnweb.freebsd.org/changeset/ports/505742 Log: science/dftbplus: Unbreak build with GCC 9 /usr/local/bin/ld: coulomb.o: in function `__coulomb_MOD_invrstress._omp_fn.0': coulomb.f90:(.text+0x42): undefined reference to `GOMP_loop_maybe_nonmonotonic_runtime_start' /usr/local/bin/ld: coulomb.f90:(.text+0x176): undefined reference to `GOMP_loop_maybe_nonmonotonic_runtime_next' /usr/local/bin/ld: coulomb.o: in function `__coulomb_MOD_invrstress._omp_fn.1': coulomb.f90:(.text+0xfbc): undefined reference to `GOMP_loop_maybe_nonmonotonic_runtime_start' /usr/local/bin/ld: coulomb.f90:(.text+0x1172): undefined reference to `GOMP_loop_maybe_nonmonotonic_runtime_next' [...] PR: 238666 Submitted by: jbeich Reported by: antoine (via exp-run in PR 238330) Approved by: yuri (maintainer timeout, 2 weeks) Changes: head/science/dftbplus/Makefile