Received: by 2002:a05:6a10:a852:0:0:0:0 with SMTP id d18csp2080578pxy; Sun, 2 May 2021 10:56:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzjXnXPv+X71FsnduaMj/1jo6RKYnaxS08178gHA2s6tMtUP6eUzwMlPxR9ZhtUmwd4coSa X-Received: by 2002:a17:902:a40e:b029:e9:7253:8198 with SMTP id p14-20020a170902a40eb02900e972538198mr16559326plq.82.1619978201769; Sun, 02 May 2021 10:56:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619978201; cv=none; d=google.com; s=arc-20160816; b=OvWkjDN5MnZx4u64zXeCkSdhsRsr6NTUimrn9K9QdnH9ydyrLReywfzRxX18VW3wZs IZl3yxISYr6vBIpFG+ed8rEi7PWNFH+4nzPNxe5aDjOPaPHSaQ39PmDdsIudw3MTTy1h VW3RnMidQ8HgcKVoz/ptp1fw8DdHIcw66wXwD+YL6xuT1Ze2fvZcgftGhH3sMJaflMPt +2chFL8cHW8Q4ixKjVxBwSyB9bYeCpkjRG92w4N5gmZcw9nCrELfD6v67gtF3HcB7oDV 18MiyYhqS6BDwXZ/6zgg2UkVaDg0ov9POO/CgRA8gQ4sLGNT3T8srnUIIp+96NsLNxQe XPCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=8Xr5XYAN6fhz5oHoCb2PWIAcm+oB0Bt0VSG1vrS3eLY=; b=Pb772qG7eYorAHkKzPupq0ep7dE+xdP0yR5AcgqlLikTNR0wbdhMVX9CEgkbvZ597m jMzM5QCetjFCViXlD154vegFF4svT0E+C1kOWl1t/y0PB8o+vUv8/fRvNmrmxugceQu8 q1+T6i+2tg79gW+O6E83ilxuH7KdnKX/H3rV/j5+6WaiLiziKVuW4rFvg531CXaUnz8b FsKFNGdL97oXH87B8OxQqrzNydF8NmHrB/d+5PAtU1F75A2HMPv9BBXTtD5XVv51mUX0 qc9obBzAmghCg3dubRz8dVM3N1/FvcTpPbgkR6a/YNkTMD7MRo+EfTDBBIJ2DIDDe6bl 7zHQ== 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=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.10.56.27; Sun, 02 May 2021 10:56:41 -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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232166AbhEBR4M (ORCPT + 99 others); Sun, 2 May 2021 13:56:12 -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