From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.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 sBJGH3NlSGdRIQAAqHPOHw:P1 (envelope-from ) for ; Thu, 28 Nov 2024 12:43: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 mp0.migadu.com with LMTPS id sBJGH3NlSGdRIQAAqHPOHw (envelope-from ) for ; Thu, 28 Nov 2024 13:43: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=sZWEtJrt; dkim=fail ("headers rsa verify failed") header.d=jakstys.lt header.s=google header.b=GjZcmf19; 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=1732797811; a=rsa-sha256; cv=none; b=eJU70b1U9VVy1WlUP1IAUGHTR814ig+CuIQOXi6/t7aq08uFKvZi/QpmyK7pCsEnIoFSP/ BL5Tb4l8NRxoMn43vsYuo/OB4h9UMDxyE9C7FP4DZQ06kfxSt3UgpJLvsTn1FiT/gPDp1L dd52UiClmXnEespy1vXmj8lo7BvPTuTCIY14JLgJ4DuPgM6s/5TxQKD3yFj7Nlxcv/Sy1Z GpzUuxy8+f1Mg+loZYQgtV55VPGd4DYJk1V2+oYErIPAZxEApHfhIhruX5oO/NOzS/ijqG IgE1P/WVxkKrvMQfIXTWRLOU7kTdA4iIr+1xv3yisQWs8wX3IDdHqThEI8PwMA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=sZWEtJrt; dkim=fail ("headers rsa verify failed") header.d=jakstys.lt header.s=google header.b=GjZcmf19; 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=1732797811; 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=ektnxdvFb/am9ZGCXwMmbWyVQEhDm/XrOT89t/7nDWo=; b=WQTgFkbGSTh4ndZ8QNA/jOHAghKEmhvJUZt4+vNEwdK2sKeB7OgeuqEEGWckgYhIXbISVz kK+XpDIXO8ZOblkIGzYYIodctP3V+WMLxJPsE5N/pIYgg1nTjKiQCFBjJjUNfNm/5eU5LC yGhH1Um3xyZY020TAI+6TfUmeomd8VE3sSjZV45Sfph7fVug02RNkQeMBTpZULuJe95BWQ Yb3ClB81Y11m9lOlIx1u0GOKFxU1IOrnEvNBOg7bz4iPWw23qmRZRX4SbIALG0lMEtlrcz A3Z4cd3p8mUdx6Gott+JhTwCrsfp48RMK+CgYAkzrKYpKzfEBlC9a0ygwHoaeg== 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 6E92F1EB50 for ; Thu, 28 Nov 2024 13:43:30 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tGdrP-0005FE-I4; Thu, 28 Nov 2024 07:43: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 1tGdrL-0005Eo-BA for bug-guix@gnu.org; Thu, 28 Nov 2024 07:43: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 1tGdrL-0000Oe-2c for bug-guix@gnu.org; Thu, 28 Nov 2024 07:43:03 -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=ektnxdvFb/am9ZGCXwMmbWyVQEhDm/XrOT89t/7nDWo=; b=sZWEtJrtysG3EcreOOokstsfEJC7reihChuDtSkq66vb1rRH+rlO9X1T/St+A+T497Puuf37bx8Hh4d1SXPUp2iL4V6lH0gXv8QK2AnsgYipzuv1b7PiDx3MO+KdnynXsJQj2C/xnvFwRhgwWzKA0jnABkj5yzeqqMWEpG/ldDmY48HqZqo+gAL0NIbfasLQnwWCbVjwDMyHOKWSD2n1JX8dDWBqW92sfH3q96tRXbhgPZQ+TvTkKylI5mOji54k8AHEcBTwUmS1tyhvaW8HTEu1Cgxfv6bEXbWs2pTSZKfwJAkPQKdI8Mc1bp+2Y2vYKTop4rCc1JNljEm8JLIn4A==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tGdrK-00083Y-AW; Thu, 28 Nov 2024 07:43: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 12:43: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.173279774930917 (code B ref 74217); Thu, 28 Nov 2024 12:43:02 +0000 Received: (at 74217) by debbugs.gnu.org; 28 Nov 2024 12:42:29 +0000 Received: from localhost ([127.0.0.1]:37749 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tGdqn-00082b-7t for submit@debbugs.gnu.org; Thu, 28 Nov 2024 07:42:29 -0500 Received: from mail-pj1-f43.google.com ([209.85.216.43]:52642) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tGdqk-00082I-SP for 74217@debbugs.gnu.org; Thu, 28 Nov 2024 07:42:27 -0500 Received: by mail-pj1-f43.google.com with SMTP id 98e67ed59e1d1-2ea8d322297so618311a91.1 for <74217@debbugs.gnu.org>; Thu, 28 Nov 2024 04:42:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jakstys.lt; s=google; t=1732797681; x=1733402481; 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=ektnxdvFb/am9ZGCXwMmbWyVQEhDm/XrOT89t/7nDWo=; b=GjZcmf19pxCUx/ENdredNrBm9gASIp9IlvtdSIUaVK7I47Byku65OFpt5wr6nV6ePW pN0PjqzloVuHfmfGVsQ5aqzNBr9DSHrdfCirpRNC0sAmmDXR7PgBrInE1kGUhe0GkX2W TNYu+VO4nU8KYytoedhkQlH2iz7qvoXz6wrDVmif4CgP944LKdbu9kfF04mAUCI9Bj1z gbj4WWM3tbqdWox7+BAfHSBjuZvH8t/O/yb00TNVoLmMNXDIk+NPL4rRBrut5oaYf0eV 41Jsotvz4PV17WiCV/XtEitO0JAQboyfwoyAVeFK0OToJ9plSPB6mh45H21X67soQDSP sjwQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732797681; x=1733402481; 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=ektnxdvFb/am9ZGCXwMmbWyVQEhDm/XrOT89t/7nDWo=; b=j50BqUDXat3hIPCvOZ+9v0vRcHu16RW0UAvnPjVXw+f8MivM6HXSPXxhpje6hkWat8 fJJwBYzirXktdc810sNFcl4CMhtB/Dip4BV13yheQ+N3hbPd5fecxpFC7Lp24tbCqMP2 R8WmlYp4WkUz60EMLKYoNglvaGWCgmqAxmgk0Y5WgvrtI5Eo5DC3J/cKcQX1WRPWEuxS 2YL5QTshY4zNn8hGH2/One/OSn/fjVZC7VYtn9XAz+1fbSRSwDIzKRtfK4EVWNumGRiS 4EEHRxC8cEGQEeefntFq9cw5i6Ohsb7npaDPm1BEXpBYoV4FfwOZF7uKo3mq84BVecDW Zyeg== X-Gm-Message-State: AOJu0YzGbwF2/FBETBMNOMzfrmFIjJJCLSFPHn7icUXXEbQXNJ7eeqjn IzKCIB+eMNrT7P6pwhtkbkziNxP+JhmBKv3FOiIogrShu0txAoJ8xH/KVeDPA0mqgdjQpmrX5cz mDAVBE7KCuvWxmdpodV0HUsI0HZEZRcCdAPKNEeycd3XEgV90Gu/B X-Gm-Gg: ASbGncsm/rQL1bcRaWUx1EaShkTx8yBYp6X0G4YhHWQekVj0T/Tp+zm15d13wrjlbKL 4Rs4SlHYla/qJPJZdfVRBcFqV2fCiQ8k= X-Google-Smtp-Source: AGHT+IEP2q2eRHG3i78csjyfaSm6kU6NZdj/2u8PvUVAx3M9XhHq9oBNPXThH766xZ1+OHCBAEE1gqLsG2Mfmpw56KM= X-Received: by 2002:a17:90b:4fcc:b0:2ea:61ac:a51b with SMTP id 98e67ed59e1d1-2ee097dce78mr7741190a91.34.1732797681085; Thu, 28 Nov 2024 04:41:21 -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> In-Reply-To: <87a5djipk6.wl-hako@ultrarare.space> From: Motiejus =?UTF-8?Q?Jak=C5=A1tys?= Date: Thu, 28 Nov 2024 14:41:10 +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.07 X-Spam-Score: -3.07 X-Migadu-Queue-Id: 6E92F1EB50 X-Migadu-Scanner: mx12.migadu.com X-TUID: 6tPi8sbcNlg2 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