Subject: Getting errors for libtool 2.2.10 on armv7l board

From: "Yugandhar G.V." <[email-masked]>
Date: Fri, 18 May 2012 15:09:46 +0530

Hi ,

I go the following errors for libtool 2.2.10 on armv7l board, please find
the following details for the same and would be greatful if you help us out
in this:

## -------------------------- ##
## libtool 2.2.10 test suite. ##
## -------------------------- ##
testsuite: command line was:
  $ /tmp/libtool-2.2.10/tests/testsuite MAKE=make CC=/tool/usr/bin/gcc
CFLAGS=-g
 -O2 CPP=/tool/usr/bin/gcc -E CPPFLAGS= LD=/tool/usr/bin/ld LDFLAGS=
LIBS=-ldl
LN_S=ln -s NM=/tool/usr/bin/nm -B RANLIB=ranlib STRIP=strip
lt_INSTALL=/usr/bin/
install -c OBJEXT=o EXEEXT= SHELL=/bin/sh CONFIG_SHELL=/bin/sh CXX=g++
CXXFLAGS=
-g -O2 CXXCPP=g++ -E F77= FFLAGS= FC= FCFLAGS= GCJ= GCJFLAGS=-g -O2
_lt_pkgdatad
ir=/tmp/libtool-2.2.10 LIBTOOLIZE=/tmp/libtool-2.2.10/libtoolize
LIBTOOL=/tmp/li
btool-2.2.10/libtool tst_aclocaldir=/tmp/libtool-2.2.10/libltdl/m4
## ----------- ##
## ChangeLogs. ##
## ----------- ##
testsuite: ../ChangeLog:
| 2010-06-09  Gary V. Vaughan  <[email-masked]>
|
|       Prepare for next release.
|       * configure.ac, libltdl/configure.ac (AC_INIT): Bump version number
|       to 2.2.10.
"testsuite.log" 2694 lines, 103582 characters
|
|       Fix a quoting bug with ./commit -a 'A U Thor'.
|       * clcommit.m4sh (func_commit): Use func_show_eval when calling
|       git, so that the previously func_quote_for_eval()ed $git_flags is
## --------- ##
## Platform. ##
## --------- ##
hostname = 10.0.9.5
uname -m = armv7l
uname -r = 3.0.26_nl-kzm-a9-rt45
uname -s = Linux
uname -v = #1 SMP PREEMPT Thu Apr 5 20:03:30 IST 2012
/usr/bin/uname -p = unknown
/bin/uname -X     = unknown
/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown/usr/bin/oslevel       = unknown
/bin/universe          = unknown
PATH: /tmp/libtool-2.2.10/tests
PATH: /tool/usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/bin
PATH: /usr/sbin
PATH: /usr/local/bin
testsuite: atconfig:
| # Configurable variable values for building test suites.
| # Generated by ./config.status.
| # Copyright (C) 2009 Free Software Foundation, Inc.
|
| # The test suite will define top_srcdir=/../.. etc.
| at_testdir='tests'
| abs_builddir='/tmp/libtool-2.2.10/tests'
| at_srcdir='.'
| abs_srcdir='/tmp/libtool-2.2.10/tests'
| at_top_srcdir='..'
| abs_top_srcdir='/tmp/libtool-2.2.10'
| at_top_srcdir='..'
| abs_top_srcdir='/tmp/libtool-2.2.10'
| at_top_build_prefix='../'
| abs_top_builddir='/tmp/libtool-2.2.10'
|
| # Backward compatibility with Autotest <= 2.59b:
| at_top_builddir=$at_top_build_prefix
|
| AUTOTEST_PATH='tests'
|
| SHELL=${CONFIG_SHELL-'/bin/sh'}
## ---------------- ##
## Tested programs. ##
## ---------------- ##
## ------------------ ##
## Running the tests. ##
## ------------------ ##
testsuite: starting at: Fri May 18 13:08:59 UTC 2012
1. libtoolize macro installation (libtoolize.at:83): ok     (0m0.470s
0m3.090s)
## ------------- ##
## Test results. ##
## ------------- ##
ERROR: 95 tests were run,
28 failed (25 expected failures).
11 tests were skipped.
## ------------------------ ##
## Summary of the failures. ##
## ------------------------ ##
Failed tests:
libtool 2.2.10 test suite test groups:

NUM: FILE-NAME:LINE     TEST-GROUP-NAME
      KEYWORDS
  17: duplicate_members.at:25 duplicate members in archive tests
      libtool
  59: old-m4-iface.at:40 AM_PROG_LIBTOOL
      libtoolize autoconf
 102: cmdline_wrap.at:28 Run tests with low max_cmd_len
      recursive
## Detailed failed tests. ##
## ---------------------- ##
#                             -*- compilation -*-
17. duplicate_members.at:25: testing ...
libtool: compile:  /tool/usr/bin/gcc -g -O2 -c 1/a.c  -fPIC -DPIC -o
1/.libs/a.o
libtool: compile:  /tool/usr/bin/gcc -g -O2 -c 1/a.c -o 1/a.o >/dev/null
2>&1
libtool: compile:  /tool/usr/bin/gcc -g -O2 -c 2/a.c  -fPIC -DPIC -o
2/.libs/a.o
libtool: compile:  /tool/usr/bin/gcc -g -O2 -c 2/a.c -o 2/a.o >/dev/null
2>&1
libtool: compile:  /tool/usr/bin/gcc -g -O2 -c 3/a.c  -fPIC -DPIC -o
3/.libs/a.o
libtool: compile:  /tool/usr/bin/gcc -g -O2 -c 3/a.c -o 3/a.o >/dev/null
2>&1
libtool: compile:  /tool/usr/bin/gcc -g -O2 -c 4/a.c  -fPIC -DPIC -o
4/.libs/a.o
libtool: compile:  /tool/usr/bin/gcc -g -O2 -c 4/a.c -o 4/a.o >/dev/null
2>&1
libtool: compile:  /tool/usr/bin/gcc -g -O2 -c 5/a.c  -fPIC -DPIC -o
5/.libs/a.o
libtool: compile:  /tool/usr/bin/gcc -g -O2 -c 5/a.c -o 5/a.o >/dev/null
2>&1
libtool: compile:  /tool/usr/bin/gcc -g -O2 -c 6/a.c  -fPIC -DPIC -o
6/.libs/a.o
libtool: compile:  /tool/usr/bin/gcc -g -O2 -c 6/a.c -o 6/a.o >/dev/null
2>&1
libtool: link: /tool/usr/bin/ar cru .libs/libc0.a 6/.libs/a.o
libtool: link: ranlib .libs/libc0.a
libtool: link: ( cd ".libs" && rm -f "libc0.la" && ln -s "../libc0.la" "
libc0.la
" )
./duplicate_members.at:64: $LIBTOOL --mode=link --tag=CC $CC $CFLAGS
$LDFLAGS -o
 libconv.la      1/a.lo 2/a.lo 3/a.lo 4/a.lo 5/a.lo libc0.la
stderr:
stdout:
libtool: link: (cd .libs/libconv.lax/libc0.a && /tool/usr/bin/ar x
"/tmp/libtool
-2.2.10/tests/testsuite.dir/017/./.libs/libc0.a")
libtool: link: /tool/usr/bin/ar cru .libs/libconv.a 1/.libs/a.o 2/.libs/a.o
3/.l
ibs/a.o 4/.libs/a.o 5/.libs/a.o   .libs/libconv.lax/libc0.a/a.o
libtool: link: ranlib .libs/libconv.a
libtool: link: rm -fr .libs/libconv.lax
libtool: link: ( cd ".libs" && rm -f "libconv.la" && ln -s "../libconv.la"
"libc
onv.la" )
libtool: compile:  /tool/usr/bin/gcc -g -O2 -c bar.c  -fPIC -DPIC -o
.libs/bar.o
libtool: compile:  /tool/usr/bin/gcc -g -O2 -c bar.c -o bar.o >/dev/null
2>&1
./duplicate_members.at:68: $LIBTOOL --mode=link --tag=CC $CC $CFLAGS
$LDFLAGS -o
 libbar.la        bar.lo libconv.la -rpath /notexist
stderr:
stdout:
libtool: link: (cd .libs/libbar.lax/libconv.a && /tool/usr/bin/ar x
"/tmp/libtoo
l-2.2.10/tests/testsuite.dir/017/./.libs/libconv.a")
libtool: link: /tool/usr/bin/gcc -shared  .libs/bar.o
.libs/libbar.lax/libconv
.a/a.o      -Wl,-soname -Wl,libbar.so.0 -o .libs/libbar.so.0.0.0
libtool: link: (cd ".libs" && rm -f "libbar.so.0" && ln -s
"libbar.so.0.0.0" "li
bbar.so.0")
libtool: link: (cd ".libs" && rm -f "libbar.so" && ln -s "libbar.so.0.0.0"
"libb
ar.so")
libtool: link: (cd .libs/libbar.lax/lt1-libconv.a && /tool/usr/bin/ar x
"/tmp/li
btool-2.2.10/tests/testsuite.dir/017/./.libs/libconv.a")
libtool: link: /tool/usr/bin/ar cru .libs/libbar.a  bar.o
.libs/libbar.lax/lt1-
libconv.a/a.o
libtool: link: ranlib .libs/libbar.a
libtool: link: rm -fr .libs/libbar.lax .libs/libbar.lax
libtool: link: ( cd ".libs" && rm -f "libbar.la" && ln -s "../libbar.la"
"libbar
.la" )
libtool: compile:  /tool/usr/bin/gcc -g -O2 -c main.c  -fPIC -DPIC -o
.libs/main
.o
libtool: compile:  /tool/usr/bin/gcc -g -O2 -c main.c -o main.o >/dev/null
2>&1
./duplicate_members.at:72: $LIBTOOL --mode=link --tag=CC $CC $CFLAGS
$LDFLAGS -o
 main$EXEEXT     main.lo ./libbar.la
stderr:
./.libs/libbar.so: undefined reference to `foo2'
./.libs/libbar.so: undefined reference to `foo3'
./.libs/libbar.so: undefined reference to `foo4'
./.libs/libbar.so: undefined reference to `foo5'
./.libs/libbar.so: undefined reference to `foo1'
collect2: ld returned 1 exit status
stdout:
libtool: link: /tool/usr/bin/gcc -g -O2 -o .libs/main .libs/main.o
./.libs/libb
ar.so  -Wl,-rpath -Wl,/notexist
./duplicate_members.at:72: exit code was 1, expected 0
17. duplicate_members.at:25: 17. duplicate members in archive tests
(duplicate_m
embers.at:25): FAILED (duplicate_members.at:72)
#                             -*- compilation -*-
59. old-m4-iface.at:40: testing ...
libtoolize: putting auxiliary files in `.'.
libtoolize: linking file `./config.guess'
libtoolize: linking file `./config.sub'
libtoolize: linking file `./install-sh'
libtoolize: linking file `./ltmain.sh'
libtoolize: You should add the contents of the following files to
`aclocal.m4':
libtoolize:   `/tmp/libtool-2.2.10/libltdl/m4/libtool.m4'
libtoolize:   `/tmp/libtool-2.2.10/libltdl/m4/ltoptions.m4'
libtoolize:   `/tmp/libtool-2.2.10/libltdl/m4/ltversion.m4'
libtoolize:   `/tmp/libtool-2.2.10/libltdl/m4/ltsugar.m4'
libtoolize:   `/tmp/libtool-2.2.10/libltdl/m4/lt~obsolete.m4'
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.in and
libtoolize: rerunning libtoolize, to keep the correct libtool macros
in-tree.
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
./old-m4-iface.at:85: test -f aclocal.m4 ||
cat "$tst_aclocaldir/libtool.m4" "$tst_aclocaldir/ltoptions.m4" \
    "$tst_aclocaldir/ltsugar.m4" "$tst_aclocaldir/ltversion.m4" \
    "$tst_aclocaldir/lt~obsolete.m4" > aclocal.m4
./old-m4-iface.at:90: $AUTOCONF --force
stderr:
autom4te: need GNU m4 1.4 or later: /devel/usr/bin/m4
stdout:
./old-m4-iface.at:90: exit code was 1, expected 0
59. old-m4-iface.at:40: 59. AM_PROG_LIBTOOL (old-m4-iface.at:40): FAILED
(old-m4
-iface.at:90)
#                             -*- compilation -*-
102. cmdline_wrap.at:28: testing ...
./cmdline_wrap.at:43: $CONFIG_SHELL $abs_srcdir/testsuite -k
libtool$INNER_TESTS
UITEFLAGS
stderr:
ERROR: 39 tests were run,
5 failed (3 expected failures).
9 tests were skipped.
stdout: