bug-libtool
[Top][All Lists]
Advanced

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

make check failed on aix


From: June Fang
Subject: make check failed on aix
Date: Fri, 10 Mar 2006 11:16:09 +0800

failed tests:
mdemo-inst.test    duplicate_members.test

libtools:
ltmain.sh (GNU libtool) 1.5.22 (1.1220.2.365 2005/12/18 22:14:06)

os:
AIX IBM650_lpar04 2 5 0002D70F4C00 AIX

compiler:
C for AIX Compiler, Version 6

output:(also in attachment)
++++++++++++++  BEGIN   ++++++++++++++
=== Running mdemo-inst.test
= Running gmake install in ../mdemo
gmake[3]: Entering directory
`/ics/develop/utility/tools/fjw/usr/autotools/libtool-1.5.22/mdemo'
gmake[4]: Entering directory
`/ics/develop/utility/tools/fjw/usr/autotools/libtool-1.5.22/mdemo'
test -z 
"/ics/develop/utility/tools/fjw/usr/autotools/libtool-1.5.22/tests/_inst/lib"
|| mkdir -p -- 
"/ics/develop/utility/tools/fjw/usr/autotools/libtool-1.5.22/tests/_inst/lib"
 /bin/sh ./libtool --mode=install
/ics/develop/utility/tools/fjw/bin/ginstall -c  'libsub.la'
'/ics/develop/utility/tools/fjw/usr/autotools/libtool-1.5.22/tests/_inst/lib/libsub.la'
/ics/develop/utility/tools/fjw/bin/ginstall -c .libs/libsub.a
/ics/develop/utility/tools/fjw/usr/autotools/libtool-1.5.22/tests/_inst/lib/libsub.a
/ics/develop/utility/tools/fjw/bin/ginstall -c .libs/libsub.lai
/ics/develop/utility/tools/fjw/usr/autotools/libtool-1.5.22/tests/_inst/lib/libsub.la
----------------------------------------------------------------------
Libraries have been installed in:
   /ics/develop/utility/tools/fjw/usr/autotools/libtool-1.5.22/tests/_inst/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LIBPATH' environment variable
     during execution
   - use the `-Wl,-blibpath:LIBDIR:/usr/lpp/xlopt:/usr/lib:/lib ' linker flag

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
 /bin/sh ./libtool --mode=install
/ics/develop/utility/tools/fjw/bin/ginstall -c  'foo1.la'
'/ics/develop/utility/tools/fjw/usr/autotools/libtool-1.5.22/tests/_inst/lib/foo1.la'
libtool: install: warning: relinking `foo1.la'
(cd /ics/develop/utility/tools/fjw/usr/autotools/libtool-1.5.22/mdemo;
/bin/sh ./libtool  --tag=CC --mode=relink cc -g -no-undefined -module
-avoid-version -o foo1.la -rpath
/ics/develop/utility/tools/fjw/usr/autotools/libtool-1.5.22/tests/_inst/lib
foo1.lo -lm libsub.la )
generating symbol list for `foo1.la'
/usr/bin/nm -B -BCpg  .libs/foo1.o  | awk '{ if ((($2 == "T") || ($2
== "D") || ($2 == "B")) && (substr($3,1,1) != ".")) { print $3 } }' |
sort -u > .libs/foo1.exp
cc -Wl,-bM:SRE -o .libs/foo1.so  .libs/foo1.o 
-Wl,-blibpath:/ics/develop/utility/tools/fjw/usr/autotools/libtool-1.5.22/tests/_inst/lib:/usr/lpp/xlopt:/usr/lib:/lib
-lm 
/ics/develop/utility/tools/fjw/usr/autotools/libtool-1.5.22/tests/_inst/lib/libsub.a
-lc -Wl,-bnoentry  -Wl,-bE:.libs/foo1.exp ${wl}-bernotok
ld: 0711-851 SEVERE ERROR: Output file: .libs/foo1.so
        The file is in use and cannot be overwritten.
libtool: install: error: relink `foo1.la' with the above command
before installing it
 /bin/sh ./libtool --mode=install
/ics/develop/utility/tools/fjw/bin/ginstall -c  'libfoo2.la'
'/ics/develop/utility/tools/fjw/usr/autotools/libtool-1.5.22/tests/_inst/lib/libfoo2.la'
libtool: install: warning: relinking `libfoo2.la'
(cd /ics/develop/utility/tools/fjw/usr/autotools/libtool-1.5.22/mdemo;
/bin/sh ./libtool  --tag=CC --mode=relink cc -g -no-undefined -module
-export-symbols-regex "libfoo2.*" -o libfoo2.la -rpath
/ics/develop/utility/tools/fjw/usr/autotools/libtool-1.5.22/tests/_inst/lib
foo2.lo -lm libsub.la )
generating symbol list for `libfoo2.la'
/usr/bin/nm -B -BCpg  .libs/foo2.o  | awk '{ if ((($2 == "T") || ($2
== "D") || ($2 == "B")) && (substr($3,1,1) != ".")) { print $3 } }' |
sort -u > .libs/libfoo2.exp
/ics/develop/utility/tools/fjw/usr/local/bin/grep -E -e "libfoo2.*"
".libs/libfoo2.exp" > ".libs/libfoo2.expT"
mv -f ".libs/libfoo2.expT" ".libs/libfoo2.exp"
cc -Wl,-bM:SRE -o .libs/libfoo2.so.0  .libs/foo2.o 
-Wl,-blibpath:/ics/develop/utility/tools/fjw/usr/autotools/libtool-1.5.22/tests/_inst/lib:/usr/lpp/xlopt:/usr/lib:/lib
-lm 
/ics/develop/utility/tools/fjw/usr/autotools/libtool-1.5.22/tests/_inst/lib/libsub.a
-lc -Wl,-bnoentry  -Wl,-bE:.libs/libfoo2.exp ${wl}-bernotok
ld: 0711-851 SEVERE ERROR: Output file: .libs/libfoo2.so.0
        The file is in use and cannot be overwritten.
libtool: install: error: relink `libfoo2.la' with the above command
before installing it
 /bin/sh ./libtool --mode=install
/ics/develop/utility/tools/fjw/bin/ginstall -c  'libmlib.la'
'/ics/develop/utility/tools/fjw/usr/autotools/libtool-1.5.22/tests/_inst/lib/libmlib.la'
/ics/develop/utility/tools/fjw/bin/ginstall -c .libs/libmlib.a
/ics/develop/utility/tools/fjw/usr/autotools/libtool-1.5.22/tests/_inst/lib/libmlib.a
/ics/develop/utility/tools/fjw/bin/ginstall -c .libs/libmlib.lai
/ics/develop/utility/tools/fjw/usr/autotools/libtool-1.5.22/tests/_inst/lib/libmlib.la
----------------------------------------------------------------------
Libraries have been installed in:
   /ics/develop/utility/tools/fjw/usr/autotools/libtool-1.5.22/tests/_inst/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LIBPATH' environment variable
     during execution
   - use the `-Wl,-blibpath:LIBDIR:/usr/lpp/xlopt:/usr/lib:/lib ' linker flag

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
test -z 
"/ics/develop/utility/tools/fjw/usr/autotools/libtool-1.5.22/tests/_inst/bin"
|| mkdir -p -- 
"/ics/develop/utility/tools/fjw/usr/autotools/libtool-1.5.22/tests/_inst/bin"
  /bin/sh ./libtool --mode=install
/ics/develop/utility/tools/fjw/bin/ginstall -c 'mdemo'
'/ics/develop/utility/tools/fjw/usr/autotools/libtool-1.5.22/tests/_inst/bin/mdemo'
/ics/develop/utility/tools/fjw/bin/ginstall -c .libs/mdemo
/ics/develop/utility/tools/fjw/usr/autotools/libtool-1.5.22/tests/_inst/bin/mdemo
  /bin/sh ./libtool --mode=install
/ics/develop/utility/tools/fjw/bin/ginstall -c 'mdemo_static'
'/ics/develop/utility/tools/fjw/usr/autotools/libtool-1.5.22/tests/_inst/bin/mdemo_static'
/ics/develop/utility/tools/fjw/bin/ginstall -c .libs/mdemo_static
/ics/develop/utility/tools/fjw/usr/autotools/libtool-1.5.22/tests/_inst/bin/mdemo_static
gmake[4]: Nothing to be done for `install-data-am'.
gmake[4]: Leaving directory
`/ics/develop/utility/tools/fjw/usr/autotools/libtool-1.5.22/mdemo'
gmake[3]: Leaving directory
`/ics/develop/utility/tools/fjw/usr/autotools/libtool-1.5.22/mdemo'
= Executing installed programs
can't open the module
/ics/develop/utility/tools/fjw/usr/autotools/libtool-1.5.22/tests/_inst/lib/foo1.la!
error was: file not found
can't open the module
/ics/develop/utility/tools/fjw/usr/autotools/libtool-1.5.22/tests/_inst/lib/libfoo2.la!
error was: file not found
Welcome to GNU libtool mdemo!
myfunc returned: 57616
myfunc is ok!
./mdemo-inst.test: cannot execute
/ics/develop/utility/tools/fjw/usr/autotools/libtool-1.5.22/tests/_inst/bin/mdemo_static
can't open the module
/ics/develop/utility/tools/fjw/usr/autotools/libtool-1.5.22/tests/_inst/lib/foo1.la!
error was: file not found
can't open the module
/ics/develop/utility/tools/fjw/usr/autotools/libtool-1.5.22/tests/_inst/lib/libfoo2.la!
error was: file not found
Welcome to GNU libtool mdemo!
myfunc returned: 57616
myfunc is ok!
./mdemo-inst.test: cannot execute
/ics/develop/utility/tools/fjw/usr/autotools/libtool-1.5.22/tests/_inst/bin/mdemo
You may need to run ./mdemo-inst.test as the superuser.
FAIL: mdemo-inst.test
=== Running duplicate_members.test
mkdir 1/.libs
 cc -c -g 1/a.c  -DPIC -o 1/.libs/a.o
mkdir 2/.libs
 cc -c -g 2/a.c  -DPIC -o 2/.libs/a.o
mkdir 3/.libs
 cc -c -g 3/a.c  -DPIC -o 3/.libs/a.o
mkdir 4/.libs
 cc -c -g 4/a.c  -DPIC -o 4/.libs/a.o
mkdir 5/.libs
 cc -c -g 5/a.c  -DPIC -o 5/.libs/a.o
mkdir 6/.libs
 cc -c -g 6/a.c  -DPIC -o 6/.libs/a.o
mkdir .libs
ar cru .libs/libc0.a 6/.libs/a.o
ranlib .libs/libc0.a
creating libc0.la
(cd .libs && rm -f libc0.la && ln -s ../libc0.la libc0.la)
rm -fr .libs/libconv.lax
mkdir .libs/libconv.lax
rm -fr .libs/libconv.lax/libc0.a
mkdir .libs/libconv.lax/libc0.a
(cd .libs/libconv.lax/libc0.a && ar x
/ics/develop/utility/tools/fjw/usr/autotools/libtool-1.5.22/tests/duplicate_members.dir/./.libs/libc0.a)
copying selected object files to avoid basename conflicts...
ln 2/.libs/a.o .libs/libconv.lax/lt1-a.o || cp 2/.libs/a.o
.libs/libconv.lax/lt1-a.o
ln 3/.libs/a.o .libs/libconv.lax/lt2-a.o || cp 3/.libs/a.o
.libs/libconv.lax/lt2-a.o
ln 4/.libs/a.o .libs/libconv.lax/lt3-a.o || cp 4/.libs/a.o
.libs/libconv.lax/lt3-a.o
ln 5/.libs/a.o .libs/libconv.lax/lt4-a.o || cp 5/.libs/a.o
.libs/libconv.lax/lt4-a.o
ln .libs/libconv.lax/libc0.a/a.o .libs/libconv.lax/lt5-a.o || cp
.libs/libconv.lax/libc0.a/a.o .libs/libconv.lax/lt5-a.o
ar cru .libs/libconv.a 1/.libs/a.o .libs/libconv.lax/lt1-a.o
.libs/libconv.lax/lt2-a.o .libs/libconv.lax/lt3-a.o
.libs/libconv.lax/lt4-a.o .libs/libconv.lax/lt5-a.o
ranlib .libs/libconv.a
rm -fr .libs/libconv.lax
creating libconv.la
(cd .libs && rm -f libconv.la && ln -s ../libconv.la libconv.la)
 cc -c -g bar.c  -DPIC -o .libs/bar.o
generating symbol list for `libbar.la'
/usr/bin/nm -B -BCpg  .libs/bar.o  ./.libs/libconv.a | awk '{ if ((($2
== "T") || ($2 == "D") || ($2 == "B")) && (substr($3,1,1) != ".")) {
print $3 } }' | sort -u > .libs/libbar.exp
rm -fr .libs/libbar.lax
mkdir .libs/libbar.lax
rm -fr .libs/libbar.lax/libconv.a
mkdir .libs/libbar.lax/libconv.a
(cd .libs/libbar.lax/libconv.a && ar x
/ics/develop/utility/tools/fjw/usr/autotools/libtool-1.5.22/tests/duplicate_members.dir/./.libs/libconv.a)
libtool: link: ERROR: object name conflicts:
.libs/libbar.lax/libconv.a//ics/develop/utility/tools/fjw/usr/autotools/libtool-1.5.22/tests/duplicate_members.dir/./.libs/libconv.a
 cc -c -g main.c  -DPIC -o .libs/main.o
libtool: link: cannot find the library `./libbar.la' or unhandled
argument `./libbar.la'
./duplicate_members.test[54]: ./main:  not found.
FAIL: duplicate_members.test

++++++++++++++ END  +++++++++++++++++

Attachment: bug.rpt.aix
Description: Binary data


reply via email to

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