libtool-patches
[Top][All Lists]
Advanced

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

Re: add cegcc support


From: Vincent Torri
Subject: Re: add cegcc support
Date: Thu, 17 Apr 2008 18:31:34 +0200 (CEST)


The README file explains it: run
 make check VERBOSE=yes TESTS="tests/demo-shared.test tests/demo-make.test 
tests/demo-exec.test"

Also, please run the other half of the tests (the new testsuite) using
 make check-local

and post tests/testsuite.log, please.  You can run both with "make -k
check".

Here are the log of the test suite. After it, the output of the 2 failed tests (there are 2 now, after some modifications of the patch)

## -------------------------- ##
## libtool 2.2.3a test suite. ##
## -------------------------- ##

Libtoolize operation.

  1: libtoolize macro installation                   ok
  2: libtoolize macro serial update                  ok
  3: libtoolize config files serial update           ok
  4: diagnose missing LT_CONFIG_LTDL_DIR             ok
  5: copy ltdl.m4 with shared macro directory        ok
  6: correctly parse LTDL_INIT from configure.ac     ok
  7: diagnose missing LTDL_INIT invocation           ok
  8: upgrading verbatim style aclocal.m4             ok
  9: nonrecursive ltdl with AC_CONFIG_MACRO_DIR      ok
 10: subproject ltdl with non-shared directories     ok

Testing libtool functions.

11: duplicate members in archive tests skipped (duplicate_members.at:73) 12: duplicate convenience archive names skipped (duplicate_conv.at:55) 13: preserve duplicate convenience deps skipped (duplicate_deps.at:61)
 14: inherited_linker_flags                          ok
15: C convenience archives skipped (convenience.at:63) 16: C++ convenience archives skipped (convenience.at:103) 17: F77 convenience archives skipped (convenience.at:110) 18: FC convenience archives skipped (convenience.at:170) 19: Java convenience archives skipped (convenience.at:230) 20: Link order test. skipped (link-order.at:105) 21: Link order of deplibs. skipped (link-order2.at:124)
 22: Failure tests                                   ok
23: shlibpath_overrides_runpath skipped (shlibpath.at:66)
 24: Runpath in libtool library files                ok
25: static linking flags for programs skipped (static.at:177) 26: Export test skipped (export.at:159)
 27: sys_lib_search_path                             ok
28: indirect convenience skipped (indirect_deps.at:64) 29: indirect uninstalled skipped (indirect_deps.at:113) 30: static library contains static library expected failure (archive-in-archive.at:49)
 31: execute mode                                    ok
 32: localized compiler messages                     ok

DESTDIR tests

33: Simple DESTDIR install skipped (destdir.at:70) 34: DESTDIR with in-package deplibs skipped (destdir.at:127)

Support for older m4 interface.

35: AM_PROG_LIBTOOL skipped (old-m4-iface.at:87) 36: AC_WITH_LTDL skipped (old-m4-iface.at:156)

Libtool subdir-objects support.

37: C subdir-objects FAILED (am-subdir.at:80) 38: C++ subdir-objects FAILED (am-subdir.at:148)

Libltdl functionality.

39: lt_dlexit unloading libs skipped (lt_dlexit.at:154) 40: lt_dlopenadvise library loading FAILED (lt_dladvise.at:323) 41: enforced lib prefix skipped (need_lib_prefix.at:170)

Standalone Libltdl.

 42: compiling softlinked libltdl                    ok
 43: compiling copied libltdl                        ok
 44: installable libltdl                             ok
45: linking libltdl without autotools skipped (standalone.at:87)

Subproject Libltdl.

 46: compiling softlinked libltdl                    ok
 47: compiling copied libltdl                        ok
 48: installable libltdl                             ok
49: linking libltdl without autotools skipped (subproject.at:117)

Nonrecursive Automake Libltdl.

50: compiling softlinked libltdl FAILED (nonrecursive.at:93) 51: compiling copied libltdl FAILED (nonrecursive.at:117) 52: installable libltdl FAILED (nonrecursive.at:143)

Recursive Automake Libltdl.

53: compiling softlinked libltdl FAILED (recursive.at:71) 54: compiling copied libltdl FAILED (recursive.at:91) 55: installable libltdl FAILED (recursive.at:113)

C++ template tests.

56: simple template test skipped (template.at:92) 57: template test with subdirs skipped (template.at:243)

Constructors.

 58: C++ static constructors                         skipped (ctor.at:65)

libtool script generation.

59: config.status skipped (early-libtool.at:114) 60: config.lt skipped (early-libtool.at:219)

Detecting identical deplibs.

61: build tree relpaths expected failure (deplibs-ident.at:68)

configure interface to libltdl.

 62: installable libltdl                             ok
63: --with-ltdl-include/lib FAILED (configure-iface.at:216) 64: --with-included-ltdl skipped (configure-iface.at:270)

Libtool stress test.

65: Link option thorough search test skipped (stresstest.at:262)
 66: Run tests with low max_cmd_len                  ok

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

ERROR: 36 tests were run,
12 failed (2 expected failures).
30 tests were skipped.
## -------------------------- ##
## testsuite.log was created. ##
## -------------------------- ##


output of the failed tests:

demo-make.test: ===  Running demo-make.test
demo-make.test: ===  Running `make ' in demo
make[4]: Entering directory `/home/torri/tmp/cvsroot/libtool/tests/demo'
/bin/sh ./libtool --tag=CC --mode=compile arm-wince-cegcc-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_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DLT_OBJDIR=\".libs/\" -I. -I./../.. -g -O2 -c -o hello.lo hello.c libtool: compile: arm-wince-cegcc-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_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DLT_OBJDIR=\".libs/\" -I. -I./../.. -g -O2 -c hello.c -DDLL_EXPORT -DPIC -o .libs/hello.o /bin/sh ./libtool --tag=CC --mode=compile arm-wince-cegcc-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_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DLT_OBJDIR=\".libs/\" -I. -I./../.. -g -O2 -c -o foo.lo foo.c libtool: compile: arm-wince-cegcc-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_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DLT_OBJDIR=\".libs/\" -I. -I./../.. -g -O2 -c foo.c -DDLL_EXPORT -DPIC -o .libs/foo.o /bin/sh ./libtool --tag=CC --mode=link arm-wince-cegcc-gcc -g -O2 -no-undefined -version-info 3:12:1 -o libhello.la -rpath /home/torri/tmp/cvsroot/libtool/_inst/lib hello.lo foo.lo -lm libtool: link: arm-wince-cegcc-gcc -shared .libs/hello.o .libs/foo.o -o .libs/libhello-2.dll -Wl,--enable-auto-image-base -Xlinker --out-implib -Xlinker .libs/libhello.dll.a
Creating library file: .libs/libhello.dll.a
libtool: link: ( cd ".libs" && rm -f "libhello.la" && ln -s "../libhello.la" "libhello.la" ) arm-wince-cegcc-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_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DLT_OBJDIR=\".libs/\" -I. -I./../.. -g -O2 -c main.c /bin/sh ./libtool --tag=CC --mode=link arm-wince-cegcc-gcc -g -O2 -o hell.exe main.o libhello.la libtool: link: arm-wince-cegcc-gcc -g -O2 -o hell.exe main.o ./.libs/libhello.dll.a -L/home/torri/tmp/cvsroot/libtool/tests/demo/.libs -L/home/torri/tmp/cvsroot/libtool/_inst/lib
Info: resolving _CRT_MT by linking to __imp__CRT_MT (auto-import)
Info: resolving nothing by linking to __imp_nothing (auto-import)
/home/torri/local/opt/cegcc/lib/gcc/arm-wince-cegcc/4.1.0/../../../../arm-wince-cegcc/bin/ld: warning: auto-importing has been activated without --enable-auto-import specified on the command line. This should work unless it involves constant data structures referencing symbols from auto-imported DLLs./bin/sh ./libtool --tag=CC --mode=link arm-wince-cegcc-gcc -g -O2 -o hell_static.exe main.o libhello.la libtool: link: arm-wince-cegcc-gcc -g -O2 -o hell_static.exe main.o ./.libs/libhello.dll.a -L/home/torri/tmp/cvsroot/libtool/tests/demo/.libs -L/home/torri/tmp/cvsroot/libtool/_inst/lib
Info: resolving _CRT_MT by linking to __imp__CRT_MT (auto-import)
Info: resolving nothing by linking to __imp_nothing (auto-import)
/home/torri/local/opt/cegcc/lib/gcc/arm-wince-cegcc/4.1.0/../../../../arm-wince-cegcc/bin/ld: warning: auto-importing has been activated without --enable-auto-import specified on the command line. This should work unless it involves constant data structures referencing symbols from auto-imported DLLs.arm-wince-cegcc-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_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DLT_OBJDIR=\".libs/\" -I. -I./../.. -g -O2 -c dlmain.c /bin/sh ./libtool --tag=CC --mode=link arm-wince-cegcc-gcc -g -O2 -export-dynamic -dlpreopen libhello.la -o helldl.exe dlmain.o libtool: link: rm -f .libs/helldl.exe.nm .libs/helldl.exe.nmS .libs/helldl.exe.nmT libtool: link: (cd .libs && arm-wince-cegcc-gcc -g -O2 -c -fno-builtin "helldl.exeS.c") libtool: link: rm -f ".libs/helldl.exeS.c" ".libs/helldl.exe.nm" ".libs/helldl.exe.nmS" ".libs/helldl.exe.nmT" libtool: link: arm-wince-cegcc-gcc -g -O2 .libs/helldl.exeS.o -o helldl.exe dlmain.o -Wl,--export-dynamic ./.libs/libhello.dll.a -L/home/torri/tmp/cvsroot/libtool/tests/demo/.libs -L/home/torri/tmp/cvsroot/libtool/_inst/lib
Info: resolving _CRT_MT by linking to __imp__CRT_MT (auto-import)
Info: resolving nothing by linking to __imp_nothing (auto-import)
/home/torri/local/opt/cegcc/lib/gcc/arm-wince-cegcc/4.1.0/../../../../arm-wince-cegcc/bin/ld: warning: auto-importing has been activated without --enable-auto-import specified on the command line. This should work unless it involves constant data structures referencing symbols from auto-imported DLLs..libs/helldl.exeS.o:helldl.exeS.c:(.data+0x1c): undefined reference to `DllMainCRTStartup'
collect2: ld returned 1 exit status
libtool: link: rm -f ".libs/helldl.exeS.o"
make[4]: *** [helldl.exe] Error 1
make[4]: Leaving directory `/home/torri/tmp/cvsroot/libtool/tests/demo'
FAIL: tests/demo-make.test



and 2nd:

demo-inst.test: ===  Running demo-inst.test
demo-inst.test: ===  Running `make install' in demo
make[4]: Entering directory `/home/torri/tmp/cvsroot/libtool/tests/demo'
/bin/sh ./libtool --tag=CC --mode=link arm-wince-cegcc-gcc -g -O2 -export-dynamic -dlpreopen libhello.la -o helldl.exe dlmain.o libtool: link: rm -f .libs/helldl.exe.nm .libs/helldl.exe.nmS .libs/helldl.exe.nmT libtool: link: (cd .libs && arm-wince-cegcc-gcc -g -O2 -c -fno-builtin "helldl.exeS.c") libtool: link: rm -f ".libs/helldl.exeS.c" ".libs/helldl.exe.nm" ".libs/helldl.exe.nmS" ".libs/helldl.exe.nmT" libtool: link: arm-wince-cegcc-gcc -g -O2 .libs/helldl.exeS.o -o helldl.exe dlmain.o -Wl,--export-dynamic ./.libs/libhello.dll.a -L/home/torri/tmp/cvsroot/libtool/tests/demo/.libs -L/home/torri/tmp/cvsroot/libtool/_inst/lib
Info: resolving _CRT_MT by linking to __imp__CRT_MT (auto-import)
Info: resolving nothing by linking to __imp_nothing (auto-import)
/home/torri/local/opt/cegcc/lib/gcc/arm-wince-cegcc/4.1.0/../../../../arm-wince-cegcc/bin/ld: warning: auto-importing has been activated without --enable-auto-import specified on the command line. This should work unless it involves constant data structures referencing symbols from auto-imported DLLs..libs/helldl.exeS.o:helldl.exeS.c:(.data+0x1c): undefined reference to `DllMainCRTStartup'
collect2: ld returned 1 exit status
libtool: link: rm -f ".libs/helldl.exeS.o"
make[4]: *** [helldl.exe] Error 1
make[4]: Leaving directory `/home/torri/tmp/cvsroot/libtool/tests/demo'
FAIL: tests/demo-inst.test










reply via email to

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