We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Original bug ID: 6229 Reporter: @glondu Status: closed (set by @xavierleroy on 2015-12-11T18:24:20Z) Resolution: duplicate Priority: normal Severity: block Platform: sparc OS: Debian OS Version: sid Version: 4.01.0 Category: ~DO NOT USE (was: OCaml general) Duplicate of: #6227 Monitored by: @gasche
The 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 complex.ml.
End of build log:
[...] ../boot/ocamlrun ../ocamlopt -warn-error A -nostdlib -g ./Compflags format.cmx -c format.ml ../boot/ocamlrun ../ocamlopt -warn-error A -nostdlib -g ./Compflags scanf.cmx -c scanf.ml ../boot/ocamlrun ../ocamlopt -warn-error A -nostdlib -g ./Compflags callback.cmx -c callback.ml ../boot/ocamlrun ../ocamlopt -warn-error A -nostdlib -g ./Compflags camlinternalOO.cmx -c camlinternalOO.ml ../boot/ocamlrun ../ocamlopt -warn-error A -nostdlib -g ./Compflags oo.cmx -c oo.ml ../boot/ocamlrun ../ocamlopt -warn-error A -nostdlib -g ./Compflags camlinternalMod.cmx -c camlinternalMod.ml ../boot/ocamlrun ../ocamlopt -warn-error A -nostdlib -g ./Compflags genlex.cmx -c genlex.ml ../boot/ocamlrun ../ocamlopt -warn-error A -nostdlib -g ./Compflags weak.cmx -c weak.ml ../boot/ocamlrun ../ocamlopt -warn-error A -nostdlib -g ./Compflags filename.cmx -c filename.ml ../boot/ocamlrun ../ocamlopt -warn-error A -nostdlib -g ./Compflags complex.cmx -c complex.ml 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
./Compflags format.cmx
./Compflags scanf.cmx
./Compflags callback.cmx
./Compflags camlinternalOO.cmx
./Compflags oo.cmx
./Compflags camlinternalMod.cmx
./Compflags genlex.cmx
./Compflags weak.cmx
./Compflags filename.cmx
./Compflags complex.cmx
/home/glondu/pristine/ocaml-4.01.0/stdlib' make[1]: *** [libraryopt] Error 2 make[1]: Leaving directory
The text was updated successfully, but these errors were encountered:
Comment author: @xavierleroy
See #6227 for an analysis and a fix.
Sorry, something went wrong.
No branches or pull requests
Original bug ID: 6229
Reporter: @glondu
Status: closed (set by @xavierleroy on 2015-12-11T18:24:20Z)
Resolution: duplicate
Priority: normal
Severity: block
Platform: sparc
OS: Debian
OS Version: sid
Version: 4.01.0
Category: ~DO NOT USE (was: OCaml general)
Duplicate of: #6227
Monitored by: @gasche
Bug description
The 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 complex.ml.
Steps to reproduce
Additional information
End of build log:
[...]
../boot/ocamlrun ../ocamlopt -warn-error A -nostdlib -g
./Compflags format.cmx
-c format.ml../boot/ocamlrun ../ocamlopt -warn-error A -nostdlib -g
./Compflags scanf.cmx
-c scanf.ml../boot/ocamlrun ../ocamlopt -warn-error A -nostdlib -g
./Compflags callback.cmx
-c callback.ml../boot/ocamlrun ../ocamlopt -warn-error A -nostdlib -g
./Compflags camlinternalOO.cmx
-c camlinternalOO.ml../boot/ocamlrun ../ocamlopt -warn-error A -nostdlib -g
./Compflags oo.cmx
-c oo.ml../boot/ocamlrun ../ocamlopt -warn-error A -nostdlib -g
./Compflags camlinternalMod.cmx
-c camlinternalMod.ml../boot/ocamlrun ../ocamlopt -warn-error A -nostdlib -g
./Compflags genlex.cmx
-c genlex.ml../boot/ocamlrun ../ocamlopt -warn-error A -nostdlib -g
./Compflags weak.cmx
-c weak.ml../boot/ocamlrun ../ocamlopt -warn-error A -nostdlib -g
./Compflags filename.cmx
-c filename.ml../boot/ocamlrun ../ocamlopt -warn-error A -nostdlib -g
./Compflags complex.cmx
-c complex.mlFatal 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
File attachments
The text was updated successfully, but these errors were encountered: