[
https://issues.apache.org/jira/browse/QPID-2206?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12778956#action_12778956
]
Steve Huston commented on QPID-2206:
------------------------------------
Apparantly g++ on OS X doesn't support __thread. You will need to either remove
the __thread usage in the OS X version of AsynchIO.cpp or develop a replacement
for QPID_TSS/__thread that uses run-time TSS instead of compile-time.
> thread-local storage prevents build on Mac
> ------------------------------------------
>
> Key: QPID-2206
> URL: https://issues.apache.org/jira/browse/QPID-2206
> Project: Qpid
> Issue Type: Bug
> Components: Build Tools
> Affects Versions: 0.5
> Environment: Mac OS X 10.5, Xcode 3.2.1
> Reporter: Aaron Hillegass
>
> A lack of thread-local storage prevents a build on the Mac:
> g++ -DHAVE_CONFIG_H -I. -Igen -I./gen -Werror -pedantic -Wall -Wextra
> -Wno-shadow -Wpointer-arith -Wcast-qual -Wcast-align -Wno-long-long
> -Wvolatile-register-var -Winvalid-pch -Wno-system-headers
> -Woverloaded-virtual -g -O2 -MT qpid/sys/posix/AsynchIO.lo -MD -MP -MF
> qpid/sys/posix/.deps/AsynchIO.Tpo -c qpid/sys/posix/AsynchIO.cpp -fno-common
> -DPIC -o qpid/sys/posix/.libs/AsynchIO.o
> qpid/sys/posix/AsynchIO.cpp:61: error: thread-local storage not supported for
> this target
> qpid/sys/posix/AsynchIO.cpp:62: error: thread-local storage not supported for
> this target
> qpid/sys/posix/AsynchIO.cpp:63: error: thread-local storage not supported for
> this target
> qpid/sys/posix/AsynchIO.cpp:64: error: thread-local storage not supported for
> this target
> qpid/sys/posix/AsynchIO.cpp:65: error: thread-local storage not supported for
> this target
> qpid/sys/posix/AsynchIO.cpp:66: error: thread-local storage not supported for
> this target
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:[email protected]