From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mathieu Othacehe Subject: Re: Clang c++ include path Date: Tue, 29 Oct 2019 16:37:17 +0100 Message-ID: <87zhhjbm2u.fsf@gmail.com> References: <87wocpz2zl.fsf@gmail.com> <871ruwlpkh.fsf@elephly.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:43664) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iPTYj-0001fi-7D for guix-devel@gnu.org; Tue, 29 Oct 2019 11:37:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iPTYh-0001Vc-5H for guix-devel@gnu.org; Tue, 29 Oct 2019 11:37:25 -0400 Received: from mail-wr1-x42f.google.com ([2a00:1450:4864:20::42f]:42577) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iPTYg-0001Tp-V9 for guix-devel@gnu.org; Tue, 29 Oct 2019 11:37:23 -0400 Received: by mail-wr1-x42f.google.com with SMTP id a15so1878398wrf.9 for ; Tue, 29 Oct 2019 08:37:22 -0700 (PDT) In-reply-to: <871ruwlpkh.fsf@elephly.net> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Ricardo Wurmus Cc: guix-devel@gnu.org Hello Ricardo, > Does this patch help? > > --8<---------------cut here---------------start------------->8--- > diff --git a/gnu/packages/llvm.scm b/gnu/packages/llvm.scm > index 9efb4a4841..3c59e8d26d 100644 > --- a/gnu/packages/llvm.scm > +++ b/gnu/packages/llvm.scm Thanks for your patch. It seems that it forces clang to use llvm libc++ library. Is this really what we want? Wouldn't we prefer to force clang to use GNU's libstdc++? For comparison sake, nix has a default clang that uses GNU's libstdc++ and as a "clang-cxx" that uses libcxx. I think it is important to fix this issue because all external tools (such as lsp servers) that rely on clang are currently broken in Guix. Thanks, Mathieu