diff options
author | Khem Raj <raj.khem@gmail.com> | 2014-02-26 09:47:33 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-02-28 14:01:12 +0000 |
commit | 8a33c5dd3be1a0f1697cf27291947bc91550050e (patch) | |
tree | 4fbe71a105c1e95492f6f6000bce343f004b8574 /meta/recipes-devtools/python/python3 | |
parent | 5c6d9a14adf600f7b28ee6d643a07df9abb97999 (diff) | |
download | poky-8a33c5dd3be1a0f1697cf27291947bc91550050e.tar.gz |
python3: Fix race condition at high parallelism factor
Backport a patch to fix race condition as reported here
https://bugzilla.yoctoproject.org/show_bug.cgi?id=5884
[YOCTO #5884]
(From OE-Core rev: 209a019b12f2941f8aefac9f192e9cdf691196e3)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python3')
-rw-r--r-- | meta/recipes-devtools/python/python3/fix-ast.h-dependency.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3/fix-ast.h-dependency.patch b/meta/recipes-devtools/python/python3/fix-ast.h-dependency.patch new file mode 100644 index 0000000000..77c220aa82 --- /dev/null +++ b/meta/recipes-devtools/python/python3/fix-ast.h-dependency.patch | |||
@@ -0,0 +1,26 @@ | |||
1 | Fix a missed dependency on ast.h which can result in race condition | ||
2 | at high parallel build | ||
3 | |||
4 | It fixed here | ||
5 | |||
6 | http://hg.python.org/cpython/rev/cfe0a293551f | ||
7 | |||
8 | [YOCTO #5884] | ||
9 | |||
10 | Upstream-Status: Backport | ||
11 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
12 | |||
13 | Index: Python-3.3.3/Makefile.pre.in | ||
14 | =================================================================== | ||
15 | --- Python-3.3.3.orig/Makefile.pre.in 2014-02-26 09:33:13.868288863 -0800 | ||
16 | +++ Python-3.3.3/Makefile.pre.in 2014-02-26 09:36:27.348292492 -0800 | ||
17 | @@ -853,7 +853,8 @@ | ||
18 | $(srcdir)/Include/warnings.h \ | ||
19 | $(srcdir)/Include/weakrefobject.h \ | ||
20 | pyconfig.h \ | ||
21 | - $(PARSER_HEADERS) | ||
22 | + $(PARSER_HEADERS) \ | ||
23 | + $(AST_H) | ||
24 | |||
25 | $(LIBRARY_OBJS) $(MODOBJS) Modules/python.o: $(PYTHON_HEADERS) | ||
26 | |||