Ralf Wildenhues wrote: > > Please post the output of > gmake check VERBOSE=yes TESTS="tagdemo-static.test tagdemo-make.test > tagdemo-exec.test tagdemo-conf.test tagdemo-make.test > tagdemo-exec.test tagdemo-shared.test tagdemo-make.test > tagdemo-exec.test"
Hello, output is in attached file. Now (when VERBOSE flag is set) I see where is the problem. I set CC=cc, but didn't set CXX as CC, and configure script takes GNU g++ compiler (which don't understand -fast option). When I set CC=cc and CXX=CC all tests passed: ====================== All 111 tests passed (1 tests were not run) ====================== SKIP: demo-nopic.test Regards -- Piotr Tarnowski
Making check in . gmake[1]: Entering directory `/soft/libtool/libtool-1.5.24' gmake[1]: Nothing to be done for `check-am'. gmake[1]: Leaving directory `/soft/libtool/libtool-1.5.24' Making check in libltdl gmake[1]: Entering directory `/soft/libtool/libtool-1.5.24/libltdl' gmake[1]: Leaving directory `/soft/libtool/libtool-1.5.24/libltdl' Making check in doc gmake[1]: Entering directory `/soft/libtool/libtool-1.5.24/doc' gmake[1]: Nothing to be done for `check'. gmake[1]: Leaving directory `/soft/libtool/libtool-1.5.24/doc' Making check in tests gmake[1]: Entering directory `/soft/libtool/libtool-1.5.24/tests' gmake check-TESTS gmake[2]: Entering directory `/soft/libtool/libtool-1.5.24/tests' === Running tagdemo-static.test = Running gmake distclean in ../tagdemo gmake[3]: Entering directory `/soft/libtool/libtool-1.5.24/tagdemo' rm -f tagdemo tagdemo test -z "libbaz.la" || rm -f libbaz.la rm -f "./so_locations" rm -rf .libs _libs test -z "libfoo.la" || rm -f libfoo.la rm -f "./so_locations" 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 config.status.lineno rm -f Makefile gmake[3]: Leaving directory `/soft/libtool/libtool-1.5.24/tagdemo' = Configuring in ../tagdemo (prefix=/soft/libtool/libtool-1.5.24/tests/_inst) with --disable-shared checking build system type... sparc-sun-solaris2.10 checking host system type... sparc-sun-solaris2.10 checking target system type... sparc-sun-solaris2.10 checking for a BSD-compatible install... ./../install-sh -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... ./../install-sh -c -d checking for gawk... gawk 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... none checking how to run the C preprocessor... cc -E checking whether cc understands -c and -o together... yes checking whether we are using the GNU C++ compiler... no checking whether g++ accepts -g... yes checking dependency style of g++... none checking how to run the C++ preprocessor... g++ -E checking for a sed that does not truncate output... /usr/local/bin/gsed checking for grep that handles long lines and -e... /usr/sfw/bin/ggrep checking for egrep... /usr/sfw/bin/ggrep -E checking for non-GNU ld... /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 recognize dependent libraries... pass_all checking for ANSI C header files... no checking for sys/types.h... no checking for sys/stat.h... no checking for stdlib.h... no checking for string.h... no checking for memory.h... no checking for strings.h... no checking for inttypes.h... no checking for stdint.h... no checking for unistd.h... no checking dlfcn.h usability... no checking dlfcn.h presence... yes configure: WARNING: dlfcn.h: present but cannot be compiled configure: WARNING: dlfcn.h: check for missing prerequisite headers? configure: WARNING: dlfcn.h: see the Autoconf documentation configure: WARNING: dlfcn.h: section "Present But Cannot Be Compiled" configure: WARNING: dlfcn.h: proceeding with the preprocessor's result configure: WARNING: dlfcn.h: in the future, the compiler will take precedence configure: WARNING: ## ---------------------------------- ## configure: WARNING: ## Report this to bug-libtool@gnu.org ## configure: WARNING: ## ---------------------------------- ## checking for dlfcn.h... yes checking how to run the C++ preprocessor... g++ -E checking whether we are using the GNU Fortran 77 compiler... no checking whether f77 accepts -g... yes checking the maximum length of command line arguments... 786240 checking command to parse /usr/ccs/bin/nm -p output from cc object... failed checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking for cc option to produce PIC... -KPIC checking if cc PIC flag -KPIC works... yes checking if cc static flag -Bstatic works... no checking if cc supports -c -o file.o... yes checking whether the cc linker (/usr/ccs/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... solaris2.10 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... no checking whether to build static libraries... yes configure: creating libtool appending configuration tag "CXX" to libtool checking whether the g++ linker (/usr/ccs/bin/ld) supports shared libraries... yes libtool.m4: error: problem compiling CXX test program checking for g++ option to produce PIC... checking if g++ static flag works... no checking if g++ supports -c -o file.o... no checking whether the g++ linker (/usr/ccs/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... solaris2.10 ld.so checking how to hardcode library paths into programs... unsupported appending configuration tag "F77" to libtool checking if libtool supports shared libraries... yes checking whether to build shared libraries... no checking whether to build static libraries... yes checking for f77 option to produce PIC... -KPIC checking if f77 PIC flag -KPIC works... yes checking if f77 static flag -Bstatic works... yes checking if f77 supports -c -o file.o... yes checking whether the f77 linker (/usr/ccs/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... solaris2.10 ld.so checking how to hardcode library paths into programs... immediate checking math.h usability... no checking math.h presence... yes configure: WARNING: math.h: present but cannot be compiled configure: WARNING: math.h: check for missing prerequisite headers? configure: WARNING: math.h: see the Autoconf documentation configure: WARNING: math.h: section "Present But Cannot Be Compiled" configure: WARNING: math.h: proceeding with the preprocessor's result configure: WARNING: math.h: in the future, the compiler will take precedence configure: WARNING: ## ---------------------------------- ## configure: WARNING: ## Report this to bug-libtool@gnu.org ## configure: WARNING: ## ---------------------------------- ## checking for math.h... yes checking for cos in -lm... no configure: creating ./config.status config.status: creating Makefile config.status: executing depfiles commands PASS: tagdemo-static.test === Running tagdemo-make.test Making in ../tagdemo gmake[3]: Entering directory `/soft/libtool/libtool-1.5.24/tagdemo' /bin/bash ./libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"tagdemo\" -DPACKAGE_TARNAME=\"tagdemo\" -DPACKAGE_VERSION=\"0.1\" -DPACKAGE_STRING=\"tagdemo\ 0.1\" -DPACKAGE_BUGREPORT=\"[EMAIL PROTECTED]" -DPACKAGE=\"tagdemo\" -DVERSION=\"0.1\" -DHAVE_DLFCN_H=1 -DHAVE_MATH_H=1 -I. -I/usr/local/include -I/usr/sfw/include -fast -c -o baz.lo baz.cpp g++ -DPACKAGE_NAME=\"tagdemo\" -DPACKAGE_TARNAME=\"tagdemo\" -DPACKAGE_VERSION=\"0.1\" "-DPACKAGE_STRING=\"tagdemo 0.1\"" -DPACKAGE_BUGREPORT=\"[EMAIL PROTECTED]" -DPACKAGE=\"tagdemo\" -DVERSION=\"0.1\" -DHAVE_DLFCN_H=1 -DHAVE_MATH_H=1 -I. -I/usr/local/include -I/usr/sfw/include -fast -c baz.cpp cc1plus: error: unrecognized command line option "-fast" gmake[3]: *** [baz.lo] Error 1 gmake[3]: Leaving directory `/soft/libtool/libtool-1.5.24/tagdemo' FAIL: tagdemo-make.test === Running tagdemo-exec.test You must run tagdemo-make.test before running ./tagdemo-exec.test SKIP: tagdemo-exec.test === Running tagdemo-conf.test = Running gmake distclean in ../tagdemo gmake[3]: Entering directory `/soft/libtool/libtool-1.5.24/tagdemo' rm -f tagdemo tagdemo test -z "libbaz.la" || rm -f libbaz.la rm -f "./so_locations" rm -rf .libs _libs test -z "libfoo.la" || rm -f libfoo.la rm -f "./so_locations" 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 config.status.lineno rm -f Makefile gmake[3]: Leaving directory `/soft/libtool/libtool-1.5.24/tagdemo' = Configuring in ../tagdemo (prefix=/soft/libtool/libtool-1.5.24/tests/_inst) checking build system type... sparc-sun-solaris2.10 checking host system type... sparc-sun-solaris2.10 checking target system type... sparc-sun-solaris2.10 checking for a BSD-compatible install... ./../install-sh -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... ./../install-sh -c -d checking for gawk... gawk 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... none checking how to run the C preprocessor... cc -E checking whether cc understands -c and -o together... yes checking whether we are using the GNU C++ compiler... no checking whether g++ accepts -g... yes checking dependency style of g++... none checking how to run the C++ preprocessor... g++ -E checking for a sed that does not truncate output... /usr/local/bin/gsed checking for grep that handles long lines and -e... /usr/sfw/bin/ggrep checking for egrep... /usr/sfw/bin/ggrep -E checking for non-GNU ld... /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 recognize dependent libraries... pass_all checking for ANSI C header files... no checking for sys/types.h... no checking for sys/stat.h... no checking for stdlib.h... no checking for string.h... no checking for memory.h... no checking for strings.h... no checking for inttypes.h... no checking for stdint.h... no checking for unistd.h... no checking dlfcn.h usability... no checking dlfcn.h presence... yes configure: WARNING: dlfcn.h: present but cannot be compiled configure: WARNING: dlfcn.h: check for missing prerequisite headers? configure: WARNING: dlfcn.h: see the Autoconf documentation configure: WARNING: dlfcn.h: section "Present But Cannot Be Compiled" configure: WARNING: dlfcn.h: proceeding with the preprocessor's result configure: WARNING: dlfcn.h: in the future, the compiler will take precedence configure: WARNING: ## ---------------------------------- ## configure: WARNING: ## Report this to bug-libtool@gnu.org ## configure: WARNING: ## ---------------------------------- ## checking for dlfcn.h... yes checking how to run the C++ preprocessor... g++ -E checking whether we are using the GNU Fortran 77 compiler... no checking whether f77 accepts -g... yes checking the maximum length of command line arguments... 786240 checking command to parse /usr/ccs/bin/nm -p output from cc object... failed checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking for cc option to produce PIC... -KPIC checking if cc PIC flag -KPIC works... yes checking if cc static flag -Bstatic works... no checking if cc supports -c -o file.o... yes checking whether the cc linker (/usr/ccs/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... solaris2.10 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 configure: creating libtool appending configuration tag "CXX" to libtool checking whether the g++ linker (/usr/ccs/bin/ld) supports shared libraries... yes libtool.m4: error: problem compiling CXX test program checking for g++ option to produce PIC... checking if g++ static flag works... no checking if g++ supports -c -o file.o... no checking whether the g++ linker (/usr/ccs/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... solaris2.10 ld.so checking how to hardcode library paths into programs... unsupported 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 f77 option to produce PIC... -KPIC checking if f77 PIC flag -KPIC works... yes checking if f77 static flag -Bstatic works... yes checking if f77 supports -c -o file.o... yes checking whether the f77 linker (/usr/ccs/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... solaris2.10 ld.so checking how to hardcode library paths into programs... immediate checking math.h usability... no checking math.h presence... yes configure: WARNING: math.h: present but cannot be compiled configure: WARNING: math.h: check for missing prerequisite headers? configure: WARNING: math.h: see the Autoconf documentation configure: WARNING: math.h: section "Present But Cannot Be Compiled" configure: WARNING: math.h: proceeding with the preprocessor's result configure: WARNING: math.h: in the future, the compiler will take precedence configure: WARNING: ## ---------------------------------- ## configure: WARNING: ## Report this to bug-libtool@gnu.org ## configure: WARNING: ## ---------------------------------- ## checking for math.h... yes checking for cos in -lm... no configure: creating ./config.status config.status: creating Makefile config.status: executing depfiles commands PASS: tagdemo-conf.test === Running tagdemo-make.test Making in ../tagdemo gmake[3]: Entering directory `/soft/libtool/libtool-1.5.24/tagdemo' /bin/bash ./libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"tagdemo\" -DPACKAGE_TARNAME=\"tagdemo\" -DPACKAGE_VERSION=\"0.1\" -DPACKAGE_STRING=\"tagdemo\ 0.1\" -DPACKAGE_BUGREPORT=\"[EMAIL PROTECTED]" -DPACKAGE=\"tagdemo\" -DVERSION=\"0.1\" -DHAVE_DLFCN_H=1 -DHAVE_MATH_H=1 -I. -I/usr/local/include -I/usr/sfw/include -fast -c -o baz.lo baz.cpp mkdir .libs g++ -DPACKAGE_NAME=\"tagdemo\" -DPACKAGE_TARNAME=\"tagdemo\" -DPACKAGE_VERSION=\"0.1\" "-DPACKAGE_STRING=\"tagdemo 0.1\"" -DPACKAGE_BUGREPORT=\"[EMAIL PROTECTED]" -DPACKAGE=\"tagdemo\" -DVERSION=\"0.1\" -DHAVE_DLFCN_H=1 -DHAVE_MATH_H=1 -I. -I/usr/local/include -I/usr/sfw/include -fast -c baz.cpp -DPIC cc1plus: error: unrecognized command line option "-fast" gmake[3]: *** [baz.lo] Error 1 gmake[3]: Leaving directory `/soft/libtool/libtool-1.5.24/tagdemo' FAIL: tagdemo-make.test === Running tagdemo-exec.test You must run tagdemo-make.test before running ./tagdemo-exec.test SKIP: tagdemo-exec.test === Running tagdemo-shared.test = Running gmake distclean in ../tagdemo gmake[3]: Entering directory `/soft/libtool/libtool-1.5.24/tagdemo' rm -f tagdemo tagdemo test -z "libbaz.la" || rm -f libbaz.la rm -f "./so_locations" rm -rf .libs _libs test -z "libfoo.la" || rm -f libfoo.la rm -f "./so_locations" 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 config.status.lineno rm -f Makefile gmake[3]: Leaving directory `/soft/libtool/libtool-1.5.24/tagdemo' = Configuring in ../tagdemo (prefix=/soft/libtool/libtool-1.5.24/tests/_inst) with --disable-static checking build system type... sparc-sun-solaris2.10 checking host system type... sparc-sun-solaris2.10 checking target system type... sparc-sun-solaris2.10 checking for a BSD-compatible install... ./../install-sh -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... ./../install-sh -c -d checking for gawk... gawk 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... none checking how to run the C preprocessor... cc -E checking whether cc understands -c and -o together... yes checking whether we are using the GNU C++ compiler... no checking whether g++ accepts -g... yes checking dependency style of g++... none checking how to run the C++ preprocessor... g++ -E checking for a sed that does not truncate output... /usr/local/bin/gsed checking for grep that handles long lines and -e... /usr/sfw/bin/ggrep checking for egrep... /usr/sfw/bin/ggrep -E checking for non-GNU ld... /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 recognize dependent libraries... pass_all checking for ANSI C header files... no checking for sys/types.h... no checking for sys/stat.h... no checking for stdlib.h... no checking for string.h... no checking for memory.h... no checking for strings.h... no checking for inttypes.h... no checking for stdint.h... no checking for unistd.h... no checking dlfcn.h usability... no checking dlfcn.h presence... yes configure: WARNING: dlfcn.h: present but cannot be compiled configure: WARNING: dlfcn.h: check for missing prerequisite headers? configure: WARNING: dlfcn.h: see the Autoconf documentation configure: WARNING: dlfcn.h: section "Present But Cannot Be Compiled" configure: WARNING: dlfcn.h: proceeding with the preprocessor's result configure: WARNING: dlfcn.h: in the future, the compiler will take precedence configure: WARNING: ## ---------------------------------- ## configure: WARNING: ## Report this to bug-libtool@gnu.org ## configure: WARNING: ## ---------------------------------- ## checking for dlfcn.h... yes checking how to run the C++ preprocessor... g++ -E checking whether we are using the GNU Fortran 77 compiler... no checking whether f77 accepts -g... yes checking the maximum length of command line arguments... 786240 checking command to parse /usr/ccs/bin/nm -p output from cc object... failed checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking for cc option to produce PIC... -KPIC checking if cc PIC flag -KPIC works... yes checking if cc static flag -Bstatic works... no checking if cc supports -c -o file.o... yes checking whether the cc linker (/usr/ccs/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... solaris2.10 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... no configure: creating libtool appending configuration tag "CXX" to libtool checking whether the g++ linker (/usr/ccs/bin/ld) supports shared libraries... yes libtool.m4: error: problem compiling CXX test program checking for g++ option to produce PIC... checking if g++ static flag works... no checking if g++ supports -c -o file.o... no checking whether the g++ linker (/usr/ccs/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... solaris2.10 ld.so checking how to hardcode library paths into programs... unsupported 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... no checking for f77 option to produce PIC... -KPIC checking if f77 PIC flag -KPIC works... yes checking if f77 static flag -Bstatic works... yes checking if f77 supports -c -o file.o... yes checking whether the f77 linker (/usr/ccs/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... solaris2.10 ld.so checking how to hardcode library paths into programs... immediate checking math.h usability... no checking math.h presence... yes configure: WARNING: math.h: present but cannot be compiled configure: WARNING: math.h: check for missing prerequisite headers? configure: WARNING: math.h: see the Autoconf documentation configure: WARNING: math.h: section "Present But Cannot Be Compiled" configure: WARNING: math.h: proceeding with the preprocessor's result configure: WARNING: math.h: in the future, the compiler will take precedence configure: WARNING: ## ---------------------------------- ## configure: WARNING: ## Report this to bug-libtool@gnu.org ## configure: WARNING: ## ---------------------------------- ## checking for math.h... yes checking for cos in -lm... no configure: creating ./config.status config.status: creating Makefile config.status: executing depfiles commands PASS: tagdemo-shared.test === Running tagdemo-make.test Making in ../tagdemo gmake[3]: Entering directory `/soft/libtool/libtool-1.5.24/tagdemo' /bin/bash ./libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"tagdemo\" -DPACKAGE_TARNAME=\"tagdemo\" -DPACKAGE_VERSION=\"0.1\" -DPACKAGE_STRING=\"tagdemo\ 0.1\" -DPACKAGE_BUGREPORT=\"[EMAIL PROTECTED]" -DPACKAGE=\"tagdemo\" -DVERSION=\"0.1\" -DHAVE_DLFCN_H=1 -DHAVE_MATH_H=1 -I. -I/usr/local/include -I/usr/sfw/include -fast -c -o baz.lo baz.cpp mkdir .libs g++ -DPACKAGE_NAME=\"tagdemo\" -DPACKAGE_TARNAME=\"tagdemo\" -DPACKAGE_VERSION=\"0.1\" "-DPACKAGE_STRING=\"tagdemo 0.1\"" -DPACKAGE_BUGREPORT=\"[EMAIL PROTECTED]" -DPACKAGE=\"tagdemo\" -DVERSION=\"0.1\" -DHAVE_DLFCN_H=1 -DHAVE_MATH_H=1 -I. -I/usr/local/include -I/usr/sfw/include -fast -c baz.cpp -DPIC cc1plus: error: unrecognized command line option "-fast" gmake[3]: *** [baz.lo] Error 1 gmake[3]: Leaving directory `/soft/libtool/libtool-1.5.24/tagdemo' FAIL: tagdemo-make.test === Running tagdemo-exec.test You must run tagdemo-make.test before running ./tagdemo-exec.test SKIP: tagdemo-exec.test ==================================== 3 of 6 tests failed (3 tests were not run) Please report to bug-libtool@gnu.org ==================================== gmake[2]: *** [check-TESTS] Error 1 gmake[2]: Leaving directory `/soft/libtool/libtool-1.5.24/tests' gmake[1]: *** [check-am] Error 2 gmake[1]: Leaving directory `/soft/libtool/libtool-1.5.24/tests' gmake: *** [check-recursive] Error 1
_______________________________________________ Bug-libtool mailing list Bug-libtool@gnu.org http://lists.gnu.org/mailman/listinfo/bug-libtool