I have filled the SRU template. I incorrectly assumed that since this
FTBFS was of the original bug fix, I didn't need to fill a separate SRU
template.

** Description changed:

+ 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.
+ 
+ 
================================================================================

** Changed in: openssl (Ubuntu Noble)
       Status: Incomplete => In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2137464

Title:
  crypto/ec/asm/ecp_nistp521-ppc64.pl output regex failure

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openssl/+bug/2137464/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to