[Bug 2137464] Re: crypto/ec/asm/ecp_nistp521-ppc64.pl output regex failure
kromapiona
2137464 at bugs.launchpad.net
Sat May 30 18:25:31 UTC 2026
Mobile crypto applications have improved significantly over the years,
and Paybis is a good example of that progress. The app focuses on
providing a direct path from account setup to completing transactions.
Instead of overwhelming users with complex trading screens, it
prioritizes usability and transparency. Information about purchases,
conversions, and account activity is available in an organized format,
making it easier to stay informed. The mobile experience feels
responsive, and important actions can be completed without navigating
through multiple menus. Support for various cryptocurrencies and payment
methods adds flexibility, which is valuable for people who use digital
assets for different purposes. Overall, the platform presents itself as
a practical solution for everyday cryptocurrency management.
** Attachment added: "https://play.google.com/store/apps/details?id=com.paybis&pcampaignid=web_share"
https://play.google.com/store/apps/details?id=com.paybis&pcampaignid=web_share
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to openssl in Ubuntu.
https://bugs.launchpad.net/bugs/2137464
Title:
crypto/ec/asm/ecp_nistp521-ppc64.pl output regex failure
Status in openssl package in Ubuntu:
Fix Released
Status in openssl source package in Jammy:
Invalid
Status in openssl source package in Noble:
In Progress
Status in openssl source package in Questing:
Fix Released
Bug description:
Original report
================================================================================
I have a scenario where the ecp_nistp521-ppc64.pl matches the
incorrect param for output instead of crypto/ec/ecp_nistp521-ppc64.s
Here is the build log on Ubuntu 24.04.
CC="gcc" /usr/bin/perl ../crypto/ec/asm/ecp_nistp521-ppc64.pl
"linux64le" -I. -Iinclude -Iproviders/common/include
-Iproviders/implementations/include -I.. -I../include
-I../providers/common/include -I../providers/implementations/include
-fPIC -pthread -m64 -Wa,--noexecstack -Wall -fzero-call-used-
regs=used-gpr -DOPENSSL_TLS_SECURITY_LEVEL=2 -Wa,--noexecstack -g -O3
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -fno-stack-clash-protection -fdebug-prefix-
map=/<<PKGBUILDDIR>>=/usr/src/openssl-3.0.13-0ubuntu3.7
-DOPENSSL_USE_NODELETE -DL_ENDIAN -DOPENSSL_PIC
-DOPENSSLDIR="\"/usr/lib/ssl\"" -DENGINESDIR="\"/usr/lib/powerpc64le-
linux-gnu/engines-3\"" -DMODULESDIR="\"/usr/lib/powerpc64le-linux-
gnu/ossl-modules\"" -DOPENSSL_BUILDING_OPENSSL -DNDEBUG -Wdate-time
-D_FORTIFY_SOURCE=3 -DAES_ASM -DECP_NISTP521_ASM -DECP_NISTZ256_ASM
-DKECCAK1600_ASM -DOPENSSL_BN_ASM_MONT -DOPENSSL_CPUID_OBJ
-DPOLY1305_ASM -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DVPAES_ASM
-DX25519_ASM crypto/ec/ecp_nistp521-ppc64.s
It matches -fdebug-prefix-
map=/<<PKGBUILDDIR>>=/usr/src/openssl-3.0.13-0ubuntu3.7
This leads to ecp_nistp521-ppc64.pl writing output to STDOUT instead
of the file crypto/ec/ecp_nistp521-ppc64.s . The missing .s file leads
to gcc erroring out and build failure.
This does not happen on Questing and Resolute because the regex does
not match the openssl version release, it will fail once we have an
SRU.
================================================================================
[ Impact ]
* This change is required to fix
https://bugs.launchpad.net/ubuntu/+source/openssl/+bug/2130576
* We cannot enable ec_nistp_64_gcc_128 optimization on ppc64el unless
this is fixed.
[ Test Plan ]
* The build should fail on ppc64el ec_nistp_64_gcc_128 enabled with
without this fix.
* It is better to test this change as part of
https://bugs.launchpad.net/ubuntu/jammy/+source/openssl/+bug/2130576
[ Where problems could occur ]
* I can't think of a scenario where this change will break something.
[ Other Info ]
* The patch is revised upstream and not merged yet. I asked on ubuntu
devel (matrix) and I was advised to not wait for the upstream merge
since the delta is removed in a future release anyway.
================================================================================
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openssl/+bug/2137464/+subscriptions
More information about the foundations-bugs
mailing list