From owner-freebsd-hackers@FreeBSD.ORG Mon Feb 16 20:29:57 2015 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 50A47F4B for ; Mon, 16 Feb 2015 20:29:57 +0000 (UTC) Received: from mail.ignoranthack.me (ignoranthack.me [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 304C5C0A for ; Mon, 16 Feb 2015 20:29:56 +0000 (UTC) Received: from [192.168.200.212] (unknown [50.136.155.142]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: sbruno@ignoranthack.me) by mail.ignoranthack.me (Postfix) with ESMTPSA id 29459192A3B for ; Mon, 16 Feb 2015 20:29:55 +0000 (UTC) Message-ID: <54E25342.9060308@ignoranthack.me> Date: Mon, 16 Feb 2015 12:29:54 -0800 From: Sean Bruno Reply-To: sbruno@freebsd.org User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: freebsd-hackers@freebsd.org Subject: -current static linking or overlinking ... Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Feb 2015 20:29:57 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Building the qemu bsd-user static targets on head seem to be "overlinking" or something that is pulling in multiple copies of symbols. I'm not confident in my terminology here so I could be using the wrong terms. This is a recent regression (last couple of months). e.g. checkout qemu source, configure with: ./configure --target-list="i386-bsd-user" --static and build with gmake, You'll see a bunch of this at random places where things are linked statically. I assume "something" has changed in the toolchain that requires a change to the QEMU build? CC stubs/vm-stop.o CC stubs/vmstate.o CC stubs/cpus.o CC stubs/kvm.o CC stubs/qmp_pc_dimm_device_list.o AR libqemustub.a LINK qemu-ga /usr/lib/libpthread.a(thr_spec.o): warning: multiple common of `__cleanup' /usr/lib/crt1.o: warning: previous common is here /usr/lib/libpthread.a(thr_sig.o): warning: multiple common of `__cleanup' /usr/lib/crt1.o: warning: previous common is here /usr/lib/libpthread.a(thr_init.o): warning: multiple common of `__cleanup' /usr/lib/crt1.o: warning: previous common is here /usr/lib/libpthread.a(thr_rtld.o): warning: multiple common of `__cleanup' /usr/lib/crt1.o: warning: previous common is here /usr/lib/libpthread.a(thr_fork.o): warning: multiple common of `__cleanup' /usr/lib/crt1.o: warning: previous common is here /usr/lib/libpthread.a(thr_create.o): warning: multiple common of `__cleanup' /usr/lib/crt1.o: warning: previous common is here /usr/lib/libpthread.a(thr_exit.o): warning: multiple common of `__cleanup' /usr/lib/crt1.o: warning: previous common is here /usr/lib/libpthread.a(thr_error.o): warning: multiple common of `__cleanup' /usr/lib/crt1.o: warning: previous common is here -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQF8BAEBCgBmBQJU4lM/XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRCQUFENDYzMkU3MTIxREU4RDIwOTk3REQx MjAxRUZDQTFFNzI3RTY0AAoJEBIB78oecn5kzgMIAKo9wf+3LzY+we0X8RrbVHMc XgzNVWCCJ5F+bYwNADoPlmLh1SFVIWem3DtnjZL9i/wIZD26F6hjAgoFQwg013P2 gIVDlXSVjuBIMs4Fv4P2DNUgLrciZwbVXBmpg8olPOW1+xYSbVRMUd102O2Ha6ry 3gsR/TYaFxoM72tWF6m7e4uOo1L6knPUmuhwavtuBOXMGyhSjWspM9Yr0ZSYkxTe ZuWOEoEfwKuibxLRf2yVD7r0AGl5nCr7fkky9Rutcs+eebaRfuznwAt05sjE2PWB pb4ksxWKnJYCNkfw/FDn63EjvFY80W3t1RM1ggyEVB5RzgqYLYpoXPSEpPZxLLI= =leTH -----END PGP SIGNATURE-----