ocamlc -custom breaks bytecode execution

Bug #951115 reported by Edward Schwartz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ocaml (Debian)
Fix Released
Unknown
ocaml (Ubuntu)
New
Undecided
Unassigned

Bug Description

In Ubuntu Oneiric:

Using ubuntu's ocamlc:

edmcman@joethecat:~/ocaml-3.12.0$ ocamlc -custom test.ml -o test.out
edmcman@joethecat:~/ocaml-3.12.0$ ocamlrun test.out
Fatal error: the file test.out is not a bytecode executable file

Using the official ocaml 3.12.0 source:

edmcman@joethecat:~/ocaml-3.12.0$ ocamlrun ./ocamlc -custom test.ml -o test.out
edmcman@joethecat:~/ocaml-3.12.0$ ocamlrun test.out

This bug is preventing users of our OCaml project from being able to debug their binaries, because ocamldebug reports the same error as ocamlrun.

Changed in ocaml (Debian):
status: Unknown → New
Changed in ocaml (Debian):
status: New → Fix Released
Revision history for this message
Kakadu (kakadout) wrote :

I checked it with ubuntu 22.04, it is gone

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.