* Rainer Tammer wrote on Thu, Aug 05, 2010 at 09:25:14AM CEST: > I just refreshed my source from git and rerun the test suit on AIX 5.3.
> 75: lt_dlopenext error messages FAILED > (lt_dlopenext.at:202) > 76: libdir of installed modules FAILED > (ltdl-libdir.at:104) Relevant log excerpts: | libtool: compile: cc_r -qlanglvl=extc89 -I/daten/source/libtool-2.2.11a/libltdl -g -c ltdl-loader.c -DPIC -o .libs/ltdl-loader.o | ./lt_dlopenext.at:202: $LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o ltdl-loader$EXEEXT ltdl-loader.$OBJEXT -dlopen self $LIBLTDL | stderr: | cc_r: 1501-228 (W) input file ltdl-loader.o not found | stdout: | libtool: link: rm -f .libs/ltdl-loader.nm .libs/ltdl-loader.nmS .libs/ltdl-loader.nmT | libtool: link: (cd .libs && cc_r -qlanglvl=extc89 -g -c "ltdl-loaderS.c") | libtool: link: rm -f ".libs/ltdl-loaderS.c" ".libs/ltdl-loader.nm" ".libs/ltdl-loader.nmS" ".libs/ltdl-loader.nmT" | libtool: link: cc_r -qlanglvl=extc89 -g -o ltdl-loader ltdl-loader.o .libs/ltdl-loaderS.o -Wl,-bexpall /daten/source/libtool-2.2.11a/libltdl/.libs/dlopen.a | libtool: link: rm -f ".libs/ltdl-loaderS.o" | ./lt_dlopenext.at:202: exit code was 252, expected 0 | 75. lt_dlopenext.at:23: 75. lt_dlopenext error messages (lt_dlopenext.at:23): FAILED (lt_dlopenext.at:202) | ./ltdl-libdir.at:102: $LIBTOOL --mode=compile $CC $CPPFLAGS $CFLAGS -c m.c | stderr: | stdout: | libtool: compile: cc_r -qlanglvl=extc89 -I/daten/source/libtool-2.2.11a/libltdl -g -c m.c -DPIC -o .libs/m.o | ./ltdl-libdir.at:104: $LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o m$EXEEXT m.$OBJEXT $LIBLTDL | stderr: | cc_r: 1501-228 (W) input file m.o not found | stdout: | libtool: link: cc_r -qlanglvl=extc89 -g -o m m.o /daten/source/libtool-2.2.11a/libltdl/.libs/dlopen.a /daten/source/libtool-2.2.11a/tests/../libltdl/.libs/ | ./ltdl-libdir.at:104: exit code was 252, expected 0 | 76. ltdl-libdir.at:23: 76. libdir of installed modules (ltdl-libdir.at:23): FAILED (ltdl-libdir.at:104) These two particular failures are straightforward to fix but the tests will still fail with the patch below, due to other issues. Later; I'm pushing this for now. Cheers, Ralf Fix compilation of program sources on AIX. * tests/lt_dlopenext.at (lt_dlopenext error messages): Do not use $LIBTOOL when compiling plain object, AIX by default does not enable static archives. * tests/ltdl-libdir.at (libdir of installed modules): Likewise. Report by Rainer Tammer. diff --git a/tests/lt_dlopenext.at b/tests/lt_dlopenext.at index 26a2b24..6631124 100644 --- a/tests/lt_dlopenext.at +++ b/tests/lt_dlopenext.at @@ -1,6 +1,6 @@ # lt_dlopenext.at -- test libltdl functionality -*- Autotest -*- # -# Copyright (C) 2009 Free Software Foundation, Inc. +# Copyright (C) 2009, 2010 Free Software Foundation, Inc. # This file is part of GNU Libtool. # # GNU Libtool is free software; you can redistribute it and/or @@ -197,7 +197,7 @@ AT_CHECK([$LIBTOOL --mode=compile $CC $CPPFLAGS $CFLAGS -c simple-module.c], AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o simple-module.la ]dnl [simple-module.lo -rpath $libdir -module -avoid-version], [], [ignore], [ignore]) -AT_CHECK([$LIBTOOL --mode=compile $CC $CPPFLAGS $CFLAGS -c ltdl-loader.c], +AT_CHECK([$CC $CPPFLAGS $CFLAGS -c ltdl-loader.c], [], [ignore], [ignore]) AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o ltdl-loader$EXEEXT ]dnl [ltdl-loader.$OBJEXT -dlopen self $LIBLTDL], diff --git a/tests/ltdl-libdir.at b/tests/ltdl-libdir.at index f5dc33c..7065c5b 100644 --- a/tests/ltdl-libdir.at +++ b/tests/ltdl-libdir.at @@ -101,7 +101,7 @@ AT_CHECK([$LIBTOOL --mode=compile $CC $CPPFLAGS $CFLAGS -c a.c], AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o a.la ]dnl [a.lo -rpath $libdir -module -shared -avoid-version], [], [ignore], [ignore]) -AT_CHECK([$LIBTOOL --mode=compile $CC $CPPFLAGS $CFLAGS -c m.c], +AT_CHECK([$CC $CPPFLAGS $CFLAGS -c m.c], [], [ignore], [ignore]) AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS -o m$EXEEXT ]dnl [m.$OBJEXT $LIBLTDL],