[Bug 266192] lang/opencoarrays: Error: Cannot find keyword named 'operator' in call to 'co_reduce' at (1)
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 266192] lang/opencoarrays: Error: Cannot find keyword named 'operator' in call to 'co_reduce' at (1)"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 266192] lang/opencoarrays: Fails to build with GCC 12: Error: Cannot find keyword named 'operator' in call to 'co_reduce' at (1)"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 266192] lang/opencoarrays: Fails to build with GCC 12: Error: Cannot find keyword named 'operator' in call to 'co_reduce' at (1)"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 03 Sep 2022 09:21:12 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266192 Bug ID: 266192 Summary: lang/opencoarrays: Error: Cannot find keyword named 'operator' in call to 'co_reduce' at (1) Product: Ports & Packages Version: Latest Hardware: Any URL: http://package18.nyi.freebsd.org/data/123amd64-default -foo/2022-08-30_18h10m18s/logs/errors/opencoarrays-2.9 .0.log OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: salvadore@freebsd.org CC: miguel@gocobachi.dev Blocks: 265948 Flags: maintainer-feedback?(miguel@gocobachi.dev) CC: miguel@gocobachi.dev Updating GCC_DEFAULT from GCC 11 to GCC 12 is blocked by the fact that building this port with GCC 12 on i386 and amd64 fails. The error message is the following: /wrkdirs/usr/ports/lang/opencoarrays/work/OpenCoarrays-2.9.0/src/tests/unit/collectives/co_reduce_res_im.f90:14:63: 14 | call co_reduce ( value, result_image = 1, operator = myProd ) | 1 Error: Cannot find keyword named 'operator' in call to 'co_reduce' at (1) Error: comand: `/usr/local/bin/gfortran12 -I/wrkdirs/usr/ports/lang/opencoarrays/work/.build/include/OpenCoarrays-2.9.0_GNU-12 -fcoarray=lib -lpthread -Wl,-rpath=-Wl,-rpath=/usr/local/lib/gcc12 -Wl,-rpat h -Wl,/usr/local/mpi/openmpi/lib -Wl,--enable-new-dtags -pthread -I/usr/local/mpi/openmpi/include -I/usr/local/mpi/openmpi/lib -DPREFIX_NAME=_gfortran_caf_ -DGCC_GE_7 -DGCC_GE_8 -DHAVE_MPI -D MPI_WORKING_MODULE -O3 -DNDEBUG -O3 -o /wrkdirs/usr/ports/lang/opencoarrays/work/.build/bin/OpenCoarrays-2.9.0-tests/co_reduce_res_im /wrkdirs/usr/ports/lang/opencoarrays/work/OpenCoarrays-2. 9.0/src/tests/unit/collectives/co_reduce_res_im.f90 /wrkdirs/usr/ports/lang/opencoarrays/work/.build/lib/libopencoarrays_test_utilities.a /wrkdirs/usr/ports/lang/opencoarrays/work/.build/lib/ libopencoarrays_mod.a /wrkdirs/usr/ports/lang/opencoarrays/work/.build/lib/libcaf_mpi.a /usr/local/mpi/openmpi/lib/libmpi_usempi.so /usr/local/mpi/openmpi/lib/libmpi_mpifh.so /usr/local/mpi/o penmpi/lib/libmpi.so` failed to compile. 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.