https://bugs.kde.org/show_bug.cgi?id=401416
Bug ID: 401416
Summary: Compile failure with openmpi 4.0
Product: valgrind
Version: 3.14.0
Platform: Other
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
SUMMARY
OpenMPI drops support for MPI1 by default. This leads to a compile failure:
Making all in mpi
make[2]: Entering directory `/builddir/build/BUILD/valgrind-3.14.0/mpi'
/usr/lib64/openmpi/bin/mpicc -I../include -g -O -fno-omit-frame-pointer
-Wall -fpic -m64 -Wno-deprecated-declarations -c -o
libmpiwrap_ppc64le_linux_so-libmpiwrap.o `test -f 'libmpiwrap.c' || echo
'./'`libmpiwrap.c
for f in ; do \
if [ ! -e $f.dSYM -o $f -nt $f.dSYM ] ; then \
echo "dsymutil $f"; \
dsymutil $f; \
fi; \
done
mkdir -p ../.in_place; \
for f in ; do \
rm -f ../.in_place/$f.dSYM; \
ln -f -s ../mpi/$f.dSYM ../.in_place; \
done
BUILDSTDERR: libmpiwrap.c: In function 'showTy':
BUILDSTDERR: libmpiwrap.c:281:19: error: 'MPI_UB' undeclared (first use in this
function)
BUILDSTDERR: else if (ty == MPI_UB) fprintf(f,"UB");
BUILDSTDERR: ^
BUILDSTDERR: libmpiwrap.c:281:19: note: each undeclared identifier is reported
only once for each function it appears in
BUILDSTDERR: libmpiwrap.c:282:19: error: 'MPI_LB' undeclared (first use in this
function)
BUILDSTDERR: else if (ty == MPI_LB) fprintf(f,"LB");
BUILDSTDERR: ^
BUILDSTDERR: libmpiwrap.c: In function 'extentOfTy':
BUILDSTDERR: libmpiwrap.c:462:4: warning: implicit declaration of function
'PMPI_Type_extent' [-Wimplicit-function-declaration]
BUILDSTDERR: r = PMPI_Type_extent(ty, &n);
BUILDSTDERR: ^
BUILDSTDERR: libmpiwrap.c: In function 'walk_type':
BUILDSTDERR: libmpiwrap.c:736:17: error: 'MPI_LB' undeclared (first use in this
function)
BUILDSTDERR: if (ty == MPI_LB || ty == MPI_UB)
BUILDSTDERR: ^
BUILDSTDERR: libmpiwrap.c:736:33: error: 'MPI_UB' undeclared (first use in this
function)
BUILDSTDERR: if (ty == MPI_LB || ty == MPI_UB)
BUILDSTDERR: ^
BUILDSTDERR: make[2]: *** [libmpiwrap_ppc64le_linux_so-libmpiwrap.o] Error 1
--
You are receiving this mail because:
You are watching all bug changes.