[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Libtool strips out -tp=k8-32 PGI compiler flag in link mode
From: |
Ethan Mallove |
Subject: |
Re: Libtool strips out -tp=k8-32 PGI compiler flag in link mode |
Date: |
Mon, 4 May 2009 09:35:00 -0400 |
User-agent: |
Mutt/1.5.17 (2007-11-01) |
On Sat, May/02/2009 10:25:43AM, Ralf Wildenhues wrote:
> Hello,
>
> I've pushed this patch now; sorry for the delay.
>
> The additional information from
> <http://thread.gmane.org/gmane.comp.gnu.libtool.general/10021/focus=10034>
> would still be nice in order to be able to debug the hang.
I have not seen that hang in some time. It must have stopped when I
started using a patched Libtool 2.2.6 (instead of using the latest
GIT).
-Ethan
>
> Cheers,
> Ralf
>
> * Ralf Wildenhues wrote on Sat, Mar 21, 2009 at 11:47:42AM CET:
> > Allow through -tp=* at link time, for pgcc.
> >
> > * libltdl/config/ltmain.m4sh (func_mode_link): Portlant Group
> > pgcc uses `-tp=PROCESSOR' for target processor selection; allow
> > the flag through at link time.
> > Report by Ethan Mallove.
> >
> > diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh
> > index f17ad72..c122458 100644
> > --- a/libltdl/config/ltmain.m4sh
> > +++ b/libltdl/config/ltmain.m4sh
> > @@ -4497,8 +4497,9 @@ func_mode_link ()
> > # -F/path gives path to uninstalled frameworks, gcc on darwin
> > # -p, -pg, --coverage, -fprofile-* pass through profiling flag for
> > GCC
> > # @file GCC response files
> > + # -tp=* Portland pgcc target processor selection
> > -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=*)
> > func_quote_for_eval "$arg"
> > arg="$func_quote_for_eval_result"
> > func_append compile_command " $arg"