Closed
Description
With xlc-12.1 on a ppc64 host, I am trying to build for ILP32, and configure as follows:
[path-to]/configure --prefix=[...] --enable-debug CC=xlc CXX=xlC FC=xlf \
CFLAGS="-q32" --with-wrapper-cflags="-q32" \
CXXFLAGS="-q32" --with-wrapper-cxxflags="-q32" \
FCFLAGS="-q32" --with-wrapper-fcflags="-q32" --disable-oshmem-fortran
This build was previously failing due to #3811, but a patch from @ggouaillardet gets me past that and on to the next problem:
libtool: compile: xlc -DHAVE_CONFIG_H -I. -I/home/hargrove/SCRATCH/OMPI/openmpi-3.0.0rc1-linux-ppc32-xlc-12.1/openmpi-3.0.0rc1/ompi/mpi/c/profile -I../../../../opal/include -I../../../../ompi/include -I../../../../oshmem/include -I../../../../opal/mca/hwloc/hwloc1113/hwloc/include/private/autogen -I../../../../opal/mca/hwloc/hwloc1113/hwloc/include/hwloc/autogen -I../../../../ompi/mpiext/cuda/c -DOMPI_BUILD_MPI_PROFILING=1 -I/home/hargrove/SCRATCH/OMPI/openmpi-3.0.0rc1-linux-ppc32-xlc-12.1/openmpi-3.0.0rc1 -I../../../.. -I/home/hargrove/SCRATCH/OMPI/openmpi-3.0.0rc1-linux-ppc32-xlc-12.1/openmpi-3.0.0rc1/opal/include -I/home/hargrove/SCRATCH/OMPI/openmpi-3.0.0rc1-linux-ppc32-xlc-12.1/openmpi-3.0.0rc1/orte/include -I../../../../orte/include -I/home/hargrove/SCRATCH/OMPI/openmpi-3.0.0rc1-linux-ppc32-xlc-12.1/openmpi-3.0.0rc1/ompi/include -I/home/hargrove/SCRATCH/OMPI/openmpi-3.0.0rc1-linux-ppc32-xlc-12.1/openmpi-3.0.0rc1/oshmem/include -I/home/hargrove/SCRATCH/OMPI/openmpi-3.0.0rc1-linux-ppc32-xlc-12.1/BLD/opal/mca/event/libevent2022/libevent/include -I/home/hargrove/SCRATCH/OMPI/openmpi-3.0.0rc1-linux-ppc32-xlc-12.1/openmpi-3.0.0rc1/opal/mca/event/libevent2022/libevent -I/home/hargrove/SCRATCH/OMPI/openmpi-3.0.0rc1-linux-ppc32-xlc-12.1/openmpi-3.0.0rc1/opal/mca/event/libevent2022/libevent/include -I/home/hargrove/SCRATCH/OMPI/openmpi-3.0.0rc1-linux-ppc32-xlc-12.1/BLD/opal/mca/hwloc/hwloc1113/hwloc/include -I/home/hargrove/SCRATCH/OMPI/openmpi-3.0.0rc1-linux-ppc32-xlc-12.1/openmpi-3.0.0rc1/opal/mca/hwloc/hwloc1113/hwloc/include -D_REENTRANT -q32 -g -c paddress.c -Wp,-qmakedep=gcc,-MF.deps/paddress.TPlo -qpic -DPIC -o .libs/paddress.o
"/home/hargrove/SCRATCH/OMPI/openmpi-3.0.0rc1-linux-ppc32-xlc-12.1/openmpi-3.0.0rc1/opal/include/opal/sys/sync_builtin/atomic.h", line 35.5: 1506-754 (S) The parameter type is not valid for a function of this linkage type.
"/home/hargrove/SCRATCH/OMPI/openmpi-3.0.0rc1-linux-ppc32-xlc-12.1/openmpi-3.0.0rc1/opal/include/opal/sys/sync_builtin/atomic.h", line 40.5: 1506-754 (S) The parameter type is not valid for a function of this linkage type.
"/home/hargrove/SCRATCH/OMPI/openmpi-3.0.0rc1-linux-ppc32-xlc-12.1/openmpi-3.0.0rc1/opal/include/opal/sys/sync_builtin/atomic.h", line 45.5: 1506-754 (S) The parameter type is not valid for a function of this linkage type.
All thee errors are on lines with just __sync_synchronize()
.
I have attached the config.log