From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark H Weaver Subject: Re: Clang c++ include path Date: Mon, 28 Oct 2019 18:08:23 -0400 Message-ID: <87a79kfrpp.fsf@netris.org> 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]:49492) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iPDCf-0003Fl-Ng for guix-devel@gnu.org; Mon, 28 Oct 2019 18:09:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iPDCe-0003Ct-Of for guix-devel@gnu.org; Mon, 28 Oct 2019 18:09:33 -0400 Received: from world.peace.net ([64.112.178.59]:41970) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iPDCe-0003C9-LD for guix-devel@gnu.org; Mon, 28 Oct 2019 18:09:32 -0400 In-Reply-To: <871ruwlpkh.fsf@elephly.net> (Ricardo Wurmus's message of "Mon, 28 Oct 2019 18:58:38 +0100") 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 Hi Ricardo and Mathieu, Ricardo Wurmus writes: >> When running clang on a c++ program, it cannot find c++ std libraries. >> That's because, those libraries path are hardcoded inside g++ compiler >> and clang cannot find them. > > Does this patch help? I'd like to request that fixes to LLVM/Clang be done on another branch for now, or at least that the fixed versions are given a different variable name. The reason is that IceCat depends on Rust which depends on Clang, and there is a chain of *18* Rust compilers that must be built before IceCat can be built. On my system, compiling all of those Rust compilers requires approximately *90 hours* of continuous compiling. For the sake of Guix users like myself who do not want to trust the build farm, it would be good for it to remain reasonably viable to build everything locally. What do you think? Mark