Bug 994969 - ocaml-gsl doesn't compile on arm
Summary: ocaml-gsl doesn't compile on arm
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: ocaml-gsl
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: F-ExcludeArch-ARM
TreeView+ depends on / blocked
 
Reported: 2013-08-08 10:19 UTC by Richard W.M. Jones
Modified: 2016-08-31 13:51 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-06-29 12:15:21 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Richard W.M. Jones 2013-08-08 10:19:47 UTC
Description of problem:

ocaml-gsl doesn't compile on arm.  It appears to be a
genuine shortcoming in the C bindings:

+ cd ocamlgsl-0.6.0
+ make
ocamlc -ccopt ' -DHAVE_INLINE -DHAVE_FENV -g -O2 ' -c mlgsl_error.c
ocamlc -ccopt ' -DHAVE_INLINE -DHAVE_FENV -g -O2 ' -c mlgsl_ieee.c
In file included from mlgsl_ieee.c:12:0:
wrappers.h:13:2: error: #error "Architectures with double-word alignment for doubles are not supported"
 #error "Architectures with double-word alignment for doubles are not supported"
  ^
make: *** [mlgsl_ieee.o] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.OJrsuK (%build)
    Bad exit status from /var/tmp/rpm-tmp.OJrsuK (%build)

Version-Release number of selected component (if applicable):

ocaml-gsl 0.6.0

Comment 1 Fedora End Of Life 2013-09-16 16:28:06 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 20 development cycle.
Changing version to '20'.

More information and reason for this action is here:
https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora20

Comment 2 Fedora End Of Life 2015-05-29 09:18:11 UTC
This message is a reminder that Fedora 20 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 20. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '20'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 20 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 3 Fedora End Of Life 2015-06-29 12:15:21 UTC
Fedora 20 changed to end-of-life (EOL) status on 2015-06-23. Fedora 20 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.

Comment 4 Peter Robinson 2015-06-29 13:21:10 UTC
Still fails on F-23 in the same way:

/usr/bin/ocamlopt.opt unix.cmxa -I /usr/lib/ocaml/ocamlbuild /usr/lib/ocaml/ocamlbuild/ocamlbuildlib.cmxa myocamlbuild.ml /usr/lib/ocaml/ocamlbuild/ocamlbuild.cmx -o myocamlbuild
/usr/bin/ocamlfind ocamlc -g -ccopt -g -ccopt -O2 -ccopt -fPIC -ccopt -DPIC -ccopt -Wall -ccopt -Wunused -ccopt -Wno-long-long -ccopt -I/usr/include -c lib/mlgsl_blas.c
+ /usr/bin/ocamlfind ocamlc -g -ccopt -g -ccopt -O2 -ccopt -fPIC -ccopt -DPIC -ccopt -Wall -ccopt -Wunused -ccopt -Wno-long-long -ccopt -I/usr/include -c lib/mlgsl_blas.c
In file included from lib/mlgsl_vector.h:9:0,
                 from lib/mlgsl_vector_double.h:9,
                 from lib/mlgsl_blas.c:8:
lib/wrappers.h:13:2: error: #error "Architectures with double-word alignment for doubles are not supported"
 #error "Architectures with double-word alignment for doubles are not supported"
  ^
In file included from lib/mlgsl_blas.c:11:0:

Comment 5 Jan Kurik 2015-07-15 14:45:33 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 23 development cycle.
Changing version to '23'.

(As we did not run this process for some time, it could affect also pre-Fedora 23 development
cycle bugs. We are very sorry. It will help us with cleanup during Fedora 23 End Of Life. Thank you.)

More information and reason for this action is here:
https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora23


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