Closed yurivict closed 8 months ago
Hi,
Could you try PR #58 ? @Clement-Fontenaille should have fixed your issue.
Best,
Now the build fails like this:
/usr/ports/net/wi4mpi/work/wi4mpi-3.6.4-26-g8b969ed/src/common/helper.c:176:41: error: incompatible function pointer types passing 'int (*)(void *)' to parameter of type 'void *(*)(void *)' [-Wincompatible-function-pointer-types]
pthread_create(&timeout_thread, NULL, &wi4mpi_timeout_main_loop,
^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/pthread.h:213:50: note: passing argument to parameter here
const pthread_attr_t * __restrict, void *(*) (void *),
^
Hello, I set a FreeBSD VM up to progress on this issue without having to do back and forth with you for each change.
I would like to know more about your system. I see you said you used a -DFREEBSD_FC=gfortran12
, did you patch the CMakeLists.txt?
You say you are using clang-15. Did you install llvm15 using pkg
or did you compile your own from the ports? If you compiled it, did you build flang
? (I am trying to be the closest to your setup, as far as wi4mpi compilation is concerned).
Compilation fails:
Configured with: -DWI4MPI_COMPILER=LLVM -DFREEBSD_FC=gfortran12
Version: 3.6.4 clang-15 FreeBSD 13.2