The versions of ocaml in portage does not compile with GCC4. To make at least ocaml-3.08.3 to compile we got two options: We could change the ebuild to use -O0 (currently the ebuild forces us to use -O2). OR We could use the same patch as Fedora Core seems to use. The link refers to the mail in camls mailinglist about both solutions. I will attach the fedora-patch and a modified ebuild to use it.
Created attachment 62041 [details, diff] The patch used by Fedora Core
Created attachment 62042 [details] ebuild to use the patch
Looks fine to me.
Status?
Fixed in CVS, thanks.