bug-libtool
[Top][All Lists]
Advanced

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

bug#10141: Lots of testsuite failures on OpenBSD 4.6 (gcc 3.3.5)


From: Stefano Lattarini
Subject: bug#10141: Lots of testsuite failures on OpenBSD 4.6 (gcc 3.3.5)
Date: Sat, 26 Nov 2011 11:01:41 +0100
User-agent: KMail/1.13.7 (Linux/2.6.30-2-686; KDE/4.6.5; i686; ; )

I've run the testsuite of libtool on an OpenBSD 4.6 system (with Fortran
compiler installed), with the patch series posted here applied:

  <http://lists.gnu.org/archive/html/libtool-patches/2011-11/msg00160.html>

Since I only have remote access to this BSD system, I've used the following
command run to build and test libtool, so the the testsuite could continue
to run without me having to remain logged in the whole time:

  $ (nohup sh -c 'set -x; ./configure && make && make check') &

Attached are the generated output (`nohup.out'), and the files
`config.log', `test-suite.log' (attached as `old-testsuite.log.gz'
here) and `tests/testsuite.log' (attaches as `new-testsuite.log.gz'
here).

Regards,
  Stefano
+ ./configure
## ----------------------------------- ##
## Configuring libtool 2.4.2.135-aa59c ##
## ----------------------------------- ##

checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... build-aux/install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking build system type... sparc64-unknown-openbsd4.6
checking host system type... sparc64-unknown-openbsd4.6
configure: autobuild project... GNU Libtool
configure: autobuild revision... 2.4.2.135-aa59c
configure: autobuild hostname... loulou.esiee.fr
configure: autobuild mode... default
configure: autobuild timestamp... 20111126T084744Z
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
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... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for Minix Amsterdam compiler... no
checking for ar... ar
checking for ranlib... ranlib
checking whether gcc and cc understand -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking how to print strings... print -r
checking for a sed that does not truncate output... /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
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... 196608
checking how to convert sparc64-unknown-openbsd4.6 file names to 
sparc64-unknown-openbsd4.6 format... func_convert_file_noop
checking how to convert sparc64-unknown-openbsd4.6 file names to toolchain 
format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... match_pattern 
/lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$
checking for dlltool... no
checking how to associate runtime and link libraries... print -r --
checking for archiver @FILE support... no
checking for strip... strip
checking for ranlib... (cached) ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
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 objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... yes
checking dynamic linker characteristics... openbsd4.6 ld.so
checking how to hardcode library paths into programs... immediate
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... no
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking which extension is used for runtime loadable modules... .so
checking which variable specifies run-time module search path... LD_LIBRARY_PATH
checking for the default library search path... /usr/lib
checking for library containing dlopen... none required
checking for dlerror... yes
checking for shl_load... (cached) no
checking for shl_load in -ldld... (cached) no
checking for dld_link in -ldld... no
checking for _ prefix in compiled symbols... no
checking whether deplibs are loaded by dlopen... yes
checking for argz.h... no
checking for error_t... no
checking for argz_add... no
checking for argz_append... no
checking for argz_count... no
checking for argz_create_sep... no
checking for argz_insert... no
checking for argz_next... no
checking for argz_stringify... no
checking whether libtool supports -dlopen/-dlpreopen... yes
checking for unistd.h... (cached) yes
checking for dl.h... no
checking for sys/dl.h... no
checking for dld.h... no
checking for mach-o/dyld.h... no
checking for dirent.h... yes
checking for closedir... yes
checking for opendir... yes
checking for readdir... yes
checking for strlcat... yes
checking for strlcpy... 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++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... openbsd4.6 ld.so
checking how to hardcode library paths into programs... immediate
checking for g77... g77
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether g77 accepts -g... yes
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 static flag -static works... no
checking if g77 supports -c -o file.o... yes
checking if g77 supports -c -o file.o... (cached) yes
checking whether the g77 linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... openbsd4.6 ld.so
checking how to hardcode library paths into programs... immediate
checking for gfortran... no
checking for g95... no
checking for xlf95... no
checking for f95... no
checking for fort... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgfortran... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for g77... g77
checking whether we are using the GNU Fortran compiler... yes
checking whether g77 accepts -g... yes
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 static flag -static works... no
checking if g77 supports -c -o file.o... yes
checking if g77 supports -c -o file.o... (cached) yes
checking whether the g77 linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... openbsd4.6 ld.so
checking how to hardcode library paths into programs... immediate
checking for gccgo... no
checking for gcj... no
checking for windres... no
checking whether make supports order-only prerequisites... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: executing tests/atconfig commands
config.status: executing depfiles commands
config.status: executing libtool commands
+ make
  GEN    libtoolize
  GEN    libltdl/argz.h
make  all-recursive
Making all in .
  CC     libltdl/loaders/libltdl_libltdl_la-preopen.lo
  CC     libltdl/libltdl_libltdl_la-lt__alloc.lo
  CC     libltdl/libltdl_libltdl_la-lt_dlloader.lo
  CC     libltdl/libltdl_libltdl_la-lt_error.lo
  CC     libltdl/libltdl_libltdl_la-ltdl.lo
  CC     libltdl/libltdl_libltdl_la-slist.lo
  CC     libltdl/loaders/dlopen.lo
  CCLD   libltdl/dlopen.la
  CC     libltdl/argz.lo
  CCLD   libltdl/libltdl.la
cc1: warning: "-fno-rtti" is valid for C++ but not for C/ObjC
+ make -k check
make  check-recursive
  GEN    tests/defs
Making check in .
make  check-TESTS check-local
FAIL: tests/link.test
FAIL: tests/link-2.test
PASS: tests/nomode.test
FAIL: tests/objectlist.test
FAIL: tests/quote.test
PASS: tests/suffix.test
PASS: tests/tagtrace.test
====================================
4 of 7 tests failed
See ./test-suite.log
Please report to address@hidden
====================================
*** Error code 1 (continuing)
  CC     libltdl/loaders/libltdl_libltdlc_la-preopen.lo
  CC     libltdl/libltdl_libltdlc_la-lt__alloc.lo
  CC     libltdl/libltdl_libltdlc_la-lt_dlloader.lo
  CC     libltdl/libltdl_libltdlc_la-lt_error.lo
  CC     libltdl/libltdl_libltdlc_la-ltdl.lo
  CC     libltdl/libltdl_libltdlc_la-slist.lo
  CCLD   libltdl/libltdlc.la
cc1: warning: "-fno-rtti" is valid for C++ but not for C/ObjC
## --------------------------------------- ##
## GNU Libtool 2.4.2.135-aa59c test suite. ##
## --------------------------------------- ##

Shell option parser generator.

  1: fallback short option splitting                 ok
  2: enhanced short option splitting                 ok
  3: fallback long option splitting                  ok
  4: enhanced long option splitting                  ok
  5: fallback option appending                       ok
  6: enhanced option appending                       ok
  7: fallback arithmetic                             ok
  8: enhanced arithmetic                             ok
  9: fallback path slicing                           ok
 10: enhanced path slicing                           ok

Libtoolize operation.

 11: libtoolize macro installation                   ok
 12: libtoolize macro directory mismatch error       ok
 13: libtoolize macro serial update                  ok
 14: libtoolize config files serial update           ok
 15: diagnose missing LT_CONFIG_LTDL_DIR             ok
 16: copy ltdl.m4 with shared macro directory        ok
 17: correctly parse LTDL_INIT from configure.ac     ok
 18: diagnose missing LTDL_INIT invocation           ok
 19: upgrading verbatim style aclocal.m4             FAILED (libtoolize.at:625)
 20: verbatim aclocal.m4 w/o AC_CONFIG_MACRO_DIR     FAILED (libtoolize.at:759)
 21: nonrecursive ltdl with AC_CONFIG_MACRO_DIR      ok
 22: subproject ltdl with unconventional layout      ok
 23: Subproject ltdl without GNU M4                  ok
 24: LIBTOOLIZE_OPTIONS                              ok
 25: cleanup old installation                        ok

Linking and loading.

 26: link against a preloaded static library         FAILED (demo.at:396)
 27: build and dynamically load a module             FAILED (demo.at:413)
 28: preload static and dynamic module               FAILED (demo.at:430)
 29: deplibs_check_method                            FAILED (demo.at:476)
 30: disable fast install                            FAILED (demo.at:491)
 31: force PIC objects                               FAILED (demo.at:509)
 32: force non-PIC objects                           FAILED (demo.at:547)
 33: hardcoding library path                         FAILED (demo.at:620)
 34: binary relinking at install time                FAILED (demo.at:729)
 35: uninstalled libraries have priority             FAILED (demo.at:790)
 36: linking with long file names                    FAILED (demo.at:913)

Convenience libraries.

 37: build and link against a static library         FAILED (cdemo.at:136)
 38: build and link against a dynamic library        FAILED (cdemo.at:154)
 39: build both static and dynamic                   FAILED (cdemo.at:172)
 40: allow_undefined_flag                            FAILED (cdemo.at:190)
 41: C convenience archives                          FAILED (convenience.at:52)
 42: C++ convenience archives                        ok
 43: F77 convenience archives                        ok
 44: FC convenience archives                         ok
 45: Java convenience archives                       skipped 
(convenience.at:231)

Library interdependencies.

 46: static library interdependencies                FAILED (depdemo.at:313)
 47: shared library interdependencies                FAILED (depdemo.at:330)
 48: shared and static interdependencies             FAILED (depdemo.at:347)
 49: disable fast install                            FAILED (depdemo.at:364)
 50: binary relinking at install time                FAILED (depdemo.at:383)

Testing libtool functions.

 51: standard command line options                   ok
 52: mode short-hands                                FAILED (help.at:61)
 53: debug tracing                                   FAILED (help.at:139)
 54: duplicate members in archive tests              ok
 55: duplicate convenience archive names             FAILED 
(duplicate_conv.at:55)
 56: preserve duplicate convenience deps             expected failure 
(duplicate_deps.at:58)
 57: passing CC flags through libtool                ok
 58: passing CXX flags through libtool               ok
 59: passing F77 flags through libtool               ok
 60: passing FC flags through libtool                ok
 61: passing GCJ flags through libtool               skipped (flags.at:24)
 62: inherited_linker_flags                          ok
 63: Link order test                                 FAILED (link-order.at:87)
 64: Link order of deplibs                           FAILED (link-order2.at:123)
 65: Failure tests                                   ok
 66: shlibpath_overrides_runpath                     FAILED (shlibpath.at:38)
 67: Runpath in libtool library files                FAILED 
(runpath-in-lalib.at:51)
 68: static linking flags for programs               FAILED (static.at:261)
 69: ccache -all-static                              ok
 70: Export test                                     FAILED (export.at:164)
 71: sys_lib_search_path                             skipped (search-path.at:56)
 72: sys_lib_search_path on w32                      skipped (search-path.at:83)
 73: indirect convenience                            FAILED 
(indirect_deps.at:60)
 74: indirect uninstalled                            ok
 75: static library contains static library          expected failure 
(archive-in-archive.at:56)
 76: both of -o prog and -o prog$EXEEXT work         skipped (exeext.at:29)
 77: execute mode                                    FAILED 
(execute-mode.at:117)
 78: bindir basic lib test                           FAILED (bindir.at:141)
 79: bindir install tests                            FAILED (bindir.at:288)
 80: cwrapper for uninstalled executables            FAILED (cwrapper.at:89)
 81: cwrapper string length                          FAILED (cwrapper.at:159)
 82: cwrapper and installed shared libraries         FAILED (cwrapper.at:226)
 83: deplib in subdir                                FAILED 
(deplib-in-subdir.at:81)
 84: inferred tag                                    FAILED (infer-tag.at:37)
 85: CXX inferred tag                                FAILED (infer-tag.at:50)
 86: F77 inferred tag                                FAILED (infer-tag.at:64)
 87: FC inferred tag                                 FAILED (infer-tag.at:78)
 88: GCJ inferred tag                                skipped (infer-tag.at:84)
 89: localized compiler messages                     ok
 90: nocase library search                           skipped (nocase.at:31)
 91: Install tests                                   FAILED (install.at:42)
 92: versioning                                      FAILED (versioning.at:111)

DESTDIR tests

 93: Simple DESTDIR install                          FAILED (destdir.at:61)
 94: DESTDIR with in-package deplibs                 FAILED (destdir.at:96)

Support for older m4 interface.

 95: AM_PROG_LIBTOOL                                 ok
 96: AC_WITH_LTDL                                    FAILED 
(old-m4-iface.at:160)

Support for older libltdl interfaces.

 97: Makefile.inc                                    FAILED 
(old-ltdl-iface.at:130)

Libtool subdir-objects support.

 98: C subdir-objects                                FAILED (am-subdir.at:78)
 99: C++ subdir-objects                              FAILED (am-subdir.at:146)

Libltdl functionality.

100: lt_dlexit unloading libs                        FAILED (lt_dlexit.at:152)
101: lt_dlopenadvise library loading                 FAILED (lt_dladvise.at:343)
102: lt_dlopen error messages                        expected failure 
(lt_dlopen.at:87)
103: lt_dlopen archive                               skipped (lt_dlopen_a.at:79)
104: lt_dlopenext error messages                     FAILED 
(lt_dlopenext.at:195)
105: libdir of installed modules                     FAILED (ltdl-libdir.at:102)
106: ltdl API                                        ok
107: dlloader API                                    FAILED 
(dlloader-api.at:423)
108: loadlibrary error messages                      FAILED (loadlibrary.at:227)
109: syntax of .la files                             expected failure 
(lalib-syntax.at:82)
110: resident modules                                FAILED (resident.at:138)
111: SList functionality                             ok
112: enforced lib prefix                             FAILED 
(need_lib_prefix.at:175)

Dynamic ltdl runtime loading.

113: dynamically ltdl preload static modules         FAILED (mdemo.at:640)
114: dynamically ltdl load a shared module           FAILED (mdemo.at:657)
115: ltdl load shared and static modules             FAILED (mdemo.at:674)
116: ltdl dryrun                                     FAILED (mdemo.at:691)
117: link with library that loads ltdl modules       FAILED (mdemo.at:856)

Standalone Libltdl.

118: compiling softlinked libltdl                    ok
119: compiling copied libltdl                        ok
120: installable libltdl                             ok
121: linking libltdl without autotools               FAILED (standalone.at:87)

Subproject Libltdl.

122: compiling softlinked libltdl                    FAILED (subproject.at:61)
123: compiling copied libltdl                        FAILED (subproject.at:77)
124: installable libltdl                             FAILED (subproject.at:95)
125: linking libltdl without autotools               FAILED (subproject.at:117)

Nonrecursive Automake Libltdl.

126: compiling softlinked libltdl                    FAILED (nonrecursive.at:90)
127: compiling copied libltdl                        FAILED 
(nonrecursive.at:114)
128: installable libltdl                             FAILED 
(nonrecursive.at:140)

Recursive Automake Libltdl.

129: compiling softlinked libltdl                    FAILED (recursive.at:68)
130: compiling copied libltdl                        FAILED (recursive.at:88)
131: installable libltdl                             FAILED (recursive.at:110)

C++ language support.

132: static library                                  FAILED (tagdemo.at:355)
133: shared library                                  FAILED (tagdemo.at:370)
134: shared and static together                      FAILED (tagdemo.at:385)
135: allow_undefined_flag                            FAILED (tagdemo.at:400)

C++ template tests.

136: simple template test                            ok
137: template test with subdirs                      ok

Constructors.

138: C++ static constructors                         FAILED (ctor.at:65)
139: C++ exception handling                          FAILED (exceptions.at:385)

libtool script generation.

140: config.status                                   FAILED 
(early-libtool.at:112)
141: config.lt                                       FAILED 
(early-libtool.at:218)
142: test --with-pic                                 skipped (with-pic.at:27)

Libtool usage in GCC

143: AC_NO_EXECUTABLES                               FAILED 
(no-executables.at:75)

Detecting identical deplibs.

144: build tree relpaths                             FAILED 
(deplibs-ident.at:37)

configure interface to libltdl.

145: installable libltdl                             FAILED 
(configure-iface.at:144)
146: --with-ltdl-include/lib                         FAILED 
(configure-iface.at:227)
147: --with-included-ltdl                            FAILED 
(configure-iface.at:282)
148: convenience libltdl                             FAILED 
(configure-iface.at:321)

Libtool stress test.

149: Link option thorough search test                FAILED (stresstest.at:233)
150: Run tests with low max_cmd_len                  FAILED (cmdline_wrap.at:43)
151: override pic_flag at configure time             skipped (pic_flag.at:47)

F77 language support.

152: static library                                  FAILED (f77demo.at:298)
153: shared library                                  FAILED (f77demo.at:313)
154: shared and static together                      FAILED (f77demo.at:328)

Fortran language support.

155: static library                                  FAILED (fcdemo.at:312)
156: shared library                                  FAILED (fcdemo.at:327)
157: shared and static together                      FAILED (fcdemo.at:342)

Mac OS X tests

158: darwin fat compile                              skipped (darwin.at:42)
159: darwin concurrent library extraction            FAILED (darwin.at:118)
160: darwin gdb debug information                    FAILED (darwin.at:171)
161: darwin ld warnings changing configure results   FAILED (darwin.at:225)
162: darwin can lt_dlopen .dylib and .so files       skipped (darwin.at:249)

Windows tests.

163: dumpbin -symbols section hiding                 skipped 
(dumpbin-symbols.at:42)
164: deplibs without file command                    FAILED 
(deplibs-mingw.at:49)

sysroot tests

165: -L=.../lib -l                                   skipped (sysroot.at:203)
166: -L SYSROOT/.../lib -l                           skipped (sysroot.at:204)
167: SYSROOT/.../*.la                                skipped (sysroot.at:205)

## ------------- ##
## Test results. ##
## ------------- ##

ERROR: 151 tests were run,
106 failed (4 expected failures).
16 tests were skipped.
## -------------------------- ##
## testsuite.log was created. ##
## -------------------------- ##

Please send `tests/testsuite.log' and all information you think might help:

   To: <address@hidden>
   Subject: [GNU Libtool 2.4.2.135-aa59c] testsuite: 19 20 26 27 28 29 30 31 32 
33 34 35 36 37 38 39 40 41 46 47 48 49 50 52 53 55 63 64 66 67 68 70 73 77 78 
79 80 81 82 83 84 85 86 87 91 92 93 94 96 97 98 99 100 101 104 105 107 108 110 
112 113 114 115 116 117 121 122 123 124 125 126 127 128 129 130 131 132 133 134 
135 138 139 140 141 143 144 145 146 147 148 149 150 152 153 154 155 156 157 159 
160 161 164 failed

You may investigate any problem if you feel able to do so, in which
case the test suite provides a good starting point.  Its output may
be found below `tests/testsuite.dir'.

*** Error code 1 (continuing)

Attachment: config.log.gz
Description: GNU Zip compressed data

Attachment: new-testsuite.log.gz
Description: GNU Zip compressed data

Attachment: old-testsuite.log.gz
Description: GNU Zip compressed data


reply via email to

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