Re: [OMPI users] Build failure with OMPI-1.5 (clang-2.8, gcc-4.5.1 with debug options)

2010-10-15 Thread Matthias Jurenz
On Friday 15 October 2010 16:56:50 you wrote: > > On Thu, Oct 14, 2010 at 22:36, Jeff Squyres wrote: > > > On Oct 11, 2010, at 4:50 PM, Jed Brown wrote: > > > > Note that this is an out-of-source build. > > > > > > > > $ ../configure --enable-debug --enable-mem-debug > > > > > > --prefix=/home/jed

Re: [OMPI users] Build failure with OMPI-1.5 (clang-2.8, gcc-4.5.1 with debug options)

2010-10-15 Thread Matthias Jurenz
> On Thu, Oct 14, 2010 at 22:36, Jeff Squyres wrote: > > > On Oct 11, 2010, at 4:50 PM, Jed Brown wrote: > > > > > Note that this is an out-of-source build. > > > > > > $ ../configure --enable-debug --enable-mem-debug > > --prefix=/home/jed/usr/ompi-1.5-clang CC=clang CXX=clang++ > > > $ make > >

Re: [OMPI users] Build failure with OMPI-1.5 (clang-2.8, gcc-4.5.1 with debug options)

2010-10-14 Thread Jed Brown
On Fri, Oct 15, 2010 at 01:26, Jed Brown wrote: > I'll report the bug http://llvm.org/bugs/show_bug.cgi?id=8383

Re: [OMPI users] Build failure with OMPI-1.5 (clang-2.8, gcc-4.5.1 with debug options)

2010-10-14 Thread Jed Brown
On Fri, Oct 15, 2010 at 00:38, Jeff Squyres (jsquyres) wrote: > Huh. Can you make V=1 to build libmpi and use the same kind of options to > build your sample library? > Make log here http://59A2.org/files/openmpi-1.5-clang-make.log After some digging, this looks like a clang bug. First, from t

Re: [OMPI users] Build failure with OMPI-1.5 (clang-2.8, gcc-4.5.1 with debug options)

2010-10-14 Thread Jeff Squyres (jsquyres)
Huh. Can you make V=1 to build libmpi and use the same kind of options to build your sample library? Sent from my PDA. No type good. On Oct 14, 2010, at 6:01 PM, "Jed Brown" wrote: > On Thu, Oct 14, 2010 at 23:53, Jeff Squyres wrote: > The configure test essentially looks like this -- could

Re: [OMPI users] Build failure with OMPI-1.5 (clang-2.8, gcc-4.5.1 with debug options)

2010-10-14 Thread Jed Brown
On Thu, Oct 14, 2010 at 23:53, Jeff Squyres wrote: > The configure test essentially looks like this -- could you try this > manually and see what happens? > > cat > conftest_weak.h < int real(int i); > int fake(int i); > EOF > > cat > conftest_weak.c < #include "conftest_weak.h" > #pragma weak fa

Re: [OMPI users] Build failure with OMPI-1.5 (clang-2.8, gcc-4.5.1 with debug options)

2010-10-14 Thread Jeff Squyres
On Oct 14, 2010, at 5:38 PM, Jed Brown wrote: > $ nm -D > /home/jed/src/openmpi-1.5/bclang/ompi/contrib/vt/vt/../../../.libs/libmpi.so > |grep MPI_Abort > 00074380 T PMPI_Abort > > In contrast, with gcc: > > $ nm -D > /home/jed/src/openmpi-1.5/bgcc/ompi/contrib/vt/vt/../../../.libs/li

Re: [OMPI users] Build failure with OMPI-1.5 (clang-2.8, gcc-4.5.1 with debug options)

2010-10-14 Thread Jed Brown
On Thu, Oct 14, 2010 at 23:31, Jeff Squyres wrote: > Strange, because I see > /home/jed/src/openmpi-1.5/bclang/ompi/contrib/vt/vt/../../../.libs/libmpi.so > explicitly listed in the link line, which should contain MPI_Abort. Can you > nm on that file and ensure that it is actually listed there?

Re: [OMPI users] Build failure with OMPI-1.5 (clang-2.8, gcc-4.5.1 with debug options)

2010-10-14 Thread Jeff Squyres
On Oct 14, 2010, at 5:09 PM, Jed Brown wrote: > libtool: link: clang++ -DVT_MPI -g -finline-functions -pthread -o > .libs/vtunify-mpi vtunify_mpi-vt_unify_mpi.o vtunify_mpi-vt_unify.o > vtunify_mpi-vt_unify_defs.o vtunify_mpi-vt_unify_defs_hdlr.o > vtunify_mpi-vt_unify_events.o vtunify_mpi-vt_u

Re: [OMPI users] Build failure with OMPI-1.5 (clang-2.8, gcc-4.5.1 with debug options)

2010-10-14 Thread Jed Brown
On Thu, Oct 14, 2010 at 22:36, Jeff Squyres wrote: > On Oct 11, 2010, at 4:50 PM, Jed Brown wrote: > > > Note that this is an out-of-source build. > > > > $ ../configure --enable-debug --enable-mem-debug > --prefix=/home/jed/usr/ompi-1.5-clang CC=clang CXX=clang++ > > $ make > > [...] > > CXXLD

Re: [OMPI users] Build failure with OMPI-1.5 (clang-2.8, gcc-4.5.1 with debug options)

2010-10-14 Thread Jeff Squyres
On Oct 11, 2010, at 4:50 PM, Jed Brown wrote: > Note that this is an out-of-source build. > > $ ../configure --enable-debug --enable-mem-debug > --prefix=/home/jed/usr/ompi-1.5-clang CC=clang CXX=clang++ > $ make > [...] > CXXLD vtunify-mpi > vtunify_mpi-vt_unify_mpi.o: In function `VTUnify_M

[OMPI users] Build failure with OMPI-1.5 (clang-2.8, gcc-4.5.1 with debug options)

2010-10-11 Thread Jed Brown
Note that this is an out-of-source build. $ ../configure --enable-debug --enable-mem-debug --prefix=/home/jed/usr/ompi-1.5-clang CC=clang CXX=clang++ $ make [...] CXXLD vtunify-mpi vtunify_mpi-vt_unify_mpi.o: In function `VTUnify_MPI_Abort': /home/jed/src/openmpi-1.5/bclang/ompi/contrib/vt/vt/t