From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: avr-gcc Date: Thu, 14 Apr 2016 18:47:11 +0200 Message-ID: <87twj4m92o.fsf@gnu.org> References: <87wptgmyv1.fsf@elephly.net> <87twoks459.fsf@gnu.org> <87a8qbr2mb.fsf@gnu.org> <87ziy8g3bp.fsf@gnu.org> <87a8kxfdgc.fsf@gnu.org> <87h9f4spw3.fsf@drakenvlieg.flower> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57798) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aqkQV-0001ls-DD for guix-devel@gnu.org; Thu, 14 Apr 2016 12:47:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aqkQS-0004dn-0B for guix-devel@gnu.org; Thu, 14 Apr 2016 12:47:31 -0400 In-Reply-To: <87h9f4spw3.fsf@drakenvlieg.flower> (Jan Nieuwenhuizen's message of "Thu, 14 Apr 2016 07:47:24 +0200") 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: Jan Nieuwenhuizen Cc: "guix-devel@gnu.org" Jan Nieuwenhuizen skribis: > From 5a6b6ba5a440d43af3e8c5cbd1d24f3be5a99804 Mon Sep 17 00:00:00 2001 > From: Jan Nieuwenhuizen > Date: Sun, 27 Mar 2016 16:00:36 +0200 > Subject: [PATCH 1/9] gnu: gcc: use CPATH, fixes cross builds. > > * gnu/packages/gcc (gcc): Use CPATH instead of C_INCLUDE_PATH. Fixes usa= ge of > native glibc headers when cross-compiling. This would be reverting the fix for as the comment above explains. I suppose the problem is that CPATH is still used elsewhere, leading to interference with this one. However, the cross-compilers for mips64el-linux-gnu and armhf-linux-gnueabi work fine, AFAIK. Thoughts? Ludo=E2=80=99.