← Back to team overview

ocaml-maint team mailing list archive

[Bug 951115] [NEW] ocamlc -custom breaks bytecode execution

 

Public bug reported:

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.

** Affects: ocaml (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Debian
OCaml Maintainers, which is subscribed to ocaml in Ubuntu.
https://bugs.launchpad.net/bugs/951115

Title:
  ocamlc -custom breaks bytecode execution

Status in “ocaml” package in Ubuntu:
  New

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ocaml/+bug/951115/+subscriptions


Follow ups

References