[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
- [Qemu-devel] [PULL 0/9] Net patches, Stefan Hajnoczi, 2015/05/11
- [Qemu-devel] [PULL 1/9] net: add MAC address string printer, Stefan Hajnoczi, 2015/05/11
- [Qemu-devel] [PULL 2/9] virtio-net: use qemu_mac_strdup_printf, Stefan Hajnoczi, 2015/05/11
- [Qemu-devel] [PULL 4/9] pci: add rocker device ID, Stefan Hajnoczi, 2015/05/11
- [Qemu-devel] [PULL 3/9] rocker: add register programming guide, Stefan Hajnoczi, 2015/05/11
- [Qemu-devel] [PULL 5/9] pci: add network device class 'other' for network switches, Stefan Hajnoczi, 2015/05/11
- [Qemu-devel] [PULL 8/9] MAINTAINERS: add rocker, Stefan Hajnoczi, 2015/05/11
- [Qemu-devel] [PULL 7/9] rocker: add tests, Stefan Hajnoczi, 2015/05/11
- [Qemu-devel] [PULL 9/9] rocker: timestamp on the debug logs helps correlate with events in the VM, Stefan Hajnoczi, 2015/05/11
- [Qemu-devel] [PULL 6/9] rocker: add new rocker switch device, Stefan Hajnoczi, 2015/05/11