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: christos%zoulas.com@localhost (Christos Zoulas)
To: gnats-bugs%NetBSD.org@localhost, toolchain-manager%netbsd.org@localhost,
gnats-admin%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost,
kretschm%cs.uni-bonn.de@localhost
Cc:
Subject: Re: toolchain/47104: -pg -lpthread warns about xdr symbols and
__findenv
Date: Mon, 22 Oct 2012 11:16:36 -0400
On Oct 22, 2:40pm, christos%zoulas.com@localhost (Christos Zoulas) wrote:
-- Subject: Re: toolchain/47104: -pg -lpthread warns about xdr symbols and __
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.
christos
Home |
Main Index |
Thread Index |
Old Index