Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Jun 2019 13:19:55 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 238666] science/dftbplus: fails to build with GCC 9
Message-ID:  <bug-238666-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D238666

            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@freebsd.org
          Reporter: jbeich@FreeBSD.org
                CC: yuri@freebsd.org
            Blocks: 238330
          Assignee: yuri@freebsd.org
             Flags: maintainer-feedback?(yuri@freebsd.org)
 Attachment #205182 maintainer-approval?(yuri@freebsd.org)
             Flags:
                CC: yuri@freebsd.org

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

USES=3Dfortran consumers cannot use LLVM openmp yet. Trying to mix GNU fort=
ran
and LLVM C compiler is also fragile. Why not embrace GCC for everything?

$ echo "DEFAULT_VERSIONS +=3D gcc=3D9" >>/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_2=
0h28m31s/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_20h27m2=
2s/logs/errors/dftbplus-18.2_6.log


Referenced Bugs:

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-238666-7788>