[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: automake (GNU automake) 1.10.1 9 of 538 tests failed
From: |
Ralf Wildenhues |
Subject: |
Re: automake (GNU automake) 1.10.1 9 of 538 tests failed |
Date: |
Mon, 29 Sep 2008 21:30:28 +0200 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
Hello Rainer,
thanks for the bug report.
* Rainer Tammer wrote on Wed, Sep 24, 2008 at 07:54:22AM CEST:
>
> I have attached the make test from HEAD (20080915).
> Unfortunately 3 tests fail...
>
> =====================================
> 3 of 603 tests failed
> (41 tests were not run)
> Please report to address@hidden
> =====================================
I can reproduce these failures.
The depcomp6.test one looks like bad interaction between AC_PROG_CC_C_O
and AM_PROG_CC_C_O, or a shell bug: although the compiler is deemed
potent by the former, the latter still rewrited $CC to prepend the
'compile' script:
| checking for cc_r option to accept ISO C89... -qlanglvl=extc89
| checking for style of include used by make... GNU
| checking dependency style of cc_r -qlanglvl=extc89... aix
| checking whether cc_r -qlanglvl=extc89 and cc understand -c and -o
together... yes
| checking for ranlib... ranlib
| configure: creating ./config.status
| config.status: creating Makefile
| config.status: creating sub2/Makefile
| config.status: executing depfiles commands
| + make
| Making all in sub2
| make[1]: Entering directory
`/daten/source/automake-HEAD/tests/depcomp6.dir/sub2'
| source='baz.c' object='baz.o' libtool=no \
| DEPDIR=.deps depmode=aix /bin/bash ../depcomp \
| /daten/source/automake-HEAD/tests/depcomp6.dir/compile cc_r
-qlanglvl=extc89 -DPACKAGE_NAME=\"depcomp6\" -DPACKAGE_TARNAME=\"depcomp6\"
-DPACKAGE_VERSION=\"1.0\" -DPACKAGE_STRING=\"depcomp6\ 1.0\"
-DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"depcomp6\" -DVERSION=\"1.0\" -I. -g -c
-o baz.o baz.c
Can you try the patch below? If it works for you, I will put this
(master and branch-1-10); also put you in THANKS if you don't mind.
The other two are libtool bugs; I will address them later:
| /bin/bash ./libtool --tag=CC --mode=link gcc -g -O2 -module -Wl,-brtl -o
mod2.la -rpath /daten/source/automake-HEAD/tests/libtool7.dir/_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)
| /bin/bash ./libtool --tag=CC --silent --mode=link gcc -g -O2 -module
-Wl,-brtl -o libmod1.la -rpath
/daten/source/automake-HEAD/tests/libtool7.dir/_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
| /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
The last command evaluates to:
libtool: link: rm -f .libs/prg.nm .libs/prg.nmS .libs/prg.nmT
libtool: link: (cd .libs && gcc -g -O2 -c -fno-builtin "prgS.c")
libtool: link: rm -f ".libs/prgS.c" ".libs/prg.nm" ".libs/prg.nmS"
".libs/prg.nmT"
libtool: link: gcc -g -O2 -o .libs/prg prg.o .libs/prgS.o -L./.libs
-lmod2
-Wl,-blibpath:/home/rwild/am/build-powerpc-ibm-aix5.3.0.0/tests/libtool7.dir/_inst/lib:/opt/fsw/gcc42/lib/gcc/powerpc-ibm-aix5.3.0.0/4.2.4:/opt/fsw/gcc42/lib/gcc/powerpc-ibm-aix5.3.0.0/4.2.4/../../..:/usr/lib:/lib
collect2: library libmod2 not found
Cheers,
Ralf
2008-09-29 Ralf Wildenhues <address@hidden>
* m4/minuso.m4 (AM_PROG_CC_C_O): Work around shell quoting issue
with AIX sh; fixes depcomp6.test failure.
* THANKS: Update.
Report by Rainer Tammer.
diff --git a/m4/minuso.m4 b/m4/minuso.m4
index 925baec..d8b1620 100644
--- a/m4/minuso.m4
+++ b/m4/minuso.m4
@@ -1,12 +1,12 @@
## -*- Autoconf -*-
-# Copyright (C) 1999, 2000, 2001, 2003, 2004, 2005
+# Copyright (C) 1999, 2000, 2001, 2003, 2004, 2005, 2008
# Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
-# serial 5
+# serial 6
# AM_PROG_CC_C_O
# --------------
@@ -18,8 +18,9 @@ AC_REQUIRE_AUX_FILE([compile])dnl
# FIXME: we rely on the cache variable name because
# there is no other way.
set dummy $CC
-ac_cc=`echo $[2] | sed ['s/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/']`
-if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
+am_cc=`echo $[2] | sed ['s/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/']`
+eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
+if test "$am_t" != yes; then
# Losing compiler, so override with the script.
# FIXME: It is wrong to rewrite CC.
# But if we don't then we get into trouble of one sort or another.