bug-libtool
[Top][All Lists]
Advanced

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

Re: libtool-1.5 regression test failure (Solaris 8 + gcc-3.22)


From: Chuck Swiger
Subject: Re: libtool-1.5 regression test failure (Solaris 8 + gcc-3.22)
Date: Tue, 22 Apr 2003 18:08:57 -0400
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4a) Gecko/20030401

As requested below by Robert:

13-pong# env VERBOSE=yes make TESTS="demo-nopic.test demo-make.test demo-exec.test" check
Making check in .
make[1]: Entering directory `/Disks/d70/Library/Source/GNU/libtool-1.5'
make[1]: Nothing to be done for `check-am'.
make[1]: Leaving directory `/Disks/d70/Library/Source/GNU/libtool-1.5'
Making check in libltdl
make[1]: Entering directory `/Disks/d70/Library/Source/GNU/libtool-1.5/libltdl' make[1]: Leaving directory `/Disks/d70/Library/Source/GNU/libtool-1.5/libltdl'
Making check in doc
make[1]: Entering directory `/Disks/d70/Library/Source/GNU/libtool-1.5/doc'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory `/Disks/d70/Library/Source/GNU/libtool-1.5/doc'
Making check in tests
make[1]: Entering directory `/Disks/d70/Library/Source/GNU/libtool-1.5/tests'
make  check-TESTS
make[2]: Entering directory `/Disks/d70/Library/Source/GNU/libtool-1.5/tests'
PASS: demo-nopic.test
=== Running demo-make.test
Making in ../demo
make[3]: Entering directory `/Disks/d70/Library/Source/GNU/libtool-1.5/demo'
/bin/bash ./libtool --mode=compile gcc -DPACKAGE_NAME=\"demo\" -DPACKAGE_TARNAME=\"demo\" -DPACKAGE_VERSION=\"1.0\" -DPACKAGE_STRING=\"demo\ 1.0\" -DPACKAGE_BUG REPORT=\"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/Disks/d70/Library/Source /GNU/libtool-1.5/tests/../demo -pipe -O2 -c -o hello.lo `test -f 'hello.c' || echo '/Disks/d70/Library/Source/GNU/libtool-1.5/tests/../demo/'`hello.c
mkdir .libs
gcc -DPACKAGE_NAME=\"demo\" -DPACKAGE_TARNAME=\"demo\" -DPACKAGE_VERSION=\"1.0\ " "-DPACKAGE_STRING=\"demo 1.0\"" -DPACKAGE_BUGREPORT=\"address@hidden" -D PACKAGE=\"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/Disks/d70/Library/Source/GNU/libtool-1.5/tests/../demo -pipe -O2 -c hello.c -o .libs/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/Disks/d70/Library/Source/GNU/libtool-1.5/tests/../demo -pipe -O2 -c hello.c -o hello.o >/dev/null 2>&1 /bin/bash ./libtool --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/Disks/d70/Library/Source /GNU/libtool-1.5/tests/../demo -pipe -O2 -c -o foo.lo `test -f 'foo.c' || ec
ho '/Disks/d70/Library/Source/GNU/libtool-1.5/tests/../demo/'`foo.c
gcc -DPACKAGE_NAME=\"demo\" -DPACKAGE_TARNAME=\"demo\" -DPACKAGE_VERSION=\"1.0\" "-DPACKAGE_STRING=\"demo 1.0\"" -DPACKAGE_BUGREPORT=\"address@hidden" -D PACKAGE=\"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_STRING S_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_STRING_H=1 -DHAVE_MATH_H=1 -I. -I/Disks/d70/Library/Source/GNU/libtool-1.5/tests/../demo -pi
pe -O2 -c foo.c -o .libs/foo.o
gcc -DPACKAGE_NAME=\"demo\" -DPACKAGE_TARNAME=\"demo\" -DPACKAGE_VERSION=\"1.0\" "-DPACKAGE_STRING=\"demo 1.0\"" -DPACKAGE_BUGREPORT=\"address@hidden" -D PACKAGE=\"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/Disks/d70/Library/Source/GNU/libtool-1.5/tests/../demo -pipe -O2 -c foo.c -o foo.o >/dev/null 2>&1 /bin/bash ./libtool --mode=link gcc -pipe -O2 -o libhello.la -rpath /usr/local/lib -no-undefined -version-info 3:12:1 hello.lo foo.lo -lm gcc -shared -Wl,-h -Wl,libhello.so.2 -o .libs/libhello.so.2.1.12 .libs/hello.o.libs/foo.o -lm -lc
Text relocation remains                         referenced
    against symbol                  offset      in file
<unknown>                           0x4         .libs/hello.o
<unknown>                           0x8         .libs/hello.o
<unknown>                           0x18        .libs/foo.o
<unknown>                           0x1c        .libs/foo.o
cos                                 0x8         .libs/foo.o
puts                                0xc         .libs/hello.o
printf                              0x24        .libs/foo.o
ld: fatal: relocations remain against allocatable but non-writable sections
collect2: ld returned 1 exit status
make[3]: *** [libhello.la] Error 1
make[3]: Leaving directory `/Disks/d70/Library/Source/GNU/libtool-1.5/demo'
FAIL: demo-make.test
=== Running demo-exec.test
You must run demo-make.test before running ./demo-exec.test
SKIP: demo-exec.test
====================================
1 of 2 tests failed
(1 tests were not run)
Please report to address@hidden
====================================

18-pong# touch foo.c
19-pong# gcc -v
Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.2.2/specs
Configured with: ../gcc-3.2.2/configure
Thread model: posix
gcc version 3.2.2
20-pong# gcc -v foo.c
Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.2.2/specs
Configured with: ../gcc-3.2.2/configure
Thread model: posix
gcc version 3.2.2
/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.2.2/cc1 -lang-c -v -D__GNUC__=3 -D__GNUC_MINOR__=2 -D__GNUC_PATCHLEVEL__=2 -D__GXX_ABI_VERSION=102 -Dsparc -Dsun -Dunix -D__svr4__ -D__SVR4 -D__PRAGMA_REDEFINE_EXTNAME -D__sparc__ -D__sun__ -D__unix__ -D__svr4__ -D__SVR4 -D__PRAGMA_REDEFINE_EXTNAME -D__sparc -D__sun -D__unix -Asystem=unix -Asystem=svr4 -D__NO_INLINE__ -D__STDC_HOSTED__=1 -D__SIZE_TYPE__=unsigned int -D__PTRDIFF_TYPE__=int -D__WCHAR_TYPE__=long int -D__WINT_TYPE__=long int -D__GCC_NEW_VARARGS__ -Acpu=sparc -Amachine=sparc foo.c -quiet -dumpbase foo.c -version -o /var/tmp//ccBUJ73e.s
GNU CPP version 3.2.2 (cpplib) (sparc ELF)
GNU C version 3.2.2 (sparc-sun-solaris2.8)
        compiled by GNU C version 3.2.2.
ignoring nonexistent directory "NONE/include"
ignoring nonexistent directory "/usr/local/sparc-sun-solaris2.8/include"
#include "..." search starts here:
#include <...> search starts here:
 /usr/local/include
 /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.2.2/include
 /usr/include
End of search list.
 /usr/ccs/bin/as -V -Qy -s -o /var/tmp//ccOl1k3q.o /var/tmp//ccBUJ73e.s
/usr/ccs/bin/as: Sun WorkShop 6 99/08/18
/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.2.2/collect2 -V -Y P,/usr/ccs/lib :/usr/lib -Qy /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.2.2/crt1.o /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.2.2/crti.o /usr/ccs/lib/values-Xa.o /usr/lo cal/lib/gcc-lib/sparc-sun-solaris2.8/3.2.2/crtbegin.o -L/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.2.2 -L/usr/ccs/bin -L/usr/ccs/lib -L/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.2.2/../../.. /var/tmp//ccOl1k3q.o -lgcc -lgcc_eh -lc -lg cc -lgcc_eh -lc /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.2.2/crtend.o /usr/
local/lib/gcc-lib/sparc-sun-solaris2.8/3.2.2/crtn.o
ld: Software Generation Utilities - Solaris Link Editors: 5.8-1.279
Undefined                       first referenced
 symbol                             in file
main /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.2.2/crt1.o
ld: fatal: Symbol referencing errors. No output written to a.out
collect2: ld returned 1 exit status

Thanks for your time and effort for looking into this.

--
-Chuck

PS: I decided to install libtool anyway, and re-bootstrap gcc, and then re-run "make check", since the results of that regression might mean something to the deus loci, or at the least confirm that this problem is reproducable.

Note: compiling anything after installing binutils-2.13 fails due to an 'invalid ld map type'-- lost the exact message off the top of my scrollback buffer, sorry. Anyway, some 30,000 seconds later, I have a working gcc-3.2.2 compiler again. :-)

5-pong# make check
Making check in .
make[1]: Entering directory `/Disks/d70/Library/Source/GNU/libtool-1.5'
make[1]: Nothing to be done for `check-am'.
make[1]: Leaving directory `/Disks/d70/Library/Source/GNU/libtool-1.5'
Making check in libltdl
make[1]: Entering directory `/Disks/d70/Library/Source/GNU/libtool-1.5/libltdl' make[1]: Leaving directory `/Disks/d70/Library/Source/GNU/libtool-1.5/libltdl'
Making check in doc
make[1]: Entering directory `/Disks/d70/Library/Source/GNU/libtool-1.5/doc'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory `/Disks/d70/Library/Source/GNU/libtool-1.5/doc'
Making check in tests
make[1]: Entering directory `/Disks/d70/Library/Source/GNU/libtool-1.5/tests'
make  check-TESTS
make[2]: Entering directory `/Disks/d70/Library/Source/GNU/libtool-1.5/tests'
PASS: cdemo-static.test
PASS: cdemo-make.test
PASS: cdemo-exec.test
PASS: demo-static.test
PASS: demo-make.test
PASS: demo-exec.test
PASS: demo-inst.test
PASS: demo-unst.test
PASS: depdemo-static.test
PASS: depdemo-make.test
PASS: depdemo-exec.test
PASS: depdemo-inst.test
PASS: depdemo-unst.test
PASS: mdemo-static.test
PASS: mdemo-make.test
PASS: mdemo-exec.test
PASS: mdemo-inst.test
PASS: mdemo-unst.test
PASS: cdemo-conf.test
PASS: cdemo-make.test
PASS: cdemo-exec.test
PASS: demo-conf.test
PASS: demo-make.test
PASS: demo-exec.test
PASS: demo-inst.test
PASS: demo-unst.test
PASS: deplibs.test
PASS: depdemo-conf.test
PASS: depdemo-make.test
PASS: depdemo-exec.test
PASS: depdemo-inst.test
PASS: depdemo-unst.test
PASS: mdemo-conf.test
PASS: mdemo-make.test
PASS: mdemo-exec.test
PASS: mdemo-inst.test
PASS: mdemo-unst.test
PASS: dryrun.test
PASS: demo-nofast.test
PASS: demo-make.test
PASS: demo-exec.test
PASS: demo-inst.test
PASS: demo-unst.test
PASS: demo-pic.test
PASS: demo-make.test
PASS: demo-exec.test
PASS: demo-nopic.test
FAIL: demo-make.test
SKIP: demo-exec.test
PASS: depdemo-nofast.test
PASS: depdemo-make.test
PASS: depdemo-exec.test
PASS: depdemo-inst.test
PASS: depdemo-unst.test
PASS: cdemo-shared.test
PASS: cdemo-make.test
PASS: cdemo-exec.test
PASS: demo-shared.test
PASS: demo-make.test
PASS: demo-exec.test
PASS: demo-inst.test
FAIL: hardcode.test
PASS: build-relink.test
PASS: noinst-link.test
PASS: demo-unst.test
PASS: depdemo-shared.test
PASS: depdemo-make.test
PASS: depdemo-exec.test
PASS: depdemo-inst.test
PASS: build-relink2.test
PASS: depdemo-unst.test
PASS: mdemo-shared.test
PASS: mdemo-make.test
PASS: mdemo-exec.test
PASS: mdemo-inst.test
PASS: mdemo-unst.test
PASS: assign.test
PASS: link.test
PASS: link-2.test
PASS: nomode.test
PASS: quote.test
PASS: sh.test
PASS: suffix.test
PASS: pdemo-conf.test
PASS: pdemo-make.test
PASS: pdemo-exec.test
PASS: pdemo-inst.test
PASS: tagdemo-static.test
PASS: tagdemo-make.test
PASS: tagdemo-exec.test
PASS: tagdemo-conf.test
PASS: tagdemo-make.test
PASS: tagdemo-exec.test
PASS: tagdemo-shared.test
PASS: tagdemo-make.test
PASS: tagdemo-exec.test
PASS: f77demo-static.test
PASS: f77demo-make.test
PASS: f77demo-exec.test
PASS: f77demo-conf.test
PASS: f77demo-make.test
PASS: f77demo-exec.test
PASS: f77demo-shared.test
PASS: f77demo-make.test
PASS: f77demo-exec.test
====================================
2 of 104 tests failed
(1 tests were not run)
Please report to address@hidden
====================================
make[2]: *** [check-TESTS] Error 1
make[2]: Leaving directory `/Disks/d70/Library/Source/GNU/libtool-1.5/tests'
make[1]: *** [check-am] Error 2
make[1]: Leaving directory `/Disks/d70/Library/Source/GNU/libtool-1.5/tests'
make: *** [check-recursive] Error 1
1589.96s real  597.59s user  877.18s system  92%

And, lastly, I'll try to run verbose against the failed test cases:

7-pong# env VERBOSE=yes make TESTS="demo-nopic.test demo-make.test demo-exec.test hardcode.test" check
Making check in .
make[1]: Entering directory `/Disks/d70/Library/Source/GNU/libtool-1.5'
make[1]: Nothing to be done for `check-am'.
make[1]: Leaving directory `/Disks/d70/Library/Source/GNU/libtool-1.5'
Making check in libltdl
make[1]: Entering directory `/Disks/d70/Library/Source/GNU/libtool-1.5/libltdl' make[1]: Leaving directory `/Disks/d70/Library/Source/GNU/libtool-1.5/libltdl'
Making check in doc
make[1]: Entering directory `/Disks/d70/Library/Source/GNU/libtool-1.5/doc'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory `/Disks/d70/Library/Source/GNU/libtool-1.5/doc'
Making check in tests
make[1]: Entering directory `/Disks/d70/Library/Source/GNU/libtool-1.5/tests'
make  check-TESTS
make[2]: Entering directory `/Disks/d70/Library/Source/GNU/libtool-1.5/tests'
=== Running demo-nopic.test
= Running make distclean in ../demo
make[3]: Entering directory `/Disks/d70/Library/Source/GNU/libtool-1.5/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 libhel l2.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 core *.core
rm -f *.lo
rm -f *.tab.c
rm -f Makefile
rm -f libtool
rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
rm -f config.status config.cache config.log configure.lineno
make[3]: Leaving directory `/Disks/d70/Library/Source/GNU/libtool-1.5/demo'
= Configuring in ../demo (prefix=NONE) with --without-pic
checking for a BSD-compatible install... /usr/local/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output... 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 ANSI C... 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... sparc-sun-solaris2.8
checking host system type... sparc-sun-solaris2.8
checking for a sed that does not truncate output... /usr/local/bin/sed
checking for egrep... 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/ccs/bin/nm -p
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
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... g77
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether g77 accepts -g... yes
checking the maximum length of command line arguments... 262144
checking command to parse /usr/ccs/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 static flag  works... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
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 how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking dynamic linker characteristics... solaris2.8 ld.so
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... no
checking for dlopen in -ldl... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... 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... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/ccs/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking dynamic linker characteristics... solaris2.8 ld.so
checking for shl_load... (cached) no
checking for shl_load in -ldld... (cached) no
checking for dlopen... (cached) no
checking for dlopen in -ldl... (cached) yes
checking whether a program can dlopen itself... (cached) yes
checking whether a statically linked program can dlopen itself... (cached) yes
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for g77 option to produce PIC... -fPIC
checking if g77 PIC flag -fPIC works... yes
checking if g77 supports -c -o file.o... yes
checking whether the g77 linker (/usr/ccs/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking dynamic linker characteristics... solaris2.8 ld.so
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
PASS: demo-nopic.test
=== Running demo-make.test
Making in ../demo
make[3]: Entering directory `/Disks/d70/Library/Source/GNU/libtool-1.5/demo'
/bin/bash ./libtool --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_HEADE RS=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 -DH AVE_DLFCN_H=1 -DHAVE_STRING_H=1 -DHAVE_MATH_H=1 -I. -I/Disks/d70/Library/Source /GNU/libtool-1.5/tests/../demo -pipe -O2 -c -o hello.lo `test -f 'hello.c' || echo '/Disks/d70/Library/Source/GNU/libtool-1.5/tests/../demo/'`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/Disks/d70/Library/Source/GNU/libtool-1.5/tests/../demo -pi
pe -O2 -c hello.c -o .libs/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/Disks/d70/Library/Source/GNU/libtool-1.5/tests/../demo -pi
pe -O2 -c hello.c -o hello.o >/dev/null 2>&1
/bin/bash ./libtool --mode=compile gcc -DPACKAGE_NAME=\"demo\" -DPACKAGE_TARNAME=\"demo\" -DPACKAGE_VERSION=\"1.0\" -DPACKAGE_STRING=\"demo\ 1.0\" -DPACKAGE_BUG REPORT=\"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/Disks/d70/Library/Source /GNU/libtool-1.5/tests/../demo -pipe -O2 -c -o foo.lo `test -f 'foo.c' || echo '/Disks/d70/Library/Source/GNU/libtool-1.5/tests/../demo/'`foo.c gcc -DPACKAGE_NAME=\"demo\" -DPACKAGE_TARNAME=\"demo\" -DPACKAGE_VERSION=\"1.0\" "-DPACKAGE_STRING=\"demo 1.0\"" -DPACKAGE_BUGREPORT=\"address@hidden" -D PACKAGE=\"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_STRING S_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_STRING_H=1 -DHAVE_MATH_H=1 -I. -I/Disks/d70/Library/Source/GNU/libtool-1.5/tests/../demo -pi
pe -O2 -c foo.c -o .libs/foo.o
gcc -DPACKAGE_NAME=\"demo\" -DPACKAGE_TARNAME=\"demo\" -DPACKAGE_VERSION=\"1.0\ " "-DPACKAGE_STRING=\"demo 1.0\"" -DPACKAGE_BUGREPORT=\"address@hidden" -D PACKAGE=\"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_STRING S_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_STRING_H=1 -DHAVE_MATH_H=1 -I. -I/Disks/d70/Library/Source/GNU/libtool-1.5/tests/../demo -pi
pe -O2 -c foo.c -o foo.o >/dev/null 2>&1
/bin/bash ./libtool --mode=link gcc -pipe -O2 -o libhello.la -rpath /usr/local/lib -no-undefined -version-info 3:12:1 hello.lo foo.lo -lm gcc -shared -Wl,-h -Wl,libhello.so.2 -o .libs/libhello.so.2.1.12 .libs/hello.o
.libs/foo.o  -lm -lc
Text relocation remains                         referenced
    against symbol                  offset      in file
<unknown>                           0x4         .libs/hello.o
<unknown>                           0x8         .libs/hello.o
<unknown>                           0x18        .libs/foo.o
<unknown>                           0x1c        .libs/foo.o
cos                                 0x8         .libs/foo.o
puts                                0xc         .libs/hello.o
printf                              0x24        .libs/foo.o
ld: fatal: relocations remain against allocatable but non-writable sections
collect2: ld returned 1 exit status
make[3]: *** [libhello.la] Error 1
make[3]: Leaving directory `/Disks/d70/Library/Source/GNU/libtool-1.5/demo'
FAIL: demo-make.test
=== Running demo-exec.test
You must run demo-make.test before running ./demo-exec.test
SKIP: demo-exec.test
=== Running hardcode.test
You must run demo-inst.test before ./hardcode.test
SKIP: hardcode.test
====================================
1 of 2 tests failed
(2 tests were not run)
Please report to address@hidden
====================================
make[2]: *** [check-TESTS] Error 1
make[2]: Leaving directory `/Disks/d70/Library/Source/GNU/libtool-1.5/tests'
make[1]: *** [check-am] Error 2
make[1]: Leaving directory `/Disks/d70/Library/Source/GNU/libtool-1.5/tests'
make: *** [check-recursive] Error 1
54.61s real  18.52s user  30.22s system  89%
8-pong# env VERBOSE=yes make TESTS="demo-inst.test hardcode.test" check
Making check in .
make[1]: Entering directory `/Disks/d70/Library/Source/GNU/libtool-1.5'
make[1]: Nothing to be done for `check-am'.
make[1]: Leaving directory `/Disks/d70/Library/Source/GNU/libtool-1.5'
Making check in libltdl
make[1]: Entering directory `/Disks/d70/Library/Source/GNU/libtool-1.5/libltdl' make[1]: Leaving directory `/Disks/d70/Library/Source/GNU/libtool-1.5/libltdl'
Making check in doc
make[1]: Entering directory `/Disks/d70/Library/Source/GNU/libtool-1.5/doc'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory `/Disks/d70/Library/Source/GNU/libtool-1.5/doc'
Making check in tests
make[1]: Entering directory `/Disks/d70/Library/Source/GNU/libtool-1.5/tests'
make  check-TESTS
make[2]: Entering directory `/Disks/d70/Library/Source/GNU/libtool-1.5/tests'
=== Running demo-inst.test
You must run demo-make.test before ./demo-inst.test
SKIP: demo-inst.test
=== Running hardcode.test
You must run demo-inst.test before ./hardcode.test
SKIP: hardcode.test
======================
All 0 tests passed
(2 tests were not run)
======================
make[2]: Leaving directory `/Disks/d70/Library/Source/GNU/libtool-1.5/tests'
make[1]: Leaving directory `/Disks/d70/Library/Source/GNU/libtool-1.5/tests'


Robert Boehne wrote:
Chuck,

Do me a favor, re-run this command in the same
build directory you ran the "make check" results
you posted:

env VERBOSE=yes make TESTS="demo-nopic.test demo-make.test
demo-exec.test" check

(in csh syntax).  Post this to address@hidden as a followup
to your previous posting.  If you get errors saying you must
run X before Y, add those tests to the list, then post all the
output for the one that fails, and possibly the one before it.
Also add output from 'gcc -v'.

Thanks,

Robert Boehne
address@hidden

Chuck Swiger wrote:

103-pong% make check
Making check in .
PASS: cdemo-static.test
PASS: cdemo-make.test
PASS: cdemo-exec.test
[ ... ]
PASS: demo-nopic.test
FAIL: demo-make.test
SKIP: demo-exec.test
PASS: depdemo-nofast.test
PASS: depdemo-make.test
PASS: depdemo-exec.test
PASS: depdemo-inst.test
PASS: depdemo-unst.test
[ ... ]
PASS: f77demo-make.test
PASS: f77demo-exec.test
====================================
1 of 104 tests failed
(1 tests were not run)
Please report to address@hidden
====================================
make[2]: *** [check-TESTS] Error 1
make[2]: Leaving directory `/Disks/d70/Library/Source/GNU/libtool-1.5/tests'
make[1]: *** [check-am] Error 2
make[1]: Leaving directory `/Disks/d70/Library/Source/GNU/libtool-1.5/tests'
make: *** [check-recursive] Error 1
1674.42s real  541.22s user  912.79s system  86%
106-pong% libtool --version
ltmain.sh (GNU libtool) 1.5 (1.1220 2003/04/05 19:32:58)

Copyright (C) 2003  Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is
NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.

107-pong% gcc --version
gcc (GCC) 3.2.2
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is
NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.

108-pong% uname -a
SunOS pong.codefab.com 5.8 Generic_108528-19 sun4u sparc SUNW,Ultra-4







reply via email to

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