qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [Bug 1453436] [NEW] Building on OS X: Undefined symbols


From: Peter Maydell
Subject: Re: [Qemu-devel] [Bug 1453436] [NEW] Building on OS X: Undefined symbols ___emutls_v.prng_state and ___emutls_v.prng_state_data
Date: Mon, 11 May 2015 16:17:50 +0100

On 9 May 2015 at 19:19, Molt <address@hidden> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]