[pulseaudio-tickets] [Bug 98603] New: Thread-local storage not supported on compiler shipped with Xcode

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Nov 5 20:25:41 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=98603

            Bug ID: 98603
           Summary: Thread-local storage not supported on compiler shipped
                    with Xcode
           Product: PulseAudio
           Version: unspecified
          Hardware: x86-64 (AMD64)
                OS: Mac OS X (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: build-system
          Assignee: pulseaudio-bugs at lists.freedesktop.org
          Reporter: philip.chimento at gmail.com
        QA Contact: pulseaudio-bugs at lists.freedesktop.org
                CC: lennart at poettering.net

It's currently not possible to compile PulseAudio master on macOS 10.12 with
the compiler shipped with Xcode 8, which does not support thread-local storage.

  CC       pulsecore/libpulsecore_9.0_la-thread-mq.lo
pulsecore/thread-mq.c:35:1: error: thread-local storage is not supported for
the
      current target
PA_STATIC_TLS_DECLARE_NO_FREE(thread_mq);
^
./pulsecore/thread.h:100:12: note: expanded from macro
      'PA_STATIC_TLS_DECLARE_NO_FREE'
    static __thread void *name##_tls = NULL;                            \
           ^
1 error generated.

Is it possible to use a portable substitute if one exists? I know Boost has
one, though that doesn't help since this is C.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/pulseaudio-bugs/attachments/20161105/52a205f1/attachment.html>


More information about the pulseaudio-bugs mailing list