From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Porting to mips64el Date: Wed, 20 Feb 2013 12:40:45 +0100 Message-ID: <87ppzvp60y.fsf@gnu.org> References: <8738yvnslh.fsf@karetnikov.org> <87ehgcz1lb.fsf@gnu.org> <201302191920.21591.andreas@enge.fr> <201302201030.24076.andreas@enge.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:33333) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U882i-00063B-NN for bug-guix@gnu.org; Wed, 20 Feb 2013 06:41:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U882h-0003qZ-Jl for bug-guix@gnu.org; Wed, 20 Feb 2013 06:40:56 -0500 Received: from [2a01:e0b:1:123:ca0a:a9ff:fe03:271e] (port=37704 helo=xanadu.aquilenet.fr) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U882h-0003oR-DY for bug-guix@gnu.org; Wed, 20 Feb 2013 06:40:55 -0500 In-Reply-To: <201302201030.24076.andreas@enge.fr> (Andreas Enge's message of "Wed, 20 Feb 2013 10:30:24 +0100") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: Andreas Enge Cc: bug-guix@gnu.org Andreas Enge skribis: > Am Dienstag, 19. Februar 2013 schrieb Andreas Enge: >> I think it might be enough to add the following configure flags: >> --with-arch=3Dmips64 -with-abi=3D64 > > Unfortunately, it failed after some compilation time with [...] > checking how to run the C preprocessor... /lib/cpp > configure: error: in `/tmp/nix-build-gcc-cross- > boot0-4.7.2.drv-0/build/mips64el-guix-linux-gnu/libgcc': > configure: error: C preprocessor "/lib/cpp" fails sanity check > See `config.log' for more details. Can you try to get the config.log file? It tries /lib/cpp as a last resort because =E2=80=9Cxgcc -E=E2=80=9D didn=E2=80=99t work, so we need to= find out why it didn=E2=80=99t work. How exactly did you modify gcc-boot0? > Strangely, a new run of "guix-build hello" starts by building linux-libre- > headers instead of gcc-cross-boot0. Since linux-libre-headers doesn=E2=80=99t depend on gcc-cross-boot0, that= =E2=80=99s a valid choice. Ludo=E2=80=99.