Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 97186 - dev-lang/ocaml-3.08.3 and GCC4 (patch)
Summary: dev-lang/ocaml-3.08.3 and GCC4 (patch)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Other
: High normal (vote)
Assignee: Gentoo Team for the ML programming language family
URL: http://caml.inria.fr/pub/ml-archives/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-27 04:11 UTC by Xake
Modified: 2005-07-25 16:43 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
The patch used by Fedora Core (ocaml-num-gcc4.patch,710 bytes, patch)
2005-06-27 04:13 UTC, Xake
Details | Diff
ebuild to use the patch (ocaml-3.08.3.ebuild,2.20 KB, text/plain)
2005-06-27 04:16 UTC, Xake
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Xake 2005-06-27 04:11:45 UTC
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.
Comment 1 Xake 2005-06-27 04:13:32 UTC
Created attachment 62041 [details, diff]
The patch used by Fedora Core
Comment 2 Xake 2005-06-27 04:16:03 UTC
Created attachment 62042 [details]
ebuild to use the patch
Comment 3 Mark Loeser (RETIRED) gentoo-dev 2005-07-02 19:53:00 UTC
Looks fine to me.
Comment 4 Xake 2005-07-25 07:45:50 UTC
Status?
Comment 5 Matthieu Sozeau (RETIRED) gentoo-dev 2005-07-25 16:43:19 UTC
Fixed in CVS, thanks.