Re: [PATCH 1/13] Coarray shared memory library

Steve Kargl <[email protected]>
Newsgroups gmane.comp.gcc.patches,gmane.comp.gcc.fortran
Message-ID <[email protected]>
On Wed, Feb 11, 2026 at 10:30:00AM -0800, Steve Kargl wrote:
> On Wed, Feb 11, 2026 at 10:25:33AM -0800, Steve Kargl wrote:
> > 
> > % grep "cannot find -lcaf_shmem" gcc/testsuite/gfortran/gfortran.log | wc -l
> >      158
> > 
> > IMHO, the patch is not ready for commit.
> > 
> 
> In fact, it looks like a libcaf_shmem is not
> built.
> 
> % find . -name \*libcaf\*
> % find . -name \*caf\*
> ./x86_64-unknown-freebsd16.0/libgfortran/caf
> ./x86_64-unknown-freebsd16.0/libgfortran/caf/.deps/caf_error.Plo
> % ls ./x86_64-unknown-freebsd16.0/libgfortran/caf
> shmem/
> % ls ./x86_64-unknown-freebsd16.0/libgfortran/caf/shmem/
> <nothing reported?>
> 

Run gmake again without -15 dies with

libgfortran/../libbacktrace -I../libbacktrace -I../libbacktrace -std=gnu11 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings -Werror=implicit-function-declaration -Werror=vla -fcx-fortran-rules -ffunction-sections -fdata-sections -O -g -MT caf/shmem.lo -MD -MP -MF caf/.deps/shmem.Tpo -c ../../../gcc/libgfortran/caf/shmem.c  -fPIC -DPIC -o caf/.libs/shmem.o
../../../gcc/libgfortran/caf/shmem.c:30:10: fatal error: shmem/counter_barrier.h: No such file or directory
   30 | #include "shmem/counter_barrier.h"
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~

> 

% ls  ../gcc/libgfortran/caf
caf_error.c     caf_error.h     libcaf.h        mpi.c           shmem.c         single.c

Perhaps, the mega diff Jerry sent me is missing a file?


-- 
Steve
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.