On Wed, Jul 06, 2005 at 05:08:11AM +0200, Ralf Wildenhues wrote:
> Hi Nicolas, others,

Hi Ralf,

> This is a gentle reminder that this issue with Libtool HEAD/branch-2-0
> on Tru64 sh is still unsolved.  It'd be nice to get a solution into the
> next 2.0 release candidate, should such a solution exist.

Sorry for the delay, i was away and/or busy. :-(

Here follow a small summary for libtool HEAD on my Tru64 v5.1B
workstation.

bootstrap works (very slowly, but it works ...).

* Without modification, configure works fine but make abort with
  `./config.status: print: not found' error message.

* With `BIN_SH=xpg4; export BIN_SH' set before configuring and
  building both configure and make work. `make check' report 4
  failures (verbose run attached for the 1st one):
           FAIL: tests/mdemo-make.test
           FAIL: tests/mdemo-make.test
           FAIL: tests/mdemo-dryrun.test
           FAIL: tests/mdemo-make.test
  NB: I'm getting the same results with the patch i previoulsy posted,
  which swap `print -r' and `ksh' tests in _LT_PROG_ECHO_BACKSLASH
  macro.

* With `lt_ECHO='printf %s\\n'; export lt_ECHO' set, configure
  generate numerous `sed: Function 1s/^X//\n cannot be parsed'
  messages.

Regards.

-- 
Nicolas Joly

Biological Software and Databanks.
Institut Pasteur, Paris.
gmake  check-recursive
gmake[1]: Entering directory `/home/njoly/temp/libtool'
gmake[2]: Entering directory `/home/njoly/temp/libtool'
gmake  check-TESTS check-local
gmake[3]: Entering directory `/home/njoly/temp/libtool'
mdemo-static.test: ===  Running mdemo-static.test
mdemo-static.test: ===  Running `gmake distclean' in mdemo
gmake[4]: Entering directory `/home/njoly/temp/libtool/tests/mdemo'
 rm -f mdemo mdemo
 rm -f mdemo_static mdemo_static
test -z "libsub.la foo1.la libfoo2.la libmlib.la" || rm -f libsub.la foo1.la 
libfoo2.la libmlib.la
rm -f "./so_locations"
rm -f "./so_locations"
rm -f "./so_locations"
rm -f "./so_locations"
rm -rf .libs _libs
rm -f *.o
rm -f *.lo
rm -f *.tab.c
test -z "" || rm -f 
rm -f libtool
rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
rm -f config.status config.cache config.log configure.lineno 
configure.status.lineno
rm -f Makefile
gmake[4]: Leaving directory `/home/njoly/temp/libtool/tests/mdemo'
mdemo-static.test: ===  Configuring in mdemo
mdemo-static.test: ===  /bin/sh /home/njoly/temp/libtool/tests/mdemo/configure 
--srcdir=/home/njoly/temp/libtool/tests/mdemo 
--prefix=/home/njoly/temp/libtool/_inst
checking for a BSD-compatible install... ../../libltdl/config/install-sh -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether gmake sets $(MAKE)... yes
checking for gcc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... no
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking for style of include used by gmake... GNU
checking dependency style of cc... tru64
checking for an ANSI C-conforming const... yes
checking build system type... alphaev56-dec-osf5.1b
checking host system type... alphaev56-dec-osf5.1b
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for non-GNU ld... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 16384
checking whether the shell understands some XSI constructs... yes
checking for /usr/bin/ld option to reload object files... -r
checking how to recognise dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from cc object... ok
checking how to run the C preprocessor... cc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... yes
checking for objdir... .libs
checking for cc option to produce PIC...  -DPIC
checking if cc PIC flag  -DPIC works... yes
checking if cc static flag -non_shared works... yes
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.o... (cached) yes
checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... osf5.1b ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking math.h usability... yes
checking math.h presence... yes
checking for math.h... yes
checking for cos in -lm... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: executing depfiles commands
config.status: executing libtool commands
PASS: tests/mdemo-static.test
mdemo-make.test: ===  Running mdemo-make.test
mdemo-make.test: ===  Running `gmake ' in mdemo
gmake[4]: Entering directory `/home/njoly/temp/libtool/tests/mdemo'
/bin/sh ./libtool --tag=CC   --mode=compile cc -DPACKAGE_NAME=\"mdemo\" 
-DPACKAGE_TARNAME=\"mdemo\" -DPACKAGE_VERSION=\"1.0\" -DPACKAGE_STRING=\"mdemo\ 
1.0\" -DPACKAGE_BUGREPORT=\"[EMAIL PROTECTED]" -DPACKAGE=\"mdemo\" 
-DVERSION=\"1.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 
-DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 
-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 
-DLT_OBJDIR=\".libs/\" -DHAVE_MATH_H=1  -I. -I.  -I./../.. -I./../../libltdl   
-g -c -o sub.lo sub.c
libtool: compile:  cc -DPACKAGE_NAME=\"mdemo\" -DPACKAGE_TARNAME=\"mdemo\" 
-DPACKAGE_VERSION=\"1.0\" "-DPACKAGE_STRING=\"mdemo 1.0\"" 
-DPACKAGE_BUGREPORT=\"[EMAIL PROTECTED]" -DPACKAGE=\"mdemo\" -DVERSION=\"1.0\" 
-DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 
-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 
-DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" 
-DHAVE_MATH_H=1 -I. -I. -I./../.. -I./../../libltdl -g -c sub.c  -DPIC -o 
.libs/sub.o
libtool: compile:  cc -DPACKAGE_NAME=\"mdemo\" -DPACKAGE_TARNAME=\"mdemo\" 
-DPACKAGE_VERSION=\"1.0\" "-DPACKAGE_STRING=\"mdemo 1.0\"" 
-DPACKAGE_BUGREPORT=\"[EMAIL PROTECTED]" -DPACKAGE=\"mdemo\" -DVERSION=\"1.0\" 
-DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 
-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 
-DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" 
-DHAVE_MATH_H=1 -I. -I. -I./../.. -I./../../libltdl -g -c sub.c -o sub.o 
>/dev/null 2>&1
/bin/sh ./libtool --tag=CC   --mode=link cc  -g -no-undefined  -o libsub.la 
-rpath /home/njoly/temp/libtool/_inst/lib sub.lo  
libtool: link: cc -shared  .libs/sub.o    -msym -soname libsub.so.0 `test -n 
"0.0.0:0.0" && print -r "X-set_version 0.0.0:0.0" | /usr/bin/sed -e 1s/^X//` 
-update_registry .libs/so_locations -o .libs/libsub.so.0.0.0
libtool: link: (cd ".libs" && rm -f "libsub.so.0" && ln -s "libsub.so.0.0.0" 
"libsub.so.0")
libtool: link: (cd ".libs" && rm -f "libsub.so" && ln -s "libsub.so.0.0.0" 
"libsub.so")
libtool: link: ar cru .libs/libsub.a  sub.o
libtool: link: ranlib .libs/libsub.a
libtool: link: creating libsub.la
libtool: link: ( cd ".libs" && rm -f "libsub.la" && ln -s "../libsub.la" 
"libsub.la" )
/bin/sh ./libtool --tag=CC   --mode=compile cc -DPACKAGE_NAME=\"mdemo\" 
-DPACKAGE_TARNAME=\"mdemo\" -DPACKAGE_VERSION=\"1.0\" -DPACKAGE_STRING=\"mdemo\ 
1.0\" -DPACKAGE_BUGREPORT=\"[EMAIL PROTECTED]" -DPACKAGE=\"mdemo\" 
-DVERSION=\"1.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 
-DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 
-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 
-DLT_OBJDIR=\".libs/\" -DHAVE_MATH_H=1  -I. -I.  -I./../.. -I./../../libltdl   
-g -c -o foo1.lo foo1.c
libtool: compile:  cc -DPACKAGE_NAME=\"mdemo\" -DPACKAGE_TARNAME=\"mdemo\" 
-DPACKAGE_VERSION=\"1.0\" "-DPACKAGE_STRING=\"mdemo 1.0\"" 
-DPACKAGE_BUGREPORT=\"[EMAIL PROTECTED]" -DPACKAGE=\"mdemo\" -DVERSION=\"1.0\" 
-DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 
-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 
-DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" 
-DHAVE_MATH_H=1 -I. -I. -I./../.. -I./../../libltdl -g -c foo1.c  -DPIC -o 
.libs/foo1.o
libtool: compile:  cc -DPACKAGE_NAME=\"mdemo\" -DPACKAGE_TARNAME=\"mdemo\" 
-DPACKAGE_VERSION=\"1.0\" "-DPACKAGE_STRING=\"mdemo 1.0\"" 
-DPACKAGE_BUGREPORT=\"[EMAIL PROTECTED]" -DPACKAGE=\"mdemo\" -DVERSION=\"1.0\" 
-DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 
-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 
-DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" 
-DHAVE_MATH_H=1 -I. -I. -I./../.. -I./../../libltdl -g -c foo1.c -o foo1.o 
>/dev/null 2>&1
/bin/sh ./libtool --tag=CC   --mode=link cc  -g -no-undefined -module 
-avoid-version  -o foo1.la -rpath /home/njoly/temp/libtool/_inst/lib foo1.lo 
-lm libsub.la 
libtool: link: cc -shared  .libs/foo1.o   -lm ./.libs/libsub.so    -msym 
-soname foo1.so `test -n "" && print -r "X-set_version " | /usr/bin/sed -e 
1s/^X//` -update_registry .libs/so_locations -o .libs/foo1.so
libtool: link: ar cru .libs/foo1.a  foo1.o
libtool: link: ranlib .libs/foo1.a
libtool: link: creating foo1.la
libtool: link: ( cd ".libs" && rm -f "foo1.la" && ln -s "../foo1.la" "foo1.la" )
/bin/sh ./libtool --tag=CC   --mode=compile cc -DPACKAGE_NAME=\"mdemo\" 
-DPACKAGE_TARNAME=\"mdemo\" -DPACKAGE_VERSION=\"1.0\" -DPACKAGE_STRING=\"mdemo\ 
1.0\" -DPACKAGE_BUGREPORT=\"[EMAIL PROTECTED]" -DPACKAGE=\"mdemo\" 
-DVERSION=\"1.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 
-DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 
-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 
-DLT_OBJDIR=\".libs/\" -DHAVE_MATH_H=1  -I. -I.  -I./../.. -I./../../libltdl   
-g -c -o foo2.lo foo2.c
libtool: compile:  cc -DPACKAGE_NAME=\"mdemo\" -DPACKAGE_TARNAME=\"mdemo\" 
-DPACKAGE_VERSION=\"1.0\" "-DPACKAGE_STRING=\"mdemo 1.0\"" 
-DPACKAGE_BUGREPORT=\"[EMAIL PROTECTED]" -DPACKAGE=\"mdemo\" -DVERSION=\"1.0\" 
-DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 
-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 
-DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" 
-DHAVE_MATH_H=1 -I. -I. -I./../.. -I./../../libltdl -g -c foo2.c  -DPIC -o 
.libs/foo2.o
libtool: compile:  cc -DPACKAGE_NAME=\"mdemo\" -DPACKAGE_TARNAME=\"mdemo\" 
-DPACKAGE_VERSION=\"1.0\" "-DPACKAGE_STRING=\"mdemo 1.0\"" 
-DPACKAGE_BUGREPORT=\"[EMAIL PROTECTED]" -DPACKAGE=\"mdemo\" -DVERSION=\"1.0\" 
-DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 
-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 
-DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" 
-DHAVE_MATH_H=1 -I. -I. -I./../.. -I./../../libltdl -g -c foo2.c -o foo2.o 
>/dev/null 2>&1
/bin/sh ./libtool --tag=CC   --mode=link cc  -g -no-undefined -module 
-export-symbols-regex "libfoo2.*"  -o libfoo2.la -rpath 
/home/njoly/temp/libtool/_inst/lib foo2.lo -lm libsub.la 
libtool: link: generating symbol list for `libfoo2.la'
libtool: link: /usr/bin/nm -B  .libs/foo2.o   | sed -n -e 's/^.*[       
]\([BCDEGQRST][BCDEGQRST]*\)[   ][      ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 
\2/p' | /usr/bin/sed 's/.* //' | sort | uniq > .libs/libfoo2.exp
libtool: link: /usr/bin/grep -E -e "libfoo2.*" ".libs/libfoo2.exp" > 
".libs/libfoo2.expT"
libtool: link: mv -f ".libs/libfoo2.expT" ".libs/libfoo2.exp"
libtool: link: for i in `cat .libs/libfoo2.exp`; do printf "%s %s\\n" 
-exported_symbol "/home/njoly/temp/libtool/tests/mdemo/libsub.la" >> 
.libs/libfoo2.so.0.0.0.exp; done; printf "%s\\n" "-hidden">> 
.libs/libfoo2.so.0.0.0.exp
libtool: link:  cc -shared -input .libs/libfoo2.so.0.0.0.exp     .libs/foo2.o   
-lm ./.libs/libsub.so -soname libfoo2.so.0 `test -n "0.0.0:0.0" && print -r 
"X-set_version 0.0.0:0.0" | /usr/bin/sed -e 1s/^X//` -update_registry 
.libs/so_locations -o .libs/libfoo2.so.0.0.0
ld:
can't open input file '-soname'(No such file or directory)
ld: Usage: ld [options] file [...]
gmake[4]: *** [libfoo2.la] Error 1
gmake[4]: Leaving directory `/home/njoly/temp/libtool/tests/mdemo'
FAIL: tests/mdemo-make.test
mdemo-exec.test: ===  Running mdemo-exec.test
mdemo-exec.test: You must run mdemo-make.test before running 
./tests/mdemo-exec.test
SKIP: tests/mdemo-exec.test
mdemo-inst.test: ===  Running mdemo-inst.test
mdemo-inst.test: You must run mdemo-make.test before running 
./tests/mdemo-inst.test
SKIP: tests/mdemo-inst.test
mdemo-unst.test: ===  Running mdemo-unst.test
mdemo-unst.test: You must run mdemo-inst.test before running 
./tests/mdemo-unst.test
SKIP: tests/mdemo-unst.test
====================================
1 of 2 tests failed
(3 tests were not run)
Please report to bug-libtool@gnu.org
====================================
gmake[3]: *** [check-TESTS] Error 1
gmake[3]: Leaving directory `/home/njoly/temp/libtool'
gmake[2]: *** [check-am] Error 2
gmake[2]: Leaving directory `/home/njoly/temp/libtool'
gmake[1]: *** [check-recursive] Error 1
gmake[1]: Leaving directory `/home/njoly/temp/libtool'
gmake: *** [check] Error 2

Reply via email to