[Bug 238666] science/dftbplus: fails to build with GCC 9

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Jun 17 13:20:30 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238666

            Bug ID: 238666
           Summary: science/dftbplus: fails to build with GCC 9
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: patch
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: yuri at freebsd.org
          Reporter: jbeich at FreeBSD.org
                CC: yuri at freebsd.org
            Blocks: 238330
          Assignee: yuri at freebsd.org
             Flags: maintainer-feedback?(yuri at freebsd.org)
 Attachment #205182 maintainer-approval?(yuri at freebsd.org)
             Flags:
                CC: yuri at freebsd.org

Created attachment 205182
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=205182&action=edit
v1 (rebased for esr60)

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


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238330
[Bug 238330] [exp-run] Update GCC_DEFAULT from 8 to 9
-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list