It looks like LT 1.5.12 changed some behavior with respect to the -pthread flag and the GNU compilers. Here's a snipit of output from building my project (using AM + LT):

/bin/sh ../../../libtool --mode=link g++ -g -Wall -Wundef -Wno-long-long -finline-functions -pthread -export-dynamic -o ompi_info components.o ompi_info.o output.o param.o version.o ../../../src/libmpi.la

# So far, so good -- this is pretty normal.

mkdir .libs

# Also so far, so good.

g++ -g -Wall -Wundef -Wno-long-long -finline-functions -o ompi_info components.o ompi_info.o output.o param.o version.o -Wl,--export-dynamic ../../../src/.libs/libmpi.a -ldl

# Whoa!  What happened to -pthread?

From here, I get lots of [expected] messages about missing pthread symbols. This is somewhat of a Big Problem; it did not happen with 1.5.10 -- meaning that -pthead was passed down to the final link in (ditto for LT <1.5.10 that I can remember).

What happened?

--
{+} Jeff Squyres
{+} [EMAIL PROTECTED]
{+} http://www.lam-mpi.org/



_______________________________________________
http://lists.gnu.org/mailman/listinfo/libtool

Reply via email to