[Bug 254290] pthread_setname_np at FBSD_1.6 symbol missing on 12.2 after upgrades (+ a workaround)

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Mar 14 21:18:56 UTC 2021


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254290

            Bug ID: 254290
           Summary: pthread_setname_np at FBSD_1.6 symbol missing on 12.2
                    after upgrades (+ a workaround)
           Product: Base System
           Version: 12.2-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: threads
          Assignee: threads at FreeBSD.org
          Reporter: christos at christosmarg.xyz

I started getting the following error when trying to run programs using
`pthread` after I upgraded some packages:

    ld-elf.so.1: /usr/local/lib/libglib-2.0.so.0: Undefined symbol
"pthread_setname_np at FBSD_1.6"

It seems that this symbol didn't even exist after checking it with:

    $ objdump -TC /usr/lib/libpthread.so | grep pthread_setname_np

What did fix this error though was rebuilding world. On the IRC channel some
said that they too had this error on 12.2. After rebuilding world the symbol
appears normally when running an `objdump` on `libpthread.so`

    $ objdump -TC /usr/lib/libpthread.so | grep pthread_setname_np
    000000000000e0d0  w   DF .text  00000000000002a7  FBSD_1.6   
pthread_setname_np

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


More information about the freebsd-threads mailing list