[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

a problem with building ocaml on sparc with gcc 3.2 ...



Hello, ...

I encounter this problem when building ocaml with gcc 3.2 on sparc :

boot/ocamlrun boot/ocamlc -nostdlib -I boot  -linkall -o ocaml.tmp toplevel/toplevellib.cma toplevel/topstart.cmo
make[1]: *** [ocaml] Bus error
make[1]: Leaving directory `/home/luther/ocaml-3.06'
make: *** [build-stamp] Error 2


Well, you may say that this is an ocaml problem and has nothing to do
with gcc, but with gcc 2.95, it works fine, and the boot/ocamlrun and
boot/ocamlc executables are the first ones, built with gcc from c
sources.

I contacted upstream about it, but got no reply so far, and well, since
gcc 3.2 is now our official gcc, i think it is important that this is
solved.

I know nothing about sparcs, nor the gcc internals, but in order to
investigate this more deeply, could someone give me a hint of what is
causing this Bus error (well, not what is causing the problem in this
precise case, altough that would be fine too, but what is causing it in
general) so i know what i am looking for in the source code.

Notice, that ocamlc builds fine with gcc 3.2 on all the other arches, if
i am not wrong.

Thanks in advance for any help you may give me.

Friendly,

Sven Luther



Reply to: