From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id iJI0GuBkTWedIwEAqHPOHw:P1 (envelope-from ) for ; Mon, 02 Dec 2024 07:42:24 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id iJI0GuBkTWedIwEAqHPOHw (envelope-from ) for ; Mon, 02 Dec 2024 08:42:24 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b="Fn2AS/Fz"; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=EXUBjfge; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1733125344; a=rsa-sha256; cv=none; b=V/Qf4DMDzEtWCK9BTUo47jdh0VY5f6Q/EvBcwidtVT9WfdaKfjMrvnMpxFLMJqUoyVHQtV ulvAlXdCLwUqoiSYBlF3WYBo75tAInhN+w8CZiK3Jw9YvfgSmC6agkV9+j7Jw+h0a5Boi8 gup/GuxI/yDrXEq0l8GTflMz6IM+UadufrwFtt6wq9Z1QxCIIV0jYCAygxInQ7iO0XhlN0 EJ5rbrnOud4g9uZMzML8mTD4P+s6JrcRVXpUStP+MyfGy+FCK58RWCGJnQqYJfQlA5ktKE BDauMTFqL1vi/FNBTXHJ3REYmpjp3XirDVj0vmA2nx1YcbhpbC8kJLc/c1Dz4g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b="Fn2AS/Fz"; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=EXUBjfge; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1733125344; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=9kVNuD2NdT/2TPY0cPuJc654Q3xC1QKHcFIwxYZEuDI=; b=Qmw8g3Y0DuA34XGwThtI/pOmduEgg54gNFOxlOGhFIdgqaEl28V0CBJHiBkRyrlcuO9Hxl 3+ZCokD6XPekjlISm9XK+UIQSXjZuXtDFhQKD1Q6a0+sRMiiA29M7c8FysWVs7AiXrPiwg R/h+qt3je/HGS0pNTaGaNDKpKlS74jM6aX7Kc6yq1hxAhfjuyFw0ZKGRhPPJFevVO4Hrao ycSvd7IsjDLTgBQwzZJeoVyqT3ScfJX6L/lJYsv+NxbVuULBJQMCQOnhWzNDiRAbPuKyqX XZ+aerR7InKw3lb2WjRfTp6B4KddnJ2dnzsMkhuknPogYT7jGb59/ept+djfbg== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 0AAD578A07 for ; Mon, 02 Dec 2024 08:42:23 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tI14H-0002Ya-80; Mon, 02 Dec 2024 02:42:05 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tI14F-0002YD-Hb for bug-guix@gnu.org; Mon, 02 Dec 2024 02:42:03 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tI14F-0003xe-96 for bug-guix@gnu.org; Mon, 02 Dec 2024 02:42:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=In-Reply-To:MIME-Version:References:From:Date:To:Subject; bh=9kVNuD2NdT/2TPY0cPuJc654Q3xC1QKHcFIwxYZEuDI=; b=Fn2AS/Fz5S8RSh/qukVD+EDkrNfFWFMmWQAzOmle/yxmFsRPsv9iZQxn00Nw72VlsJe82cpjrOWg/pitzc5FdsQQZuShAO6W37QNqWQYjHkWVTu+QhyxHeqRNpyoAzSf30k3/bcQqOHShVNAGLZ7VAfdglFED8FO1hYCvsOtNbK6Fv7p9jHJaRw0eu8sEG/y6WGyEmDc3JjaYFuVRQFZgHMQYwpyzAqixTEIprMraLJx0qv2QGNPrIYPcnGK7J/1Cki0bnBdI9MrM8EcVCHCBwnKy+VFqa0gNGEc3fS9IlCMmNp7/2oF/DRcLkWNoy+D94LONLD4dw3CIh/2RTiUZA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tI14E-0007Q1-DN; Mon, 02 Dec 2024 02:42:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#74217: Bootstrapping Zig with no Binary Blobs Resent-From: Efraim Flashner Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org, Ekaitz Zarraga Resent-Date: Mon, 02 Dec 2024 07:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74217 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Motiejus =?UTF-8?Q?Jak=C5=A1tys?= Cc: Hilton Chain , dan , Ekaitz Zarraga , 74217@debbugs.gnu.org, =?UTF-8?Q?No=C3=A9?= Lopez Received: via spool by 74217-submit@debbugs.gnu.org id=B74217.173312527328431 (code B ref 74217); Mon, 02 Dec 2024 07:42:02 +0000 Received: (at 74217) by debbugs.gnu.org; 2 Dec 2024 07:41:13 +0000 Received: from localhost ([127.0.0.1]:54112 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tI13Q-0007OU-FN for submit@debbugs.gnu.org; Mon, 02 Dec 2024 02:41:12 -0500 Received: from mail-wm1-f41.google.com ([209.85.128.41]:48472) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tI13O-0007OC-6k for 74217@debbugs.gnu.org; Mon, 02 Dec 2024 02:41:11 -0500 Received: by mail-wm1-f41.google.com with SMTP id 5b1f17b1804b1-434a8640763so32562345e9.1 for <74217@debbugs.gnu.org>; Sun, 01 Dec 2024 23:41:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1733125204; x=1733730004; darn=debbugs.gnu.org; h=in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:cc:to:from:date:sender:from:to :cc:subject:date:message-id:reply-to; bh=9kVNuD2NdT/2TPY0cPuJc654Q3xC1QKHcFIwxYZEuDI=; b=EXUBjfgee14jfHSJu/gZO2QGTI1z/Z4vkW8rDAnS1NAu7MW4YefDw0llp5o0A4efsH rXWBgwW7aCKZoknxC6K7t7GpwJyhROfN+vUk6108TkDD4hM8JK0T9jMGjaKrYF9wNb2k jdyqIYM2h5c4RGEzspyAhdy0b34tk+1/ZrEOZnxl1pj+sbZxBhJoK6tTeBpMVPx3yFBu ifg+RETbkfTyXlBV/5H4ftM8c0BsuGT+4HkQ+x5K+2UGEGxqFyzfH5X+SqZdh2HSwj+E BcTJtc8axPKWz6zEF0DHWI13yuIJogqgoZS/lhPGIWLarXL++HKY1WrgN1+Ek3jx89kp BE0Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733125204; x=1733730004; h=in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:cc:to:from:date:sender :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=9kVNuD2NdT/2TPY0cPuJc654Q3xC1QKHcFIwxYZEuDI=; b=TplghTD9Co/bZyGHi7dBOfy+mQwOqcOSQxCARKWH4nLrw7idQIppK5A1HbDE2EZMM2 ettBaAiZcNPJrykiAMxXYr/IzKxGXDXwv9aLkkHJgN3yAT0X6Oq9gJioiTZKrUMUInvf RSBHkQtyVAyLp7P9fp75qv4ZuP5Nw9CrdkkqTlfx7jR9dX+M6f0QHzuWE0DKXX0tmaGm 2M7GKU4Wc0mvk/fTKXY9pZ6aaOs9xEX1Hms/AmAsOu0Re3C432xrJxKq+KEx4MRWy9m0 pnMQfr/M+/ISNt+0NwLzOanA7yJ3sqZZgjxMEkwoYa305OwsWDA/RGZ4gUy2fms1iRwz otzA== X-Forwarded-Encrypted: i=1; AJvYcCXZpUJt4j2RKuqLnydZ5m5at2WhzC07mT9fYTr5ZhU+7/z1VXmIYh++BI+ByFumC8W2P8TJzg==@debbugs.gnu.org X-Gm-Message-State: AOJu0YyJzqYr/yVO/kJ3Za7L3Tuwn2EPRA2oWiOYSm8YM+iulnDnpCDL xJR2UBvNmba0hL7Sr47/ItvpPSpdLJ9xTpqQ2VmzHfwlGONey5LO X-Gm-Gg: ASbGncuwg7fFEzSpWdqAf15JU4oFAak2fCX1+Oi0lG2SloIpBfT/yakTQ1FecY0Hz8Z OnNIoB38HbivKmKrE5lysgMbk89eZlFWymYasgwjdwehHKOyy8OeurTjGt8ER7bwKoXNEGio2V1 0ZVEI9zqcSKTMV7pak25YlFWBVcJ5qbJsFR2+05N21xm0RLBieN+Csox+w478mUjmsahJDVc5G0 cnDP+3lctc4hxLSyULeU9L7zL/xHHQYCwn3BVJ3V62AFyc= X-Google-Smtp-Source: AGHT+IHYDgKiN5KLSeFJ1qAXdhoBXRwdTYTYuHyfb0lix+HwpXICxxsuLgtzto+Oj4relFdU2eTLqA== X-Received: by 2002:a05:600c:1c88:b0:42c:bb96:340e with SMTP id 5b1f17b1804b1-434a9df111cmr205737645e9.31.1733125203925; Sun, 01 Dec 2024 23:40:03 -0800 (PST) Received: from localhost ([141.226.9.46]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-434b0d9bcf9sm141555725e9.6.2024.12.01.23.40.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 01 Dec 2024 23:40:03 -0800 (PST) Date: Mon, 2 Dec 2024 09:40:01 +0200 From: Efraim Flashner Message-ID: Mail-Followup-To: Efraim Flashner , Motiejus =?UTF-8?Q?Jak=C5=A1tys?= , Hilton Chain , 74217@debbugs.gnu.org, =?UTF-8?Q?No=C3=A9?= Lopez , dan , Ekaitz Zarraga References: <87a5dx7w1n.wl-hako@ultrarare.space> <87frnns6wh.wl-hako@ultrarare.space> <87ed34viqk.wl-hako@ultrarare.space> <87a5djipk6.wl-hako@ultrarare.space> <878qt3idw4.wl-hako@ultrarare.space> <87bjxyp6pk.wl-hako@ultrarare.space> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="m7lQxlkGoKBevhr4" Content-Disposition: inline In-Reply-To: X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 0AAD578A07 X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -11.28 X-Spam-Score: -11.28 X-TUID: oFB2P3H6zuoE --m7lQxlkGoKBevhr4 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Dec 01, 2024 at 09:32:01PM +0200, Motiejus Jak=C5=A1tys wrote: > On Fri, Nov 29, 2024 at 2:25=E2=80=AFPM Hilton Chain wrote: > > > > On Fri, 29 Nov 2024 04:53:57 +0800, > > Motiejus Jak=C5=A1tys wrote: > > > > > > [1 ] > > > On Thu, Nov 28, 2024 at 5:20=E2=80=AFPM Hilton Chain wrote: > > > > Thanks! Then I'll keep abilists removed before we can reproduce on= e :) > > > > > > OK here it is for 0.11: > > > > > > 1. check out glibc-abi-tool 13576b1ea957882be7ff2c99f4cdc27454930219 > > > 2. rm -fr glibc/2.3{5,6,7,8} > > > 3. apply the attached patch. > > > 4. /path/to/zig-0.11/bin/zig run consolidate.zig > > > > > > ... which results in abilists > > > 546e3c64b5c972b45c4c5c3e81fa1c73282db9377d57ae870d7abcb276f9605c. > > > > > > Motiejus > > > [2 Backport-consolidate.zig-to-zig-0.11.0.patch ] > > > From 23135302904467aa2e814500af6327408c46f52e Mon Sep 17 00:00:00 2001 > > > From: =3D?UTF-8?q?Motiejus=3D20Jak=3DC5=3DA1tys?=3D > > > Date: Thu, 28 Nov 2024 22:52:13 +0200 > > > Subject: [PATCH] Backport consolidate.zig to zig 0.11.0 > > > > > > --- > > > consolidate.zig | 8 ++------ > > > 1 file changed, 2 insertions(+), 6 deletions(-) > > > > Thanks very much! I have added abilists for 0.9 and 0.10 as well. >=20 > For the record, I have smoke-tested abilists on 0.9, 0.10, 0.11.0, > 0.12.1 and 0.13. The test was as follows: >=20 > 1. create a "hello world" C program that uses printf. > 2. /gnu/.../zig-VERSION/bin/zig cc -target x86_64-linux-gnu.2.28 > hello.c -o hello > 3. readelf -Ws hello > 4. observe line (3) has line "printf@GLIBC_2.2.5". > 5. run `hello` on non-guix and observe expected output. Thank you for sharing that syntax for targeting specific glibc versions. I'm continuing to try to build zig-0.10.0-610 on riscv64. I've had more luck with powerpc64le but it's not the most convenient thing with passing build targets between my computer and berlin. --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --m7lQxlkGoKBevhr4 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmdNZFEACgkQQarn3Mo9 g1H0lg/+KQ68CFsPvw32OoDSkE59IyXS0k3RW0JJM3DMypuai4q4znwM/9588qXq +AYku55+8Yf1hm2dMPJogoKGyO08T2AXGFAtT02a8yEG/NlFKweL9gyNNdSLnc7/ MKoHe3cCwgaFErXvGzt985LeVgBYLVvkh7fnCCVU0aJbKgSAdzZjUbSfOetXrcnx bOXYO9IW7b7HKO+JfAYSj+3gaU9jEfOAbAwo3qagvyhOJ7J2/bYI80fpSEaR6W9t pDpvQdVvMZ9PWBJaEXDsRyvfC6arw24p+BaVXdU23lt0qP3bTMrB31PDLAuD4sLc BHHQDbRiao9b9LpVrOMcUEgl7zd841kYeg6MUHz3Ygrcdk7h+pij7fuNz0G1FEO+ XgsoNUneDWp3On0Y8xEn7XjTUWJUCLGFlmoCDvFibcoHSxvnC/VdXEmUKaMAvcB7 Sud45/3QQAgA5LlaIAXGxRHqmNMr2RIXjJvDF6CgCiUEvu1zlCsjiQFFZnjoWZtg LA0f/seh5YzDdXs9hTFyH5f0J2nlnzC+q6aqqwiWR+axN69zYrKUhSoVmWIUXX1r +WTxxX5oGbL57L92xMtwQb0ZX6NTDM2ytG19K4TWcsTlv8iOyketK+/qv4eCZJWP MjnvKMyZTdJ050HAfOU9Bn1dfpXRBRnphVrk340B1ZLTo/ezVqM= =p8uH -----END PGP SIGNATURE----- --m7lQxlkGoKBevhr4--