Bug#1126531: openssl: FTBFS on ppc64 while trying to link ELFv1 with ELFv2 code
John Paul Adrian Glaubitz <[email protected]> Wed, 28 Jan 2026 08:20:04 +0100
| Newsgroups | gmane.linux.debian.ports.powerpc |
|---|---|
| Message-ID | <176958480419.3617879.7003156543140456923.reportbug__12015.2381526836$1769585014$gmane$org@login1.physik.fu-berlin.de> |
Source: openssl Version: 3.5.5-1 Severity: important User: [email protected] Usertags: ppc64 X-Debbugs-Cc: [email protected] 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