[DragonFlyBSD - Submit #2955] (Resolved) Possibility to remove pthread_cancel symbol from libc

bugtracker-admin at leaf.dragonflybsd.org bugtracker-admin at leaf.dragonflybsd.org
Tue Oct 25 06:17:43 PDT 2016


Issue #2955 has been updated by zrj.

Status changed from New to Resolved

Pushed as ceeadccd358e346511796c7b057af4af0ae50f2d

----------------------------------------
Submit #2955: Possibility to remove pthread_cancel symbol from libc
http://bugs.dragonflybsd.org/issues/2955#change-13019

* Author: zrj
* Status: Resolved
* Priority: Normal
* Assignee: 
* Category: Feature request
* Target version: 
----------------------------------------
Stub pthread_cancel symbol in libc causes certain issues with gcc, specially with libgcc.so and libgfortran.so in gcc7 (likely other libs or utilities too, that define dummy weak pthread_cancel symbol to check if it gets claimed by anything).

So far in installed world with attached patch I didn't noticed any breakage in dports or base. gcc50 still has:
[rw at _ zsrc]$ readelf -s /usr/libexec/gcc50/gcc |grep pthread
     4: 0000000000000000     0 FUNC    WEAK   DEFAULT  UND pthread_mutex_unlock at DF404.0 (2)
     6: 0000000000000000     0 FUNC    WEAK   DEFAULT  UND pthread_once at DF404.0 (2)
    30: 0000000000000000     0 FUNC    WEAK   DEFAULT  UND pthread_mutex_lock at DF404.0 (2)
   120: 0000000000000000     0 NOTYPE  WEAK   DEFAULT  UND pthread_cancel

---Files--------------------------------
0008-libc-Rip-out-pthread_cancel-stub-symbol.patch (2.63 KB)


-- 
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account



More information about the Submit mailing list