[issue21461] Recognize -pthread

2021-12-10 Thread Thomas Klausner
Thomas Klausner added the comment: I must confess, I don't know. This patch has been in pkgsrc since at least the import of the first python 2.7 package in 2011, and I haven't dug deeper. If you think it is unnecessary, I'll trust you. I've just removed it from the python 3.10 package in pkg

[issue21461] Recognize -pthread

2021-12-10 Thread Christian Heimes
Christian Heimes added the comment: Python's configure script should detect when a platform needs -pthread and automatically include the flags for linking and compiling of all files. Under which circumstances do you need -pthread in a Setup file? -- _

[issue21461] Recognize -pthread

2021-12-10 Thread Thomas Klausner
Thomas Klausner added the comment: gcc supports this flag. According to the man page: This option consistently for both compilation and linking. This option is supported on GNU/Linux targets, most other Unix derivatives, and also on x86 Cygwin and MinGW targets. On NetBSD, using -pthread i

[issue21461] Recognize -pthread

2021-12-10 Thread Christian Heimes
Christian Heimes added the comment: Which platforms or compilers use -pthread? -- components: +Build -Extension Modules nosy: +christian.heimes versions: +Python 3.11 -Python 3.5 ___ Python tracker _

[issue21461] Recognize -pthread

2021-12-10 Thread Thomas Klausner
Change by Thomas Klausner : -- pull_requests: +28257 stage: -> patch review pull_request: https://github.com/python/cpython/pull/30032 ___ Python tracker ___ _

[issue21461] Recognize -pthread

2014-05-09 Thread Thomas Klausner
New submission from Thomas Klausner: makesetup should know about the "-pthread" compiler flag. -- components: Extension Modules files: pthread.diff keywords: patch messages: 218144 nosy: wiz priority: normal severity: normal status: open title: Recognize -pthread type: enhancement versio