bug-libtool
[Top][All Lists]
Advanced

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

test failure libtool-1.5.10


From: robert a. schmied
Subject: test failure libtool-1.5.10
Date: Fri, 22 Oct 2004 14:05:25 -0700

test failure libtool-1.5.10
.
.
.
PASS: demo-nopic.test
FAIL: demo-make.test
SKIP: demo-exec.test
PASS: depdemo-nofast.test
.
.
.
====================================
1 of 100 tests failed
(1 tests were not run)
Please report to address@hidden
====================================


target host solaris 2.5
% gcc --version
2.95.2
solaris linker ld
%    ld -V
ld: Software Generation Utilities (SGU) SunOS/ELF (LK-2.0 (S/I) - versioning)


looks like my combination of compiler and linker don't like --without-pic

aloha

ras
address@hidden



manually running tests demo-nopic.test and demo-make.test yielded this output:
%    pwd
/usr/local/src/libtool/libtool-1.5.10
%    cd tests
%    pwd
/usr/local/src/libtool/libtool-1.5.10/tests
%    demo-nopic.test
=== Running demo-nopic.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=NONE) with --without-pic
checking for a BSD-compatible install... /usr/local/bin/ginstall -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
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 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.5
checking host system type... sparc-sun-solaris2.5
checking for a sed that does not truncate output... /usr/xpg4/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/xpg4/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... no
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 fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... 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... 1024
checking command to parse /usr/xpg4/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 dynamic linker characteristics... solaris2.5 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
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 dynamic linker characteristics... solaris2.5 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
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 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
%    demo-make.test
=== Running demo-make.test
Making in ../demo
/bin/ksh ./libtool --mode=compile --tag=CC 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_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_STRING_H=1 -DHAVE_MATH_H=1 -I.
-I/usr/local/src/libtool/libtool-1.5.10/tests/../demo     -O2 -H -c -o
libhello_la-hello.lo `test -f 'hello.c' || echo
'/usr/local/src/libtool/libtool-1.5.10/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_UNISTD_H=1
-DHAVE_DLFCN_H=1 -DHAVE_STRING_H=1 -DHAVE_MATH_H=1 -I.
-I/usr/local/src/libtool/libtool-1.5.10/tests/../demo -O2 -H -c hello.c -o
.libs/libhello_la-hello.o
foo.h
/usr/include/stdio.h
 /usr/include/sys/feature_tests.h
 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_UNISTD_H=1
-DHAVE_DLFCN_H=1 -DHAVE_STRING_H=1 -DHAVE_MATH_H=1 -I.
-I/usr/local/src/libtool/libtool-1.5.10/tests/../demo -O2 -H -c hello.c -o
libhello_la-hello.o >/dev/null 2>&1
/bin/ksh ./libtool --mode=compile --tag=CC 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_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_STRING_H=1 -DHAVE_MATH_H=1 -I.
-I/usr/local/src/libtool/libtool-1.5.10/tests/../demo     -O2 -H -c -o
libhello_la-foo.lo `test -f 'foo.c' || echo
'/usr/local/src/libtool/libtool-1.5.10/tests/../demo/'`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_UNISTD_H=1
-DHAVE_DLFCN_H=1 -DHAVE_STRING_H=1 -DHAVE_MATH_H=1 -I.
-I/usr/local/src/libtool/libtool-1.5.10/tests/../demo -O2 -H -c foo.c -o
.libs/libhello_la-foo.o
foo.h
/usr/include/stdio.h
 /usr/include/sys/feature_tests.h
/opt/lib/gcc-lib/sparc-sun-solaris2.5/2.95.2/include/math.h
 /usr/include/math.h
  /usr/include/floatingpoint.h
   /usr/include/sys/ieeefp.h
 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_UNISTD_H=1
-DHAVE_DLFCN_H=1 -DHAVE_STRING_H=1 -DHAVE_MATH_H=1 -I.
-I/usr/local/src/libtool/libtool-1.5.10/tests/../demo -O2 -H -c foo.c -o
libhello_la-foo.o >/dev/null 2>&1
/bin/ksh ./libtool --mode=link --tag=CC gcc  -O2 -H    -o libhello.la -rpath
/usr/local/lib -no-undefined -version-info 3:12:1 libhello_la-hello.lo
libhello_la-foo.lo -lm 
gcc -shared -Wl,-h -Wl,libhello.so.2 -o .libs/libhello.so.2.1.12 
.libs/libhello_la-hello.o .libs/libhello_la-foo.o  -lm -lc 
Text relocation remains                       referenced
    against symbol                  offset      in file
<unknown>                           0x4         .libs/libhello_la-hello.o
<unknown>                           0xc         .libs/libhello_la-hello.o
printf                              0x8         .libs/libhello_la-hello.o
printf                              0x28        .libs/libhello_la-foo.o
<unknown>                           0x4         .libs/libhello_la-foo.o
<unknown>                           0x8         .libs/libhello_la-foo.o
cos                                 0x10        .libs/libhello_la-foo.o
ld: fatal: relocations remain against allocatable but non-writable sections
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `libhello.la'




reply via email to

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