Message334351
| Author |
Barry Davis |
| Recipients |
Barry Davis, benjamin.peterson, hongxu, pitrou |
| Date |
2019年01月25日.10:50:03 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1548413404.09.0.724248584674.issue31171@roundup.psfhosted.org> |
| In-reply-to |
| Content |
I've just hit this issue using Python-2.7.9, gcc-8.1.0, glibc-2.23.
The patch I made to fix the issue based on comments in this issue:
--- Python-2.7.9/setup.py 2019年01月25日 09:30:39.049501423 +0000
+++ Python-2.7.9/setup.py 2019年01月25日 09:30:55.369609646 +0000
@@ -1670,7 +1670,7 @@
else: # Linux and other unices
macros = dict()
- libraries = ['rt']
+ libraries = ['rt', 'pthread']
if host_platform == 'win32':
multiprocessing_srcs = [ '_multiprocessing/multiprocessing.c',
@@ -1690,6 +1690,7 @@
if sysconfig.get_config_var('WITH_THREAD'):
exts.append ( Extension('_multiprocessing', multiprocessing_srcs,
+ libraries = libraries,
define_macros=macros.items(),
include_dirs=["Modules/_multiprocessing"]))
else: |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2019年01月25日 10:50:05 | Barry Davis | set | recipients:
+ Barry Davis, pitrou, benjamin.peterson, hongxu |
| 2019年01月25日 10:50:04 | Barry Davis | set | messageid: <1548413404.09.0.724248584674.issue31171@roundup.psfhosted.org> |
| 2019年01月25日 10:50:04 | Barry Davis | link | issue31171 messages |
| 2019年01月25日 10:50:03 | Barry Davis | create |
|