Setting other USE flags will cause the build to fail in other locations, but the error message is basically the same. USE="-* ocamlopt" emerge -av1 =dev-lang/ocaml-3.11.1 <snip/> make[1]: Leaving directory `/gentoo/tmp/portage/dev-lang/ocaml-3.11.1/work/ocaml-3.11.1/otherlibs/systhreads' make[1]: Entering directory `/gentoo/tmp/portage/dev-lang/ocaml-3.11.1/work/ocaml-3.11.1/otherlibs/threads' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/gentoo/tmp/portage/dev-lang/ocaml-3.11.1/work/ocaml-3.11.1/otherlibs/threads' ./build/mixed-boot.sh ++ dirname ./build/mixed-boot.sh + cd ./build/.. + touch build/ocamlbuild_mixed_mode + mkdir -p _build + cp -rf boot _build/ + ./build/mkconfig.sh + ./build/mkmyocamlbuild_config.sh + ./build/boot.sh + TAGLINE='true: -use_stdlib' + ./boot/ocamlrun boot/myocamlbuild.boot -tag-line '' boot/stdlib.cma boot/std_exit.cmo + boot/ocamlrun boot/myocamlbuild.boot -tag-line '' -log _boot_log1 ocamlbuild/ocamlbuildlightlib.cma ocamlbuild/ocamlbuildlight.byte + rm -f _build/myocamlbuild + boot/ocamlrun boot/myocamlbuild.boot -just-plugin -install-lib-dir _build/ocamlbuild -byte-plugin boot/ocamlrun boot/ocamlc -I boot -nostdlib -I /gentoo/tmp/portage/dev-lang/ocaml-3.11.1/work/ocaml-3.11.1/_build/ocamlbuild /gentoo/tmp/portage/dev-lang/ocaml-3.11.1/work/ocaml-3.11.1/_build/ocamlbuild/ocamlbuildlightlib.cma myocamlbuild_config.mli myocamlbuild_config.ml myocamlbuild.ml /gentoo/tmp/portage/dev-lang/ocaml-3.11.1/work/ocaml-3.11.1/_build/ocamlbuild/ocamlbuildlight.cmo -o myocamlbuild + cp _build/myocamlbuild boot/myocamlbuild + ./boot/ocamlrun boot/myocamlbuild -tag-line '' -log _boot_log2 boot/camlheader ocamlc ./build/ocamlbuild-byte-only.sh + ./boot/ocamlrun boot/myocamlbuild byte_stdlib_mixed_mode ocamlc lex/ocamllex ocamlbuild/ocamlbuildlib.cma ocamlbuild/ocamlbuildlightlib.cma ocamlbuild/ocamlbuild.byte ocamlbuild/ocamlbuildlight.byte ../ocamlcomp.sh -g -I stdlib ocamlbuild/ocamlbuild_pack.cmo ocamlbuild/ocamlbuildlight.cmo -o ocamlbuild/ocamlbuildlight.byte Exit code 255 while executing this command: ../ocamlcomp.sh -g -I stdlib ocamlbuild/ocamlbuild_pack.cmo ocamlbuild/ocamlbuildlight.cmo -o ocamlbuild/ocamlbuildlight.byte make: *** [ocamlbuild.byte] Error 255 * * ERROR: dev-lang/ocaml-3.11.1 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2893: Called die * The specific snippet of code: * make opt.opt || die "make opt.opt failed!"; * The die message: * make opt.opt failed! * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/log/portage/dev-lang:ocaml-3.11.1:20090922-181604.log'. * The ebuild environment file is located at '/gentoo/tmp/portage/dev-lang/ocaml-3.11.1/temp/environment'. * >>> Failed to emerge dev-lang/ocaml-3.11.1, Log file:
Created attachment 204953 [details] build log Build log
Created attachment 204955 [details] emerge_info.txt =emerge --info
I've been able to reproduce it, it was caused by -mfpmath=sse in your cflags. I've filtered it, ocaml seems to expect the classical one. Thanks for the report.