Bug 926260 - ocaml: Does not support aarch64 in f19 and rawhide
Summary: ocaml: Does not support aarch64 in f19 and rawhide
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: ocaml
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Richard W.M. Jones
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: ARM64, F-ExcludeArch-aarch64
TreeView+ depends on / blocked
 
Reported: 2013-03-23 15:38 UTC by Dennis Gilmore
Modified: 2014-01-03 14:12 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-01-03 14:12:16 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Dennis Gilmore 2013-03-23 15:38:07 UTC
Support for the ARM 64 bit CPU architecture (aarch64) was introduced in 
autoconf 2.69.  ocaml appears to use an earlier version of 
autoconf, preventing its being built.  This can be fixed in of three ways (In order of preference):

1. Work with upstream to migrate the package to autoconf 2.69.

2. Rerun autoconf or autoreconf in %prep or %build prior to running 
configure.

3. Apply the patch at http://ausil.fedorapeople.org/aarch64/ocaml/ocaml-aarch64.patch
which updates config.guess and config.sub to recognize aarch64.

Comment 1 Richard W.M. Jones 2013-03-25 08:31:51 UTC
Changing autoconf version is only about 0.1% of the problem
here.  We will need to write an AArch64 code generator too.  I
have asked upstream if anyone has looked into this, and they
are looking at it but prefer to wait until real hardware is
available:

https://sympa.inria.fr/sympa/arc/caml-list/2013-03/msg00224.html

Comment 2 Richard W.M. Jones 2013-12-22 22:26:08 UTC
There is now an arm64 code gen for OCaml:
https://github.com/ocaml/ocaml/tree/trunk/asmcomp/arm64

Comment 3 Richard W.M. Jones 2014-01-03 14:12:16 UTC
Earlier this week I backported the arm64 code gen to Rawhide.
This bug is fixed in ocaml-4.01.0-6.fc21.

http://koji.fedoraproject.org/koji/buildinfo?buildID=487313


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