[Bug 2060108] [NEW] greenlet 3.0.3 fails to build on ppc64el (and riscv64)
Frank Heimes
2060108 at bugs.launchpad.net
Wed Apr 3 09:56:48 UTC 2024
Public bug reported:
greenlet 3.0.3 fails to build on riscv64 and ppc64el:
complete build logs at
https://launchpad.net/ubuntu/+source/python-greenlet/3.0.3-0ubuntu2
riscv64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g
-fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fno-
omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong
-Wformat -Werror=format-security -fdebug-prefix-map=/<>=/usr/src/python-
greenlet-3.0.3-0ubuntu2 -Wdate-time -D_FORTIFY_SOURCE=3 -fPIC
-I/usr/include/python3.11 -c /<>/src/greenlet/greenlet.cpp -o
build/temp.linux-riscv64-cpython-311/<>/src/greenlet/greenlet.o -Os
So the reason is that recent Linux distros decided to build with -fno-
omit-frame-pointer by default. Apparently both the riscv64 and the
ppc64el implementations cannot cope with that.
The issue can be reproduce by adding -fno-omit-frame-pointer to the
build flags.
https://launchpad.net/ubuntu/+source/python-greenlet/3.0.3-0ubuntu4
_____
There is also this upstream github issue:
https://github.com/python-greenlet/greenlet/issues/395
** Affects: greenlet
Importance: Unknown
Status: Unknown
** Affects: ubuntu-power-systems
Importance: Undecided
Assignee: bugproxy (bugproxy)
Status: Triaged
** Affects: python-greenlet (Ubuntu)
Importance: Undecided
Status: New
** Tags: ppc64el reverse-proxy-bugzilla
** Also affects: python-greenlet (Ubuntu)
Importance: Undecided
Status: New
** Description changed:
greenlet 3.0.3 fails to build on riscv64 and ppc64el:
complete build logs at
https://launchpad.net/ubuntu/+source/python-greenlet/3.0.3-0ubuntu2
riscv64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g
-fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fno-
omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong
-Wformat -Werror=format-security -fdebug-prefix-map=/<>=/usr/src/python-
greenlet-3.0.3-0ubuntu2 -Wdate-time -D_FORTIFY_SOURCE=3 -fPIC
-I/usr/include/python3.11 -c /<>/src/greenlet/greenlet.cpp -o
build/temp.linux-riscv64-cpython-311/<>/src/greenlet/greenlet.o -Os
So the reason is that recent Linux distros decided to build with -fno-
omit-frame-pointer by default. Apparently both the riscv64 and the
ppc64el implementations cannot cope with that.
The issue can be reproduce by adding -fno-omit-frame-pointer to the
build flags.
+
+ https://launchpad.net/ubuntu/+source/python-greenlet/3.0.3-0ubuntu4
** Tags added: reverse-proxy-bugzilla
** Description changed:
greenlet 3.0.3 fails to build on riscv64 and ppc64el:
complete build logs at
https://launchpad.net/ubuntu/+source/python-greenlet/3.0.3-0ubuntu2
riscv64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g
-fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fno-
omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong
-Wformat -Werror=format-security -fdebug-prefix-map=/<>=/usr/src/python-
greenlet-3.0.3-0ubuntu2 -Wdate-time -D_FORTIFY_SOURCE=3 -fPIC
-I/usr/include/python3.11 -c /<>/src/greenlet/greenlet.cpp -o
build/temp.linux-riscv64-cpython-311/<>/src/greenlet/greenlet.o -Os
So the reason is that recent Linux distros decided to build with -fno-
omit-frame-pointer by default. Apparently both the riscv64 and the
ppc64el implementations cannot cope with that.
The issue can be reproduce by adding -fno-omit-frame-pointer to the
build flags.
https://launchpad.net/ubuntu/+source/python-greenlet/3.0.3-0ubuntu4
+ _____
+
+ There is also this upstream github issue:
+ https://github.com/python-greenlet/greenlet/issues/395
** Bug watch added: github.com/python-greenlet/greenlet/issues #395
https://github.com/python-greenlet/greenlet/issues/395
** Also affects: greenlet via
https://github.com/python-greenlet/greenlet/issues/395
Importance: Unknown
Status: Unknown
--
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to python-greenlet in Ubuntu.
https://bugs.launchpad.net/bugs/2060108
Title:
greenlet 3.0.3 fails to build on ppc64el (and riscv64)
Status in greenlet:
Unknown
Status in The Ubuntu-power-systems project:
Triaged
Status in python-greenlet package in Ubuntu:
New
Bug description:
greenlet 3.0.3 fails to build on riscv64 and ppc64el:
complete build logs at
https://launchpad.net/ubuntu/+source/python-greenlet/3.0.3-0ubuntu2
riscv64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g
-fstack-protector-strong -Wformat -Werror=format-security -g -O2 -fno-
omit-frame-pointer -ffile-prefix-map=/<>=. -fstack-protector-strong
-Wformat -Werror=format-security -fdebug-prefix-
map=/<>=/usr/src/python-greenlet-3.0.3-0ubuntu2 -Wdate-time
-D_FORTIFY_SOURCE=3 -fPIC -I/usr/include/python3.11 -c
/<>/src/greenlet/greenlet.cpp -o build/temp.linux-
riscv64-cpython-311/<>/src/greenlet/greenlet.o -Os
So the reason is that recent Linux distros decided to build with -fno-
omit-frame-pointer by default. Apparently both the riscv64 and the
ppc64el implementations cannot cope with that.
The issue can be reproduce by adding -fno-omit-frame-pointer to the
build flags.
https://launchpad.net/ubuntu/+source/python-greenlet/3.0.3-0ubuntu4
_____
There is also this upstream github issue:
https://github.com/python-greenlet/greenlet/issues/395
To manage notifications about this bug go to:
https://bugs.launchpad.net/greenlet/+bug/2060108/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list