Re: libtool-2.2.11a on AIX 5.3 current git master / followup on the old test suite and failures in the new testsuit

2010-08-25 Thread Rainer Tammer
 Hello Ralf,

On 21.08.2010 10:17, Ralf Wildenhues wrote:
 * Rainer Tammer wrote on Sat, Aug 07, 2010 at 09:35:56AM CEST:
 I have added one additional patch (as I did for the last run):

 # diff /daten/source/libtool-2.2.11a/tests/defs.in defs.in
 [...]
  # On AIX, shared libraries remain loaded in memory after use if they
  # are world-readable, until root issues slibclean.  On NFS, this causes
  # a testsuite rerun to fail to clean up test group directories.  Avoid
  # this with a suitable umask.  Do not do this on other systems, for
  # example HP-UX suffers unless shared libraries are mode 555.
  case $host_os in
  aix*) umask o-rwx ;;
  esac
 I have pushed your patch now, as below.

OK,
this is working.
 Now I get some new errors from the old test suite:

 # grep FAIL check.log
 FAIL: tests/f77demo-exec.test
 FAIL: tests/f77demo-exec.test
 FAIL: tests/fcdemo-exec.test
 FAIL: tests/fcdemo-exec.test
 ...

 This is because the LIBPATH is not OK:
 This has been fixed since in git Libtool.

Sorry,
this is still not working with the current git.

...
FAIL: tests/f77demo-exec.test
PASS: tests/f77demo-shared.test
PASS: tests/f77demo-make.test
FAIL: tests/f77demo-exec.test
PASS: tests/fcdemo-static.test
PASS: tests/fcdemo-make.test
PASS: tests/fcdemo-exec.test
PASS: tests/fcdemo-conf.test
PASS: tests/fcdemo-make.test
FAIL: tests/fcdemo-exec.test
PASS: tests/fcdemo-shared.test
PASS: tests/fcdemo-make.test
FAIL: tests/fcdemo-exec.test

4 of 124 tests failed
Please report to bug-libt...@gnu.org


Which commit should fix the problem.
 Cheers, and thanks again,
 Ralf

Bye
  Rainer Tammer
 2010-08-21  Rainer Tammer tam...@...  (tiny change)

   Avoid issues with AIX resident shared libraries in old testsuite.
   * tests/defs.m4sh [aix]: Remove file mode permission for others,
   so shared libraries are not kept in memory after execution.
   Fixes failures of repeated mdemo-inst.test with on AIX 5.3.

 diff --git a/tests/defs.m4sh b/tests/defs.m4sh
 index 1230555..183783e 100644
 --- a/tests/defs.m4sh
 +++ b/tests/defs.m4sh
 @@ -130,6 +130,7 @@ func_get_config objext
  objdir
  CC
  host
 +host_os
  host_alias
  build
  build_alias $LIBTOOL --config : fatal
 @@ -351,6 +352,15 @@ m4dir=$srcdir/libltdl/m4
  auxdir=$srcdir/libltdl/config
  scripts=$auxdir/ltmain.m4sh $srcdir/libtoolize.m4sh
  
 +# On AIX, shared libraries remain loaded in memory after use if they
 +# are world-readable, until root issues slibclean.  On NFS, this causes
 +# a testsuite rerun to fail to clean up test group directories.  Avoid
 +# this with a suitable umask.  Do not do this on other systems, for
 +# example HP-UX suffers unless shared libraries are mode 555.
 +case $host_os in
 +aix*) umask o-rwx ;;
 +esac
 +
  func_msg Running $progname
  
  # Local Variables:






Re: [PATCH] [cygwin|mingw]: Add cross-compile support to cwrapper (take 6)

2010-08-25 Thread Peter Rosin
Den 2010-07-19 03:07 skrev Charles Wilson:

*snip*

 Congratulations, you have reached the end of this message, and can
 now review the 750 line patch!

I did wonder when I was going to get some meat :-)

*snip*

 +func_wine_to_win32_pathlist ()
 +{
 +  $opt_debug
 +  # unfortunately, winepath doesn't convert pathlists

But you can feed it multiple things to do in one go though if
I understand correctly:

winepath /first/filename /second/filename ...

I don't know how the output is formated though (one file per line
probably). And besides, you're just shuffling code around so not
an issue for this patch...

*snip*

 +  fi
 +}
 +# end func_nix_to_cygwin_pathlist_convert
 +

git am printed the warning below about the above hunk:

warning: 1 line adds whitespace errors.


I have rebased those of my old patches that are still applicable,
and will run some tests with MSYS/gcc, MSYS/MSVC and Cygwin/MSVC
to check which failures have been fixed. What? Regressions? No way,
I don't want those! :-)

I'll report back with the results (and perhaps the patches)...

Cheers,
Peter