Hello Richard, * 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. Note to self: the Libtool testsuite should have a test that uses weak symbols. Thanks, Ralf > * libldtl/m4/libtool.m4 (export_symbols_cmds) Modify the GNU-nm-on-AIX > version so that it adds weak defined symbols to the export list.