NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
bin/45994: ld(1) warnings when building profiling binaries
>Number: 45994
>Category: bin
>Synopsis: ld(1) warnings when building profiling binaries
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Feb 12 10:25:00 +0000 2012
>Originator: Nicolas Joly
>Release: NetBSD 5.99.65
>Organization:
Insitut Pasteur
>Environment:
System: NetBSD lanfeust.sis.pasteur.fr 5.99.65 NetBSD 5.99.65 (LANFEUST) #3:
Sun Feb 12 09:30:34 CET 2012
njoly%lanfeust.sis.pasteur.fr@localhost:/local/src/NetBSD/obj.amd64/sys/arch/amd64/compile/LANFEUST
amd64
Architecture: x86_64
Machine: amd64
>Description:
When explicitely linked against some libraries, building of profiled binaries
makes
ld(1) output several warnings:
njoly@lanfeust [tmp/prof]> cat sample.c
int main() { return 0; }
njoly@lanfeust [tmp/prof]> cc -o sample sample.c -ledit
njoly@lanfeust [tmp/prof]> cc -pg -o sample sample.c -ledit
/lib/libc.so.12: warning: warning: this program uses xdr_peername(), which is
deprecated and buggy.
/lib/libc.so.12: warning: warning: __findenv is an internal obsolete function.
/lib/libc.so.12: warning: warning: this program uses xdr_mapname(), which is
deprecated and buggy.
/lib/libc.so.12: warning: warning: this program uses xdr_domainname(), which is
deprecated and buggy.
ld: warning: type and size of dynamic symbol `__stop_link_set_all_categories'
are not defined
ld: dynamic variable `__stop_link_set_all_categories' is zero size
ld: warning: type and size of dynamic symbol `__start_link_set_all_categories'
are not defined
ld: dynamic variable `__start_link_set_all_categories' is zero size
>How-To-Repeat:
>Fix:
Home |
Main Index |
Thread Index |
Old Index