Below is the corresponding failure at build time (rather than link time) for "clang -m32" on Linux/x86-64.
-Paul libtool: compile: clang -DHAVE_CONFIG_H -I. -I/scratch/phargrov/OMPI/openmpi-3.0.0rc1-linux-x86_64-clang-m32/openmpi-3.0.0rc1/opal -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 -I/scratch/phargrov/OMPI/openmpi-3.0.0rc1-linux-x86_64-clang-m32/openmpi-3.0.0rc1 -I.. -I/scratch/phargrov/OMPI/openmpi-3.0.0rc1-linux-x86_64-clang-m32/openmpi-3.0.0rc1/opal/include -I/scratch/phargrov/OMPI/openmpi-3.0.0rc1-linux-x86_64-clang-m32/openmpi-3.0.0rc1/orte/include -I../orte/include -I/scratch/phargrov/OMPI/openmpi-3.0.0rc1-linux-x86_64-clang-m32/openmpi-3.0.0rc1/ompi/include -I/scratch/phargrov/OMPI/openmpi-3.0.0rc1-linux-x86_64-clang-m32/openmpi-3.0.0rc1/oshmem/include -I/scratch/phargrov/OMPI/openmpi-3.0.0rc1-linux-x86_64-clang-m32/BLD/opal/mca/event/libevent2022/libevent/include -I/scratch/phargrov/OMPI/openmpi-3.0.0rc1-linux-x86_64-clang-m32/openmpi-3.0.0rc1/opal/mca/event/libevent2022/libevent -I/scratch/phargrov/OMPI/openmpi-3.0.0rc1-linux-x86_64-clang-m32/openmpi-3.0.0rc1/opal/mca/event/libevent2022/libevent/include -I/scratch/phargrov/OMPI/openmpi-3.0.0rc1-linux-x86_64-clang-m32/BLD/opal/mca/hwloc/hwloc1113/hwloc/include -I/scratch/phargrov/OMPI/openmpi-3.0.0rc1-linux-x86_64-clang-m32/openmpi-3.0.0rc1/opal/mca/hwloc/hwloc1113/hwloc/include -DOPAL_CONFIGURE_HOST=\"pcp-f-5\" -m32 -g -finline-functions -fno-strict-aliasing -pthread -MT class/opal_list.lo -MD -MP -MF class/.deps/opal_list.Tpo -c /scratch/phargrov/OMPI/openmpi-3.0.0rc1-linux-x86_64-clang-m32/openmpi-3.0.0rc1/opal/class/opal_list.c -fPIC -DPIC -o class/.libs/opal_list.o In file included from /scratch/phargrov/OMPI/openmpi-3.0.0rc1-linux-x86_64-clang-m32/openmpi-3.0.0rc1/opal/class/opal_list.c:22: In file included from /scratch/phargrov/OMPI/openmpi-3.0.0rc1-linux-x86_64-clang-m32/openmpi-3.0.0rc1/opal/class/opal_list.h:73: In file included from /scratch/phargrov/OMPI/openmpi-3.0.0rc1-linux-x86_64-clang-m32/openmpi-3.0.0rc1/opal/class/opal_object.h:126: In file included from /scratch/phargrov/OMPI/openmpi-3.0.0rc1-linux-x86_64-clang-m32/openmpi-3.0.0rc1/opal/threads/thread_usage.h:30: In file included from /scratch/phargrov/OMPI/openmpi-3.0.0rc1-linux-x86_64-clang-m32/openmpi-3.0.0rc1/opal/include/opal/sys/atomic.h:155: /scratch/phargrov/OMPI/openmpi-3.0.0rc1-linux-x86_64-clang-m32/openmpi-3.0.0rc1/opal/include/opal/sys/gcc_builtin/atomic.h:150:12: error: cannot compile this atomic library call yet return __atomic_add_fetch (addr, delta, __ATOMIC_RELAXED); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. On Mon, Jul 3, 2017 at 3:55 PM, Paul Hargrove <phhargr...@lbl.gov> wrote: > On every ILP32 build I try w/ gcc, I get the following. > > ../../../opal/.libs/libopen-pal.so: undefined reference to > `__atomic_fetch_add_8' > collect2: error: ld returned 1 exit status > make[2]: *** [opal_wrapper] Error 1 > > This includes at least x86 and ppc32 (probably MIPS and ARM, but those are > too slow to have finished configure yet). > > -Paul > > > -- > Paul H. Hargrove phhargr...@lbl.gov > Computer Languages & Systems Software (CLaSS) Group > Computer Science Department Tel: +1-510-495-2352 > <(510)%20495-2352> > Lawrence Berkeley National Laboratory Fax: +1-510-486-6900 > <(510)%20486-6900> > -- Paul H. Hargrove phhargr...@lbl.gov Computer Languages & Systems Software (CLaSS) Group Computer Science Department Tel: +1-510-495-2352 Lawrence Berkeley National Laboratory Fax: +1-510-486-6900
_______________________________________________ devel mailing list devel@lists.open-mpi.org https://rfd.newmexicoconsortium.org/mailman/listinfo/devel