qemu, and using gcc45+ compilers on systems set up with LibCxxOnOlderSystems and libc++

Rainer Müller raimue at macports.org
Mon Sep 12 04:06:43 PDT 2016


On 2016-09-12 05:25, Ken Cunningham wrote:
> I would like to try building qemu, but it doesn't seem to be able to build with clang-3.7 or clang-3.8 (on 10.68 with LibCxxOnOlderSystems and libc++)

QEMU is mostly C and the C++ parts are optional.

> the error for both 
> :info:configure ERROR: Your compiler does not support the __thread specifier for 
> :info:configure        Thread-Local Storage (TLS). Please upgrade to a version that does.
> 
> this error is out on the net, as far as I can see doesn't have any present fixes; the recommended next step is to try with a newer version of gcc, like 4.9

Check the end of the config.log file in ${worksrcpath} to see the exact
compiler command line and error message.

My guess would be that the linker on Snow Leopard does not support
thread local storage.

Rainer


More information about the macports-users mailing list