Re: [OMPI devel] [PATCH] ompi_get_libtool_linker_flags.m4: fix $extra_ldflags detection

2007-03-16 Thread Bert Wesarg
Hello,

may I take the liberty to remind you to commit this outstanding fix.

Than you.

Bert Wesarg

Brian Barrett wrote:
> Very true, thanks.  I'll fix this evening.
> 
> Brian
> 
> On Feb 25, 2007, at 4:51 AM, Bert Wesarg wrote:
> 
>> Hallo,
>>
>> ok the sed should be even more portable. but the problem with a CC  
>> like
>> "gcc  -m32" isn't solved, so you should add this line and use the  
>> $tmpCC
>> in the sed expression, to get "gcc -m32" removed:
>>
>> tmpCC=`echo $CC`
>>
>> Bert
>>
>> Brian W. Barrett wrote:
>>> Thanks for the bug report and the patch.  Unfortunately, the remove
>>> smallest prefix pattern syntax doesn't work with Solaris /bin/sh
>>> (standards would be better if everyone followed them...), but I
>>> committed something to our development trunk that handles the issue.
>>> It should be releases as part of v1.2.1 (we're too far in testing to
>>> make it part of v1.2).
>>>
>>> Thanks,
>>>
>>> Brian
>>>
>>>
>>> On Feb 15, 2007, at 9:12 AM, Bert Wesarg wrote:
>>>
 Hello,

 when using a multi token CC variable (like "gcc -m32"), the logic to
 extract $extra_ldflags from libtool don't work. So here is a little
 hack
 to remove the $CC prefix from the libtool-link cmd.

 Bert Wesarg
 diff -ur openmpi-1.1.4/config/ompi_get_libtool_linker_flags.m4
 openmpi-1.1.4-extra_ldflags-fix/config/
 ompi_get_libtool_linker_flags.m4
 --- openmpi-1.1.4/config/ompi_get_libtool_linker_flags.m4  
 2006-04-12 18:12:28.0 +0200
 +++ openmpi-1.1.4-extra_ldflags-fix/config/
 ompi_get_libtool_linker_flags.m4   2007-02-15 15:11:28.285844893 +0100
 @@ -76,11 +76,15 @@
  cmd="$libtool --dry-run --mode=link --tag=CC $CC bar.lo libfoo.la -
 o bar $extra_flags"
  ompi_check_linker_flags_work yes

 +# use array initializer to remove multiple spaces in $CC
 +tempCC=($CC)
 +tempCC="${tempCC[@]}"
 +output="${output#$tempCC}"
 +unset tempCC
  eval "set $output"
  extra_ldflags=
  while test -n "[$]1"; do
  case "[$]1" in
 -$CC) ;;
  *.libs/bar*) ;;
  bar*) ;;
  -I*) ;;
 ___
 devel mailing list
 de...@open-mpi.org
 http://www.open-mpi.org/mailman/listinfo.cgi/devel
>>> ___
>>> devel mailing list
>>> de...@open-mpi.org
>>> http://www.open-mpi.org/mailman/listinfo.cgi/devel
>> ___
>> devel mailing list
>> de...@open-mpi.org
>> http://www.open-mpi.org/mailman/listinfo.cgi/devel
> 
> ___
> devel mailing list
> de...@open-mpi.org
> http://www.open-mpi.org/mailman/listinfo.cgi/devel


[OMPI devel] Status of RHC

2007-03-16 Thread Ralph Castain
Hi folks

Some of you already know this, but I thought I would try to head-off the
usual rumor mill issues as the word spreads (assuming it will). I am taking
a break from the Open MPI world for a few months to work on other things. I
expect to return somewhere in the June time frame, though some uncertainty
exists regarding the exact timing.

I'll still monitor the mailing lists, will listen in now and then to the
weekly telecon, and will try to provide advice upon occasion. From what I've
seen, the RTE looks pretty stable at this point, so I don't anticipate
you'll encounter much trouble - let me know if you do.

I will also continue doing a little work on the OpenRTE area, but that will
be sporadic (mostly on my own time, though some at work as time permits) and
will probably mostly deal with backlogged promises and simple experiments
I've been wanting to do for some time.

So I am specifically *not* vanishing from the project, dropping off the
earth, or any of those other draconian things. I simply need to spend some
neural energy elsewhere for awhile, and that happened to coincide with some
friends in our senior management needing help with a project.

Take care
Ralph