From owner-freebsd-current@FreeBSD.ORG Sun Apr 6 15:55:28 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9F98466B for ; Sun, 6 Apr 2014 15:55:28 +0000 (UTC) Received: from mail.ignoranthack.me (ujvl.x.rootbsd.net [199.102.79.106]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7C703B36 for ; Sun, 6 Apr 2014 15:55:27 +0000 (UTC) Received: from [192.168.1.102] (c-24-6-177-88.hsd1.ca.comcast.net [24.6.177.88]) (using SSLv3 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: sbruno@ignoranthack.me) by mail.ignoranthack.me (Postfix) with ESMTPSA id 20E431929C8 for ; Sun, 6 Apr 2014 15:55:27 +0000 (UTC) Subject: static linking, libc multiple definitions From: Sean Bruno To: "freebsd-current@freebsd.org" Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-GYIoA2fvSndcQaCIcBK9" Date: Sun, 06 Apr 2014 08:55:25 -0700 Message-ID: <1396799725.37365.4.camel@powernoodle.corp.yahoo.com> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: sbruno@freebsd.org List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Apr 2014 15:55:28 -0000 --=-GYIoA2fvSndcQaCIcBK9 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 --=-GYIoA2fvSndcQaCIcBK9 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAABAgAGBQJTQXjtAAoJEBkJRdwI6BaHXTYH/Rid4arBWNwIjwMwaYszQncf D2t4aiHeBCejZrDiG2GR/RmgguETqtHfBhsAerhiW3oIKjHcczBGV+B/ZGqQuldE 0FKiD/E252FQ0i57TpqQYaPmdBp+5H6mbAaWTMHJCdEtomCXQs5PJLdanLtkWogn 7FaKDYectjaWCidmiwjXgLlJGXH/J1qnYeLJIuwuxAMGv8A8uMNWVfcC9GbaUDSq e3IUhVE1RRLDOTZ7zWkeU+loFuxK9MmVEDVfnQ0IAGFoDnes2z5W3ZySoPjaOlmh TW6K0o7bcbZNWPSzNLSIjYAXuiyiBNP4zQL5NNSVnooHpPTLWpoX2DPjXH8L3Co= =9tj/ -----END PGP SIGNATURE----- --=-GYIoA2fvSndcQaCIcBK9--