bug-libtool
[Top][All Lists]
Advanced

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

libtool(20080421), mingw-cross, check-local fail for DESTDIR tests


From: Roumen Petrov
Subject: libtool(20080421), mingw-cross, check-local fail for DESTDIR tests
Date: Tue, 22 Apr 2008 00:37:22 +0300
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.13) Gecko/20080329 SeaMonkey/1.1.9

Hi libtool Team,

How I have time to check libtool in cross-compiled environment:
$ .../configure --build=${ARCH}-pc-linux --host=${ARCH}-mingw32msvc

$ gcc --version
gcc (GCC) 3.4.5 (mingw special)


A.) The command "make check-local" fail on some tests:
ERROR: 34 tests were run,
5 failed (2 expected failures).
32 tests were skipped.

The failed test are: 30(expected), 33, 34, 61(expected) and 66.


For DESTDIR test 33 (for 34 output is similar and test 66 depend from 34 ) testsuite.log show error like next:
=======================
....
libtool: install: warning: `liba.la' has not been installed in ....'
cp: cannot stat `.libs/m.exe': No such file or directory
stdout:
libtool: install: cp .libs/m.exe ..../33/inst/bin/m.exe
..../tests/destdir.at:63: exit code was 1, expected 0
33. destdir.at:48: 33. Simple DESTDIR install (destdir.at:48): FAILED (destdir.at:63)
=======================

The content of test(#33) source subdirectory is:
$ ls m* .libs/m*
.libs/m*  .libs/m_ltshwrapper  m.c  m.exe*  m.o


Why .libs/m is without .exe suffix ?
Command $ ./libtool --config | grep  exeext return:
exeext=
May be is related to the failure :-/ .


B.) The some files test suite use ar command.
In my environment ar command from mingw binutils is found in path before system and tests don't fail. The following files call ar command directly:
- archive-in-archive.at
- testsuite

Is this bug ?

Also I see for failed tests a "run"-script. This scrip set some commands:
============================
#! /bin/sh
exec ${CONFIG_SHELL-/bin/sh} ..../tests/testsuite -v -d \
MAKE='make' CC='<ARCH>-mingw32msvc-gcc' .... \
NM='..../<ARCH>-mingw32msvc-nm -B' \
RANLIB='<ARCH>-mingw32msvc-ranlib' ....
============================
Some of "cross"-commands are with absolute path, other only with basename.
The ar(AR) command is not set.


Roumen





reply via email to

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