[Bug 266196] math/octopus: Fails to build with GCC 12: Fatal Error: Sorry, polymorphic arrays not yet supported for firstprivate compilation terminated.

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 03 Sep 2022 09:44:59 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266196

            Bug ID: 266196
           Summary: math/octopus: Fails to build with GCC 12: Fatal Error:
                    Sorry, polymorphic arrays not yet supported for
                    firstprivate compilation terminated.
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
               URL: http://package18.nyi.freebsd.org/data/123amd64-default
                    -foo/2022-08-30_18h10m18s/logs/errors/octopus-11.4.log
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: salvadore@freebsd.org
            Blocks: 265948

Updating GCC_DEFAULT from GCC 11 to GCC 12 is blocked by the fact that building
this port with GCC 12 on amd64 fails.

The error message is the following:


grid/derivatives_inc.F90:717:54:

  717 |       !$omp parallel do private(tmp, ip, idim1, idim2)
      |                                                      ^
Fatal Error: Sorry, polymorphic arrays not yet supported for firstprivate
compilation terminated.
gmake[3]: *** [Makefile:3167: grid/derivatives.lo] Error 1



Please see also the log in the URL field. This URL might be useful to solve the
issue: http://gcc.gnu.org/gcc-12/porting_to.html .


Referenced Bugs:

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