libtool
[Top][All Lists]
Advanced

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

Problem with LT 1.5.12: -pthread


From: Jeff Squyres
Subject: Problem with LT 1.5.12: -pthread
Date: Mon, 7 Feb 2005 19:31:27 -0500

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
{+} address@hidden
{+} http://www.lam-mpi.org/





reply via email to

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