[Bug 2137464] Re: crypto/ec/asm/ecp_nistp521-ppc64.pl output regex failure
Ravi Kant Sharma
2137464 at bugs.launchpad.net
Tue Jan 6 15:16:40 UTC 2026
MP in review: https://code.launchpad.net/~ravi-
sharma/ubuntu/+source/openssl/+git/openssl/+merge/498081
--
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:
Confirmed
Bug description:
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
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.
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