This fixes Libtool for an SVN checkout, but does not seem to get into the nightly trunk tarball. Why is that?
-Ethan On Wed, Aug/25/2010 03:40:18PM, emall...@osl.iu.edu wrote: > Author: emallove > Date: 2010-08-25 15:40:17 EDT (Wed, 25 Aug 2010) > New Revision: 23665 > URL: https://svn.open-mpi.org/trac/ompi/changeset/23665 > > Log: > Patch `ltmain.sh` in `autogen.sh` per this Libtool thread: > http://www.mail-archive.com/libtool@gnu.org/msg11249.html > > Added: > trunk/config/ltmain_pgi_tp.diff > Text files modified: > trunk/autogen.sh | 8 ++++++++ > 1 files changed, 8 insertions(+), 0 deletions(-) > > Modified: trunk/autogen.sh > ============================================================================== > --- trunk/autogen.sh (original) > +++ trunk/autogen.sh 2010-08-25 15:40:17 EDT (Wed, 25 Aug 2010) > @@ -11,6 +11,7 @@ > # Copyright (c) 2004-2005 The Regents of the University of California. > # All rights reserved. > # Copyright (c) 2007-2010 Cisco Systems, Inc. All rights reserved. > +# Copyright (c) 2010 Oracle and/or its affiliates. All rights reserved. > # $COPYRIGHT$ > # > # Additional copyrights may follow > @@ -442,6 +443,13 @@ > > echo "** Adjusting libltdl for OMPI :-(" > > + echo " ++ patching PGI -tp bug in ltmain.sh" > + if test -z "`grep -w tp config/ltmain.sh`"; then > + patch -N -p0 < config/ltmain_pgi_tp.diff > + else > + echo " -- your libtool doesn't need this! yay!" > + fi > + > echo " ++ preopen error masking ib libltdl" > if test -r opal/libltdl/loaders/preopen.c; then > patch -N -p0 < config/libltdl-preopen-error.diff > > Added: trunk/config/ltmain_pgi_tp.diff > ============================================================================== > --- (empty file) > +++ trunk/config/ltmain_pgi_tp.diff 2010-08-25 15:40:17 EDT (Wed, 25 Aug > 2010) > @@ -0,0 +1,11 @@ > +--- config/ltmain.sh > ++++ config/ltmain.sh > +@@ -4765,7 +4765,7 @@ > + # -p, -pg, --coverage, -fprofile-* pass through profiling flag for GCC > + # @file GCC response files > + -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \ > +- -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*) > ++ -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp|-tp=*) > + func_quote_for_eval "$arg" > + arg="$func_quote_for_eval_result" > + func_append compile_command " $arg" > _______________________________________________ > svn-full mailing list > svn-f...@open-mpi.org > http://www.open-mpi.org/mailman/listinfo.cgi/svn-full