Date: Mon, 16 Feb 2015 12:29:22 -0800 From: Sean Bruno <sbruno@llnw.com> To: freebsd-hackers@freebsd.org Subject: -current static linking or overlinking ... Message-ID: <54E25322.3010304@llnw.com>
next in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54E25322.3010304>