Project

General

Profile

Actions

Submit #2955

closed

Possibility to remove pthread_cancel symbol from libc

Added by zrj about 8 years ago. Updated about 8 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Feature request
Target version:
-
Start date:
10/07/2016
Due date:
% Done:

0%

Estimated time:

Description

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@_ zsrc]$ readelf -s /usr/libexec/gcc50/gcc |grep pthread
4: 0000000000000000 0 FUNC WEAK DEFAULT UND (2)
6: 0000000000000000 0 FUNC WEAK DEFAULT UND (2)
30: 0000000000000000 0 FUNC WEAK DEFAULT UND (2)
120: 0000000000000000 0 NOTYPE WEAK DEFAULT UND pthread_cancel


Files

Actions

Also available in: Atom PDF