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



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