Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Jul 2018 06:54:57 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 230081] Missing thread-db lookup symbol "_thread_keytable" in libthr.so shared library on 11 & 10
Message-ID:  <bug-230081-227@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 230081
           Summary: Missing thread-db lookup symbol "_thread_keytable" in
                    libthr.so shared library on 11 & 10
           Product: Base System
           Version: 11.2-RELEASE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: rajendra.sy@gmail.com

The thread_db library source:
https://github.com/freebsd/freebsd/blob/master/lib/libthread_db/libthr_db.c

pt_ta_new() function of thread_db library fails because of a missing symbol
'_thread_keytable' in libthr.so library on FreeBSD 10 & 11.


FreeBSD-10.4:
$ readelf -s /usr/lib/libthr.a | grep _thread_keytable
    15: 0000000000000010  4096 OBJECT  GLOBAL DEFAULT  COM _thread_keytable
$ readelf -s /usr/lib/libthr.so | grep _thread_keytable
   320: 0000000000222da0  4096 OBJECT  GLOBAL DEFAULT   25
_thread_keytable@@FBSDprivate_1.0

FreeBSD-11.2:
$ readelf -s /usr/lib/libthr.a | grep _thread_keytable
     2: 0000000000000000  4096 OBJECT  LOCAL  DEFAULT    5 _thread_keytable
$ readelf -s /usr/lib/libthr.so | grep _thread_keytable

FreeBSD-12.0: (current)
$ readelf -s /usr/lib/libthr.a | grep _thread_keytable
    24: 0000000000000010  4096 OBJECT  GLOBAL DEFAULT  COM _thread_keytable
$ readelf -s /usr/lib/libthr.so | grep _thread_keytable
   277: 000000000001e000  4096 OBJECT  GLOBAL DEFAULT   25
_thread_keytable@@FBSDprivate_1.0 (8)

--=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-230081-227>