[From nobody Wed Mar 18 22:23:08 2026
Received: (at submit) by bugs.debian.org; 28 Jan 2026 07:20:08 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
 (2024-03-25) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-7.8 required=4.0 tests=BAYES_00,DKIM_SIGNED,
 DKIM_VALID,FVGT_m_MULTI_ODD,RCVD_IN_DNSWL_LOW,
 RCVD_IN_VALIDITY_CERTIFIED_BLOCKED,RCVD_IN_VALIDITY_RPBL_BLOCKED,
 RCVD_IN_VALIDITY_SAFE_BLOCKED,SPF_HELO_PASS,SPF_PASS,XMAILER_REPORTBUG
 autolearn=ham autolearn_force=no
 version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 37; hammy, 150; neutral, 106; spammy,
 0. spammytokens: hammytokens:0.000-+--XDebbugsCc,
 0.000-+--X-Debbugs-Cc, 0.000-+--sk:buildd.,
 0.000-+--UD:buildd.debian.org, 0.000-+--buildddebianorg
Return-path: &lt;glaubitz@physik.fu-berlin.de&gt;
Received: from outpost17.zedat.fu-berlin.de ([130.133.4.110]:38777)
 by buxtehude.debian.org with esmtps
 (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.96) (envelope-from &lt;glaubitz@physik.fu-berlin.de&gt;)
 id 1vkzqS-00GHUi-0Y for submit@bugs.debian.org;
 Wed, 28 Jan 2026 07:20:08 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
 d=fu-berlin.de; s=fub01; h=Date:Message-ID:Subject:To:From:
 Content-Transfer-Encoding:MIME-Version:Content-Type:From:Reply-To:Subject:
 Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding:
 Content-ID:Content-Description:In-Reply-To:References;
 bh=KjfZ1kmYOaENoa0B/WvrTOe0bzy/DciZ7ssnQc5tvDM=; t=1769584808; x=1770189608; 
 b=NVnvSxQ/1jpgKVeM2VEX9gFOsJGjgkSTtawnPenj6MsiuQPR2h/lhrIL3O4TtCaVQn/S+Bq3Nta
 oAeMs9IJ7TaCV1omZZRpnHP12MOKvYdZeuW0nKzBvowjJNHEvV+T2IR7Qyd2T0QhZBuxAD+ZJuK+4
 4IMcKk7zOA44aVvaVtII+V/zblo/57wIUyA8aRw+jTk5zQ0Zsowfh8Zakqc/U1tYMo2mrwTqmG7cz
 f6sRKjXefOA77kla/DN4VhTKBmkWxfG3SX5570XkhvKwDgUvPBHjiDy2ODZYPhSaOtOmMKwJ4x0Eb
 DIRpYnCCJv7py8ppGYYc82JUyeERuuqXVhUw==;
Received: from relay1.zedat.fu-berlin.de ([130.133.4.67])
 by outpost.zedat.fu-berlin.de (Exim 4.99) with esmtps (TLS1.3)
 tls TLS_AES_256_GCM_SHA384
 (envelope-from &lt;glaubitz@physik.fu-berlin.de&gt;)
 id 1vkzqQ-00000003Aj1-2NqD; Wed, 28 Jan 2026 08:20:06 +0100
Received: from mx.physik.fu-berlin.de ([160.45.64.218])
 by relay1.zedat.fu-berlin.de (Exim 4.99) with esmtps (TLS1.2)
 tls TLS_DHE_RSA_WITH_AES_128_CBC_SHA
 (envelope-from &lt;glaubitz@physik.fu-berlin.de&gt;)
 id 1vkzqQ-00000001SO9-20ZN; Wed, 28 Jan 2026 08:20:06 +0100
Received: from login1.physik.fu-berlin.de ([160.45.66.207])
 by mx.physik.fu-berlin.de with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256)
 (Exim 4.80) (envelope-from &lt;glaubitz@physik.fu-berlin.de&gt;)
 id 1vkzqO-0008PV-Aj; Wed, 28 Jan 2026 08:20:04 +0100
Received: by login1.physik.fu-berlin.de (Postfix, from userid 176681)
 id 3676AA0102; Wed, 28 Jan 2026 08:20:04 +0100 (CET)
Content-Type: text/plain; charset=&quot;us-ascii&quot;
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: John Paul Adrian Glaubitz &lt;glaubitz@physik.fu-berlin.de&gt;
To: Debian Bug Tracking System &lt;submit@bugs.debian.org&gt;
Subject: openssl: FTBFS on ppc64 while trying to link ELFv1 with ELFv2 code
Message-ID: &lt;176958480419.3617879.7003156543140456923.reportbug@login1.physik.fu-berlin.de&gt;
X-Mailer: reportbug 12.0.0
Date: Wed, 28 Jan 2026 08:20:04 +0100
X-Originating-IP: 160.45.64.218
X-ZEDAT-Hint: RVO
Delivered-To: submit@bugs.debian.org

Source: openssl
Version: 3.5.5-1
Severity: important
User: debian-powerpc@lists.debian.org
Usertags: ppc64
X-Debbugs-Cc: debian-powerpc@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

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

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