[Pkg-openssl-devel] Bug#1126531: openssl: FTBFS on ppc64 while trying to link ELFv1 with ELFv2 code

John Paul Adrian Glaubitz glaubitz at physik.fu-berlin.de
Wed Jan 28 07:20:04 GMT 2026


Source: openssl
Version: 3.5.5-1
Severity: important
User: debian-powerpc at lists.debian.org
Usertags: ppc64
X-Debbugs-Cc: debian-powerpc at lists.debian.org

Hi,

starting with version 3.5.5-1, the openssl package started to FTBFS on ppc64
due to the build system trying to link ELFv1 with ELFv2 code [1]:

${LDCMD:-gcc} -pthread -m64 -Wa,--noexecstack -Wall -fzero-call-used-regs=used-gpr -Wa,--noexecstack -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/openssl-3.5.5=. -fstack-protector-strong -Wformat -Werror=format-security  -Wl,-z,relro -Wl,-z,now \
	-o fuzz/ml-kem-test \
	fuzz/ml-kem-test-bin-fuzz_rand.o \
	fuzz/ml-kem-test-bin-ml-kem.o \
	fuzz/ml-kem-test-bin-test-corpus.o \
	libcrypto.a -lz -lzstd -ldl -pthread 
/usr/bin/powerpc64-linux-gnu-ld.bfd: libcrypto.a(libcrypto-lib-aes-gcm-ppc.o): ABI version 2 is not compatible with ABI version 1 output
/usr/bin/powerpc64-linux-gnu-ld.bfd: failed to merge target specific data of file libcrypto.a(libcrypto-lib-aes-gcm-ppc.o)
/usr/bin/powerpc64-linux-gnu-ld.bfd: libcrypto.a(libcrypto-lib-aes-gcm-ppc.o): ABI version 2 is not compatible with ABI version 1 output
/usr/bin/powerpc64-linux-gnu-ld.bfd: failed to merge target specific data of file libcrypto.a(libcrypto-lib-aes-gcm-ppc.o)
/usr/bin/powerpc64-linux-gnu-ld.bfd: libcrypto.a(libcrypto-lib-aes-gcm-ppc.o): ABI version 2 is not compatible with ABI version 1 output
/usr/bin/powerpc64-linux-gnu-ld.bfd: failed to merge target specific data of file libcrypto.a(libcrypto-lib-aes-gcm-ppc.o)
collect2: error: ld returned 1 exit status

Most likely someone upstream assumed that PowerPC means ELFv2 these days, i.e.
the ABI used on ppc64el but that's obviously wrong.

Will also report this upstream.

Thanks,
Adrian

> [1] https://buildd.debian.org/status/fetch.php?pkg=openssl&arch=ppc64&ver=3.5.5-1&stamp=1769552037&raw=0

--
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer
`. `'   Physicist
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



More information about the Pkg-openssl-devel mailing list