I am attempting to fix AIX xlC support for the mulit-language-branch
but I have two failing tests, this is the second, "tagdemo-make.test".
What I cannot figure out is why the test fails when run with
make check, but not if you run "cd tagdemo && make".
I have attached the output from both situations, the commands that
are run are IDENTICAL, but the output is not.  I'm not yet familiar
with anything that could cause this, perhaps some enviornment varaibles?
Can someone help me with this?



-- 
Robert Boehne             Software Engineer
Ricardo Software   Chicago Technical Center
TEL: (630)789-0003 x. 238
FAX: (630)789-0127
email:  [EMAIL PROTECTED]
Script command is started on Wed Nov  1 17:09:32 CST 2000.make clean
boreas::/boreas/libtool/tagdemo (51)% make clean
test -z "libbaz.la" || rm -f libbaz.la
test -z "libfoo.la" || rm -f libfoo.la
rm -rf .libs _libs
test -z "tagdemo" || rm -f tagdemo
rm -f *.o core *.core
rm -f *.o
rm -f *.lo
boreas::/boreas/libtool/tagdemo (52)% make
/bin/sh ./libtool --mode=compile xlC -DHAVE_MATH_H=1  -I. 
-I/boreas/libtool/tests/../tagdemo     -g -c -o baz.lo baz.cpp
mkdir .libs
xlC -DHAVE_MATH_H=1 -I. -I/boreas/libtool/tests/../tagdemo -g -c baz.cpp   -DPIC -o 
.libs/baz.o
/bin/sh ./libtool --mode=compile xlC -DHAVE_MATH_H=1  -I. 
-I/boreas/libtool/tests/../tagdemo     -g -c -o foo.lo foo.cpp
xlC -DHAVE_MATH_H=1 -I. -I/boreas/libtool/tests/../tagdemo -g -c foo.cpp   -DPIC -o 
.libs/foo.o
/bin/sh ./libtool --mode=link xlC  -g   -o libfoo.la   foo.lo  
ar cru .libs/libfoo.a .libs/foo.o
ranlib .libs/libfoo.a
creating libfoo.la
(cd .libs && rm -f libfoo.la && ln -s ../libfoo.la libfoo.la)
/bin/sh ./libtool --mode=link xlC  -g   -o libbaz.la -rpath 
/boreas/libtool/tests/_inst/lib  baz.lo libfoo.la 
rm -fr .libs/libbaz.lax
mkdir .libs/libbaz.lax
rm -fr .libs/libbaz.lax/libfoo.a
mkdir .libs/libbaz.lax/libfoo.a
(cd .libs/libbaz.lax/libfoo.a && ar x /boreas/libtool/tagdemo/./.libs/libfoo.a)
makeC++SharedLib_r  -p 0 -bbigtoc   .libs/baz.o .libs/libbaz.lax/libfoo.a/foo.o   
./.libs/libfoo.a  -lc   -o .libs/libbaz.so.0.0.0
(cd .libs && rm -f libbaz.so.0 && ln -s libbaz.so.0.0.0 libbaz.so.0)
(cd .libs && rm -f libbaz.a && ln -s libbaz.so.0.0.0 libbaz.a)
rm -fr .libs/libbaz.lax
creating libbaz.la
(cd .libs && rm -f libbaz.la && ln -s ../libbaz.la libbaz.la)
xlC -DHAVE_MATH_H=1  -I. -I/boreas/libtool/tests/../tagdemo     -g -c -o main.o 
main.cpp
/bin/sh ./libtool --mode=link xlC  -g   -o tagdemo  main.o libbaz.la 
xlC -g -o .libs/tagdemo main.o  ./.libs/libbaz.a
creating tagdemo
boreas::/boreas/libtool/tagdemo (54)% cd ..
boreas::/boreas/libtool (55)% env VERBOSE=1 make check TESTS='tagdemo-make.test'
Making check in .
make[1]: Entering directory `/boreas/libtool'
make[1]: Nothing to be done for `check-am'.
make[1]: Leaving directory `/boreas/libtool'
Making check in libltdl
make[1]: Entering directory `/boreas/libtool/libltdl'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory `/boreas/libtool/libltdl'
Making check in doc
make[1]: Entering directory `/boreas/libtool/doc'
make[1]: Leaving directory `/boreas/libtool/doc'
Making check in tests
make[1]: Entering directory `/boreas/libtool/tests'
make  check-TESTS
make[2]: Entering directory `/boreas/libtool/tests'
+ need_prefix=no
+ test -z .
+ . ./defs
+ + cd .
+ pwd
srcdir=/boreas/libtool/tests
+ + echo ./tagdemo-make.test
+ sed s%^.*/%%
progname=tagdemo-make.test
+ libtool=../libtool
+ make=make
+ SHELL=/bin/sh
+ prefix=./_inst
+ test no = yes
+ test -d ./_inst
+ prefix=NONE
+ ../libtool --config
+ grep ^CC=
+ eval CC="xlc"
+ CC=xlc
+ echo === Running tagdemo-make.test
=== Running tagdemo-make.test
+ test -f ../tagdemo/Makefile
+ :
+ cd ../tagdemo
+ echo Making in ../tagdemo
Making in ../tagdemo
+ make
make[3]: Entering directory `/boreas/libtool/tagdemo'
/bin/sh ./libtool --mode=compile xlC -DHAVE_MATH_H=1  -I. 
-I/boreas/libtool/tests/../tagdemo     -g -c -o baz.lo baz.cpp
mkdir .libs
xlC -DHAVE_MATH_H=1 -I. -I/boreas/libtool/tests/../tagdemo -g -c baz.cpp   -DPIC -o 
.libs/baz.o
/bin/sh ./libtool --mode=compile xlC -DHAVE_MATH_H=1  -I. 
-I/boreas/libtool/tests/../tagdemo     -g -c -o foo.lo foo.cpp
xlC -DHAVE_MATH_H=1 -I. -I/boreas/libtool/tests/../tagdemo -g -c foo.cpp   -DPIC -o 
.libs/foo.o
/bin/sh ./libtool --mode=link xlC  -g   -o libfoo.la   foo.lo  
ar cru .libs/libfoo.a .libs/foo.o
ranlib .libs/libfoo.a
creating libfoo.la
(cd .libs && rm -f libfoo.la && ln -s ../libfoo.la libfoo.la)
/bin/sh ./libtool --mode=link xlC  -g   -o libbaz.la -rpath 
/boreas/libtool/tests/_inst/lib  baz.lo libfoo.la 
rm -fr .libs/libbaz.lax
mkdir .libs/libbaz.lax
rm -fr .libs/libbaz.lax/libfoo.a
mkdir .libs/libbaz.lax/libfoo.a
(cd .libs/libbaz.lax/libfoo.a && ar x /boreas/libtool/tagdemo/./.libs/libfoo.a)
makeC++SharedLib_r  -p 0 -bbigtoc   .libs/baz.o .libs/libbaz.lax/libfoo.a/foo.o   
./.libs/libfoo.a  -lc   -o .libs/libbaz.so.0.0.0
ld: 0711-319 WARNING: Exported symbol not defined: 00000000
ld: 0711-319 WARNING: Exported symbol not defined: 00000068
ld: 0711-319 WARNING: Exported symbol not defined: 000000c4
ld: 0711-319 WARNING: Exported symbol not defined: 00000110
ld: 0711-319 WARNING: Exported symbol not defined: 00000144
ld: 0711-319 WARNING: Exported symbol not defined: 00000150
ld: 0711-319 WARNING: Exported symbol not defined: 00000168
ld: 0711-319 WARNING: Exported symbol not defined: 000001d8
ld: 0711-319 WARNING: Exported symbol not defined: 000001e4
ld: 0711-319 WARNING: Exported symbol not defined: 000001f0
ld: 0711-319 WARNING: Exported symbol not defined: 000001fc
ld: 0711-319 WARNING: Exported symbol not defined: 00000208
(cd .libs && rm -f libbaz.so.0 && ln -s libbaz.so.0.0.0 libbaz.so.0)
(cd .libs && rm -f libbaz.a && ln -s libbaz.so.0.0.0 libbaz.a)
rm -fr .libs/libbaz.lax
creating libbaz.la
(cd .libs && rm -f libbaz.la && ln -s ../libbaz.la libbaz.la)
xlC -DHAVE_MATH_H=1  -I. -I/boreas/libtool/tests/../tagdemo     -g -c -o main.o 
main.cpp
/bin/sh ./libtool --mode=link xlC  -g   -o tagdemo  main.o libbaz.la 
xlC -g -o .libs/tagdemo main.o  ./.libs/libbaz.a
ld: 0711-317 ERROR: Undefined symbol: Virtual table for class "foobar_derived": first 
non-inline virtual function in "foobar_derived" is not defined.
ld: 0711-317 ERROR: Undefined symbol: Virtual table for class "barbaz_derived": first 
non-inline virtual function in "barbaz_derived" is not defined.
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
make[3]: *** [tagdemo] Error 8
make[3]: Leaving directory `/boreas/libtool/tagdemo'
+ exit 1
FAIL: tagdemo-make.test
===================
1 of 1 tests failed
===================
make[2]: *** [check-TESTS] Error 1
make[2]: Leaving directory `/boreas/libtool/tests'
make[1]: *** [check-am] Error 2
make[1]: Leaving directory `/boreas/libtool/tests'
make: *** [check-recursive] Error 1
boreas::/boreas/libtool (56)% exit

Script command is complete on Wed Nov  1 17:10:21 CST 2000.

Reply via email to