From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: Re: Clang c++ include path Date: Sun, 03 Nov 2019 15:30:45 +0100 Message-ID: <878sox58x6.fsf@gnu.org> References: <87wocpz2zl.fsf@gmail.com> <871ruwlpkh.fsf@elephly.net> <87a79kfrpp.fsf@netris.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:36681) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iRGtz-0008TZ-Sn for guix-devel@gnu.org; Sun, 03 Nov 2019 09:30:48 -0500 In-Reply-To: <87a79kfrpp.fsf@netris.org> (Mark H. Weaver's message of "Mon, 28 Oct 2019 18:08:23 -0400") 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: Mark H Weaver Cc: guix-devel@gnu.org Hi, Mark H Weaver skribis: > 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. How hard would it be to define =E2=80=98clang/fixed=E2=80=99 and =E2=80=98l= lvm/fixed=E2=80=99, which would be variants that are known to be rarely updated? We would ensure Rust depends on these while still making it possible for other packages to depend on the latest versions. Thanks, Ludo=E2=80=99.