<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE message PUBLIC
  "-//MLarc//DTD MLarc output files//EN"
  "../../mlarc.dtd"[
  <!ATTLIST message
    listname CDATA #REQUIRED
    title CDATA #REQUIRED
  >
]>

  <?xml-stylesheet href="../../mlarc.xsl" type="text/xsl"?>


<message 
  url="2005/05/8bbe2feab9ab14bbc29257c42b6f987a"
  from="Bill Smith &lt;sesquized@s...&gt;"
  author="Bill Smith"
  date="2005-05-22T13:53:49"
  subject="gcc 4.0.0 and OCaml 3.08.3"
  prev="2005/05/4cf1bf6228392aa9ff3757ed24cc7182"
  next="2005/05/c5385095b48c488bf80d7ab7cbe6f014"
  next-in-thread="2005/05/6b8b6486de181a32ff80a0d9ff3f965c"
  prev-thread="2005/05/4cf1bf6228392aa9ff3757ed24cc7182"
  next-thread="2005/05/c5385095b48c488bf80d7ab7cbe6f014"
  root="../../"
  period="month"
  listname="caml-list"
  title="Archives of the Caml mailing list">

<thread subject="gcc 4.0.0 and OCaml 3.08.3">
<msg 
  url="2005/05/8bbe2feab9ab14bbc29257c42b6f987a"
  from="Bill Smith &lt;sesquized@s...&gt;"
  author="Bill Smith"
  date="2005-05-22T13:53:49"
  subject="gcc 4.0.0 and OCaml 3.08.3">
<msg 
  url="2005/05/6b8b6486de181a32ff80a0d9ff3f965c"
  from="Sven Luther &lt;sven.luther@w...&gt;"
  author="Sven Luther"
  date="2005-05-25T09:17:17"
  subject="Re: [Caml-list] gcc 4.0.0 and OCaml 3.08.3">
</msg>
</msg>
</thread>

<contents>
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.

Bill Smith

</contents>

</message>

