What is "gold"? Can you send all the information listed here (e.g., I don't know what version of Open MPI you're reporting about):
http://www.open-mpi.org/community/help/ If VT is a problem, you can specify --disable-vt on OMPI's configure command line (assuming this is OMPI 1.5.x). On Feb 15, 2012, at 12:03 PM, Dmitri Gribenko wrote: > Hi, > > I've found that otfcompress doesn't build with gold: > > make[3]: Entering directory > `/home/storage_3/grib/ompi-build/ompi/contrib/vt/vt/extlib/otf/tools/otfcompress' > /bin/sh ../../libtool --tag=CC --mode=link clang -O3 -DNDEBUG > -finline-functions -fno-strict-aliasing -pthread > -I/home/storage_3/grib/ompi-trunk/opal/mca/hwloc/hwloc132/hwloc/include > -L/home/storage_3/grib/ompi-build/ompi/contrib/vt/vt/../../../.libs > -o otfcompress otfcompress.o ../../otflib/libotf.la > libtool: link: clang -O3 -DNDEBUG -finline-functions > -fno-strict-aliasing -pthread > -I/home/storage_3/grib/ompi-trunk/opal/mca/hwloc/hwloc132/hwloc/include > -o .libs/otfcompress otfcompress.o > -L/home/storage_3/grib/ompi-build/ompi/contrib/vt/vt/../../../.libs > ../../otflib/.libs/libotf.so -pthread -Wl,-rpath > -Wl,/home/storage_3/grib/ompi-install/lib > otfcompress.o:../../../../../../../../../ompi-trunk/ompi/contrib/vt/vt/extlib/otf/tools/otfcompress/otfcompress.c:function > decompressFile: error: undefined reference to 'inflateInit_' > otfcompress.o:../../../../../../../../../ompi-trunk/ompi/contrib/vt/vt/extlib/otf/tools/otfcompress/otfcompress.c:function > decompressFile: error: undefined reference to 'inflate' > otfcompress.o:../../../../../../../../../ompi-trunk/ompi/contrib/vt/vt/extlib/otf/tools/otfcompress/otfcompress.c:function > decompressFile: error: undefined reference to 'inflateEnd' > otfcompress.o:../../../../../../../../../ompi-trunk/ompi/contrib/vt/vt/extlib/otf/tools/otfcompress/otfcompress.c:function > compressFile: error: undefined reference to 'deflateInit_' > otfcompress.o:../../../../../../../../../ompi-trunk/ompi/contrib/vt/vt/extlib/otf/tools/otfcompress/otfcompress.c:function > compressFile: error: undefined reference to 'deflate' > otfcompress.o:../../../../../../../../../ompi-trunk/ompi/contrib/vt/vt/extlib/otf/tools/otfcompress/otfcompress.c:function > compressFile: error: undefined reference to 'deflateEnd' > clang: error: linker command failed with exit code 1 (use -v to see > invocation) > > The problem is that --no-add-needed is default gold behavior. All > libraries have to be specified explicitly to the linker. In this case > -lz is missing. > > Dmitri > > -- > main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if > (j){printf("%d\n",i);}}} /*Dmitri Gribenko <griboz...@gmail.com>*/ > _______________________________________________ > devel mailing list > de...@open-mpi.org > http://www.open-mpi.org/mailman/listinfo.cgi/devel -- Jeff Squyres jsquy...@cisco.com For corporate legal information go to: http://www.cisco.com/web/about/doing_business/legal/cri/