From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id wAYDNmjPSGfj6gAAqHPOHw:P1 (envelope-from ) for ; Thu, 28 Nov 2024 20:15:37 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id wAYDNmjPSGfj6gAAqHPOHw (envelope-from ) for ; Thu, 28 Nov 2024 21:15:36 +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=qZpwnYxm; dkim=fail ("headers rsa verify failed") header.d=jakstys.lt header.s=google header.b=APr1ATy3; 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"; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=jakstys.lt (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1732824936; 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=nMLdtWYUnW+SpZW4DPcYmDA068F1raITdKFwUGCmHjs=; b=KjLyJd7EiOGhtYRofjh2nPrPOOR9aE2hTCrYyiCMrgA20xPCkTc51x3Xz1At47y/IJPRRe 3OMzV4KA+db6fKVtwGoBjv5j+fdtCLX3bTrg27uyEm5WrsiRnkYjCjpPIuEXC7yIdbawyI Pp/HULDTLsUzk2t09g61D3ck7M+m8YVTOVTM30y2HuvfbQu59SDgYfkyhN/V/+ZcObiEX/ NmPXvlhnCC9m0z07EvrgkMp+ilFDcYMx0Vv0wAUKcTxqcIW3zvu+Tr901/iDCtJmJb3oGH C0U96lTvrPjtJxdd2aRoegx4z15rX9SR6WYlwRkYsv0JSCeEMCvYX317qal9ug== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=qZpwnYxm; dkim=fail ("headers rsa verify failed") header.d=jakstys.lt header.s=google header.b=APr1ATy3; 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"; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=jakstys.lt (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1732824936; a=rsa-sha256; cv=none; b=t3/oJ1o80fxq4DUdzrFeilaJLHUy9yZyOUEE2WCFjkCWE19+o4gOH5s55bBwIpG9urnZ7w KC0yMMd5jxyGTK2num8MWQ/ZoVplsl6i0XZTKzWqEQJ6JmDHlPruyKALWjNpj2F/Iglg56 sESi7fKcKKngoBK9ll9N7dcvzlhxO6kXLnYZWXbGleekPstRLHF5Qi5gjfFw46nNT/jLX6 e4hNwRKJVPEbZmr/qBSQ90XF43H8UuUWu93wY1nVul1fzLIpnw/IlvgL2+aJ5usclztZrw yfLxlSTc0jqiPiagvcba5Ps02JVq7YJ86MrNrwRoWtmJlqG0P1tkO4gH6msuuQ== 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 2A8457CF19 for ; Thu, 28 Nov 2024 21:15:36 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tGkv1-00018Z-T9; Thu, 28 Nov 2024 15:15:20 -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 1tGkum-0000xP-Lz for bug-guix@gnu.org; Thu, 28 Nov 2024 15:15: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 1tGkum-0001VX-0g for bug-guix@gnu.org; Thu, 28 Nov 2024 15:15: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=nMLdtWYUnW+SpZW4DPcYmDA068F1raITdKFwUGCmHjs=; b=qZpwnYxm778NP+U+vQ+4P16XwakHZ7IOTZvRjDc9G+ZwEVDQTncOrOgwPGYnyuW2yyqGyhyZprFbuVX9LrveheD7/PKv2MlK2MtvvhyB5SBpWyH1PsZLEjfH/4H7jh44+al9SJXt89v4Sv0GOVdUD9erwa6cioy4sb0yfJmtI7wgONN26qjmV7nOKxV/I7Jsigu4KD3zThi9ASSrJKZQRI3oDt7Fx34simDIQHMmpjFGMHqRCB6EdlyVZiWDNGPSysRGfRjir25u7SG1Fvicb1hxG8zz4XSi/Mgdn9+cLkxsRqz0AkDfubSVbQ6xhK03uL/2BpwJvCoh6d05VL8/PQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tGkuk-0006ol-0F; Thu, 28 Nov 2024 15:15: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: Thu, 28 Nov 2024 20:15:01 +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.173282484826089 (code B ref 74217); Thu, 28 Nov 2024 20:15:01 +0000 Received: (at 74217) by debbugs.gnu.org; 28 Nov 2024 20:14:08 +0000 Received: from localhost ([127.0.0.1]:39846 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tGktr-0006mi-LY for submit@debbugs.gnu.org; Thu, 28 Nov 2024 15:14:08 -0500 Received: from mail-pj1-f51.google.com ([209.85.216.51]:43169) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tGktp-0006mY-Ag for 74217@debbugs.gnu.org; Thu, 28 Nov 2024 15:14:06 -0500 Received: by mail-pj1-f51.google.com with SMTP id 98e67ed59e1d1-2ee50ffcf14so131021a91.0 for <74217@debbugs.gnu.org>; Thu, 28 Nov 2024 12:14:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jakstys.lt; s=google; t=1732824784; x=1733429584; 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=nMLdtWYUnW+SpZW4DPcYmDA068F1raITdKFwUGCmHjs=; b=APr1ATy38znrRr9/DLsNuVpctdBPAkYb3aCE8BOmEHtEWgOqOVPNwt/sZW958dRHu5 vl6MMCCQMQYJQMSVA7oWQFjVUrPUK7GzRe2+pqE9VmzdIb4hRWFHjkl8SfnBgF/IWl/k uOpKEL5A6/JMvZ51ZfOBATehAuhd1w03dxXTI2Vgof13gPccovJGwm16sjbD04gp9mOn iBss9OSsN5FK8A9vtBDhEwvzUhghnJwO9QAaA+ENIr4QtOU5lvwAxayfp4p+RSmouQqa TSuNLv73yHZ0k8FReoF0VnpxrPbmgH+ZjZ3WVTz9fLF0Dt2XSxYmNcgEYh3NpxQeXoxV gf4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732824784; x=1733429584; 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=nMLdtWYUnW+SpZW4DPcYmDA068F1raITdKFwUGCmHjs=; b=AacLHKxjKZurgYEPPbkgeuqCTWZoy+hYR7ODVLRyi1tmPlDRqggWYzOA/g2iAK0tVU A4u0b0FXUipZiWtrEmsnBX0rXykQYRMMK7aVtLBLqXaFE1UcmSd/T8OcQqkeob2xo+Md YmyQPM5DPNLeKjUrQYV6upGBCov3TL5K3De/pz0Je38cAsZUxghefgzBuUexUtZ8Il57 udrg8OGqOU7OHEXnG8Lp0xUVkyl+Cwtqztsroi7CHgD0G2X8e7w/AoAbB/tJfaaLU56z J4mYE7bZasMnH+upVnMyJinS62ids0SeL8cXrFlVHo3G0UEtsjxAMKrBLKcnS9QMwJdW W9uA== X-Gm-Message-State: AOJu0YzOLge7Y59JAI5gNTd1cu8N1QRueoDWQhwyvhGSCakEtf8j33O8 frsJuKBBBsTSPWZHGHyjZpW8jQiYLusZg6dbgxR02PV7BYFvu/6kPOk4r1RStlhoWGc7nz87E/j l+ihmk315Kb0SuVyUGFHu8C6sfdo9Ktya9BMm X-Gm-Gg: ASbGncuLFbb/TjXYjvEiPvnpKkOsGibLS5b0zN8ZC+ITw+wNhWzoGyCZkfd/njFKd8l iY7htK1MEN2M/Age7a2oUawPn+BTU3w8= X-Google-Smtp-Source: AGHT+IHGkNKimhV4fj9DMudkJXEWr/0/Vjfc+pMEh+ke0QO7Xi0WyjSN7M20cPfhS5gtUK6HigiNLUe9r2T69ccIVFs= X-Received: by 2002:a17:90b:3c4d:b0:2ea:4e67:5649 with SMTP id 98e67ed59e1d1-2ee25b061d2mr6865091a91.14.1732824784328; Thu, 28 Nov 2024 12:13:04 -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> In-Reply-To: <878qt3idw4.wl-hako@ultrarare.space> From: Motiejus =?UTF-8?Q?Jak=C5=A1tys?= Date: Thu, 28 Nov 2024 22:12:53 +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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx11.migadu.com X-Migadu-Spam-Score: 2.52 X-Spam-Score: 2.52 X-Migadu-Queue-Id: 2A8457CF19 X-TUID: uLAmco+kGoiv On Thu, Nov 28, 2024 at 5:20=E2=80=AFPM Hilton Chain = wrote: > > On Thu, 28 Nov 2024 20:41:10 +0800, > Motiejus Jak=C5=A1tys wrote: > > > > On Thu, Nov 28, 2024 at 1:08=E2=80=AFPM Hilton Chain wrote: > > > > > > <...> together with the concern on generated files. > > > > Hi Hilton, > > > > The only remaining, to my knowledge, binary file is `abilists`, which, > > once you have `zig` binary, can be generated this way: > > > > git clone https://github.com/ziglang/glibc-abi-tool; cd glibc-abi-tool > > git checkout fc5d0a7046b76795e4219f8f168e118ec29fbc53 > > /path/to/zig-0.13/bin/zig run consolidate.zig > > mv abilists /path/to/zig/lib/libc/glibc/abilist > > > > For 0.12.1: > > rm -fr glibc/2.39 > > sed -i '133d' consolidate.zig > > /path/to/zig-0.12.1/bin/zig run consolidate.zig > > mv abilists /path/to/zig/lib/libc/glibc/abilist > > > > I wasn't able to generate it for 0.11, but perhaps it's not as > > important, as I imagine there are very few people, if any, still > > developing on 0.11. Since one needs abilists *only* to cross-compile > > to non-guix glibc targets, it sounds like a vanishingly small use case > > for Guix to support. > > > > Motiejus > > Thanks! Then I'll keep abilists removed before we can reproduce one :) Seems reproducible, at least on my machine. Let's start at the last commit before 0.13.0 that updates abilists[1]: commit 53137050f8718c923983878904f5467446d28ba5 Author: Andrew Kelley Date: 2024-06-06T03:43:41+03:00 glibc: update abilists file generated from ziglang/glibc-abi-tool commit fc5d0a7046b76795e4219f8f168e118ec29fbc53 which now contains glibc 2.39 lib/libc/glibc/abilists | Bin 214842 -> 217016 bytes 1 file changed, 0 insertions(+), 0 deletions(-) sha256sum 0.13.0:lib/libc/glibc/abilists is the same as if I generate abilists myself on fc5d0a7046b76795e4219f8f168e118ec29fbc53 using zig 0.13.0. I get a62c6860a5db1f575b385fd45357f2c841abc84387b8047ca0ebf98a44d19= 47e. Great to see you progressing so quickly. Have fun with the remaining bits! Motiejus [1]: https://github.com/ziglang/zig/commit/53137050f8718c923983878904f54674= 46d28ba5