From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id YJ1RBiI5NWfw+wAA62LTzQ:P1 (envelope-from ) for ; Wed, 13 Nov 2024 23:41:22 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id YJ1RBiI5NWfw+wAA62LTzQ (envelope-from ) for ; Thu, 14 Nov 2024 00:41:22 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=QbCSpbpd; dkim=fail ("headers rsa verify failed") header.d=ultrarare.space header.s=dkim header.b=L5oO+Uq2; dmarc=pass (policy=none) header.from=gnu.org; 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=1731541282; a=rsa-sha256; cv=none; b=spfzJ7p6vj7jmDQocM7mlG6RCtakwhgrhJCdIA04yz63+n/jSKpN/1NfYqpzOOpz6Hc6kF QL7zHfMW4Pjw7VnbnajzoU9/FOXY9JAsxyb4rJCVX3RpAl+wt/ATkS/O9vMp2dgn8Vmk6x NtSBaH6oJv1A56sbrBl3iyHdCSsfbQLDEi4o3tFexwdAkVQhsYRYQChUekBnpJ//wkl5mp fqKbk8v9XIfQ0JvLcZp6VoWVCGEBhn7e856/c/+xmGWAhrWSKML5iY3JnTBjZ18VpuxuJ8 K8zPEEQQsiW2LDm+nAwuH3319BsRVii4Z4k8vGaLe/7CASYgUd2k2D1NDQXOZQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=QbCSpbpd; dkim=fail ("headers rsa verify failed") header.d=ultrarare.space header.s=dkim header.b=L5oO+Uq2; dmarc=pass (policy=none) header.from=gnu.org; 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=1731541282; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=VHfRyq8iWWangiZGyDPX8d584KjRe/XpDge4LSUPMus=; b=qepQBjsSFXYk2pTvDMBCCtPxUKJIPU2isNh+xNDNAQCANOCCfNfg6arBrGp3HoUkxyo8XA bsTxAKMs+AWSyphZA4TAdGxQ0R5x4bq6s7BiAT/o1KOf56BEjKKNAXROoMaEnv5lOgKpFm stuSlKt5sOMmeQJuT632Ry2DDqVBWWrBQtkMLbWAIcok872S2tCfe+BZBvKy1Isv/5Zi4u tFCJStEZY0gYKiaqKSCIcNkhfhjR5wdN6WYtH0+A140WKtwqj9XMjx9ZpHewnhTrkQ+LDc HsEeELDhHsN3yS3ICiXRGJuawqM7XipRw6InHp52dpJiBJoH+leG+l6e7i063g== 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 ADEA81EF38 for ; Thu, 14 Nov 2024 00:41:21 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tBMyv-00053a-8J; Wed, 13 Nov 2024 18:41: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 1tBMyt-000533-Q9 for bug-guix@gnu.org; Wed, 13 Nov 2024 18:41: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 1tBMyt-0000nI-IB for bug-guix@gnu.org; Wed, 13 Nov 2024 18:41:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:From:Date:To:Subject; bh=VHfRyq8iWWangiZGyDPX8d584KjRe/XpDge4LSUPMus=; b=QbCSpbpd2O/+mnRHtIA6QLUVBJ4t3KXgxVvrK9x157tNseC4Nihn5ohTNt4Dkly3Ct18nVhuTrVlLY7XL/uezexW3UwMgtUhB+F6VCkDI6YjCGZH2LbKIciqgitT+Uh2kbt6v3qtwwSDygt+N55E0VMYpx0xI6Kfu+ubfdXXrSwyCRJVkk9Ak4VoKObBN6F2HmdXSj1AUFSq4JZzteDDTWbCyqk1PAgn6KbAEFDBpJ61BHlvRVZ9243fPyFXUXeXElEUZHiD1dS0F2cS2zYo9mcWZI62yO14LlCaoMNf5ysYPTqZTKP2sbDboQkMhv/USDVxAQHE7ZM9Y3gHQ/+cag==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tBMys-0001Zn-CL; Wed, 13 Nov 2024 18:41:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#74217: Bootstrapping Zig with no Binary Blobs Resent-From: Hilton Chain Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org, Ekaitz Zarraga Resent-Date: Wed, 13 Nov 2024 23:41: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: Efraim Flashner , Hilton Chain , 74217@debbugs.gnu.org, dan , Ekaitz Zarraga , Motiejus =?UTF-8?Q?Jak=C5=A1tys?= , =?UTF-8?Q?No=C3=A9?= Lopez Received: via spool by 74217-submit@debbugs.gnu.org id=B74217.17315412306014 (code B ref 74217); Wed, 13 Nov 2024 23:41:02 +0000 Received: (at 74217) by debbugs.gnu.org; 13 Nov 2024 23:40:30 +0000 Received: from localhost ([127.0.0.1]:44111 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tBMyM-0001Yv-Cj for submit@debbugs.gnu.org; Wed, 13 Nov 2024 18:40:30 -0500 Received: from mail.boiledscript.com ([144.168.59.46]:45824) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tBMyK-0001Yd-Fh for 74217@debbugs.gnu.org; Wed, 13 Nov 2024 18:40:29 -0500 Date: Thu, 14 Nov 2024 07:40:05 +0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space; s=dkim; t=1731541219; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=VHfRyq8iWWangiZGyDPX8d584KjRe/XpDge4LSUPMus=; b=L5oO+Uq2u1wQR814KQ99lAjUH9jsxuDRBgp7q8Vn44sn0ZenDoYPeYIQalRmSLU+YtnH4I Vdy6itgIlwFmZMBLvqZNU6G+DDjVW71jPHWls8SfMAI+z3vSSSju5phLjHujJOjOSHA0Nj /f+D+S4HJiGFFnaQvBeGuOCqUvOeJWIW/6MVh1Qt49MT/UqFbTrJgxOxa2EnyT8zsR5lQ7 RcOcGSub2LikEwiaXBbz0IWdyWLOvIYb2woqFoeAjPWXuSZOW6Xqkn7xs7FKNhqMZz5Bjj ut6PWATVhbL3xMh7n/EMyBw8A8CtZNNYoMZpoBwv4jWvRPBAwB1/yjgnoFDNsA== Message-ID: <878qtmvh2i.wl-hako@ultrarare.space> In-Reply-To: References: <87ldxngjy4.wl-hako@ultrarare.space> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Spamd-Bar: -- 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: , Reply-to: Hilton Chain From: Hilton Chain via Bug reports for GNU Guix 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-Spam-Score: -3.33 X-Spam-Score: -3.33 X-Migadu-Queue-Id: ADEA81EF38 X-Migadu-Scanner: mx10.migadu.com X-TUID: hDDob+dVDU4S On Thu, 14 Nov 2024 02:10:44 +0800, Efraim Flashner wrote: > > > I think this is due to Zig's implemention of its own linking logic, which > > bypasses our ld-wrapper. > > I wonder if switching from lld to make-lld-wrapper would make a > difference here. Thanks for mentioning! This should do the work! I thought Zig was using lld as a library for linking. Just looked at src/link/Elf.zig, this is not true, it invokes ld.lld. I have more time today. I'll test this out and see if lld-as-ld-wrapper can also add glibc RUNPATH.