From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 74A4CC433ED for ; Wed, 5 May 2021 00:58:25 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 35C5C613CB for ; Wed, 5 May 2021 00:58:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231621AbhEEA7T (ORCPT ); Tue, 4 May 2021 20:59:19 -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