Date: Sun, 14 Mar 2021 21:18:56 +0000 From: bugzilla-noreply@freebsd.org To: threads@FreeBSD.org Subject: [Bug 254290] pthread_setname_np@FBSD_1.6 symbol missing on 12.2 after upgrades (+ a workaround) Message-ID: <bug-254290-13406@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254290 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: threads@FreeBSD.org Reporter: christos@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@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=20=20=20 pthread_setname_np --=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-254290-13406>