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 Holland <dholland-bugs%netbsd.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: toolchain/47104: -pg -lpthread warns about xdr symbols and
 __findenv
Date: Mon, 25 Feb 2013 08:43:36 +0000

 On Mon, Oct 22, 2012 at 11:16:36AM -0400, 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.
 
 I'm not sure that's what's going on. See 47545, which is probably the
 same issue.
 
 -- 
 David A. Holland
 dholland%netbsd.org@localhost
 


Home | Main Index | Thread Index | Old Index