Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Jan 2017 23:50:46 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 216419] www/tomcat-native: /usr/local/lib/libtcnative-1.so.0.2.10: Undefined symbol "pthread_threadid_np"
Message-ID:  <bug-216419-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D216419

            Bug ID: 216419
           Summary: www/tomcat-native:
                    /usr/local/lib/libtcnative-1.so.0.2.10: Undefined
                    symbol "pthread_threadid_np"
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ale@FreeBSD.org
          Reporter: vvd@unislabs.com
             Flags: maintainer-feedback?(ale@FreeBSD.org)
          Assignee: ale@FreeBSD.org

Must be pthread_getthreadid_np instead pthread_threadid_np in
files/patch-src_ssl.c:
--- www/tomcat-native/files/patch-src_ssl.c.orig
+++ www/tomcat-native/files/patch-src_ssl.c
@@ -5,7 +5,7 @@
      pthread_threadid_np(NULL, &tid);
      return (unsigned long)tid;
 +#elif defined(__FreeBSD__)
-+    return (unsigned long)pthread_threadid_np();
++    return (unsigned long)pthread_getthreadid_np();
  #elif defined(__linux__)
      return (unsigned long)syscall(SYS_gettid);
  #else

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-216419-13>