From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.haj.ipfire.org (localhost [IPv6:::1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4clhbY6sZtz32TH for ; Mon, 13 Oct 2025 15:48:57 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail01.haj.ipfire.org", Issuer "R13" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4clhbV4PzWz2xS5 for ; Mon, 13 Oct 2025 15:48:54 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4clhbT5CYvz1Gh for ; Mon, 13 Oct 2025 15:48:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1760370533; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=5mLugStM2Z4ktBYVAOxay/gQIve8QcsX7IxG7op/EqY=; b=V1KX+RCYkRgXSEfL9bc60ozLcvlkBc8CkgxJHQ2vZBpAQR/SxWPHkdHBZKh+4T+jAcGwQr 7XYuj9T49/zuT3xhUeqSHfva6VOiwyJ4Dr1AI3Z2CeVuUtWe1KvijJGXKgLfleXA5P+0KF RAxg+YQRUFYTozU+WNTDKkfAg8P7qIPbrayqKs04zug9PcrADoT/pvJy/6ZqgN7M4ZNHou P2lXzQLu1uO0c6Nwfr7JujKwbDobDNVhz4+DhaT2tuFi26PUH/EwC7rM4xZ3hbRAcqpXnx XQgr5u0eVAy4uEEeaaZN8mNSD4XCl5MYJ74VpS0+ZAxZ0nmh5gMVAZ9NRFNEOQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1760370533; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=5mLugStM2Z4ktBYVAOxay/gQIve8QcsX7IxG7op/EqY=; b=/UgxDCsHBwXig3rVIaJJ4BLx6Tvle0CBNIRhtnjbiCA9gFV4hUioSTHgwqsDoDYqtkjYVJ e6lm+BtgZ7L9qYBQ== Message-ID: <544f1c17d5106b4d9388627a7562f00fd112015b.camel@ipfire.org> Subject: Cross compiling ARM on X86 system From: ummeegge To: development@lists.ipfire.org Date: Mon, 13 Oct 2025 17:48:49 +0200 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: list List-Id: List-Subscribe: , List-Unsubscribe: , List-Post: List-Help: Sender: Mail-Followup-To: MIME-Version: 1.0 Hi all, I'm trying to cross-compile IPFire for aarch64 on an HP ProDesk running Kali Linux. As a first step, I installed qemu-user-static and binfmt- support to enable ARM binary execution during the build process. When running sudo ./make.sh --target=3Daarch64 build, the build proceeds successfully through stage1 and binutils: `Full toolchain compilation stage1 =20 [ 0 ][ DONE ] binutils (2.45) PASS=3D1 =20 [ 1:36 ][ DONE ]` However, it fails during the zlib-ng build with the following error: `zlib-ng-2.2.5.tar.gz checksum OK =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Installing zlib-ng-2.2.5 ... # Build the regular version cd /home/ummeegge/development/dev-aarch/ipfire- 2.x/build_aarch64/usr/src/zlib-ng-2.2.5 && mkdir -pv build mkdir: created directory 'build' cd /home/ummeegge/development/dev-aarch/ipfire- 2.x/build_aarch64/usr/src/zlib-ng-2.2.5/build && ../configure \ --prefix=3D/tools_aarch64 Checking for compiler... cc Checking for Symbol versioning... Yes. Compiler error reporting is too harsh for ../configure (perhaps remove -Werror). ** ../configure aborting. make: *** [zlib-ng:80: /home/ummeegge/development/dev-aarch/ipfire- 2.x/log_aarch64/zlib-ng-2.2.5-tools] Error 1 make: Leaving directory '/home/ummeegge/development/dev-aarch/ipfire- 2.x/lfs'` Could this be related to a compatibility issue between the new toolchain and zlib-ng 2.2.5? Or is it possibly a misconfiguration in the cross-compilation environment? Any hints or suggestions would be greatly appreciated. Best Erik