[Xcb] [Bug 23163] New: configure of libpthread-stubs can't detect stubs on NetBSD

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Aug 5 14:23:08 PDT 2009


http://bugs.freedesktop.org/show_bug.cgi?id=23163

           Summary: configure of libpthread-stubs can't detect stubs on
                    NetBSD
           Product: XCB
           Version: unspecified
          Platform: Other
        OS/Version: NetBSD
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Misc
        AssignedTo: xcb at lists.freedesktop.org
        ReportedBy: lrr at tree.odn.ne.jp
         QAContact: xcb at lists.freedesktop.org


Created an attachment (id=28382)
 --> (http://bugs.freedesktop.org/attachment.cgi?id=28382)
add support for NetBSD

NetBSD has pthread stubs,
but configure script of libpthread-stubs can't detect them.
because pthread stubs of NetBSD have non-standard names.

for example, '__libc_thr_self' is stub of pthread_self.
'__libc_thr_self' is called by 'pthread_self' macro defined in <pthread.h>.
(#define pthread_self __libc_thr_self)

attached patch adds support for NetBSD.


http://cvsweb.netbsd.org/bsdweb.cgi/src/lib/libc/thread-stub/thread-stub.c?rev=HEAD
http://cvsweb.netbsd.org/bsdweb.cgi/src/lib/libpthread/pthread.c?rev=HEAD
http://cvsweb.netbsd.org/bsdweb.cgi/src/lib/libpthread/pthread.h?rev=HEAD


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the Xcb mailing list