Red Hat Bugzilla – Bug 435559
ocaml binaries fail with "No bytecode file specified."
Last modified: 2008-03-03 16:51:02 EST
Description of problem:
Some ocamlnet programs have been stripped.
These programs were originally created with the 'ocamlc -custom'
option which creates an ordinary ELF binary but appends the
bytecode to it in a very ugly way. Unfortunately if these "binaries"
are stripped then they lose the bytecode and are no longer able to
run. They fail very characteristically with:
No bytecode file specified.
The programs affected are:
There is a Debian bug report about this:
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Install ocaml-ocamlnet 2.2.9-2
2. Run ocamlrpcgen
Prints "No bytecode file specified."
The program should run, show usage, etc.
I checked all the current ocaml binaries in Fedora and these are
the only two which are affected in this way.
Note that normal bytecode binaries don't have this problem, only
if they were compiled with 'ocamlc -custom' and then stripped.
Fixed in Rawhide:
* Mon Mar 3 2008 Richard W.M. Jones <email@example.com> - 2.2.9-4
- Do not strip binaries (bz 435559).