From owner-freebsd-hackers@FreeBSD.ORG Tue Feb 17 00:19:07 2015 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5FDAE845 for ; Tue, 17 Feb 2015 00:19:07 +0000 (UTC) Received: from mail-pd0-f179.google.com (exprod5og108.obsmtp.com [64.18.0.186]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 106F490F for ; Tue, 17 Feb 2015 00:19:06 +0000 (UTC) Received: from mail-pd0-f179.google.com ([209.85.192.179]) (using TLSv1) by exprod5ob108.postini.com ([64.18.4.12]) with SMTP ID DSNKVOKI+M/RsKlKpUBG9e7/S4HwJUUMnuCF@postini.com; Mon, 16 Feb 2015 16:19:07 PST Received: by pdjz10 with SMTP id z10so39717358pdj.0 for ; Mon, 16 Feb 2015 16:19:04 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:content-type; bh=ih1xECg3PBa2kXRhwO2yxxw59CZtlAv2ppaaWdWkSLE=; b=HkJcepzbuwxcGKgs/FcILamNywBAPVegayFnMJJMzQiN3dGL01UUl22knJw/Jm5xgq zzGu2uY/ZR2WyUHQvHZXRXv0jZ/2ro9rzzFf845L2kQW0qLdB+1Ugc0FFCVuU3vIsaAg HFVPBZn+T2VJV4U3RABysWEjqvEe9uhAZ1FG6Vv2FNvhDf1YWFbRTl5+nh8Xi1M+TfnD tqMgzVRNHLPWJqG5CBQC3ZumIJmrFxoXpUA824WfgPHChllzaaGmS9KlyW6iqMbf6sRY tQ0fxcUxQTQaRQAP7WgXACf1HPcIQ+ybNcnLexYZlasnH2VZwuKkHBNZh9u6dUZ99TrU DSvg== X-Received: by 10.66.251.105 with SMTP id zj9mr44519941pac.4.1424118564504; Mon, 16 Feb 2015 12:29:24 -0800 (PST) X-Gm-Message-State: ALoCoQmQbwxqjxWatvkt8xGOKL5w8g7cTi6Z2Bi1NVKGl8xYyP4//NA+hnb+y2awVJwHeru1g6KoXXTHuZZEdAzrPz9D+nszUucLFOxYgHP2nfphhRg1CW2gBroHljwse3DeRoYy6aZNmEdYcogCPN4UcHAdEfV3/g== X-Received: by 10.66.251.105 with SMTP id zj9mr44519926pac.4.1424118564416; Mon, 16 Feb 2015 12:29:24 -0800 (PST) Received: from [192.168.200.212] ([50.136.155.142]) by mx.google.com with ESMTPSA id qm12sm15607202pdb.36.2015.02.16.12.29.23 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 16 Feb 2015 12:29:23 -0800 (PST) Message-ID: <54E25322.3010304@llnw.com> Date: Mon, 16 Feb 2015 12:29:22 -0800 From: Sean Bruno 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 X-Mailman-Approved-At: Tue, 17 Feb 2015 00:59:31 +0000 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: Tue, 17 Feb 2015 00:19:07 -0000 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 -- The information in this message may be confidential. It is intended solely for the addressee(s). If you are not the intended recipient, any disclosure, copying or distribution of the message, or any action or omission taken by you in reliance on it, is prohibited and may be unlawful. Please immediately contact the sender if you have received this message in error.