From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id eNk4OUa6TGfeRAAA62LTzQ:P1 (envelope-from ) for ; Sun, 01 Dec 2024 19:34:31 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id eNk4OUa6TGfeRAAA62LTzQ (envelope-from ) for ; Sun, 01 Dec 2024 20:34:31 +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=naGzvPc4; dkim=fail ("headers rsa verify failed") header.d=jakstys.lt header.s=google header.b=HtFVMJOB; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=jakstys.lt (policy=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=1733081670; a=rsa-sha256; cv=none; b=tAAO1OuCfIEAfD7CbjyXv111JHgoPrlIIPMpU8Q2e6tX6aSuTdb/D0umr/K6SvCe7LG44p IX9pWuUlPdnou9ccCQ8l9HGg6ik2N2vGKWTmKAIoo8BQza1712g/ArE6n3Qoobc2B4EYlA 1eSE+OSWIB66j7ZAdUYP/j4XGMe8kb22muoOfwQdnr56EHF0+zaP75cdJ82MS+b08Qlm4q v8iieVxZycdh0geG7vR0IzzQ7qRm43dj1WFWv6kKOKebhTOvSJfI/KuwyIJljLngqeq3F/ SIakhv9Ka35jkwUA9fS8H+uBpG8JItzPFEFU/UYmqE0SnViBl3PeYNQs3Uvy6A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=naGzvPc4; dkim=fail ("headers rsa verify failed") header.d=jakstys.lt header.s=google header.b=HtFVMJOB; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=jakstys.lt (policy=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=1733081670; 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: content-transfer-encoding:content-transfer-encoding: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=zggNAuRlBqMNk7V/hUNmc1fI+7XZQQXqp/lgP0Xpr3Y=; b=h8/Utm851tb/dxeJhrFZykKUJNJPbLUtNQMcdf7BvjkL3wUlyUoap6XGzGEI4cuR7quXzz CsqPNeVYh10J6U1oLHN83zHNkYi3tq7jyK8JlVNQcuLWigzD9R3HDAb4Vs9LSrEBZdakcq IT9yNm/upZ8ooPT3D+PZk8Jk2gMkeuTeIT5exOOlPInHp7pyTBlLVYaWZUim6HPtslAj69 gaWs2pgldEQmwD3ltSeWBGLu1sosljaOHeG1ct2TaKit371jYfAElwiwHhrX4G3ab7wCjK QRsZznWJUwen6i4EMmI65Q5wDKXKtEn4eMTyubcjywLqEFoxuzsQcGyykOt9Hw== 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 787C61A78F for ; Sun, 01 Dec 2024 20:34:30 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tHphn-0008Ct-5C; Sun, 01 Dec 2024 14:34:07 -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 1tHphk-0008Cf-Pl for bug-guix@gnu.org; Sun, 01 Dec 2024 14:34:05 -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 1tHphk-00053V-Gz for bug-guix@gnu.org; Sun, 01 Dec 2024 14:34:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=Date:From:In-Reply-To:References:MIME-Version:To:Subject; bh=zggNAuRlBqMNk7V/hUNmc1fI+7XZQQXqp/lgP0Xpr3Y=; b=naGzvPc4Ec479PVdRWsmQkZZYlH6KeYkZ+BLNL7lWIHcMPP9mUf9wQ0DwK+KAI+XXhsJs4Yo1ZsDmrTY02saNfTWXstx7Mtet2E1QTKYz73/ZuEwaVuAVQBqEDVXyDpaoUaQkoM93MC9ySUcXiAx0JnUGyKQmkNKevHPzi6CjxiCKCICxWEFuUD5Pi7oPui/fMkolzRtSZ3pcdikG5Pvyd+8lm7Ql0WGphBbhVT4WoAGpFkJzEvdGbScBdV72tt/Pc6lnhW1ffdpilWdaVvrmHuuUtB7M3th9WDfNrJvstk7YqHtqC3UxAW2+08ucLhtPN4nRDk9ecAPhtn5EzSXnw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tHphi-00040R-97; Sun, 01 Dec 2024 14:34:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#74217: Bootstrapping Zig with no Binary Blobs Resent-From: Motiejus =?UTF-8?Q?Jak=C5=A1tys?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org, Ekaitz Zarraga Resent-Date: Sun, 01 Dec 2024 19:34: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: Hilton Chain Cc: Ekaitz Zarraga , =?UTF-8?Q?No=C3=A9?= Lopez , dan , Efraim Flashner , 74217@debbugs.gnu.org Received: via spool by 74217-submit@debbugs.gnu.org id=B74217.173308159815306 (code B ref 74217); Sun, 01 Dec 2024 19:34:02 +0000 Received: (at 74217) by debbugs.gnu.org; 1 Dec 2024 19:33:18 +0000 Received: from localhost ([127.0.0.1]:53130 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tHpgz-0003yo-Pr for submit@debbugs.gnu.org; Sun, 01 Dec 2024 14:33:18 -0500 Received: from mail-pj1-f43.google.com ([209.85.216.43]:59887) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tHpgu-0003ya-O8 for 74217@debbugs.gnu.org; Sun, 01 Dec 2024 14:33:15 -0500 Received: by mail-pj1-f43.google.com with SMTP id 98e67ed59e1d1-2ee6abf124aso1632257a91.3 for <74217@debbugs.gnu.org>; Sun, 01 Dec 2024 11:33:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jakstys.lt; s=google; t=1733081532; x=1733686332; darn=debbugs.gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=zggNAuRlBqMNk7V/hUNmc1fI+7XZQQXqp/lgP0Xpr3Y=; b=HtFVMJOBnNi771T/LcF/8JdZqs9QY2zbqUqWYIbsEO+FVNb7abOK5q0BfJMACN85/9 fjEbUoF4zt/1tIyVUbhExtTTwDDqzDqtx6TjmLg/2niWO9J1e7UTaz5D9j78n6ASuVSZ 2N6aZsmExoAl1lW3H312+JFiNV42fXJaEFF3c1iCIm5ctpUsqthVqvoXLa2czfRzfD9u XyfmLcmOE7JsRAsyfIQ57TSoKGPLmmgOJuW25CrKAezEXRVQUyMTMr8Zeew0XlPh4pNd FyAkcKtZj6tP05VhClaxk3nHg0G5Iz+NrftZsLjNJUUibWQBlwAhOnj5rWl8rTMM78s5 scEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733081532; x=1733686332; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=zggNAuRlBqMNk7V/hUNmc1fI+7XZQQXqp/lgP0Xpr3Y=; b=bpDv4PbNQCKc+WLFhjwdVEr9X1+/RtID2T4EIa04nhso7AAy2YwGNq7VUEAgcR5GFU i9cmWanHvJ2xS52IlIK4Zxfpd5L217aV+Mmf7TF1j+7u6Pk9/eTvKgSAlOl/M+TgWgVZ 9U2nz4zzZ1KggcaOyh3oh3dhNsNyTyshQcm32RlCsr0mlaUzw+QVsp8cYk+LLrnuRz4s Z0N8CEL0jYg/N4c0VgnJMLy1Khj013203NA1DJcVfsBPv52GlObs3GLrrR5dTr6xrJur A/8b/UZgetmPmknnDEVSzyc8QXB1lzyt2WI4eyNVjAoSPPilOJw0OqSdO4LWASIXlnyu fV2Q== X-Gm-Message-State: AOJu0YwsCN5ONcV1HGoxvkdm+bgdv3VoIEnALb6JxfACoNd5G2afXh1T GRisGcHyTtAuOslHzI4nJnPzGGZcABhd5+qt7L/I/hLY6U9Q8Y/z5wL8TDFJYtiY3PVHItYuL31 eZCnnVuissyqjKDLPS/L//COICfSZOHIIrupkP8+cOtlM2VizUUVZ X-Gm-Gg: ASbGnctesfs/aHdxwov4uMk0ARjN4zLSGOEvUc/jbRtfVgm/3ChizrnLWP2zZ4Xv7eg AiK7aaO2WdrOTfqktyvxknS972gLuhJo= X-Google-Smtp-Source: AGHT+IFQKRCzwvBwaQ6V+NQO5Ljax7R+X8vgjR4R/usxjW+0N8rmLJc1FUJPiB4mgYJJXSLWlJcKpURKpmx7O97Mseg= X-Received: by 2002:a17:90b:35c9:b0:2ea:4a6b:79d1 with SMTP id 98e67ed59e1d1-2ee08eb2bdfmr25545184a91.11.1733081531978; Sun, 01 Dec 2024 11:32:11 -0800 (PST) MIME-Version: 1.0 References: <87ldxngjy4.wl-hako@ultrarare.space> <878qtmvh2i.wl-hako@ultrarare.space> <877c96vd3u.wl-hako@ultrarare.space> <874j4auz7j.wl-hako@ultrarare.space> <87v7wqtbjq.wl-hako@ultrarare.space> <878qtl5g55.wl-hako@ultrarare.space> <87jzd47enj.wl-hako@ultrarare.space> <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> In-Reply-To: <87bjxyp6pk.wl-hako@ultrarare.space> From: Motiejus =?UTF-8?Q?Jak=C5=A1tys?= Date: Sun, 1 Dec 2024 21:32:01 +0200 Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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-Spam-Score: -3.11 X-Spam-Score: -3.11 X-Migadu-Queue-Id: 787C61A78F X-Migadu-Scanner: mx12.migadu.com X-TUID: 5zwskdJWHgsS 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 one = :) > > > > 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. 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: 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. Regards, Motiejus