[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Fix GNU nm invocation for AIX
From: |
Richard Sandiford |
Subject: |
Re: [PATCH] Fix GNU nm invocation for AIX |
Date: |
Fri, 24 Apr 2009 17:35:20 +0100 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) |
Ralf Wildenhues <address@hidden> writes:
> * Richard Sandiford wrote on Mon, Mar 16, 2009 at 10:53:23AM CET:
>> AIX nm lists weak defined symbols like any other global symbol,
>> whereas GNU nm lists them as "W". The export_symbols_cmds for
>> GNU nm on AIX should therefore look for "W" in addition to the
>> other codes.
>>
>> Tested using GCC. Please install if OK.
>
> This patch is also ok if you state how you tested resp. show Libtool
> testsuite results.
Thanks. Here are the results, after the updates described in my
last message. I get the same results using the preinstalled GCC
with native tools.
Richard
gmake check-recursive
gmake[1]: Entering directory `/export/richards/libtool'
rm -f tests/defs.tmp tests/defs; \
input="defs.m4sh"; \
sed -e 's,@EGREP\@,/usr/bin/grep -E,g' -e 's,@FGREP\@,/usr/bin/grep -F,g' -e
's,@GREP\@,/usr/bin/grep,g' -e 's,@LN_S\@,ln -s,g' -e
's,@MACRO_VERSION\@,2.2.7a,g' -e 's,@PACKAGE\@,libtool,g' -e
's,@PACKAGE_BUGREPORT\@,address@hidden,g' -e 's,@PACKAGE_NAME\@,libtool,g' -e
's,@PACKAGE_STRING\@,libtool 2.2.7a,g' -e 's,@PACKAGE_TARNAME\@,libtool,g' -e
's,@PACKAGE_VERSION\@,2.2.7a,g' -e 's,@SED\@,/usr/bin/sed,g' -e
's,@VERSION\@,2.2.7a,g' -e 's,@aclocaldir\@,/usr/local/share/aclocal,g' -e
's,@datadir\@,/usr/local/share,g' -e
's,@pkgdatadir\@,/usr/local/share/libtool,g' -e
's,@host_triplet\@,powerpc-ibm-aix6.1.2.0,g' -e 's,@prefix\@,/usr/local,g' -e
"s,@configure_input\@,Generated from $input.,g" ./tests/defs.in >
tests/defs.tmp; \
mv -f tests/defs.tmp tests/defs
gmake[2]: Entering directory `/export/richards/libtool'
gmake check-TESTS check-local
gmake[3]: Entering directory `/export/richards/libtool'
PASS: tests/link.test
PASS: tests/link-2.test
PASS: tests/nomode.test
PASS: tests/objectlist.test
PASS: tests/quote.test
PASS: tests/sh.test
PASS: tests/suffix.test
PASS: tests/tagtrace.test
PASS: tests/cdemo-static.test
PASS: tests/cdemo-make.test
PASS: tests/cdemo-exec.test
PASS: tests/demo-static.test
PASS: tests/demo-make.test
PASS: tests/demo-exec.test
PASS: tests/demo-inst.test
PASS: tests/demo-unst.test
PASS: tests/depdemo-static.test
PASS: tests/depdemo-make.test
PASS: tests/depdemo-exec.test
PASS: tests/depdemo-inst.test
PASS: tests/depdemo-unst.test
PASS: tests/mdemo-static.test
PASS: tests/mdemo-make.test
PASS: tests/mdemo-exec.test
PASS: tests/mdemo-inst.test
PASS: tests/mdemo-unst.test
PASS: tests/cdemo-conf.test
PASS: tests/cdemo-make.test
PASS: tests/cdemo-exec.test
PASS: tests/demo-conf.test
PASS: tests/demo-make.test
PASS: tests/demo-exec.test
PASS: tests/demo-inst.test
PASS: tests/demo-unst.test
PASS: tests/demo-deplibs.test
PASS: tests/depdemo-conf.test
PASS: tests/depdemo-make.test
PASS: tests/depdemo-exec.test
PASS: tests/depdemo-inst.test
PASS: tests/depdemo-unst.test
PASS: tests/mdemo-conf.test
PASS: tests/mdemo-make.test
PASS: tests/mdemo-exec.test
PASS: tests/mdemo-inst.test
PASS: tests/mdemo-unst.test
PASS: tests/mdemo-dryrun.test
PASS: tests/mdemo2-conf.test
PASS: tests/mdemo2-make.test
PASS: tests/mdemo2-exec.test
PASS: tests/pdemo-conf.test
PASS: tests/pdemo-make.test
PASS: tests/pdemo-exec.test
PASS: tests/pdemo-inst.test
PASS: tests/demo-nofast.test
PASS: tests/demo-make.test
PASS: tests/demo-exec.test
PASS: tests/demo-inst.test
PASS: tests/demo-unst.test
PASS: tests/depdemo-nofast.test
PASS: tests/depdemo-make.test
PASS: tests/depdemo-exec.test
PASS: tests/depdemo-inst.test
PASS: tests/depdemo-unst.test
PASS: tests/demo-pic.test
PASS: tests/demo-make.test
PASS: tests/demo-exec.test
PASS: tests/demo-nopic.test
PASS: tests/demo-make.test
PASS: tests/demo-exec.test
PASS: tests/cdemo-shared.test
PASS: tests/cdemo-make.test
PASS: tests/cdemo-exec.test
PASS: tests/demo-shared.test
PASS: tests/demo-make.test
PASS: tests/demo-exec.test
PASS: tests/demo-inst.test
PASS: tests/demo-hardcode.test
PASS: tests/demo-relink.test
PASS: tests/demo-noinst-link.test
PASS: tests/demo-unst.test
PASS: tests/depdemo-shared.test
PASS: tests/depdemo-make.test
PASS: tests/depdemo-exec.test
PASS: tests/depdemo-inst.test
PASS: tests/depdemo-relink.test
PASS: tests/depdemo-unst.test
PASS: tests/mdemo-shared.test
PASS: tests/mdemo-make.test
PASS: tests/mdemo-exec.test
PASS: tests/mdemo-inst.test
PASS: tests/mdemo-unst.test
PASS: tests/cdemo-undef.test
PASS: tests/cdemo-make.test
PASS: tests/cdemo-exec.test
PASS: tests/tagdemo-static.test
PASS: tests/tagdemo-make.test
PASS: tests/tagdemo-exec.test
PASS: tests/tagdemo-conf.test
PASS: tests/tagdemo-make.test
PASS: tests/tagdemo-exec.test
PASS: tests/tagdemo-shared.test
PASS: tests/tagdemo-make.test
PASS: tests/tagdemo-exec.test
PASS: tests/tagdemo-undef.test
PASS: tests/tagdemo-make.test
PASS: tests/tagdemo-exec.test
PASS: tests/f77demo-static.test
PASS: tests/f77demo-make.test
PASS: tests/f77demo-exec.test
PASS: tests/f77demo-conf.test
PASS: tests/f77demo-make.test
PASS: tests/f77demo-exec.test
PASS: tests/f77demo-shared.test
PASS: tests/f77demo-make.test
PASS: tests/f77demo-exec.test
PASS: tests/fcdemo-static.test
PASS: tests/fcdemo-make.test
PASS: tests/fcdemo-exec.test
PASS: tests/fcdemo-conf.test
PASS: tests/fcdemo-make.test
PASS: tests/fcdemo-exec.test
PASS: tests/fcdemo-shared.test
PASS: tests/fcdemo-make.test
PASS: tests/fcdemo-exec.test
====================
All 124 tests passed
====================
abs_srcdir=`CDPATH="${ZSH_VERSION+.}:" && cd . && pwd`; cd tests; \
CONFIG_SHELL="/bin/sh" /bin/sh $abs_srcdir/tests/testsuite \
MAKE="gmake" CC="gcc" CFLAGS="-g -O2" CPP="gcc -E" CPPFLAGS=""
LD="/usr/export/richards-desktop/richards/usr/src/H-powerpc-ibm-aix6.1/bin/ld"
LDFLAGS="" LIBS="" LN_S="ln -s"
NM="/usr/export/richards-desktop/richards/usr/src/H-powerpc-ibm-aix6.1/bin/nm
-B" RANLIB="ranlib" STRIP="strip" lt_INSTALL="libltdl/config/install-sh -c"
OBJEXT="o" EXEEXT="" SHELL="/bin/sh" CONFIG_SHELL="/bin/sh" CXX="g++"
CXXFLAGS="-g -O2" CXXCPP="g++ -E" F77="gfortran" FFLAGS="-g -O2" FC="gfortran"
FCFLAGS="-g -O2" GCJ="gcj" GCJFLAGS="-g -O2"
_lt_pkgdatadir="/export/richards/libtool"
LIBTOOLIZE="/export/richards/libtool/libtoolize"
LIBTOOL="/export/richards/libtool/libtool"
tst_aclocaldir="/export/richards/libtool/libltdl/m4"
## -------------------------- ##
## libtool 2.2.7a test suite. ##
## -------------------------- ##
Libtoolize operation.
1: libtoolize macro installation ok
2: libtoolize macro directory mismatch error ok
3: libtoolize macro serial update ok
4: libtoolize config files serial update ok
5: diagnose missing LT_CONFIG_LTDL_DIR ok
6: copy ltdl.m4 with shared macro directory ok
7: correctly parse LTDL_INIT from configure.ac ok
8: diagnose missing LTDL_INIT invocation ok
9: upgrading verbatim style aclocal.m4 ok
10: verbatim aclocal.m4 w/o AC_CONFIG_MACRO_DIR ok
11: nonrecursive ltdl with AC_CONFIG_MACRO_DIR ok
12: subproject ltdl with non-shared directories ok
13: LIBTOOLIZE_OPTIONS ok
14: cleanup old installation ok
Testing libtool functions.
15: standard command line options ok
16: mode short-hands ok
17: duplicate members in archive tests ok
18: duplicate convenience archive names ok
19: preserve duplicate convenience deps expected failure
(duplicate_deps.at:72)
20: inherited_linker_flags ok
21: C convenience archives ok
22: C++ convenience archives ok
23: F77 convenience archives ok
24: FC convenience archives ok
25: Java convenience archives skipped
(convenience.at:265)
26: Link order test ok
27: Link order of deplibs skipped
(link-order2.at:144)
28: Failure tests ok
29: shlibpath_overrides_runpath ok
30: Runpath in libtool library files FAILED
(runpath-in-lalib.at:61)
31: static linking flags for programs ok
32: ccache -all-static ok
33: Export test ok
34: sys_lib_search_path ok
35: indirect convenience ok
36: indirect uninstalled ok
37: static library contains static library expected failure
(archive-in-archive.at:49)
38: execute mode ok
39: cwrapper for uninstalled executables ok
40: inferred tag ok
41: CXX inferred tag ok
42: F77 inferred tag ok
43: FC inferred tag ok
44: GCJ inferred tag skipped (infer-tag.at:96)
45: localized compiler messages ok
46: Install tests ok
DESTDIR tests
47: Simple DESTDIR install ok
48: DESTDIR with in-package deplibs ok
Support for older m4 interface.
49: AM_PROG_LIBTOOL ok
50: AC_WITH_LTDL ok
Libtool subdir-objects support.
51: C subdir-objects ok
52: C++ subdir-objects ok
Libltdl functionality.
53: lt_dlexit unloading libs ok
54: lt_dlopenadvise library loading FAILED (lt_dladvise.at:370)
55: lt_dlopen error messages expected failure
(lt_dlopen.at:100)
56: lt_dlopenext error messages FAILED
(lt_dlopenext.at:193)
57: ltdl API skipped (ltdl-api.at:31)
58: enforced lib prefix FAILED
(need_lib_prefix.at:170)
Standalone Libltdl.
59: compiling softlinked libltdl ok
60: compiling copied libltdl ok
61: installable libltdl ok
62: linking libltdl without autotools ok
Subproject Libltdl.
63: compiling softlinked libltdl ok
64: compiling copied libltdl ok
65: installable libltdl ok
66: linking libltdl without autotools ok
Nonrecursive Automake Libltdl.
67: compiling softlinked libltdl ok
68: compiling copied libltdl ok
69: installable libltdl ok
Recursive Automake Libltdl.
70: compiling softlinked libltdl ok
71: compiling copied libltdl ok
72: installable libltdl ok
C++ template tests.
73: simple template test ok
74: template test with subdirs FAILED (template.at:250)
Constructors.
75: C++ static constructors ok
libtool script generation.
76: config.status ok
77: config.lt ok
Libtool usage in GCC
78: AC_NO_EXECUTABLES FAILED
(no-executables.at:76)
Detecting identical deplibs.
79: build tree relpaths ok
configure interface to libltdl.
80: installable libltdl ok
81: --with-ltdl-include/lib ok
82: --with-included-ltdl ok
83: convenience libltdl ok
Libtool stress test.
84: Link option thorough search test ok
85: Run tests with low max_cmd_len FAILED (cmdline_wrap.at:43)
Mac OS X tests
86: darwin fat compile skipped (darwin.at:42)
## ------------- ##
## Test results. ##
## ------------- ##
ERROR: 81 tests were run,
10 failed (3 expected failures).
5 tests were skipped.
## -------------------------- ##
## testsuite.log was created. ##
## -------------------------- ##
Please send `tests/testsuite.log' and all information you think might help:
To: <address@hidden>
Subject: [libtool 2.2.7a] testsuite: 30 54 56 58 74 78 85 failed
You may investigate any problem if you feel able to do so, in which
case the test suite provides a good starting point. Its output may
be found below `tests/testsuite.dir'.
gmake[3]: *** [check-local] Error 1
gmake[3]: Leaving directory `/export/richards/libtool'
gmake[2]: *** [check-am] Error 2
gmake[2]: Leaving directory `/export/richards/libtool'
gmake[1]: *** [check-recursive] Error 1
gmake[1]: Leaving directory `/export/richards/libtool'
gmake: *** [check] Error 2
- Re: [PATCH] Fix GNU nm invocation for AIX,
Richard Sandiford <=