From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: from minnie.tuhs.org (minnie.tuhs.org [50.116.15.146]) by inbox.vuxu.org (Postfix) with ESMTP id 4157A212AF for ; Fri, 21 Jun 2024 02:35:53 +0200 (CEST) Received: from minnie.tuhs.org (localhost [IPv6:::1]) by minnie.tuhs.org (Postfix) with ESMTP id A821143C8E; Fri, 21 Jun 2024 10:35:44 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tuhs.org; s=dkim; t=1718930144; h=from:from:reply-to: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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-owner:list-unsubscribe:list-subscribe:list-post; bh=5sNGVfO33jiwuClfO/qeXbGeKa7UUwIQD7YZ7HtEAS4=; b=p2QV3ADu2pT4EwcMKX54NsHEpjpPoJjhRVLeyDDHgWBuOCkKy8fvIwl/5835QxxxPEhgX5 1d51jpaZN35jUzarbSpkeTEhdvVbn2oCOdAWOyVaOgcU+rPTf/O9qTJRbVtruNaD5jDsQZ RiwHnlkPwva6UbGsTpfwiMUFYfoaaa0= Received: from mail-pl1-x62f.google.com (mail-pl1-x62f.google.com [IPv6:2607:f8b0:4864:20::62f]) by minnie.tuhs.org (Postfix) with ESMTPS id A430C43C8C for ; Fri, 21 Jun 2024 10:35:41 +1000 (AEST) Received: by mail-pl1-x62f.google.com with SMTP id d9443c01a7336-1f6da06ba24so11111285ad.2 for ; Thu, 20 Jun 2024 17:35:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iitbombay-org.20230601.gappssmtp.com; s=20230601; t=1718930141; x=1719534941; darn=tuhs.org; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=5sNGVfO33jiwuClfO/qeXbGeKa7UUwIQD7YZ7HtEAS4=; b=HpGKdP6fuMUJKWbKAs9xek+tsyt8R1E5W3RR7IsslycNjKWcTGWbMtrXvObPd7ulUr gcbxItzPese2daI0Hn7/YljmZRv0wVHjKdalUuz7R/se0K2BQnLRwubHVBDwO1YRvFt2 jJBBozxwhpPkw1nvP7DqNsBhIbnayeh8rGk93h8gn4KphH2HOLTdHdk343xLEVCB5U0z 0xWIMdYOIaquUZQKrEMvPbMgCKVfz6pNCzWUq19dDALIB73BConLPhRUzHmU0vDSyker CZWstg7WkWCGjcOFD5Nf2lnyP76ixVxXgLZRjxikym+pMD0it/Re7IiiDBWQTfnoCG4t LCTw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718930141; x=1719534941; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=5sNGVfO33jiwuClfO/qeXbGeKa7UUwIQD7YZ7HtEAS4=; b=Ee2Mf/ZJVtGSuoPwT1JScOtU1GkaT1dhE2qwzMMsK4bkbepI2MIcwHlWPEyCrXaYcn PYKpFPDUbQQWXKQruKud6zR/RMutuyShX9rhItxhCbpwpnTZEYalfs1tOThGWloDQDyB zwwjabRKpedT6Pg2o86GIXvFNuMquHpeHTd8X65Pq/5JZozS7J1uJLMgGG7o8QY9tfwB hUDI/fz0T49oBdaf0+4LbZew6uXwK+21Z5hlnPSBqAWKifHJlZ3T0baoORoSP8Ex+yXd ZFYXV40DBENfYxR500qtwyb6V7+ynWErzTPblIHE9IVPuH+1pf3PBeUH2Z/HemhO+37G eTLg== X-Gm-Message-State: AOJu0YyyXO81dDk7TIpFaOI8PjpIIh/AkRXHhLGnF2dkRtQ9QYwVj65f mEYnuvhKjomc3Q1s1VtN88KlLwJ9Q6EzAwdqciqD8WeCmQPq954weVwEM/HyEHnh/yp9KV/19OE = X-Google-Smtp-Source: AGHT+IHKKphy9FXWb+zMMfYmAaRvdetLRx9igJbR4mLaqmlfJi5fU5d+JdruEm8JeY/jOxAnz42D0Q== X-Received: by 2002:a17:903:120f:b0:1f6:ed89:6bca with SMTP id d9443c01a7336-1f9aa40f7e6mr79082455ad.39.1718930140592; Thu, 20 Jun 2024 17:35:40 -0700 (PDT) Received: from smtpclient.apple (107-215-223-229.lightspeed.sntcca.sbcglobal.net. [107.215.223.229]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-1f9ebbc999bsm2099795ad.302.2024.06.20.17.35.39 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 20 Jun 2024 17:35:40 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.600.62\)) In-Reply-To: <877cej5gsp.fsf@gmail.com> Date: Thu, 20 Jun 2024 17:35:28 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: References: <87jzikt900.fsf@gmail.com> <877cej5gsp.fsf@gmail.com> To: Alexis X-Mailer: Apple Mail (2.3774.600.62) Message-ID-Hash: MHJWZN3TJEV4FA57RTIXYA5KDQR7SHCI X-Message-ID-Hash: MHJWZN3TJEV4FA57RTIXYA5KDQR7SHCI X-MailFrom: bakul@iitbombay.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: The Unix Heritage Society mailing list X-Mailman-Version: 3.3.6b1 Precedence: list Subject: [TUHS] Re: Building programs (Re: Version 256 of systemd boasts '42% less Unix philosophy' The Register List-Id: The Unix Heritage Society mailing list Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: Bakul Shah via TUHS Reply-To: Bakul Shah X-Spam: Yes > On Jun 20, 2024, at 4:35=E2=80=AFPM, Alexis = wrote: >=20 > If i compile something on one of my OpenBSD boxen in the morning, and = then compile some other thing in the afternoon, without an OS upgrade = in-between, autoconf isn't going to find that libc.so has changed = in-between. If i did the same thing on my Gentoo box, it's theoretically = possible that e.g. i've moved from glibc to musl in-between, but in that = case, precomputation could be done in postinst (i.e. as part of the = post-installation-of-musl process). But the overlap between two different programs or their assumptions will = be only partial (except for some very basic things) which likely means the = cache won't quite work. For example, you may find that program A and B depend = on different versions of some library C. And how does the configure or = whatever tool find out that no dependency has changed? I don't think you can = factor out a cache of such data to a global place that will work for every = ported program.=