bug-libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Tests failing on HP-UX 11.22/IA64 platform (libtool 1.5.22)


From: Seip, Christopher
Subject: RE: Tests failing on HP-UX 11.22/IA64 platform (libtool 1.5.22)
Date: Wed, 19 Apr 2006 12:18:52 -0700

* Chris Seip wrote on Mon, Apr 17, 2006 at 10:33:48PM CEST:
> I thought I'd try building & testing on the same platform with HP's
> compiler in place of gcc.  The number of failures went from 23 to 4.
> None of the tests changed from PASS to FAIL status, but 2 of them
> changed from SKIP to FAIL.

* Ralf Wildenhues wrote on Mon, Apr 17, 2006 at 11:23 PM:
> It'd be of help if you could rerun the failing test groups
> verbosely -- see README for details.  For IA64, you probably
> need this patch:
> http://lists.gnu.org/archive/html/libtool/2006-01/msg00012.html

I have applied this patch; thanks for the pointer!

> I hope to return to Libtool work very soonish, and plan to
> do some hpux test rounds then, including finishing up above
> patch.

That's encouraging.  Let me know if you could use any help with
running tests.  I don't know anything about libtool but can
test things on some HP-UX platforms.

With patched libtool source for 1.5.22; using GNU gcc 4.1.0, GNU make
3.8, GNU sed, GNU grep, automake 1.9.6, and autoconf 2.59; on HP-UX
11.22, Itanium IA64 architecture; below is the output of a verbose run
of a test family that includes one of the failing tests. 

I would bet this is the same cause of many of my failing tests using
gcc.  It's trying to load a dynamic library (libgcc_s.so.0) and failing.
My gcc 4.1.0 was compiled into /apps/gcc-4.1.0, and this library is in
/apps/gcc-4.1.0/lib.

Anyway, here's the test.  Thanks,

--Chris--


=== Running demo-conf.test
= Running make distclean in ../demo
 rm -f hell hell
 rm -f hell_static hell_static
 rm -f helldl helldl
test -z "hc-direct hc-libflag hc-libpath hc-minusL libhell0.a
libhell1.la libhell2.la hell0 hell0" || rm -f hc-direct hc-libflag
hc-libpath hc-minusL libhell0.a libhell1.la libhell2.la hell0 hell0
test -z "libhello.la" || rm -f libhello.la
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
= Configuring in ../demo
(prefix=/usr/local/build/libtool-1.5.22/tests/_inst)
checking for a BSD-compatible install... /opt/imake/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
configure: WARNING: In the future, Autoconf will not detect cross-tools
whose name does not start with the host triplet.  If you think this
configuration is useful to you, please write to address@hidden
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... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... none
checking for an ANSI C-conforming const... yes
checking build system type... ia64-hp-hpux11.22
checking host system type... ia64-hp-hpux11.22
checking for a sed that does not truncate output...
/apps/sed-4.1.2/bin/sed
checking for grep that handles long lines and -e...
/apps/grep-2.5.1a/bin/grep
checking for egrep... /apps/grep-2.5.1a/bin/grep -E
checking for ld used by gcc... /usr/ccs/bin/ld
checking if the linker (/usr/ccs/bin/ld) is GNU ld... no
checking for /usr/ccs/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -p
checking whether ln -s works... yes
checking how to recognise dependent libraries... file_magic
(s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64
checking how to run the C preprocessor... gcc -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... no
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... none
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 262144
checking command to parse /usr/bin/nm -p output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... 
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/ccs/bin/ld) supports shared
libraries... yes
checking whether -lc should be explicitly linked in... yes
checking dynamic linker characteristics... hpux11.22 dld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking for shl_load... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/ccs/bin/ld
checking if the linker (/usr/ccs/bin/ld) is GNU ld... no
checking whether the g++ linker (/usr/ccs/bin/ld) supports shared
libraries... yes
checking for g++ option to produce PIC... 
checking if g++ static flag -static works... no
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/ccs/bin/ld) supports shared
libraries... yes
checking dynamic linker characteristics... hpux11.22 dld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking for string.h... (cached) 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
=== Running demo-make.test
Making in ../demo
/bin/sh ./libtool --tag=CC   --mode=compile gcc -DPACKAGE_NAME=\"demo\"
-DPACKAGE_TARNAME=\"demo\" -DPACKAGE_VERSION=\"1.0\"
-DPACKAGE_STRING=\"demo\ 1.0\"
-DPACKAGE_BUGREPORT=\"address@hidden" -DPACKAGE=\"demo\"
-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_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_STRING_H=1 -DHAVE_MATH_H=1
-I. -I.     -g -O2 -c -o libhello_la-hello.lo `test -f 'hello.c' || echo
'./'`hello.c
mkdir .libs
 gcc -DPACKAGE_NAME=\"demo\" -DPACKAGE_TARNAME=\"demo\"
-DPACKAGE_VERSION=\"1.0\" "-DPACKAGE_STRING=\"demo 1.0\""
-DPACKAGE_BUGREPORT=\"address@hidden" -DPACKAGE=\"demo\"
-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_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_STRING_H=1 -DHAVE_MATH_H=1 -I.
-I. -g -O2 -c hello.c  -DPIC -o .libs/libhello_la-hello.o
 gcc -DPACKAGE_NAME=\"demo\" -DPACKAGE_TARNAME=\"demo\"
-DPACKAGE_VERSION=\"1.0\" "-DPACKAGE_STRING=\"demo 1.0\""
-DPACKAGE_BUGREPORT=\"address@hidden" -DPACKAGE=\"demo\"
-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_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_STRING_H=1 -DHAVE_MATH_H=1 -I.
-I. -g -O2 -c hello.c -o libhello_la-hello.o >/dev/null 2>&1
/bin/sh ./libtool --tag=CC   --mode=compile gcc -DPACKAGE_NAME=\"demo\"
-DPACKAGE_TARNAME=\"demo\" -DPACKAGE_VERSION=\"1.0\"
-DPACKAGE_STRING=\"demo\ 1.0\"
-DPACKAGE_BUGREPORT=\"address@hidden" -DPACKAGE=\"demo\"
-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_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_STRING_H=1 -DHAVE_MATH_H=1
-I. -I.     -g -O2 -c -o libhello_la-foo.lo `test -f 'foo.c' || echo
'./'`foo.c
 gcc -DPACKAGE_NAME=\"demo\" -DPACKAGE_TARNAME=\"demo\"
-DPACKAGE_VERSION=\"1.0\" "-DPACKAGE_STRING=\"demo 1.0\""
-DPACKAGE_BUGREPORT=\"address@hidden" -DPACKAGE=\"demo\"
-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_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_STRING_H=1 -DHAVE_MATH_H=1 -I.
-I. -g -O2 -c foo.c  -DPIC -o .libs/libhello_la-foo.o
 gcc -DPACKAGE_NAME=\"demo\" -DPACKAGE_TARNAME=\"demo\"
-DPACKAGE_VERSION=\"1.0\" "-DPACKAGE_STRING=\"demo 1.0\""
-DPACKAGE_BUGREPORT=\"address@hidden" -DPACKAGE=\"demo\"
-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_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_STRING_H=1 -DHAVE_MATH_H=1 -I.
-I. -g -O2 -c foo.c -o libhello_la-foo.o >/dev/null 2>&1
/bin/sh ./libtool --tag=CC   --mode=link gcc  -g -O2 -no-undefined
-version-info 3:12:1  -o libhello.la -rpath
/usr/local/build/libtool-1.5.22/tests/_inst/lib libhello_la-hello.lo
libhello_la-foo.lo -lm 
gcc -shared -Wl,+h -Wl,libhello.so.3 -Wl,+nodefaultrpath -o
.libs/libhello.so.3.12  .libs/libhello_la-hello.o
.libs/libhello_la-foo.o  -lm -lc 
(cd .libs && rm -f libhello.so.3 && ln -s libhello.so.3.12
libhello.so.3)
(cd .libs && rm -f libhello.so && ln -s libhello.so.3.12 libhello.so)
ar cru .libs/libhello.a  libhello_la-hello.o libhello_la-foo.o
ranlib .libs/libhello.a
creating libhello.la
(cd .libs && rm -f libhello.la && ln -s ../libhello.la libhello.la)
gcc -DPACKAGE_NAME=\"demo\" -DPACKAGE_TARNAME=\"demo\"
-DPACKAGE_VERSION=\"1.0\" -DPACKAGE_STRING=\"demo\ 1.0\"
-DPACKAGE_BUGREPORT=\"address@hidden" -DPACKAGE=\"demo\"
-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_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_STRING_H=1 -DHAVE_MATH_H=1
-I. -I.     -g -O2 -c main.c
/bin/sh ./libtool --tag=CC   --mode=link gcc  -g -O2   -o hell main.o
libhello.la 
gcc -g -O2 -o .libs/hell main.o  ./.libs/libhello.so -lm -Wl,+b
-Wl,/usr/local/build/libtool-1.5.22/tests/_inst/lib
creating hell
/bin/sh ./libtool --tag=CC   --mode=link gcc  -g -O2 -static  -o
hell_static main.o libhello.la 
gcc -g -O2 -o hell_static main.o  ./.libs/libhello.a -lm
gcc -DPACKAGE_NAME=\"demo\" -DPACKAGE_TARNAME=\"demo\"
-DPACKAGE_VERSION=\"1.0\" -DPACKAGE_STRING=\"demo\ 1.0\"
-DPACKAGE_BUGREPORT=\"address@hidden" -DPACKAGE=\"demo\"
-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_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_STRING_H=1 -DHAVE_MATH_H=1
-I. -I.     -g -O2 -c dlmain.c
/bin/sh ./libtool --tag=CC   --mode=link gcc  -g -O2 -export-dynamic
-dlpreopen libhello.la  -o helldl dlmain.o  
rm -f .libs/helldl.nm .libs/helldl.nmS .libs/helldl.nmT
creating .libs/helldlS.c
extracting global C symbols from `./.libs/libhello.a'
(cd .libs && gcc  -g -O2 -c -fno-builtin  -DPIC "helldlS.c")
rm -f .libs/helldlS.c .libs/helldl.nm .libs/helldl.nmS .libs/helldl.nmT
gcc -g -O2 .libs/helldlS.o -o .libs/helldl dlmain.o  ./.libs/libhello.so
-lm -Wl,+b -Wl,/usr/local/build/libtool-1.5.22/tests/_inst/lib
creating helldl
=== Running demo-exec.test
Executing uninstalled programs in ../demo
Welcome to GNU Hell!
/usr/lib/hpux32/dld.so: Unable to find library 'libgcc_s.so.0'.
demo-exec.test: cannot execute ../demo/hell
/usr/lib/hpux32/dld.so: Unable to find library 'libgcc_s.so.0'.
demo-exec.test: cannot execute ../demo/helldl
=== Running demo-inst.test
= Running make install in ../demo
make[1]: Entering directory `/usr/local/build/libtool-1.5.22/demo'
test -z "/usr/local/build/libtool-1.5.22/tests/_inst/lib" || /bin/sh
/usr/local/build/libtool-1.5.22/install-sh -d
"/usr/local/build/libtool-1.5.22/tests/_inst/lib"
 /bin/sh ./libtool --mode=install /opt/imake/bin/install -c
'libhello.la'
'/usr/local/build/libtool-1.5.22/tests/_inst/lib/libhello.la'
/opt/imake/bin/install -c .libs/libhello.so.3.12
/usr/local/build/libtool-1.5.22/tests/_inst/lib/libhello.so.3.12
(cd /usr/local/build/libtool-1.5.22/tests/_inst/lib && { ln -s -f
libhello.so.3.12 libhello.so.3 || { rm -f libhello.so.3 && ln -s
libhello.so.3.12 libhello.so.3; }; })
(cd /usr/local/build/libtool-1.5.22/tests/_inst/lib && { ln -s -f
libhello.so.3.12 libhello.so || { rm -f libhello.so && ln -s
libhello.so.3.12 libhello.so; }; })
chmod 555
/usr/local/build/libtool-1.5.22/tests/_inst/lib/libhello.so.3.12
/opt/imake/bin/install -c .libs/libhello.lai
/usr/local/build/libtool-1.5.22/tests/_inst/lib/libhello.la
/opt/imake/bin/install -c .libs/libhello.a
/usr/local/build/libtool-1.5.22/tests/_inst/lib/libhello.a
chmod 644 /usr/local/build/libtool-1.5.22/tests/_inst/lib/libhello.a
ranlib /usr/local/build/libtool-1.5.22/tests/_inst/lib/libhello.a
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/local/build/libtool-1.5.22/tests/_inst/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
     during execution
   - use the `-Wl,+b -Wl,LIBDIR' linker flag

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
test -z "/usr/local/build/libtool-1.5.22/tests/_inst/bin" || /bin/sh
/usr/local/build/libtool-1.5.22/install-sh -d
"/usr/local/build/libtool-1.5.22/tests/_inst/bin"
  /bin/sh ./libtool --mode=install /opt/imake/bin/install -c 'hell'
'/usr/local/build/libtool-1.5.22/tests/_inst/bin/hell'
/opt/imake/bin/install -c .libs/hell
/usr/local/build/libtool-1.5.22/tests/_inst/bin/hell
  /bin/sh ./libtool --mode=install /opt/imake/bin/install -c
'hell_static'
'/usr/local/build/libtool-1.5.22/tests/_inst/bin/hell_static'
/opt/imake/bin/install -c hell_static
/usr/local/build/libtool-1.5.22/tests/_inst/bin/hell_static
  /bin/sh ./libtool --mode=install /opt/imake/bin/install -c 'helldl'
'/usr/local/build/libtool-1.5.22/tests/_inst/bin/helldl'
/opt/imake/bin/install -c .libs/helldl
/usr/local/build/libtool-1.5.22/tests/_inst/bin/helldl
test -z "/usr/local/build/libtool-1.5.22/tests/_inst/bin" || /bin/sh
/usr/local/build/libtool-1.5.22/install-sh -d
"/usr/local/build/libtool-1.5.22/tests/_inst/bin"
test -z "/usr/local/build/libtool-1.5.22/tests/_inst/include" || /bin/sh
/usr/local/build/libtool-1.5.22/install-sh -d
"/usr/local/build/libtool-1.5.22/tests/_inst/include"
 /opt/imake/bin/install -c -m 644 'foo.h'
'/usr/local/build/libtool-1.5.22/tests/_inst/include/foo.h'
make[1]: Leaving directory `/usr/local/build/libtool-1.5.22/demo'
= Executing installed programs
Welcome to GNU Hell!
/usr/lib/hpux32/dld.so: Unable to find library 'libgcc_s.so.0'.
demo-inst.test: cannot execute
/usr/local/build/libtool-1.5.22/tests/_inst/bin/hell
/usr/lib/hpux32/dld.so: Unable to find library 'libgcc_s.so.0'.
demo-inst.test: cannot execute
/usr/local/build/libtool-1.5.22/tests/_inst/bin/helldl
=== Running demo-unst.test
= Running make uninstall in ../demo
 rm -f '/usr/local/build/libtool-1.5.22/tests/_inst/bin/hell'
 rm -f '/usr/local/build/libtool-1.5.22/tests/_inst/bin/hell_static'
 rm -f '/usr/local/build/libtool-1.5.22/tests/_inst/bin/helldl'
 rm -f '/usr/local/build/libtool-1.5.22/tests/_inst/include/foo.h'
 /bin/sh ./libtool --mode=uninstall rm -f
'/usr/local/build/libtool-1.5.22/tests/_inst/lib/libhello.la'
rm -f /usr/local/build/libtool-1.5.22/tests/_inst/lib/libhello.la
/usr/local/build/libtool-1.5.22/tests/_inst/lib/libhello.so.3.12
/usr/local/build/libtool-1.5.22/tests/_inst/lib/libhello.so.3
/usr/local/build/libtool-1.5.22/tests/_inst/lib/libhello.so
/usr/local/build/libtool-1.5.22/tests/_inst/lib/libhello.a
#





reply via email to

[Prev in Thread] Current Thread [Next in Thread]