NetBSD-Bugs archive

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

Re: toolchain/47104: -pg -lpthread warns about xdr symbols and __findenv

The following reply was made to PR toolchain/47104; it has been noted by GNATS.

From: David Laight <>
Subject: Re: toolchain/47104: -pg -lpthread warns about xdr symbols and 
Date: Mon, 22 Oct 2012 18:49:48 +0100

 On Mon, Oct 22, 2012 at 03:20:06PM +0000, Christos Zoulas wrote:
 >  To be more precise:
 >  -lpthread causes the dynamically linked libpthread to be fetched which
 >  has a dependency to the dynamic libc, which is then brought in. Then
 >  the compiler adds -lc_p which brings the profiled libc to be linked in
 >  too. The two copies of the libc (the dynamic and the profiled one)
 >  conflict and cause the errors.
 Doesn't that make the recent change to link all libraries with -lc
 rather fubar?
 Perhaps the profiled version of libc ought to be requested by adding
 an RPATH entry?
 David Laight:

Home | Main Index | Thread Index | Old Index