I figured out why the noble ppc64el build is failing. https://launchpad.net/~ravi-sharma/+archive/ubuntu/fix- lp2130576/+packages
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 regex for $output in crypto/ec/asm/ecp_nistp521-ppc64.pl matches the '-fdebug-prefix- map=/<<PKGBUILDDIR>>=/usr/src/openssl-3.0.13-0ubuntu3.7', hence it cannot write the expected file crypto/ec/ecp_nistp521-ppc64.s. Missing .s file leads to gcc erroring out with 'Error: can't open crypto/ec/ecp_nistp521-ppc64.s for reading: No such file or directory' https://github.com/openssl/openssl/blob/master/crypto/ec/asm/ecp_nistp521-ppc64.pl#L22 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. This does not happen on Jammy because regex does not match even though it has an SRU version. https://launchpad.net/~ravi-sharma/+archive/ubuntu/jammy-sru-2025-11/+packages Full command to generate the .s file looks like this. 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 -Wa,--noexecstack -g -O3 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -DOPENSSL_TLS_SECURITY_LEVEL=2 -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=2 -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 There is no openssl version in the command to match the regex. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2130576 Title: Missing ec_nistp_64_gcc_128 optimization on non-x86_64 architectures To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openssl/+bug/2130576/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
