Hello.

Sorry for my bad english.


I wrote patch that fixes problem with thread specific storage on linux, when
compiler lacks __thread support.

I think this patch can fix issue "thread-local storage prevents build on
Mac":

http://issues.apache.org/jira/browse/QPID-2206

this patch also fixes QPID problem when running broker or any client with
linux kernels prior to 2.6.9:

2010-04-02 18:09:40 error IO worker thread exiting with unhandled exception:
Bad address (qpid/sys/epoll/EpollPoller.cpp:327)

Patch is attached.

To apply this patch use(after unpacking patch):
patch -p1 -d qpidc-0.6 <qpidc-0.6-notls.patch

To compile qpid without __thread support:
make CXXFLAGS=-DQPID_NO_TSS=1

Tested on linux with kernel 2.4.32 and gcc 4.1.3.

-- 
  Dmitry Utkin aka --dem--
  E-Mail: [email protected]
  ICQ: 179070447
  Jabber: [email protected]/Work
  Jabber-qip: [email protected]/

Attachment: qpidc-0.6-no-tss.patch.bz2
Description: BZip2 compressed data

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:[email protected]

Reply via email to