bug-automake
[Top][All Lists]
Advanced

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

Re: [Fwd: Re: automake (GNU automake) 1.10.2 failed test]


From: Ralf Wildenhues
Subject: Re: [Fwd: Re: automake (GNU automake) 1.10.2 failed test]
Date: Mon, 6 Apr 2009 20:16:30 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

Hello Rainer,

let's keep the mailing list in Cc:, thanks.

* Rainer Tammer wrote on Mon, Apr 06, 2009 at 08:50:39AM CEST:
> Yes,
> this fixes the test. Unfortunately test libtool7.test and libtool9.test
> still fail (details see below).

Thanks for reporting these failures.  I have seen them before, but
haven't fixed them yet.  Unless you use dlpreopened (static) modules
in conjunction with Libtool's libltdl, they should not be a problem,
though.

Cheers,
Ralf

> libtool7.test
> ========
> 
> /daten/source/automake-1.10.2/tests:/opt/freeware/bin:/usr/java5/jre/bin:/usr/java5/bin:/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin:/usr/java14/jre/bin:/usr/java14/bin:/usr/vac/bin:/usr/vacpp/bin:/opt/freeware/bin:/usr/local/bin:/opt/subversion/bin:/opt/git/bin:/opt/ooRexx/bin:/var/ifor:/usr/opt/ifor/ls/conf:/usr/opt/ifor/ls/os/aix/bin
> libtool7: running libtoolize --version
> libtoolize (GNU libtool) 1.5.26
[...]

> /usr/bin/bash ./libtool --tag=CC   --mode=link gcc  -g -O2 -module
> -Wl,-brtl -o mod2.la -rpath
> /daten/source/automake-1.10.2/tests/testSubDir/_inst/lib mod2_la-mod2.lo 
> generating symbol list for `mod2.la'
> /usr/bin/nm -B -BCpg  .libs/mod2_la-mod2.o  | awk '{ if ((($2 == "T") ||
> ($2 == "D") || ($2 == "B")) && (substr($3,1,1) != ".")) { print $3 } }'
> | sort -u > .libs/mod2.exp
> gcc -o .libs/mod2.so.0.0.0  .libs/mod2_la-mod2.o  -lc -Wl,-bnoentry 
> -Wl,-brtl `if test "x-berok" != "x"; then echo "-Wl,-berok"; else :; fi`
> -Wl,-bexport:.libs/mod2.exp -shared -Wl,-G
> (cd .libs && rm -f mod2.so.0 && ln -s mod2.so.0.0.0 mod2.so.0)
> (cd .libs && rm -f mod2.so && ln -s mod2.so.0.0.0 mod2.so)
> ar cru .libs/mod2.a  mod2_la-mod2.o
> ranlib .libs/mod2.a
> creating mod2.la
> (cd .libs && rm -f mod2.la && ln -s ../mod2.la mod2.la)
> /usr/bin/bash ./libtool --tag=CC --silent  --mode=link gcc  -g -O2
> -module -Wl,-brtl -o libmod1.la -rpath
> /daten/source/automake-1.10.2/tests/testSubDir/_inst/lib sub/mod1.lo
> -dlopen mod2.la
> depbase=`echo prg.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
>     gcc -DPACKAGE_NAME=\"libtool7\" -DPACKAGE_TARNAME=\"libtool7\"
> -DPACKAGE_VERSION=\"1.0\" -DPACKAGE_STRING=\"libtool7\ 1.0\"
> -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libtool7\" -DVERSION=\"1.0\"
> -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1
> -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1
> -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1
> -I.     -g -O2 -MT prg.o -MD -MP -MF $depbase.Tpo -c -o prg.o prg.c &&\
>     mv -f $depbase.Tpo $depbase.Po
> /usr/bin/bash ./libtool --tag=CC --silent  --mode=link gcc  -g -O2 
> -Wl,-brtl -o prg prg.o -dlopen libmod1.la -dlpreopen mod2.la
> 
> *** Warning: Linking the executable prg against the loadable module
> *** mod2.so is not portable!
> collect2: library libmod2 not found
> make: *** [prg] Error 1

> libtool9.test
> ========
[...]

> /usr/bin/bash ./libtool --tag=CC   --mode=link gcc  -g -O2 -module
> -Wl,-brtl -o mod2.la -rpath /usr/local/lib mod2.lo 
> generating symbol list for `mod2.la'
> /usr/bin/nm -B -BCpg  .libs/mod2.o  | awk '{ if ((($2 == "T") || ($2 ==
> "D") || ($2 == "B")) && (substr($3,1,1) != ".")) { print $3 } }' | sort
> -u > .libs/mod2.exp
> gcc -o .libs/mod2.so.0.0.0  .libs/mod2.o  -lc -Wl,-bnoentry  -Wl,-brtl
> `if test "x-berok" != "x"; then echo "-Wl,-berok"; else :; fi`
> -Wl,-bexport:.libs/mod2.exp -shared -Wl,-G
> (cd .libs && rm -f mod2.so.0 && ln -s mod2.so.0.0.0 mod2.so.0)
> (cd .libs && rm -f mod2.so && ln -s mod2.so.0.0.0 mod2.so)
> ar cru .libs/mod2.a  mod2.o
> ranlib .libs/mod2.a
> creating mod2.la
> (cd .libs && rm -f mod2.la && ln -s ../mod2.la mod2.la)
> /usr/bin/bash ./libtool --tag=CC   --mode=link gcc  -g -O2  -Wl,-brtl -o
> libmod1.la -rpath /usr/local/lib mod1.lo -dlopen mod2.la
> generating symbol list for `libmod1.la'
> /usr/bin/nm -B -BCpg  .libs/mod1.o  | awk '{ if ((($2 == "T") || ($2 ==
> "D") || ($2 == "B")) && (substr($3,1,1) != ".")) { print $3 } }' | sort
> -u > .libs/libmod1.exp
> gcc -o .libs/libmod1.so.0.0.0  .libs/mod1.o  -lc -Wl,-bnoentry 
> -Wl,-brtl `if test "x-berok" != "x"; then echo "-Wl,-berok"; else :; fi`
> -Wl,-bexport:.libs/libmod1.exp -shared -Wl,-G
> (cd .libs && rm -f libmod1.so.0 && ln -s libmod1.so.0.0.0 libmod1.so.0)
> (cd .libs && rm -f libmod1.so && ln -s libmod1.so.0.0.0 libmod1.so)
> ar cru .libs/libmod1.a  mod1.o
> ranlib .libs/libmod1.a
> creating libmod1.la
> (cd .libs && rm -f libmod1.la && ln -s ../libmod1.la libmod1.la)
> gcc -DPACKAGE_NAME=\"libtool9\" -DPACKAGE_TARNAME=\"libtool9\"
> -DPACKAGE_VERSION=\"1.0\" -DPACKAGE_STRING=\"libtool9\ 1.0\"
> -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libtool9\" -DVERSION=\"1.0\"
> -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1
> -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1
> -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1
> -I.  -DXYZ=1   -g -O2 -MT prg-prg.o -MD -MP -MF .deps/prg-prg.Tpo -c -o
> prg-prg.o `test -f 'prg.c' || echo './'`prg.c
> mv -f .deps/prg-prg.Tpo .deps/prg-prg.Po
> /usr/bin/bash ./libtool --tag=CC   --mode=link gcc  -g -O2 -module
> -Wl,-brtl -o prg prg-prg.o -dlopen libmod1.la -dlpreopen mod2.la
> 
> *** Warning: Linking the executable prg against the loadable module
> *** mod2.so is not portable!
> rm -f .libs/prg.nm .libs/prg.nmS .libs/prg.nmT
> creating .libs/prgS.c
> extracting global C symbols from `./.libs/mod2.a'
> (cd .libs && gcc  -g -O2 -c -fno-builtin "prgS.c")
> rm -f .libs/prgS.c .libs/prg.nm .libs/prg.nmS .libs/prg.nmT
> gcc -g -O2 -Wl,-brtl -o .libs/prg prg-prg.o .libs/prgS.o  -L./.libs
> -lmod2 
> -Wl,-blibpath:/usr/local/lib:/opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.2.4:/opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.2.4/../../..:/usr/lib:/lib
> 
> collect2: library libmod2 not found
> make: *** [prg] Error 1
> FAIL: libtool9.test




reply via email to

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