From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Delivered-To: caml-list@yquem.inria.fr Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by yquem.inria.fr (Postfix) with ESMTP id 5C111BCAB for ; Wed, 25 May 2005 11:17:17 +0200 (CEST) Received: from smtp14.wanadoo.fr (smtp14.wanadoo.fr [193.252.23.69]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id j4P9HHRg018025 for ; Wed, 25 May 2005 11:17:17 +0200 Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf1409.wanadoo.fr (SMTP Server) with ESMTP id F396070000A1 for ; Wed, 25 May 2005 11:17:16 +0200 (CEST) Received: from pegasos (AStrasbourg-251-1-59-4.w82-126.abo.wanadoo.fr [82.126.135.4]) by mwinf1409.wanadoo.fr (SMTP Server) with ESMTP id CFF8470000B3; Wed, 25 May 2005 11:17:14 +0200 (CEST) X-ME-UUID: 20050525091714851.CFF8470000B3@mwinf1409.wanadoo.fr Received: from luther by pegasos with local (Exim 4.50) id 1Darvn-0004vj-CJ; Wed, 25 May 2005 11:12:03 +0200 Date: Wed, 25 May 2005 11:11:59 +0200 To: Bill Smith Cc: caml-list@yquem.inria.fr Subject: Re: [Caml-list] gcc 4.0.0 and OCaml 3.08.3 Message-ID: <20050525091159.GB18133@pegasos> References: <6.2.1.2.0.20050522085211.01de9150@pop.sbcglobal.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <6.2.1.2.0.20050522085211.01de9150@pop.sbcglobal.yahoo.com> User-Agent: Mutt/1.5.6+20040907i From: Sven Luther X-Miltered: at nez-perce with ID 4294429D.002 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; caml-list:01 gcc:01 ocaml:01 sven:01 luther:01 sven:01 luther:01 ocaml:01 gcc:01 byterun:01 -fpic:01 mult:01 reloading:01 bug:01 powerpc:01 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on yquem.inria.fr X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.0.2 X-Spam-Level: On Sun, May 22, 2005 at 08:53:33AM -0500, Bill Smith wrote: > I've been having trouble with the "make world" phase of compiling OCaml > 3.08.3 with gcc 4.0.0. > > I'm using Linux 2.4.26 on an AMD Athlon XP. > > There error I get is: > > /gcc-4.0.0/bin/gcc -O2 -O -I../../byterun -D_FILE_OFFSET_BITS=64 > -D_REENTRANT -fPIC -DBNG_ARCH_ia32 -DBNG_ASM_LEVEL=2 -c -o bng.o bng.c > In file included from bng.c:21: > bng_ia32.c: In function 'bng_ia32_mult_add_digit': > bng_ia32.c:111: error: can't find a register in class 'GENERAL_REGS' while > reloading 'asm' > make[1]: *** [bng.o] Error 1 > > To deal with the problem I've just fallen back to gcc 3.4.3 which compiles > ocaml 3.08.3 successfully. We (debian/ubuntu ocaml maintainers), filled a bug report in the debian BTS about this exact same problem a week or two ago, didn't check for any reply there thoguh. Notice that this only affects ia32, but not powerpc, amd64 or ia64, so maybe it is best to just ditch those legacy hardware :) Friendly, Sven Luther