From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44105) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YrpTI-0007Gz-AX for qemu-devel@nongnu.org; Mon, 11 May 2015 11:18:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YrpTE-0000Eo-FC for qemu-devel@nongnu.org; Mon, 11 May 2015 11:18:20 -0400 Received: from mail-ig0-f170.google.com ([209.85.213.170]:33934) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YrpTA-0000D5-0R for qemu-devel@nongnu.org; Mon, 11 May 2015 11:18:16 -0400 Received: by iget9 with SMTP id t9so74393867ige.1 for ; Mon, 11 May 2015 08:18:11 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <20150509181946.28678.5025.malonedeb@soybean.canonical.com> References: <20150509181946.28678.5025.malonedeb@soybean.canonical.com> <20150509181946.28678.5025.malonedeb@soybean.canonical.com> From: Peter Maydell Date: Mon, 11 May 2015 16:17:50 +0100 Message-ID: Content-Type: text/plain; charset=UTF-8 Subject: Re: [Qemu-devel] [Bug 1453436] [NEW] Building on OS X: Undefined symbols ___emutls_v.prng_state and ___emutls_v.prng_state_data List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Bug 1453436 <1453436@bugs.launchpad.net> Cc: QEMU Developers On 9 May 2015 at 19:19, Molt wrote: > Public bug reported: > > Trying to build qemu on my system fails during linking with the error: > > Undefined symbols for architecture x86_64: > "___emutls_v.prng_state", referenced from: > _main in region-test.o > __GLOBAL__sub_I_65535_0_region_test.c in region-test.o > "___emutls_v.prng_state_data", referenced from: > _main in region-test.o > __GLOBAL__sub_I_65535_0_region_test.c in region-test.o > > My setup: > > OS: OS X 10.10.3, 64bit > gcc: 5.1.0 > clang: 6.1.0 > > configure command: > > configure --prefix="$HOME/local" --cc=clang --host-cc=clang > --cxx=clang++ I build on OSX 10.10.3 with that clang version, but I build with the system pixman (in /opt/X11 and presumably part of the optional X11 OSX download), so I guess that's the difference in our setups here. I tried building having configured --without-system-pixman, but that seems to fail to compile much earlier than your error: make[3]: *** No rule to make target `pixman-combine.h.template', needed by `pixman-combine32.h'. Stop. -- PMM