When you try to compile ocaml 3.06-r1 it returns error... make: *** [ocaml] Bus error + diefunc src_compile 36 2 + local funcname=src_compile lineno=36 exitcode=2 + shift 3 + echo + echo '!!! ERROR: dev-lang/ocaml-3.06-r1 failed.' !!! ERROR: dev-lang/ocaml-3.06-r1 failed. + echo '!!! Function src_compile, Line 36, Exitcode 2' !!! Function src_compile, Line 36, Exitcode 2 + echo '!!! (no error message)' !!! (no error message) + echo + exit 1 Reproducible: Always Steps to Reproduce: 1. emerge ocaml Actual Results: compiles for a bit then gives... make: *** [ocaml] Bus error + diefunc src_compile 36 2 + local funcname=src_compile lineno=36 exitcode=2 + shift 3 + echo + echo '!!! ERROR: dev-lang/ocaml-3.06-r1 failed.' !!! ERROR: dev-lang/ocaml-3.06-r1 failed. + echo '!!! Function src_compile, Line 36, Exitcode 2' !!! Function src_compile, Line 36, Exitcode 2 + echo '!!! (no error message)' !!! (no error message) + echo + exit 1 Expected Results: actually compile.... what's more to say? :D Well, actually, other programs running isn't the problem... I've had other people try and it didn't work either....
I've tested this with multiple CFLAG variations but no change. Unless anyone can come up with a reason for this happening, it'll probably have to be reported upstream to the ocaml team.
Of course, if one builds the debug-mode caml runtime, it doesn't bus error. That makes this very near impossible to troubleshoot.
According to ocaml bug #1682 (http://caml.inria.fr/bin/caml-bugs/fixed?id=1682;expression=linux%20sparc;user=guest) , this problem is due to the way some gccs handle doubles. The ocaml team has released a patch to the configure script to fix this. Will test.
Patch works. Added to ebuild. Marking this as fixed. If you still have problems related to this, feel free to re-open Thanks for the bug report.