On 2/11/26 10:25 AM, Steve Kargl wrote:
On Tue, Feb 10, 2026 at 09:55:35AM -0800, Jerry D wrote:
Dear all, as requested.
Attached is the first of the series of 13 patches which implements a new
shared memory library -lcaf_shmem. All 13 patches should be applied before
attempting to build and test. The change log entries provide explanation as
well as the changes to invoke.texi
Previously identified locking and syncing issues are fixed by patches 11 and 12.
Changes to the configuration and regeneration files are grouped in patch 13.
Jerry sent me a combined version of the patch off-list.
I finally had time to apply the patch and test it.
The patch leads to 170 failures on x86_64-*-freebsd.
=== gfortran Summary ===
# of expected passes 74740
# of unexpected failures 207
# of expected failures 343
# of unresolved testcases 78
# of unsupported tests 95
/home/kargl/gcc/obj/gcc/gfortran version 16.0.1 20260204 (experimental) (GCC)
Looks like the testsuite is linking against a previously
installed libcaf_shmem.
Executing on host: /home/kargl/gcc/obj/gcc/testsuite/gfortran12/../../gfortran
-B/home/kargl/gcc/obj/gcc/testsuite/gfortran12/../../
-B/home/kargl/gcc/obj/x86_64-unknown-freebsd16.0/./libgfortran/
/home/kargl/gcc/gcc/gcc/testsuite/gfortran.dg/coarray/alloc_comp_1.f90
-fdiagnostics-plain-output -fdiagnostics-plain-output -fcoarray=lib -O2
-lcaf_shmem
-L/home/kargl/gcc/obj/x86_64-unknown-freebsd16.0/./libatomic/.libs
-L/home/kargl/gcc/obj/x86_64-unknown-freebsd16.0/./libquadmath/.libs -lm -o
./alloc_comp_1.exe (timeout = 300)
spawn -ignore SIGHUP
/home/kargl/gcc/obj/gcc/testsuite/gfortran12/../../gfortran
-B/home/kargl/gcc/obj/gcc/testsuite/gfortran12/../../
-B/home/kargl/gcc/obj/x86_64-unknown-freebsd16.0/./libgfortran/
/home/kargl/gcc/gcc/gcc/testsuite/gfortran.dg/coarray/alloc_comp_1.f90
-fdiagnostics-plain-output -fdiagnostics-plain-output -fcoarray=lib -O2
-lcaf_shmem -L/home/kargl/gcc/obj/x86_64-unknown-freebsd16.0/./libatomic/.libs
-L/home/kargl/gcc/obj/x86_64-unknown-freebsd16.0/./libquadmath/.libs -lm -o
./alloc_comp_1.exe
/usr/local/bin/ld: cannot find -lcaf_shmem: No such file or directory
collect2: error: ld returned 1 exit status
compiler exited with status 1
FAIL: gfortran.dg/coarray/alloc_comp_1.f90 -fcoarray=lib -O2 -lcaf_shmem
(test for excess errors)
Excess errors:
/usr/local/bin/ld: cannot find -lcaf_shmem: No such file or directory
% grep "cannot find -lcaf_shmem" gcc/testsuite/gfortran/gfortran.log | wc -l
158
IMHO, the patch is not ready for commit.
Hi Steve,
I will investigate this soon.
Is there a freeBSD system I can access anywhere?
Jerry