[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#69724: ocaml: binaries not stripped



>>> "Sven" == Sven LUTHER <luther@dpt-info.u-strasbg.fr> writes:

Hi Sven,

 Sven> On Tue, Aug 22, 2000 at 06:48:32PM +0200, Alexandre Duret-Lutz wrote:

[...]

 >> The following files appear to be unstripped ELF binaries.
 >> 
 >> /usr/bin/ocamlbrowser
 >> /usr/bin/ocamlc.opt
 >> /usr/bin/ocamldebug
 >> /usr/bin/ocamlopt.opt
 >> /usr/bin/ocamlrun
 >> /usr/bin/ocamlyacc

[...]

 Sven> Well, yes, the debian policy is to strip binaries, but stripping ocaml
 Sven> bytecode binaries would remove the bytecode to be executed, which is not
 Sven> really the right thing to do.

Hmmm, I must be misunderstanding something... are the 6 files above
byte-code binaries?  They appear to me as being native ELF
binaries.  I stripped them on my machine without any problem.

 Sven> Thus the debian policy for doing ocaml related package
 Sven> (as defined by me as the ocaml maintainer, maybe i should
 Sven> send some info to the debian-policy folk ?) is not to
 Sven> strip ocaml programs.

 Sven> But then maybe i should fill a bug report against strip ?

I don't see the problem with strip: since it does not recognize
byte-code files, it does not strip them.

 % cp /usr/bin/ocamldep .
 % file ocamldep
 ocamldep: a /usr/bin/ocamlrun script text
 % strip ocamldep
 strip: ocamldep: File format not recognized

Did I miss something?

[...]

Thanks for your time,
-- 
Alexandre Duret-Lutz



Reply to: