Message321044
I got here when trying to build Yocto Sumo on Fedora 28. python_native build was failing with a segfault. Here is how I fixed it with no elegance intended:
$ git clone https://github.com/python/cpython.git
$ cd cpython/
$ git show 0b91f8a668201fc58fa732b8acc496caedfdbae0 > /tmp/gcc8-fix.patch
$ cd $HOME/poky-sumo/meta/recipes-devtools/python
$ cp /tmp/gcc8-fix.patch python-native/
$ git diff python-native_2.7.14.bb
diff --git a/meta/recipes-devtools/python/python-native_2.7.14.bb b/meta/recipes-devtools/python/python-native_2.7.14.bb
index 7c491fa3e0..e9a8c14e9c 100644
--- a/meta/recipes-devtools/python/python-native_2.7.14.bb
+++ b/meta/recipes-devtools/python/python-native_2.7.14.bb
@@ -16,6 +16,7 @@ SRC_URI += "\
file://builddir.patch \
file://parallel-makeinst-create-bindir.patch \
file://revert_use_of_sysconfigdata.patch \
+ file://gcc8-fix.patch \
"
S = "${WORKDIR}/Python-${PV}" |
|
Date |
User |
Action |
Args |
2018-07-04 14:18:34 | Peter Senna Tschudin | set | recipients:
+ Peter Senna Tschudin, benjamin.peterson, ned.deily, piotr.dobrogost, fweimer, tgrigg |
2018-07-04 14:18:34 | Peter Senna Tschudin | set | messageid: <1530713914.0.0.56676864532.issue33374@psf.upfronthosting.co.za> |
2018-07-04 14:18:33 | Peter Senna Tschudin | link | issue33374 messages |
2018-07-04 14:18:33 | Peter Senna Tschudin | create | |
|