static linking, libc multiple definitions

From: Sean Bruno <sbruno_at_ignoranthack.me>
Date: Sun, 06 Apr 2014 08:55:25 -0700
Doing static linking of qemu bsd user applications and I seem to get a
lot of warnings about multiple symbols in libc.  What's going on here?


/usr/lib/libc.a(svc_simple.o): warning: multiple common of
`__svc_maxrec'
/usr/lib/libc.a(rpc_soc.o): warning: previous common is here
/usr/lib/libc.a(svc_simple.o): warning: multiple common of
`__svc_xports'
/usr/lib/libc.a(rpc_soc.o): warning: previous common is here
/usr/lib/libc.a(svc_generic.o): warning: multiple common of
`__svc_maxrec'
/usr/lib/libc.a(rpc_soc.o): warning: previous common is here
/usr/lib/libc.a(svc_generic.o): warning: multiple common of
`__svc_xports'
/usr/lib/libc.a(rpc_soc.o): warning: previous common is here
/usr/lib/libc.a(svc_dg.o): warning: multiple common of `__svc_maxrec'
/usr/lib/libc.a(rpc_soc.o): warning: previous common is here
/usr/lib/libc.a(svc_dg.o): warning: multiple common of `__svc_xports'
/usr/lib/libc.a(rpc_soc.o): warning: previous common is here
/usr/lib/libc.a(clnt_bcast.o): warning: multiple common of
`__svc_maxrec'
/usr/lib/libc.a(rpc_soc.o): warning: previous common is here
/usr/lib/libc.a(clnt_bcast.o): warning: multiple common of
`__svc_xports'
/usr/lib/libc.a(rpc_soc.o): warning: previous common is here
/usr/lib/libc.a(svc_vc.o): warning: multiple common of `__svc_maxrec'
/usr/lib/libc.a(rpc_soc.o): warning: previous common is here
/usr/lib/libc.a(svc_vc.o): warning: multiple common of `__svc_xports'
/usr/lib/libc.a(rpc_soc.o): warning: previous common is here
/usr/lib/libc.a(svc.o): warning: multiple common of `__svc_maxrec'
/usr/lib/libc.a(rpc_soc.o): warning: previous common is here
/usr/lib/libc.a(svc.o): warning: multiple common of `__svc_xports'
/usr/lib/libc.a(rpc_soc.o): warning: previous common is here
/usr/lib/libc.a(pmap_clnt.o): warning: multiple common of `__svc_maxrec'
/usr/lib/libc.a(rpc_soc.o): warning: previous common is here
/usr/lib/libc.a(pmap_clnt.o): warning: multiple common of `__svc_xports'
/usr/lib/libc.a(rpc_soc.o): warning: previous common is here
/usr/lib/libc.a(clnt_generic.o): warning: multiple common of
`__svc_maxrec'
/usr/lib/libc.a(rpc_soc.o): warning: previous common is here
/usr/lib/libc.a(clnt_generic.o): warning: multiple common of
`__svc_xports'
/usr/lib/libc.a(rpc_soc.o): warning: previous common is here
/usr/lib/libc.a(clnt_dg.o): warning: multiple common of `__svc_maxrec'
/usr/lib/libc.a(rpc_soc.o): warning: previous common is here
/usr/lib/libc.a(clnt_dg.o): warning: multiple common of `__svc_xports'
/usr/lib/libc.a(rpc_soc.o): warning: previous common is here
/usr/lib/libc.a(clnt_vc.o): warning: multiple common of `__svc_maxrec'
/usr/lib/libc.a(rpc_soc.o): warning: previous common is here
/usr/lib/libc.a(clnt_vc.o): warning: multiple common of `__svc_xports'
/usr/lib/libc.a(rpc_soc.o): warning: previous common is here
/usr/lib/libc.a(xdr_rec.o): warning: multiple common of `__svc_maxrec'
/usr/lib/libc.a(rpc_soc.o): warning: previous common is here
/usr/lib/libc.a(xdr_rec.o): warning: multiple common of `__svc_xports'
/usr/lib/libc.a(rpc_soc.o): warning: previous common is here
/usr/lib/libc.a(rpc_generic.o): warning: multiple common of
`__svc_maxrec'
/usr/lib/libc.a(rpc_soc.o): warning: previous common is here
/usr/lib/libc.a(rpc_generic.o): warning: multiple common of
`__svc_xports'
/usr/lib/libc.a(rpc_soc.o): warning: previous common is here
/usr/lib/libc.a(getnetconfig.o): warning: multiple common of
`__svc_maxrec'
/usr/lib/libc.a(rpc_soc.o): warning: previous common is here
/usr/lib/libc.a(getnetconfig.o): warning: multiple common of
`__svc_xports'
/usr/lib/libc.a(rpc_soc.o): warning: previous common is here
/usr/lib/libc.a(rpcb_clnt.o): warning: multiple common of `__svc_maxrec'
/usr/lib/libc.a(rpc_soc.o): warning: previous common is here
/usr/lib/libc.a(rpcb_clnt.o): warning: multiple common of `__svc_xports'
/usr/lib/libc.a(rpc_soc.o): warning: previous common is here


Received on Sun Apr 06 2014 - 13:55:28 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:48 UTC