Received: by 2002:a05:6a10:a852:0:0:0:0 with SMTP id d18csp2083087pxy; Sun, 2 May 2021 11:01:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz26r0cOoTeelXN+r55dtNrDCMvHmal66PhYq8LN2Pp6J/Frl2T4yT+piikMyWwYGV0Is9g X-Received: by 2002:a17:90a:9284:: with SMTP id n4mr8710117pjo.35.1619978500567; Sun, 02 May 2021 11:01:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619978500; cv=none; d=google.com; s=arc-20160816; b=A4zSbitTGrYZZik1q8shg5NF70vF8NcBH/yf+8qz0Qu6Q/ynrOT4gZiCpt1MmFbaAX 1YKKvoVUpM7QhAImZGlbwV8OfuNqHvEijTWYLa6FJD5EYmS/36wafyUS1ZTNT0CP6fpA v2HsyvjqyjFJmKuWJyalEA7VyPBASL0LaPXCJBekNjXCHHnB+QtzfNkQfwNhJ1YsS4D6 SUluB6okht6xcNje27BOPbewfmt6j45GTnbzE24JkfXfsSuJYKyAuDd4Li27ZbOyAcNA xCignQMlqKnOmIOMteqBlnolfYI/Du8WJxQOlMuj9YGlzknag6f1fg09YfcU9lY0p9eX yE1g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=0+2IqC1NfiFUmwmucN3Vw1P1FIIB9EUQ8fTZ/TGu//I=; b=sv2uWnsXcWTOLCPK4A/xL69d0V59jHC7GqBvPDIdQqVehrrUs78QD0BHDAhUWMVceC Ky7MaJ6MuqBwKIwh0QcMP/R8JZN/4RvrNQb1v41eZakAhmVkjgqLgipwYDYxYqAaY4nl sDVtBdkQbQhqAe4Cf1wvhF+SIq95Labs2ZDtMR4IDysSOG8wgc936sX3eY4Xoqdm+Qev 6ObDFtPHl4Q/fv1nYsuJ+82vCRJNjRBaO0EFwzo3HTScap4TNbGKgAHCSjX9/seOTClv VCZCe+NuksA7NFhHaNBK6YwqEOxkPX3D4RU9Uw8/o7JLTqzVK2o1+LmvQ6hhGv9mN5kX /PuQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=bvEm7xjc; 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 b12si9979382pfv.103.2021.05.02.11.01.28; Sun, 02 May 2021 11:01:40 -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; dkim=pass header.i=@linux-foundation.org header.s=google header.b=bvEm7xjc; 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 S231818AbhEBSAV (ORCPT + 99 others); Sun, 2 May 2021 14:00:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35662 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230110AbhEBSAU (ORCPT ); Sun, 2 May 2021 14:00:20 -0400 Received: from mail-lj1-x22d.google.com (mail-lj1-x22d.google.com [IPv6:2a00:1450:4864:20::22d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B4FE4C06174A for ; Sun, 2 May 2021 10:59:28 -0700 (PDT) Received: by mail-lj1-x22d.google.com with SMTP id s9so4195499ljj.6 for ; Sun, 02 May 2021 10:59:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=0+2IqC1NfiFUmwmucN3Vw1P1FIIB9EUQ8fTZ/TGu//I=; b=bvEm7xjcECXTv0folw3a3V4PhIfgy6mgkIjsICl0XT1sUZP48ohOLCXcO+TTnq1tD0 K58HZZ9EvvOkvX5VPiJMDdDVgl36ZTG+Y+UHuMDQjmtKiThKs8eiYOWVRCdfz1HEYQRq SPovD1KL2DHgGu0HEWgm/TcSHRgXY7+kHIWM8= 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=0+2IqC1NfiFUmwmucN3Vw1P1FIIB9EUQ8fTZ/TGu//I=; b=YeMQDp4/tMeIlwulhLwd4VAhIZgTVCz9jHJxAZ+iAyVtGRfWT8ro1BlOIJzreBvM09 8P2tXvHPaf6WA38bEyy0T4tnxa3hgY4TN5ywNy38efPXJ7SIN0Pd4Ffit07hpS17Nwov S7hyhosHvc0dnaRefiWz1mZag76R3dzLYqv3ELUZoDNN932ofTaurgTyWTL/rvHbKEPj UWkQVz1e/1ZVCKZTa/aSbDfLiRFfA6N3xp/MieDC1b95oOW1nuHFgoJ8gilQoiNISUn/ 4NA9KuwpEjZ2xuA+mKI5BI55sFLVXdqUEP1LmrerNiK7UfzLtcbugiUpG4Ec8W/4mSTV 5zUQ== X-Gm-Message-State: AOAM532LEGgvG2zrqhHuqiri2AotoRJVSVHE+qkAiv1Z0fxDW8c8k2rU PUa9K2/ZXpkjwyU2OZraWAb2O/X5ZBjmOkb0 X-Received: by 2002:a2e:6e03:: with SMTP id j3mr10623023ljc.218.1619978366959; Sun, 02 May 2021 10:59:26 -0700 (PDT) Received: from mail-lf1-f48.google.com (mail-lf1-f48.google.com. [209.85.167.48]) by smtp.gmail.com with ESMTPSA id i14sm897948lfe.195.2021.05.02.10.59.26 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 02 May 2021 10:59:26 -0700 (PDT) Received: by mail-lf1-f48.google.com with SMTP id j4so4823733lfp.0 for ; Sun, 02 May 2021 10:59:26 -0700 (PDT) X-Received: by 2002:a05:6512:3763:: with SMTP id z3mr10113824lft.487.1619978365953; Sun, 02 May 2021 10:59:25 -0700 (PDT) MIME-Version: 1.0 References: <1c5e05fa-a246-9456-ff4e-287960acb18c@redhat.com> <20210502093123.GC12293@localhost> <20210502164542.GA4522@localhost> <20210502175510.GB4522@localhost> In-Reply-To: <20210502175510.GB4522@localhost> From: Linus Torvalds Date: Sun, 2 May 2021 10:59:10 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Very slow clang kernel config .. To: Adrian Bunk Cc: 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 10:55 AM Adrian Bunk wrote: > > Are you happy about libclang.so being a shared library? Honestly, considering how I don't have any other package that I care about than clang itself, and how this seems to be a *huge* performance problem, then no. But you are still entirely avoiding the real issue: the Fedora rule that everything should be a shared library is simply bogus. Even if the llvm/clang maintainers decide that that is what they want, I know for a fact that that rule is completely the wrong thing in other situations where people did *not* want that. Can you please stop dancing around that issue, and just admit that the whole "you should always use shared libraries" is simply WRONG. Shared libraries really can have huge downsides, and the blind "shared libraries are good" standpoint is just wrong. Linus