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=-5.5 required=3.0 tests=BAYES_00,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 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 54171C433ED for ; Sun, 2 May 2021 17:55:29 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 1A2566134F for ; Sun, 2 May 2021 17:55:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232358AbhEBR4N (ORCPT ); Sun, 2 May 2021 13:56:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34752 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230110AbhEBR4M (ORCPT ); Sun, 2 May 2021 13:56:12 -0400 Received: from mail.stusta.mhn.de (mail.stusta.mhn.de [IPv6:2001:4ca0:200:3:200:5efe:8d54:4505]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3B8C4C06174A for ; Sun, 2 May 2021 10:55:20 -0700 (PDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) by mail.stusta.mhn.de (Postfix) with ESMTPSA id 4FYDKD16tGz4c; Sun, 2 May 2021 19:55:11 +0200 (CEST) Date: Sun, 2 May 2021 20:55:10 +0300 From: Adrian Bunk To: Linus Torvalds Cc: 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: <20210502175510.GB4522@localhost> References: <1c5e05fa-a246-9456-ff4e-287960acb18c@redhat.com> <20210502093123.GC12293@localhost> <20210502164542.GA4522@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, May 02, 2021 at 09:49:44AM -0700, Linus Torvalds wrote: > On Sun, May 2, 2021 at 9:45 AM Adrian Bunk wrote: > > > > Mesa and PostgreSQL are among the packages that do use libLLVM.so, > > this is a popular library for implementing compilers and JITs. > > Yes, and it's entirely reasonable to update those packages if it turns > out libLLVM has a bug in it. > > Because we're talking about a small handful of packages, not some kind > of "everything" model. > > So again, what's your point? Two dozen other packages are linking directly with libLLVM.so. Are you happy about libclang.so being a shared library? libclang.so uses libLLVM.so, which adds another 10 indirect users. Debian ships 30k source packages that build 60k binary packages, with 3 years of security support (plus 2 years LTS). It makes things a lot easier from a distribution point of view if a bug in libLLVM can be fixed just there, instead of having to additionally find and rebuild the 30 or more source packages building binary packages that use libLLVM in a security update for a stable release of a distribution. > Linus cu Adrian