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

[email protected]
Newsgroups gmane.os.freebsd.devel.threading
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254290

            Bug ID: 254290
           Summary: pthread_setname_np@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: [email protected]
          Reporter: [email protected]

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@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.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-threads
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.