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=-2.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, 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 9DEBAC433ED for ; Tue, 4 May 2021 21:32:57 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 76A5D61106 for ; Tue, 4 May 2021 21:32:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232884AbhEDVdv (ORCPT ); Tue, 4 May 2021 17:33:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40330 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232684AbhEDVdu (ORCPT ); Tue, 4 May 2021 17:33:50 -0400 Received: from mail-yb1-xb35.google.com (mail-yb1-xb35.google.com [IPv6:2607:f8b0:4864:20::b35]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7322CC061574 for ; Tue, 4 May 2021 14:32:55 -0700 (PDT) Received: by mail-yb1-xb35.google.com with SMTP id g38so14127000ybi.12 for ; Tue, 04 May 2021 14:32:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=eQ92J3zGhDndMNfx+X1VxssfAKQc44gkgZYOFajMJdE=; b=Cf24OFEDjG1xG7O2CHYyjbgmcJ8PlFIkTXu0cANmNBRnW9ZhHu3zzjZn62nbXL7beF S1PX7EgOz2MvQDovSgRxnRBFYhCTSmAWk8Y2ojzzFdktLkKgK0uJMveGrRoxG7T9hPcb HNVyZHnZIjBN7m3zqiM4xPbjxUcxGlqX4G6ZkDHBoLDjCmhqs5Ow9EW0abCxqvbQEY1V EuC2iZXRjL2TyWZQLVJ6AU0x2yGWhkHNs5qVY+wdbBQ5f4cnA66BVchdNZjl0OigNg6T DHxJDz0fWNq7ntZd4/17kSThIKAMkRiZS0cpXZYIT/ymJJIGKXAbIbJVspoQ6Em3uk0l QtUg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=eQ92J3zGhDndMNfx+X1VxssfAKQc44gkgZYOFajMJdE=; b=madSo1UGTjqJ7Me7DVF5nvMWrySWbHHn21IqG5iQHEu6CrnJSjoQCBptVUCkNPrQE7 83k5EK6uTuEfl4Ty3OqQ4hlbGXbZoHhukt27qWgfaK9+CkkLVl0oJqQhrp+l/w4FYQjC JVgwb8k1RT3aAb107pX0oREqebljLlDy5XkKHfTVf44RU+By78as7irFwPIwnOavSH6R mo0emZ34s+VSQj0e4cJTQ0gBmDmtJzuqtiX/EC1phvJA8PW097UtKSCPR24rjkDSS8lP okJ/VpiG3gHEFM9K1bQfrpH4ALabx9BCsRqC+D9DmXaWHUFndjYugkOfFjeUZ4JY/8nq 74fQ== X-Gm-Message-State: AOAM532InI+TIn8mEKuFdvO2uCJEWKU7nICsqT4XcNe4cXCK9b8MIC8x /O9QBjNc1uu5U8s+eBJ8bwFsP9wPvTF2+i1FYvEckAGxxKqjUz7j X-Google-Smtp-Source: ABdhPJz6/UFxS8ArkGHPjqj0qixbiVc+irOv5IaEcFciy2IO9EMns0H1joe8jGqP1H7BIdiSx3xhmm3QuE5k6nMiw3o= X-Received: by 2002:a25:9942:: with SMTP id n2mr38988639ybo.230.1620163974661; Tue, 04 May 2021 14:32:54 -0700 (PDT) MIME-Version: 1.0 References: <1c5e05fa-a246-9456-ff4e-287960acb18c@redhat.com> <20210502093123.GC12293@localhost> In-Reply-To: <20210502093123.GC12293@localhost> From: Miguel Ojeda Date: Tue, 4 May 2021 23:32:42 +0200 Message-ID: Subject: Re: Very slow clang kernel config .. To: Adrian Bunk Cc: Linus Torvalds , Tom Stellard , Nick Desaulniers , Masahiro Yamada , Nathan Chancellor , Linux Kernel Mailing List , clang-built-linux , Fangrui Song , Serge Guelton , Sylvestre Ledru Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, May 2, 2021 at 11:31 AM Adrian Bunk wrote: > > Some of the new language ecosystems like Go or Rust do not offer > shared libraries. This is a bit misleading. Rust offers shared libraries, including the option to offer a C ABI. The problem are generics which, like C++ templates, cannot be swapped at runtime. Distributions have had to deal with the STL, Boost, etc. all these years too. In fact, Rust improves things a bit: there are no headers that need to be parsed from scratch every time. > What happens if you use a program provided by your distribution that is > written in Rust and handles untrusted input in a way that it might be > vulnerable to exploits based on one of these CVEs? > > The program has a known vulnerability that will likely stay unfixed. Why? I fail to see what is the issue rebuilding (or relinking) all packages except distributions lacking enough compute resources. Cheers, Miguel