Received: by 2002:a05:6a10:a852:0:0:0:0 with SMTP id d18csp36289pxy; Tue, 4 May 2021 17:59:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz8Bbxxk9WSyYqVBFRZ4dW2iMDzRcKSoq2TMH2DumuXCuJRnqiKuWKoViW/goxDQSFeRy0l X-Received: by 2002:a17:90a:c7d4:: with SMTP id gf20mr31207326pjb.106.1620176357832; Tue, 04 May 2021 17:59:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620176357; cv=none; d=google.com; s=arc-20160816; b=GsdT4lK5gLKaDPXnlUkzGd3lS4EJ2YBBwotCnMgRsu7ImT6a3Udjwi8r8zwchJcnDo 1oWxhezJ0/ZwG0wdn4xNwtyb58bcp+GVkQdQsaW9ciy2R1utuIbhIKQsZ7rCqJ/gsFqP 4oDHVYCfq2km6uZGORtNV3h5zOVb6rbp5Ap7LivnpiNw3AGWCAnV8lfLbeMaXEEaB6lA KK8alvlBoiCCI0KywxjZaGLfV+4mN1Y+rvO2jXgv5Sa/q/ctrWdq7eIEvM8+dm/If8qQ fPCVMW/c9ufcc1KU7bba1dEi4usjI7LvG2IzcmAueXWfbOV8iXJeuhr5qkeZgORK8yg3 QVLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=b1xh8fIdBVgFfZMnYDyB64NaS+N9ZkraLOVu0/xbn4o=; b=abI6LSoO/nNlQ64L5/RYEQ/4hITUQHFG+1mmw2Mp5gxH+K+yjlm5YOF6T21pMSB04N LdqIGnFN7KJ8TMufHz81Y9i3S7kTnDnu44Jm/VQAjRVO1t9gFvVfp3pBHzjIq1k9AtVb LCCpdn+0GaHO78C2IUzuINRUQX6caWGs+a29I9WVDo3N9JvCqDxfCRIOeGsXk4Y1wrJI 8THIEyFsJHU+oLmYdafcYzTtv4D6KuHZuFagEzbi6T26LDeFFhuvqjlA2/lKlGWWgQV/ Ja2EEsMuglKqUYJ7BsDXP40+JFhRIIk0wyPsbe4Uy281W5AOipIK84Qywp5WTc4g6s+/ jn+w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w186si23054670pfw.241.2021.05.04.17.59.04; Tue, 04 May 2021 17:59:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231539AbhEEA7S (ORCPT + 99 others); Tue, 4 May 2021 20:59:18 -0400 Received: from outgoing-auth-1.mit.edu ([18.9.28.11]:34733 "EHLO outgoing.mit.edu" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S231551AbhEEA7R (ORCPT ); Tue, 4 May 2021 20:59:17 -0400 Received: from cwcc.thunk.org (pool-72-74-133-215.bstnma.fios.verizon.net [72.74.133.215]) (authenticated bits=0) (User authenticated as tytso@ATHENA.MIT.EDU) by outgoing.mit.edu (8.14.7/8.12.4) with ESMTP id 1450wB8b017268 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 4 May 2021 20:58:12 -0400 Received: by cwcc.thunk.org (Postfix, from userid 15806) id D32EB15C3C43; Tue, 4 May 2021 20:58:11 -0400 (EDT) Date: Tue, 4 May 2021 20:58:11 -0400 From: "Theodore Ts'o" To: Miguel Ojeda Cc: Adrian Bunk , Linus Torvalds , Tom Stellard , Nick Desaulniers , Masahiro Yamada , Nathan Chancellor , Linux Kernel Mailing List , clang-built-linux , Fangrui Song , Serge Guelton , Sylvestre Ledru Subject: Re: Very slow clang kernel config .. Message-ID: References: <1c5e05fa-a246-9456-ff4e-287960acb18c@redhat.com> <20210502093123.GC12293@localhost> <20210502164542.GA4522@localhost> <20210502175510.GB4522@localhost> <20210502214803.GA7951@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, May 05, 2021 at 12:02:33AM +0200, Miguel Ojeda wrote: > On Sun, May 2, 2021 at 11:48 PM Adrian Bunk wrote: > > > > Library packages in ecosystems like Go or Rust are copies of the source > > code, and when an application package is built with these "libraries" > > (might even be using LTO) this is expected to be faster than using > > shared libraries. > > Rust libraries only need to include "copies" for generics; and only > enough information to use them. Keeping the raw source code would be > one way of doing that (like C++ header-only libraries), but it is not > required. > > However, it is true that Rust does not have a stable ABI, that the > vast majority of Rust open source applications get built from source > via Cargo and that Cargo does not share artifacts in its cache. What does this mean for enterprise distributions, like RHEL, which need to maintain a stable kernel ABI as part of their business model. I assume it means that they will need to lock down on a specific Rust compiler and Rust libraries? How painful will it be for them to get security updates (or have to do backports of security bug fixes) for 7-10 years? - Ted