Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 239077 - needs ExclusiveArch (which then need propagated through ocaml-*)
needs ExclusiveArch (which then need propagated through ocaml-*)
Product: Fedora
Classification: Fedora
Component: ocaml (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Gérard Milmeister
Fedora Extras Quality Assurance
Depends On: 239222
Blocks: FE-ExcludeArch-ppc64/F-ExcludeArch-ppc64 239078 239517 239518 250253 wyrd-ppc64
  Show dependency treegraph
Reported: 2007-05-04 15:15 EDT by Bill Nottingham
Modified: 2014-03-16 23:06 EDT (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-02-29 15:06:09 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Bill Nottingham 2007-05-04 15:15:59 EDT
ocaml uses inline asm for garbage collection and similar things. This
inline asm does not exist on PPC64, therefore ocaml can't build (and things that
depend on it can't build.)

Something like:

ExclusiveArch: alpha armv4l %{ix86} ia64 ppc sparc

seems appropriate, looking at the .S files in the asmrun dir.
Comment 1 Gérard Milmeister 2007-05-04 19:35:18 EDT
This is something that should go into

BTW, this affects only the native compiler? One could build on ppc64 without the
native compiler. However this would become quite maintenance intensive.
Comment 2 Nigel Jones 2007-05-06 08:37:36 EDT
As posted in private e-mail to Gerald, I'm working on a patch (now with the help
of David Woodhouse) to get ocaml building with native ppc64 support.
Comment 3 Till Maas 2007-10-21 14:17:30 EDT
(In reply to comment #0)

> ExclusiveArch: alpha armv4l %{ix86} ia64 ppc sparc

There is x86_64 missing in this list, and in the devel spec you use "ExcludArch:
ppc64". Can you please add the correct information of what should be added  to
the spec to http://fedoraproject.org/wiki/Packaging/OCaml ? And maybe adjust the
Summary of this and the cloned bugs? Otherwise this is pretty confusing.
Comment 4 David Woodhouse 2008-02-26 09:43:39 EST
For reference: I got ocaml building and seeming to work fine on PPC64. My work
is at git://git.infradead.org/~dwmw2/ocaml-ppc64.git -- see

The compiler was self-hosting and all tests seemed to be working fine, so I
built a bunch of other packages. I found a SEGV in freetennis though, and never
got round to debugging it. Building other packages would be interesting --
either they'll work fine, or if they don't they may turn out to be easier to debug.

Packages at ftp://bombadil.infradead.org/pub/ocaml/
Comment 5 David Woodhouse 2008-02-29 15:06:09 EST
ocaml-3.10.1-2.fc9 built for ppc64 in rawhide.

Let me know if you find any problems with it. 
Comment 6 Stephen Warren 2008-03-26 00:03:30 EDT
Out of curiosity, will this change be back-ported to F-8/7?
Comment 7 David Woodhouse 2008-03-26 04:21:49 EDT
I think we need to rebuild all ocaml packages when we change the ocaml compiler,
so probably not. I suppose we could add the ppc64 support in CVS, so that it's
there just in _case_ we have to rebuild everything for F8. That's up to the
package maintainers though.

Note You need to log in before you can comment on or make changes to this bug.