Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0006229OCaml~DO NOT USE (was: OCaml general)public2013-11-08 15:502015-12-11 19:24
Assigned To 
PlatformsparcOSDebianOS Versionsid
Product Version4.01.0 
Target VersionFixed in Version 
Summary0006229: Compilation of ocamlopt fails on sparc
DescriptionThe compilation of ocamlopt 4.01.0 fails on sparc.

The first reason is because of use of obsolete "&" operator.

After fixing this, an "index out of bounds" exception is raised while compiling
Steps To Reproduce 1. download and extract ocaml 4.01.0 tarball
 2. patch -p1 < ocamlopt-sparc (file attached)
 3. ./configure
 4. make world
 5. make opt
Additional InformationEnd of build log:

../boot/ocamlrun ../ocamlopt -warn-error A -nostdlib -g `./Compflags format.cmx` -c
../boot/ocamlrun ../ocamlopt -warn-error A -nostdlib -g `./Compflags scanf.cmx` -c
../boot/ocamlrun ../ocamlopt -warn-error A -nostdlib -g `./Compflags callback.cmx` -c
../boot/ocamlrun ../ocamlopt -warn-error A -nostdlib -g `./Compflags camlinternalOO.cmx` -c
../boot/ocamlrun ../ocamlopt -warn-error A -nostdlib -g `./Compflags oo.cmx` -c
../boot/ocamlrun ../ocamlopt -warn-error A -nostdlib -g `./Compflags camlinternalMod.cmx` -c
../boot/ocamlrun ../ocamlopt -warn-error A -nostdlib -g `./Compflags genlex.cmx` -c
../boot/ocamlrun ../ocamlopt -warn-error A -nostdlib -g `./Compflags weak.cmx` -c
../boot/ocamlrun ../ocamlopt -warn-error A -nostdlib -g `./Compflags filename.cmx` -c
../boot/ocamlrun ../ocamlopt -warn-error A -nostdlib -g `./Compflags complex.cmx` -c
Fatal error: exception Invalid_argument("index out of bounds")
make[2]: *** [complex.cmx] Error 2
make[2]: Leaving directory `/home/glondu/pristine/ocaml-4.01.0/stdlib'
make[1]: *** [libraryopt] Error 2
make[1]: Leaving directory `/home/glondu/pristine/ocaml-4.01.0'
make: *** [opt] Error 2
TagsNo tags attached.
Attached Files? file icon ocamlopt-sparc [^] (3,169 bytes) 2013-11-08 15:50 [Show Content]

- Relationships
duplicate of 0006227closedshinwell Solaris Sparc build broken due to deprecated & operator in asmcomp/ (generated from asmcomp/sparc/emit.mlp) 

-  Notes
xleroy (administrator)
2013-11-08 16:24

See 0006227 for an analysis and a fix.

- Issue History
Date Modified Username Field Change
2013-11-08 15:50 glondu New Issue
2013-11-08 15:50 glondu File Added: ocamlopt-sparc
2013-11-08 16:23 xleroy Relationship added duplicate of 0006227
2013-11-08 16:24 xleroy Note Added: 0010606
2013-11-08 16:24 xleroy Status new => resolved
2013-11-08 16:24 xleroy Resolution open => duplicate
2015-12-11 19:24 xleroy Status resolved => closed
2017-02-23 16:36 doligez Category OCaml general => -OCaml general
2017-03-03 17:55 doligez Category -OCaml general => -(deprecated) general
2017-03-03 18:01 doligez Category -(deprecated) general => ~deprecated (was: OCaml general)
2017-03-06 17:04 doligez Category ~deprecated (was: OCaml general) => ~DO NOT USE (was: OCaml general)

Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker